NVIC_SystemReset() is not working with MiMxRT1020
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using MiMxRT1020 development kit.. I want to update firmware via TCP with bootloader. As soon as I receive my new firmware I want to reset application and I want to jump to the bootloader mode. But NVIC_SystemReset() is not working. So I can not update my firmware. Here is sample of my code.
if(ack_offset == 0xffff) {
/* received complete firmware */
osDelay(2000);
__disable_irq();
/* reset application */
NVIC_SystemReset();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ,
Hope you are doing well.
I have tested this one my end without any issue.
I used the simple hello world example. Placed the NVIC_SystemReset after it prints hello world.
It will not reach the next printf as it resets the application.
I am using the latest IDE and SDK version.
Best Regards,
Sabina
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------