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

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

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

1,751 Views
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.
Labels (1)
0 Kudos
1 Reply

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