cancel
Showing results for 
Search instead for 
Did you mean: 

I'm using STM32F103RBT6 with custom linker script where I'm alocating bootloader section in Flash, encryption keys, magic numbers, provision in RAM , but stmcube geberate large bin file > 390 Mbyte

MOhamed_Mehery
Associate III
1 ACCEPTED SOLUTION

Accepted Solutions

Like you're describing a ridiculously large area, or separation of sections, and putting content in them both.

The Linker shouldn't be putting "content" in RAM, it should be staging it in FLASH, and the startup.s code should then move it to RAM each time the MCU starts.

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

View solution in original post

2 REPLIES 2
Kamil Duljas
Senior III

Maybe share this script?​

Dudo

Like you're describing a ridiculously large area, or separation of sections, and putting content in them both.

The Linker shouldn't be putting "content" in RAM, it should be staging it in FLASH, and the startup.s code should then move it to RAM each time the MCU starts.

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