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

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

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

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

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