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