Hi,
You can replace vectors base address to the address defined by IVBR register. The only vector which is not movable is reset vector. See chapter Resets and Interrupts in the reference manual.
Of course the content of IVBR is defined after reset and you have to change it.
The RM states....Note: A system reset will initialize the interrupt vector base register with “0xFFFE” before it is used to determine the reset vector address. Therefore, changing the IVBR has no effect on the location of the reset vector (0xFFFFFC–0xFFFFFF).
So it is up to you where you create and how many vectors arrays you will have. Because IVBR is R/W anytime.
Best regards,
Ladislav
Hi,
You can replace vectors base address to the address defined by IVBR register. The only vector which is not movable is reset vector. See chapter Resets and Interrupts in the reference manual.
Of course the content of IVBR is defined after reset and you have to change it.
The RM states....Note: A system reset will initialize the interrupt vector base register with “0xFFFE” before it is used to determine the reset vector address. Therefore, changing the IVBR has no effect on the location of the reset vector (0xFFFFFC–0xFFFFFF).
So it is up to you where you create and how many vectors arrays you will have. Because IVBR is R/W anytime.
Best regards,
Ladislav