AnsweredAssumed Answered

Relocate verctor table

Question asked by Daniel Chai on Jun 4, 2013
Latest reply on Jun 7, 2013 by ronkim

Hi all,

I read the manual for freescale TWR-K60N512.

It said " The Cortex-M4 assumes the RAM starts at 0x20000000 and expects the vector table to be stored in that address if the VTOR TBLBASE[29] bit is set. Because the Kinetis MCU family RAM starts at 0x1fff0000, this bit must be cleared" but it slaso said " Use the bit TBLBASE[29] to indicate the table is either on RAM with 1 or

flash with 0 ", so if in Kinetis MCU familly, I want to relocate the vector table, what should I do? Should I clear  TBLBASE[29] bit or set it?

 

Thanks.

 

-Daniel


Outcomes