watchdog works only in debug mode.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

watchdog works only in debug mode.

616件の閲覧回数
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 返信

501件の閲覧回数
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 件の賞賛