cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 GNU ARM linker

Cesar cfg
Associate II
Posted on June 30, 2015 at 11:27

Hi

I am working with stm32 using GNU ARM Eclipse plugin.

I want to modify the linker scripts to change the program start address

Can anyone help me?  

Thanks
10 REPLIES 10
Posted on July 01, 2015 at 17:25

Can you explain more how and where i can do this ?

You could replicate the first two vectors found in the startup_stm32fxxx.s file, placing them in their own section. Then in the linker script describe a memory section starting at 0x08000000 with a length of 8 or so bytes, and direct the small vector stub into that area.

If it's easier, you could take the first 8 bytes described in the .HEX file for address 0x08003000 and replicated them in a record that gets written to 0x08000000
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..