Comments (5)
Well you can do anything really. However I think the SD card is much easier to manage. You just pop the SD card out, move it over to your computer and put one or more files on it. How would you put the files onto the SPI flash memory?
from arduino_sketches.
My idea is write the SPI flash memory using a special sketch for this purpouse. Maybe not write SPI flash as files, but modules in binary at fix lenght of 24Kbytes each. After that, the special bootloader would receive a number of module you want to execute... Since you have very cheap SPI ICs as big as 128 Mbit, you would have a wide collection of sketchs stored on it...
from arduino_sketches.
Certainly you could change it, however I'll leave that up to you. Basically you need to retain the part that does the programming, remove the stuff which lists the directory and lets you choose a file, and add your own stuff to access the SPI flash memory (and if you are planning to put a wide collection of sketches on it you would need to find the appropriate part).
from arduino_sketches.
Yes yes... Once the SPI flash was loaded with the various sketches, the idea is to create a special address inside the bootloader that when called move the specific sketch from SPI flash to ATmega flash and execute it. I have only one big problem... I do not know my skill is enough to do such complex job...
from arduino_sketches.
OK, but to make that change would basically be a rewrite which goes out of the scope of supporting the existing code. You could try asking on the Arduino Forum for help with writing such a sketch.
from arduino_sketches.
Related Issues (20)
- Can we program 8051 based MCU with these? HOT 2
- Atmega_Board_Detector.ino not compiling HOT 2
- Uploading .hex files - cannot obtain the directory listing off the SD card HOT 1
- Trying to program multiple target arduino chip at once HOT 2
- GSM Based FOTA Block Diagram HOT 4
- Atmega_Board_Programmer Compilation Error on IDE 1.8.13 HOT 1
- Atmega328p from Korea v Thailand HOT 1
- Arduino ATMega16u2
- Import error when running the code HOT 1
- Reset circuit HOT 2
- Fixed Filename Uploader - Fusebits SOLVED! HOT 13
- Programming multiple devices HOT 1
- Atmega_Hex_Uploader filenames HOT 3
- Atmega_Hex_Uploader_Fixed_Filename: How to change the fuse setting? HOT 8
- Cannot enter programming mode in target chip HOT 8
- Atmega_Hex_Uploader need old SdFat version to compile HOT 2
- Options for Hex uploader to use same SPI bit banged port as Board Programmer HOT 1
- Atmega_Hex_Uploader_Fixed_Filename: Cannot read file HOT 8
- Arduino 1.8.12 and Arduino 2.1 give ino file const error! Does not work! HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_sketches.