Set Vector Table Offset Register?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Set Vector Table Offset Register?

跳至解决方案
2,165 次查看
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 项奖励
回复
1 解答
1,570 次查看
BrentW
Contributor II

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

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,571 次查看
BrentW
Contributor II

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

 

0 项奖励
回复