Hi,
when I build a firmware with TF-M enabled the device gets stuck after a call to sys_reboot(...) no matter if I use the shell or call the function somewhere else in my code.
Regards
Caspar
Hi,
when I build a firmware with TF-M enabled the device gets stuck after a call to sys_reboot(...) no matter if I use the shell or call the function somewhere else in my code.
Regards
Caspar
Hi Caspar,
The non-secure application is by default not allowed to reset. That is why, when using TF-M, you need to use the TF-M API to reset the device. I tested with tfm_platform_system_reset() from tfm_platform_api.h and that worked as intended.
In future release the sys_reboot() will include TF-M reset function.
Kind regards,
Øyvind
Oh, wow... Didn't see that. Thanks. That worked.