How to trace interrupts in Code Warrior for HC08  v5.1

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

How to trace interrupts in Code Warrior for HC08  v5.1

1,792 次查看
tupham
Contributor I
Dear all,
 
I am debugging Code Warrior 5.0 for HC08 program. If anybody know how to trace interrupt functions in Code Warrior, please help me.
 
Thanks so much.
 
Tu Pham.
标签 (1)
0 项奖励
回复
1 回复

331 次查看
Bud
Contributor I
Locate your interrupt jump vector table.  I don't know how you have set yours up, however you might want to look into mcu_init.c.. you can see from the jump table, the names of the different interrupt routines and you can set a breakpoint in the routine you are looking for.
 
An easier way might be to make a file called isr.c and include your interrupt jump table there as well as all the interrupt service routines you want.
 
Bud
0 项奖励
回复