reset imxrt1064

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

reset imxrt1064

790 次查看
dark0711
Contributor III

Good afternoon, I have imxrt1064.

How can I reboot the microcontroller from my program? I am using XIP.

I tried RTWDOG and WDOG, but after resetting the controller, the UPDATE bit in RTWDOG is set to 0. And it is reset again.

0 项奖励
1 回复

783 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi dark0711,

    Thanks for your interest in the NXP MIMXRT product!

    Do you want to do the software reset in the RT1064 code? If yes, you totally can add the system reset code in stead of the Watchdog reset.

    The software reset code is:

    NVIC_SystemReset();

    After you run this code, the code will do the software reset again.

    About your RTWDOG and WDOG, it is the watchdog hardware reset, so, when you enable the watchdog, you need to feed the dog(update the timer before the watchdog timer overflow). If you didn't feed the watchdog, then when the watchdog is timer overflow, it will trigger another WDOG reset again.

    Please try the software reset on your side.

 

Wish it helps you!

If you still have questions about it, please kindly let me know!

Best Regards,

Kerry

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

-----------------------------------------------------------------------------

0 项奖励