Relocating interrupt vectors to RAM for Teensy3.0

Status
Not open for further replies.

JMS

New member
Hi,

I world like to relocate the interrupt vectors from flash to RAM. I have tried changing the linker file (to put the interrupt vectors at the start of the RAM) and the startup code in mk20dx128.c (to copy the table from flash to data and to set the SCB_VTOR register) but it doesn't work. Working with the GNU ARM tools is new for me, so probably I'm misging something.

Has anybody allready succesfully relocated the interrupt vectors to RAM? What changes where's needed to the linker file and startup code ?

Kind regards,

JMS
 
Status
Not open for further replies.
Back
Top