Set Vector Table Offset Register?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Set Vector Table Offset Register?

ソリューションへジャンプ
1,474件の閲覧回数
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 解決策
879件の閲覧回数
BrentW
Contributor II

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

 

元の投稿で解決策を見る

0 件の賞賛
1 返信
880件の閲覧回数
BrentW
Contributor II

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

 

0 件の賞賛