ESP8266 Developer Zone The Official ESP8266 Forum 2017-03-20T10:19:19+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3389 2017-03-20T10:19:19+08:00 2017-03-20T10:19:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3389&p=11526#p11526 <![CDATA[Re: Reboot after firmware update issue]]> Statistics: Posted by Her Mary — Mon Mar 20, 2017 10:19 am


]]>
2017-03-01T13:44:08+08:00 2017-03-01T13:44:08+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3389&p=11394#p11394 <![CDATA[Re: Reboot after firmware update issue]]> I know it's old but I cannot upgrade as my older modules (the ones with 512kb flash) cannot accomodate my firmware.

Statistics: Posted by sharkx — Wed Mar 01, 2017 1:44 pm


]]>
2017-03-01T13:42:18+08:00 2017-03-01T13:42:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3389&p=11393#p11393 <![CDATA[Reboot after firmware update issue]]>

Code:

   system_upgrade_flag_set(UPGRADE_FLAG_FINISH);
   system_upgrade_reboot();

I'm upgrading to newer ESPs 07 with 1Mb of flash; flashing still works as expected, but when rebooting the module, it will not switch to the newly flashed content.
Boot version is 1.5.
Currently, test module is using upper memory (aka user2); when rebooting, I can see the following on the output as the module restarts

Code:

reboot to use1
but then the bootloader then outputs

Code:

2nd boot version : 1.5
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user2 @ 81000
and goes back to upper memory firmware.

Strange thing is that calling the upgrade reboot sequence even without flashing will not result in switching for this module, and I'm a bit puzzled as I have no clue what I'm doing wrong.

Any help is appreciated.
Many thanks.

Statistics: Posted by sharkx — Wed Mar 01, 2017 1:42 pm


]]>