cancel
Showing results for 
Search instead for 
Did you mean: 

Vector table

arunl4g
Associate II
Posted on June 25, 2015 at 12:15

hej,

i was searching buit i could not get the exact point.

why vector table is needed?.. 

can anyone tell me where i can find vector table in cocox and how to relocate the vector table .

thanks.
3 REPLIES 3
Posted on June 25, 2015 at 14:58

It should be in the startup_stm32fxxxx.c file for your chip

http://www1.coocox.org/repo/bdd41990-4e02-11e0-8ec0-001d7dcd0baf/src/cmsis_boot/startup/startup_stm32f10x_cl.c.htm

You will need to check the linker script to control the placement.

You will need to tell the CPU where it is, typically there is SCB->VTOR = code in SystemInit()

To understand better how the processor works, you might want to review one of ARM's Cortex-Mx Technical Reference Manuals, or one of Joseph Yiu's books on the series.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
arunl4g
Associate II
Posted on June 25, 2015 at 15:23

how to write the linker file to seperate two have two projects and jump?

arunl4g
Associate II
Posted on June 26, 2015 at 09:09

can anyone guide me ?