2 posts / 0 new
Last post
flyingbed
Offline
Last seen:5 years 3 months ago
Joined:2015-09-10 19:48
software reset

How should platform_reset() be used? I tried RESET_AND_LOAD_FW but it doesn't seem to do any reset and the code continues to run.
What's the difference between RESET_TO_ROM, RESET_AND_LOAD_FW and RESET_AFTER_SPOTA_UPDATE?

Device:
MT_dialog
Offline
Last seen:6 days 14 hours ago
Staff
Joined:2015-06-08 11:34
Hi flyingbed,

Hi flyingbed,

You can use the platform_reset() with no parameters or you can try using the wrap_platform_reset(RESET_AND_LOAD_FW); in order to perform a software reset on your device and run the bootloader again, you can directly invoke the function and check the bootloader running. The definitions are just indications, if a restart is performed we should know what triggered the restart of the da.

Thanks MT_dialog