Hi,
I failed to test NVIC_SystemReset on i.MX RT1170 EVK.
I use hello world example to test software reset.
The attachment is my test project. My SDK version is 2.10.0 and MCUXPRESSO version is 11.4.0
Could you point out what's wrong or provide a example which could do software reset.
int main(void)
{
char ch;
/* Init board hardware. */
BOARD_ConfigMPU();
BOARD_InitPins();
BOARD_BootClockRUN();
BOARD_InitDebugConsole();
PRINTF("hello world.\r\n");
PRINTF("\r\nBBB!\r\n");
__disable_irq();
NVIC_SystemReset();
//SRC_AssertSliceSoftwareReset(SRC, kSRC_M7CoreSlice);
PRINTF("\r\nWon't get here\r\n");
while (1)
{
ch = GETCHAR();
PUTCHAR(ch);
}
}
Thanks,