Hi folks,
Recently, I am using the example of boot_application. However, I found a issue on it:
I changed the example project of bim_sample_image setting, to set the primary slot configuration having higher version number (-version 2.0.0)
Then I flashed boot_application to offset 0, primary to 0x5400, secondary to 0xa800. I observed that flashing red LED which indicates boot fail.
On another way, I have another project which nearly copy these configurations but the dual-slot images equip with OTA functionality. I did following:
- I flashed two slots with ver0, and device boot up from slot 0. (green led)
- debug return ver0-slot0.
- I make an OTA to ver1. (log showing that it used slot 1 image)
- OTA success, no error reported.
- device reboot, and boot up slot1 (showing blue LED)
- debug return ver1-slot1
- I make an OTA to ver2. (log showing that it used slot 0 image)
- OTA success, no error reported.
- device reboot and boot up fail (flashing RED)
- I manually (and only) flash slot 1 to ver 2
- device boot up slot0 (showing green LED)
- debug return ver2-slot0
- I manually (and only) flash slot 0 to ver 1
- device boot up slot1 (showing blue LED)
- debug return ver2-slot1
Hence, I believe that it might have limitation that primary slot cannot have higher version than secondary slot. Is this true? Do we have resolution on it? (without two same version OTA, to flush the two slots to same version)