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 ...
I think the value of VTOR is zero when K60 reset
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)
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
where is linker command file in IAR system, is it linker configure file(.icf) , i can not find any code you mentioned