Dual boot on Esp8266 ?
Posted:
Thu May 16, 2019 12:55 pm
by Knuspri
I have 2 bin files that i want to flash on my Esp8266 chip. Both have a Webserver. It is possible (and how) that I use a switch to switch between the files on startup? And could you explain me how ?
Re: Dual boot on Esp8266 ?
Posted:
Sat May 18, 2019 11:31 am
by Solomon Candy
It's quite easy if you do it after the startup. You let the program boot, and the first thing you do, in both the firmwares, is check the GPIO level and restart with the other firmware if you think you need to switch. The bootloader code can be edited too, atleast in the RTOS SDK, to enable this checking before any application partition is loaded.
Re: Dual boot on Esp8266 ?
Posted:
Sat May 18, 2019 12:43 pm
by schufti
maybe
this can shed some light on your question ...