simba icon indicating copy to clipboard operation
simba copied to clipboard

Upgrade support for esp family

Open toomyem opened this issue 6 years ago • 3 comments

Is such functionality planned to be implemented for ESP8266 mcus? I see it is done for ESP32, but for 8266 also should be doable.

toomyem avatar Jul 11 '18 23:07 toomyem

Looking at https://github.com/eerimoq/simba/tree/master/src/boards, simba does seem to support esp8266 in various flavours - esp01, esp12e, nodemcu and wemos d1 mini.

vijaygill avatar Aug 25 '18 18:08 vijaygill

Nope, upgrade is not supported for ESP8266, take a look at https://github.com/eerimoq/simba/tree/master/src/oam/ports/esp -> where is no upgrade.i implementation for esp.

toomyem avatar Aug 27 '18 07:08 toomyem

I looked at it a while ago. The ESP32 SDK provides a clean way of doing this with two firmware images - the ESP8266 SDK does not have this funtionality.

Simba does (as far as I recall) use the Arduino bootloader which does support a way of doing OTA upgrade, but it's not as clean (including that there isn't a fallback if the new image is bad) and requires more custom code. It can probably be done with too much work, but it's not a quick thing and may need a different Simba API than the ESP32 upgrade code.

simonlbn avatar Aug 27 '18 16:08 simonlbn