AnsweredAssumed Answered

Copy vector to RAM

Question asked by Xavier BUHOT on Jun 22, 2015
Latest reply on Jun 23, 2015 by ZhangJennie



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 */



    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?



Best regard.