Custom OTA for apps to big for espressif ota
Posted: Fri May 01, 2015 3:32 pm
Hi!
Is it possible to use a small app that is flashed into begining of user application space (according to this memory map: https://github.com/esp8266/esp8266-wiki/wiki/Memory-Map) and it just check for an update (e.g. from http server), downloads it and writes from specified sectors (acting like a bootloader) and if e.g. checksum is correct, starts the app?
The problem with OTA provided by espressif is that it divides memory into two equal size areas and bigger apps doesn't fit there.
Thanks for any suggestions!
Is it possible to use a small app that is flashed into begining of user application space (according to this memory map: https://github.com/esp8266/esp8266-wiki/wiki/Memory-Map) and it just check for an update (e.g. from http server), downloads it and writes from specified sectors (acting like a bootloader) and if e.g. checksum is correct, starts the app?
The problem with OTA provided by espressif is that it divides memory into two equal size areas and bigger apps doesn't fit there.
Thanks for any suggestions!