About kinetis K60 vector table address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About kinetis K60 vector table address

1,166 Views
zhangbaolei
Contributor I

how can I determine K60 vector table address. I know it is stored at VTOR registor(0xE000ED08), but what value is it when reset

does it initialized different value for different K60 cpu?

or initialize by some Peripheral device?

or ...

Tags (2)
0 Kudos
4 Replies

626 Views
zhangbaolei
Contributor I

I think the value of VTOR is zero when K60 reset

0 Kudos

626 Views
zhangbaolei
Contributor I

I have read the ARM cortex-M manual:

"On reset, the processor initializes the vector table base address to an IMPLEMENTATION DEFINED address. "

by I can not find "IMPLEMENTATION DEFINED" address in some k60 cpu datasheet(K60P100M100SF2V2RM)

0 Kudos

626 Views
fugrace
Contributor III

It's initialized by the linker command file .like this:

/* Define output sections */

SECTIONS

{

  /* The startup code goes first into Flash */

  .interrupts :

  {

  __vector_table = .;

    . = ALIGN(4);

    KEEP(*(.vectortable)) /* Startup code */

    . = ALIGN(4);

  } > m_interrupts

for more detailed explaination,I guess the FAE will give better answer.

Wish you good

0 Kudos

626 Views
zhangbaolei
Contributor I

where is linker command file in IAR system, is it linker configure file(.icf) , i can not find any code you mentioned

0 Kudos