Tim Ahrens

Trace through IRQ?

Discussion created by Tim Ahrens on Feb 7, 2008
Latest reply on Feb 11, 2008 by Jim Donelson
Hi folks,
 
I'm using a JM60 (on the DemoJM board).
 
My code is a combination of C and assembly.
 
Entering into one of the modules,  the first instruction
sets the IRQIE bit in IRQSC (enables the interrupt function of IRQ).
 
The next couple of instructions do mundane housekeeping.
 
I set a breakpoint several instructions down from the Bit enable instruction,
expecting the IRQ service routine to do it's thing (there is an interrupt pending),
then come back & do stuff from where it left.
 
The IRQ service routine only has the RTI instruction in it...
 
The system goes really far in the weeds.  - I have to reload the code.
 
I haven't had any problems using either the I2C or Keyboard interrupts & tracing through
them, etc.
 
Was just wondering if I'm doing something wrong.

Thanks,

Tim
 
 

Outcomes