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).
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.