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

Relocating Interrupt Vector Table

Note: This was originally posted on 13th August 2010 at http://forums.arm.com

Hi,

               I want to know that whether it is possible to change the base address of vector table?... Working on this question, I got other few queries in my mind...

(1) Where is the base address for vector table is defined?? (CPU atleast needs that to add calculated offset according to type of interrupt / exception)

(2) Does different architectures / cores have different base addresses?

(3) The question it self on which I am working, how to change the base address of vector table?
Parents
  • Note: This was originally posted on 17th August 2010 at http://forums.arm.com

    For Cortex-M3 and Cortex-M4, there is a Vector Table Offset Register to relocate vector table to CODE or SRAM memory.

    Some other microcontroller devices based on the Cortex-M0 (e.g. NXP LPC11xx) has a memory remap feature on its memory system (not a part of the processor) to allow vector table accesses to be optionally redirected to the SRAM.
Reply
  • Note: This was originally posted on 17th August 2010 at http://forums.arm.com

    For Cortex-M3 and Cortex-M4, there is a Vector Table Offset Register to relocate vector table to CODE or SRAM memory.

    Some other microcontroller devices based on the Cortex-M0 (e.g. NXP LPC11xx) has a memory remap feature on its memory system (not a part of the processor) to allow vector table accesses to be optionally redirected to the SRAM.
Children
No data