Thomas Ldtke

HC908GZ16 - Interrupt Jump Table

Discussion created by Thomas Ldtke on Aug 3, 2007
Latest reply on Aug 3, 2007 by Thomas Ldtke
Hi experts,
I'm currently writing a bootloader for GZ16. Since the interrupt jump table is later protected via FLBPR I have to create a virtual jump table outside the protected area in order to use interrupts in my future application.
I already manipulated the protected jump table to point to another jump table outside the protected memory.
Does anyone know how to write the virtual jump table in C? I could write a function with lots of JMPs to the ISRs, however Codewarrior optimizes the JMP to BRA which is not correct.
Are there any other ideas?
Thanks in advance,

Alban Edit: FSL Part Number must figure in Message Subject line.

Message Edited by Alban on 2007-08-03 01:31 PM