when I close all the timer , the MCU break down .

3 posts / 0 new
Last post
liyang
Offline
Last seen:6 months 2 weeks ago
Expert
加入:2014-09-24 11:51
when I close all the timer , the MCU break down .

hi,Dialog :

when I close all the timer , the mcu will go to NMI_HandlerC. why ?!

Thanks liyang

Device:
liyang
Offline
Last seen:6 months 2 weeks ago
Expert
加入:2014-09-24 11:51
while, I find the answer: I

while, I find the answer: I forget to close the WATCHDOG!

MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi liyang,

Hi liyang,

I am sorry, i dont quite get the question, i dont see any obvious connection between the clearing of a timer and the watchdog, if the NMI asserts that means that your code remains idle and no sleeping for more that approximatelly 3.6 seconds, you should check if clearing the timer causes this kind of behaviour to your fw. If you just disable the watchdog, your code will remain stuck at that specific point for more than 2.6 seconds, is that what you want ?

Thanks MT_dialog