problems with watchdog interrupt in CW 5.1

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

problems with watchdog interrupt in CW 5.1

554 次查看
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.

标记 (1)
0 项奖励
回复
0 回复数