Git Product home page Git Product logo

Comments (5)

nickgammon avatar nickgammon commented on June 27, 2024

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.

AntonioFromBrazil avatar AntonioFromBrazil commented on June 27, 2024

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.

nickgammon avatar nickgammon commented on June 27, 2024

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.

AntonioFromBrazil avatar AntonioFromBrazil commented on June 27, 2024

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.

nickgammon avatar nickgammon commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.