dlchambers
Well-known member
I'd like to make my Teensy be able to update it's program from a HEX file on an SPI-connected SD card.
I'm using a Teensy 3.2 with an I2C wifi module and SPI SD card.
I'd like to be able to have the Teensy download an update (hex file) and store it on the SD card, then have the Teensy replace it's firmware with that image (hex) file on the SD.
The wifi part isn't really germane to the updating, just some background as to how the update is obtained.
So the question is really about the feasibility of having a Teensy reprogram itself off an SPI-connected SD card.
Has anyone done anything like this?
Any thoughts, ideas, examples would be GREATLY appreciated.
-Dave
I'm using a Teensy 3.2 with an I2C wifi module and SPI SD card.
I'd like to be able to have the Teensy download an update (hex file) and store it on the SD card, then have the Teensy replace it's firmware with that image (hex) file on the SD.
The wifi part isn't really germane to the updating, just some background as to how the update is obtained.
So the question is really about the feasibility of having a Teensy reprogram itself off an SPI-connected SD card.
Has anyone done anything like this?
Any thoughts, ideas, examples would be GREATLY appreciated.
-Dave