Skip to main content
arunl4g
Associate III
June 25, 2015
Question

Vector table

  • June 25, 2015
  • 3 replies
  • 629 views
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.
    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    June 25, 2015
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    arunl4g
    arunl4gAuthor
    Associate III
    June 25, 2015
    Posted on June 25, 2015 at 15:23

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

    arunl4g
    arunl4gAuthor
    Associate III
    June 26, 2015
    Posted on June 26, 2015 at 09:09

    can anyone guide me ?