Skip to main content
MOhamed_Mehery
Associate III
May 11, 2023
Solved

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

  • May 11, 2023
  • 2 replies
  • 1285 views

..

This topic has been closed for replies.
Best answer by Tesla DeLorean

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.

2 replies

Senior III
May 11, 2023

Maybe share this script?​

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
May 11, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..