OTA Update using SDFlash?
Posted: Fri Nov 29, 2019 7:44 am
Hi,
4D Systems make a great range of little colour LCDs that include an ESP8266. All works well with Arduino IDE.
Unfortunately they only fit 512K bytes of flash; which makes OTA impossible for any useful code size.
But the module does include an SD flash card slot.
Looking at the OTA sequence, the new code image is written to flash while the old image is still running, then at reboot, the new image is copied over the old image.
So could SD flash be used to store the temporary image?
Has anyone done this?
Is code available?
If not, I am happy to modify the code, just point me to the correct GIT
Ray
4D Systems make a great range of little colour LCDs that include an ESP8266. All works well with Arduino IDE.
Unfortunately they only fit 512K bytes of flash; which makes OTA impossible for any useful code size.
But the module does include an SD flash card slot.
Looking at the OTA sequence, the new code image is written to flash while the old image is still running, then at reboot, the new image is copied over the old image.
So could SD flash be used to store the temporary image?
Has anyone done this?
Is code available?
If not, I am happy to modify the code, just point me to the correct GIT
Ray