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

How to relocate the Cortex-M3 Vector Table

Hello,
I am Davide Masi and I work on Fujitsu based on ARM Cortex M3.

How do I relocate the interrupt vector table from address 0x0000 to a different address, for examples in RAM?
Where can I find examples or AN about the problem?

Thanks

Parents Reply Children
  • Is possible to relocate the vector table also in run-time?

    Well of course - how else can a bootloader do its job?

  • Well of course - how else can a bootloader do its job?

    I am struggling to see how a reference to a bootloader is relevant.
    For example, on a STR710 MCU (ARM7TDMI) the vector table is fixed at address 0. Either the on-chip flash or the on-chip RAM can be mapped (and re-mapped at run time) at address 0. I believe the same feature is present in the STM32 family, for example. Having the vector table in RAM gives the necessary flexibility to implement a bootloader.
    Having said that, the vector table in the Cortex-M3 is relocatable at run time