I am wondering that on a ARM M3 based MCU, what is the benefit of using VTOR register to relocate vector table? The reasons to my understanding is:
- The vector table needs to be changed at runtime, and the default address (0x0 is readonly)
- Reading from SRAM (say it is relocated to the beginning of SRAM region)is probably faster than the flash region?
Does that mean if all the interrupt handler is defined and known during compilation time, there is no need to use VTOR at all?