Boot Configuration; Table 5. Boot Modes - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

RM0008
2.4

Boot configuration

In the STM32F10xxx, 3 different boot modes can be selected through BOOT[1:0] pins as
shown in
Table 5.
Boot mode
selection pins
BOOT1
x
0
1
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 0000.
Embedded boot loader
The embedded boot loader is used to reprogram the Flash memory using the USART1
serial interface. This program is located in the System memory and is programmed by ST
during production. For further details please refer to AN2606.
Table
5.
Boot modes
Boot mode
BOOT0
0
Main Flash memory
1
System memory
1
Embedded SRAM
Memory and bus architecture
Aliasing
Main Flash memory is selected as boot space
System memory is selected as boot space
Embedded SRAM is selected as boot space
43/690

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents