Page 1 of 1

Interrupt handler

Posted: 24 Dec 2009 01:45
by extrapilot
Hi
For whatever reason, I cannot get any interrupt handler to be called if that interrupt handler is defined in a module other than Main.

For example, if I take the ME sample code for Interrupts- it works fine on my hardware. If I take the interrupt routine out of the Main module and create a TestInterrupt module, include that in the project, and compile it, the interrupt is never called. Since it is an IVT call, I dont know if scope is an issue here, but I tried including the Timer1Int() procedure in the Definitions section- and that was no help.

Thanks for any help-
Regards
R

Posted: 24 Dec 2009 07:37
by extrapilot
No idea why, but running an F7 step through the code in ICD mode seems to have tweaked something such that now it will access ISRs in modules. Strange.

That said, Pro does not seem to like interrupt contention yet...

R