cancel
Showing results for 
Search instead for 
Did you mean: 

Change flash memory in linker

Helmish
Associate II

I change the flash memory in the linker file from 0x8000000 to 0x8006000 and size from 512k to 484k.

My program crash on HAL_Delay i think the issue is from the address that i change it from the linker so what else i have to change to my programme will run normaly.

I am working with stm32F103ZET6.

2 REPLIES 2

You'd  need to change SCB->VTOR to reflect the new base address of the vector table. This is normally done in SystemInit() and could use a Linker symbol rather than a define.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Can you tell me where exactly make these changes