ESP8266 Developer Zone The Official ESP8266 Forum 2017-11-06T21:14:50+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=8270 2017-11-06T21:14:50+08:00 2017-11-06T21:14:50+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8270&p=18015#p18015 <![CDATA[Re: OTA postpone system_upgrade_reboot / bootloader flag]]>
system_upgrade_flag_set(UPGRADE_FLAG_FINISH);
system_upgrade_reboot();

But doing it that way, of course, you have to make sure that (next) binary is really present.

Statistics: Posted by blubb — Mon Nov 06, 2017 9:14 pm


]]>
2017-11-06T19:27:40+08:00 2017-11-06T19:27:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8270&p=18012#p18012 <![CDATA[OTA postpone system_upgrade_reboot / bootloader flag]]>
- Is there a way of OTA downloading the new firmware, but not reboot - and in the next system start, checking for a new firmware and switch. I would like to OTA update but without the reboot.
- Where does ESP8266 saves the user(1|2).bin it's currently using? How can I reset it to user1.bin? After doing a OTA update from user1.bin to user2.bin I flashed the uC (user1.bin), bootloader and device / user settings area, but it still wanted to load user2.bin.

Statistics: Posted by skywave — Mon Nov 06, 2017 7:27 pm


]]>