AnsweredAssumed Answered

Relocate the INTERRUPT VECTOR

Question asked by Daniele Cavazza on Jan 12, 2011
Latest reply on Jan 13, 2011 by Daniele Cavazza

Dear all Hello,

 

I'm using CodeWarrior 5.9.0 for my application with MC9S12P128.

In my application I need to relocate the interrupt vector address.
For example: I need to put the Timer Overflow Interrupt in the location 0x7FDE.
I've done this by this entry in the .prm file:

VECTOR ADDRESS 0x7FDE TOV_Interrupt

My applicatin runs correctly, even if I reset it by the debugger.
But if i do an hardware reset turning off the power supply, the application doesn't handle the interrupt correctly and it enters in a infinite loop.

 

Is corretc to use the entry in the .prm file or do I have to use another method?

Thank you.

Outcomes