What happens when a reset occurs in the bootloader

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_4318471
Level 1
Level 1
First question asked Welcome!

I have implemented a form of OTA and write an image of our WICED binary (new firmware)

to the staging area. We then update the DCT so that it will upgrade on the next boot. So
far everything works fine.

However, I am seeing a problem if I inject a reset after the bootloader has started but
before the file has been completely updated. What I am seeing is that the board
fails to reboot.

Is this a known problem? Do you have any suggestions as to how to debug this
(debugging the bootloader, it seems difficult).

Thanks

0 Likes
1 Solution
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Hello,

Are you resetting the device while the transfer is being done from the staged area i.e, when the ota2_extractor is extracting the image? In case of reset during extraction, the board should try to extract again on next reboot.

View solution in original post

1 Reply
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Hello,

Are you resetting the device while the transfer is being done from the staged area i.e, when the ota2_extractor is extracting the image? In case of reset during extraction, the board should try to extract again on next reboot.