Reboot after firmware update issue

sharkx
Posts: 25
Joined: Wed Jan 06, 2016 2:59 am

Reboot after firmware update issue

Postby sharkx » Wed Mar 01, 2017 1:42 pm

Context : my own OTA update is in place and correctly working on my old modules (ESPs 07 with 512kb flash); when the flashing is completed, the following sequence is executed (as per documentation), and everything works as expected.

Code: Select all

   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: Select all

reboot to use1
but then the bootloader then outputs

Code: Select all

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.

sharkx
Posts: 25
Joined: Wed Jan 06, 2016 2:59 am

Re: Reboot after firmware update issue

Postby sharkx » Wed Mar 01, 2017 1:44 pm

Forgot to mention SDK version is 1.3.0.
I know it's old but I cannot upgrade as my older modules (the ones with 512kb flash) cannot accomodate my firmware.

Her Majesty
Posts: 205
Joined: Mon Oct 27, 2014 11:09 am

Re: Reboot after firmware update issue

Postby Her Majesty » Mon Mar 20, 2017 10:19 am

Download your user1.bin into the module with flash tool, can your user1.bin be able to run?

Who is online

Users browsing this forum: Bing [Bot] and 9 guests