This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A question about ISRs, bootcode and application code

Hello all,
Why is it that the boot code and the application code cannot share the same ISRs? I had a look at previously posted threads in the forum but I couldn't find a technical explanation. Can you?
Thanks in advance,
CactusBlip

Parents
  • Just add another possibility that is available on the XC16x devices (and others) concerns the ability to change the base address of the interrupt vector table (via a SFR). This allows for a completely independent vector table between the two code sets, application and boot. It still requires the boot code to change the entry before running the application code and serves to reduce the interrupt latency of running shared code in the ISR or implementing a double jump table.

Reply
  • Just add another possibility that is available on the XC16x devices (and others) concerns the ability to change the base address of the interrupt vector table (via a SFR). This allows for a completely independent vector table between the two code sets, application and boot. It still requires the boot code to change the entry before running the application code and serves to reduce the interrupt latency of running shared code in the ISR or implementing a double jump table.

Children
No data