system_upgrade_flag_set(UPGRADE_FLAG_FINISH);
system_upgrade_reboot();
My newest batch of modules came with 1Mb of flash, so I had to adjust everything; flashing still works as expected, but then I ran into a strange problem : when rebooting the module, it will not switch to the newly flashed content.
Tried with boot versions 1.5 and 1.6. SDK is 1.3.0. I know it old, but I cannot change this.
Currently, test module is using upper memory (aka user2); when rebooting, I can see the following on the output as the module restarts
reboot to use1
2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user2 @ 81000
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's wrong here.
Any help is appreciated.
Many thanks.