cancel
Showing results for 
Search instead for 
Did you mean: 

Reset error after vector table remapped

ayaka
Associate II
Posted on July 20, 2010 at 06:14

Reset error after vector table remapped

1 REPLY 1
damh
Associate II
Posted on May 17, 2011 at 13:59

After reset the start address (booting from ram) or the address of the start address (booting from user or system flash) is fixed (you can NOT change it) in STM32.

user flash -> start address is located at 0x08000004 (size = 4 bytes)

ram -> start address is fixed at 0x200001E0

system flash -> start address is located at 0x1FFFF004 (size = 4 bytes)

If you want a similar way for boot from ram, you should locate the code 0xF1E0F85F at 0x200001E0. This code means ''ldr.w pc, [pc, #-0x01E0]''.

With this workarround you can have the normal interrupt table beginning at 0x20000000 and start address located at 0x20000004.