AnsweredAssumed Answered

How to place the code to the boot memory?

Question asked by Carter Lee on Dec 29, 2017
Latest reply on Dec 29, 2017 by Clive One

Dear All,


As I know, STM32Fxxx CPU support 3 types boot mode by selecting the Boot pins.

1.Boot from main Flash memory.

2.Boot from system memory

3.Boot from embedded SRAM.


But I want to know how to place the code to the boot memory? (internal flash, system memory, internal SRAM)

Currently I'm using Keil MDK and STM32F103 Discovery board.


Would you please help and let me know that how are data and code sections merged and where should each section be placed in the memory?

and one more is that I want to know that what kind of disadvantage and advantage there is in each mode(internal flash and system memory and internal SRAM)


In especially, If I want boot mode with internal SRAM then What am I supposed to do in STM32F103 Discovery board.

Is there any example of internal SRAM boot?