watchdog works only in debug mode.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

watchdog works only in debug mode.

607 Views
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

Labels (1)
0 Kudos
1 Reply

492 Views
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 Kudos