Arm Community
Site
Search
User
Site
Search
User
Support forums
Architectures and Processors forum
How to relocate the Cortex-M3 Vector Table
Jump...
Cancel
State
Accepted Answer
+1
person also asked this
people also asked this
Locked
Locked
Replies
5 replies
Subscribers
349 subscribers
Views
16512 views
Users
0 members are here
Cortex-M
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
How to relocate the Cortex-M3 Vector Table
Davide Masi
over 12 years ago
Note: This was originally posted on 9th November 2011 at
http://forums.arm.com
Hello,
I am Davide Masi and I work on Fujitsu based on ARM Cortex M3.
How do I relocate the interrupt vector table from address 0x0000 to a different address, for examples in RAM?
Where can I find examples or AN about the problem?
Thanks
Top replies
Joseph Yiu
over 12 years ago
+2
verified
Note: This was originally posted on 11th November 2011 at http://forums.arm.com Let's say you want to relocate vector table from flash to SRAM: - reserve an area in SRAM for Vector table when you setup...
Parents
0
Joseph Yiu
over 12 years ago
Note: This was originally posted on 10th November 2011 at
http://forums.arm.com
Hi David,
Welcome to the forum.
Maybe you can use the Vector Table Offset Register (VTOR) to do this.
http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/Ciheijba.html
Examples can be found in various forums by searching for "SCB->VTOR".
One example is on Keil forum:
http://www.keil.com/forum/17484/
regards,
Joseph
Cancel
Vote up
0
Vote down
Cancel
Reply
0
Joseph Yiu
over 12 years ago
Note: This was originally posted on 10th November 2011 at
http://forums.arm.com
Hi David,
Welcome to the forum.
Maybe you can use the Vector Table Offset Register (VTOR) to do this.
http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/Ciheijba.html
Examples can be found in various forums by searching for "SCB->VTOR".
One example is on Keil forum:
http://www.keil.com/forum/17484/
regards,
Joseph
Cancel
Vote up
0
Vote down
Cancel
Children
No data