watchdog works only in debug mode.

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

watchdog works only in debug mode.

994 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

Question from @Andrew Meyer on thread https://community.nxp.com/thread/513687 

The mcu made it through my 5 ms loop code in about 1 msec in debugging mode with breakpoints set--but never made it through that loop at all when breakpoints were turned off (and interrupts were active and apparently utilizing every clock cycle of the mcu).  When I put the watchdog reset in a frequently used interrupt, the WDOG worked as expected.  Now to learn about KDS profiling tools and fix the problem.

 

Details:  KDS V3.2, S9KEAZN64MU, Windows 7

Regards

标签 (1)
0 项奖励
回复
1 回复

879 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Dear andrewmeyerbti‌,

What is the behavior that is presenting the MCU?

With the breakpoints the MCU resets?

What is the WDOG reload time that are you using?

Also, did you running the MCU without the debugger?

Best Regards,

Alexis Andalon

0 项奖励
回复