I would like to know the goal of the RAM copy of the vector.
In my kinetis K60 example there is in the start function:
/* Copy the vector table to RAM */
if (__VECTOR_RAM != __VECTOR_TABLE)
for (n = 0; n < 0x410; n++)
__VECTOR_RAM[n] = __VECTOR_TABLE[n];
/* Point the VTOR to the new copy of the vector table */
What is the main advantage to copy the vector table into the RAM?