Memory and bus architecture UM0306
32/519
2.4 Boot configuration
In the STM32F10x, 3 different boot modes can be selected through BOOT[1:0] pins as
shown in Tabl e 3.
This aliases the physical memory associated with each boot mode to Block 000 (boot
memory). The values on the BOOT pins are latched on the 4th rising edge of SYSCLK after
a Reset. It is up to the user to set the BOOT1 and BOOT0 pins after Reset to select the
required boot mode.
The BOOT pins are also re-sampled when exiting from STANDBY mode. Consequently they
must be kept in the required Boot mode configuration in STANDBY mode.
Even when aliased in the boot memory space, the related memory (Flash memory or
SRAM) is still accessible at its original memory space.
After this startup delay has elapsed, the CPU starts code execution from the boot memory,
located at the bottom of the memory address space starting from 0x0000_0000h.
Table 3. Boot modes
BOOT mode
selection pins
Boot Mode Aliasing
BOOT1 BOOT0
x 0 User Flash memory User Flash memory is selected as boot space
0 1 SystemMemory SystemMemory is selected as boot space
1 1 Embedded SRAM Embedded SRAM is selected as boot space