-
1. Re: Determining the Reset reason in an OTA Bootloadable
e.pratt_1639216 Sep 29, 2017 2:40 PM (in response to i.buliev_1817031)The bootloader will reset the device when it finishes loading the new application; This means that software resets can be initiated by both the software application and the bootloader.
The bootloadable and bootloader can both read the flash memory, so in theory you could store values in flash for access by both. Otherwise, the only similar reference is the "metadata" for the bootloader/-able which is stored in flash as well.
Regards,
Epratt
-
2. Re: Determining the Reset reason in an OTA Bootloadable
i.buliev_1817031 Oct 2, 2017 1:21 PM (in response to e.pratt_1639216)Thanks, Epratt!
I was hoping that there is a possibility to share a region of non-initialised RAM between the bootloader and the application but ... ok, I will use the flash!
If anyone though, has a better idea how to recognise a 'power on' reset in an OTA bootable application, please, share it!
Cheers!
-
3. Re: Determining the Reset reason in an OTA Bootloadable
e.pratt_1639216 Oct 3, 2017 7:30 AM (in response to i.buliev_1817031)Yeah, I looked through the documentation for references but didn't see any that stood out for RAM or shared memory :/
Possibly there is a low-level method for doing it, but I wouldn't know
Good Luck though!
Epratt