problems with watchdog interrupt in CW 5.1

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

problems with watchdog interrupt in CW 5.1

289 Views
ma85_bahar
Contributor II

hello guys.
I am working on mc9s12hxy uc using codewarrior 5.1. i want to activate watchdog interrpt. the interrupt rutine (WDog1_OnWatchDog()) is created in Events.c file. but something makes it no working.

wdt1.png

if i activate WDog1_OnWatchDog, the question mark appears. the compiler does not give me any error. but the located code in WDog1_OnWatchDog() function does not executes if wdt resets the cpu.

if i inactivate the intrrupt routine, the question mark will disappear.

0 Kudos
0 Replies