Capturing an exception crashing the app
Posted: Wed Apr 25, 2018 3:41 pm
I'm using OTA to update the firmware and would like to be able to go back to the factory partition should I download a bad update or anything goes wrong that causes a continuous exception/reboot cycle. If I could capture the exception and "if" the system is still stable enough to execute a command to erase the OTADATA partition then reboot back to the stable factory partition. Anybody got an idea about how to do this? Seems like every time I have a question somebody posts a link to the docs that I missed. I searched the docs for exception but nothing came up of obvious use.
John A
John A