Hi community,
We are using local ota example from SDK2.40. On our own board, the MCU reset phase (PRCMHibernateCycleTrigger) at the end of the update does not come through.
When calling "PRCMHibernateCycleTrigger" while the application is running, everything is fine. But when the same function is called at the end of the ota update process, it does not reset the mcu. Or at least, the application does not come up again.
The interesting point is: when doing the same with our charger plugged-in, it works in both cases ! So it could be something with voltage drop. BUT then how can we explain that it works when the application is running? Does the MCU takes more time to reset if a new image is awaiting in memory ? (I can send our diagram in a private message, if it can help.)
Thanks, Vincent Vuarnoz
P.S. I have attached 2 log files. In blue is a command that I'm manually sending. The logs have been generated from our application, so the problem would be more easy to understand. But the same can be reproduced with the original local_ota example.