Table 6. Boot Modes - ST STM32F4 Series Application Note

Getting started with mcu hardware development
Hide thumbs Also See for STM32F4 Series:
Table of Contents

Advertisement

Package
BOOT mode selection pins
BOOT1
x
0
1
The values on the BOOT pins are latched on the 4
is up to the user to set the BOOT1 and BOOT0 pins after reset to select the required boot
mode.
Boot from User Flash mode
The application code that runs after reset is located in user flash memory.
The user flash memory in this mode is aliased to start at address 0x00000000 in boot
memory space. Upon reset, the top-of-stack value is fetched from address 0x00000000,
and code then begins execution at address 0x00000004.
Boot from System Memory mode
The system memory (not the user flash) is now aliased to start at address 0x00000000. The
application code in this case must have already been loaded into system memory.
Boot from Embedded SRAM mode
The SRAM start at address 0x00000000. When this mode is selected, the device expects
the vector table to have been relocated using the NVIC exception table and offset register,
and execution begins at the start of embedded SRAM. The application code in this case
must have already been loaded into embedded SRAM.
This last mode is usually used for Debugging.
26/50

Table 6. Boot modes

Boot mode
BOOT0
0
Main Flash memory
1
System memory
1
Embedded SRAM
AN4488 Rev 7
Aliasing
Main Flash memory is selected as boot space
System memory is selected as boot space
Embedded SRAM is selected as boot space
th
rising edge of SYSCLK after a reset. It
AN4488

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F4 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF