Set Vector Table Offset Register?

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

Set Vector Table Offset Register?

Jump to solution
1,405 Views
BrentW
Contributor II

IAR Workbench for ARM 6.21.1

K60N512

 

I would like to set the VTOR to the beginning of the second bank of flash (0x40000). Why? I have my application (and its vector table) at 0x40000. After the bootloader verifies the CRC of the application, I would like it to start up the application.

 

Thanks in advance,

 

Brent

0 Kudos
1 Solution
810 Views
BrentW
Contributor II

Solved by placing Vector Table in RAM and setting the __VECTOR_TABLE_ROM_START = 0x00040000 in the .icf file.

 

View solution in original post

0 Kudos
1 Reply
811 Views
BrentW
Contributor II

Solved by placing Vector Table in RAM and setting the __VECTOR_TABLE_ROM_START = 0x00040000 in the .icf file.

 

0 Kudos