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
..
..
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.