Dear NXPs:
ARCH:S32K146
OS:freeRTOS
I want to call the SystemSoftwareReset interface immediately after calling the Secureboot Enable interface. Will there be any problem?
CODE:
/* enable secureboot SERIAL Mode */
(void)CSEC_DRV_BootDefine(BM_BOOT_SIZE, CSEC_BOOT_SERIAL);
/* Reset process. */
SystemSoftwareReset();
The reason for doing this is mainly to reduce one manual power operation on the production line, so that the startup process becomes: call Secureboot Enable interface → SystemSoftwareReset → Secureboot Enabled → Free RTOS Startup.