BOOT MODE에 관한 내용
이번엔 STM32F103의 BOOT모드에 대하여 알아 보겠습니다.
Bootloader activation
The bootloader is automatically activated by configuring the BOOT0 and BOOT1 pins in the
specific “System memory” configuration (see Table 2) and then by applying a reset.
Depending on the used pin configuration, the Flash memory, system memory or SRAM is
selected as the boot space, as shown in Table 2 below.
In some products, BOOT1 is not an I/O but a bit in the option byte area. This is the case for
the STM32F05x and STM32F3xx devices where BOOT1 is configured through nBoot1 bit in
the option bytes.
● When nBoot1 bit is set to 1, it corresponds to BOOT1 reset to 0 in Table 2
● When nBoot1 bit is reset to 0, it corresponds to BOOT1 set to 1 n Table 2.
Table 2 shows that the STM32 microcontrollers enter System memory boot mode if the
BOOT pins are configured as follows:
● BOOT0 = 1
● BOOT1 = 0
The values on the BOOT pins are latched on the fourth rising edge of SYSCLK after a reset.
Table 2. Boot pin configuration
Boot mode selection pins Boot mode Aliasing
BOOT1 BOOT0
X 0 User Flash memory User Flash memory is selected as the boot space
0 1 System memory System memory is selected as the boot space
1 1 Embedded SRAM Embedded SRAM is selected as the boot space
BOOT0를 가지고 1로 만들어 다운로드 하는 형태네요.
UART1를사용하여 하긴 했지만 문서상 여러가지 시리얼 다운로드가 가능한것 같은데...좀더 공부가 필요하지만 할것이 많아 PASS
내용중 DUAL BOOT모드가 있는데. XL 모델에서는 된다네요. 이건 원격 다운로드를 이용하여도 될듯하네요..