STMicroelectronics STM32 F101xx, F102xx, F103xx, F105xx, F107xx, L15xx, F205xx, F207xx, F215xx, F217xx microcontroller Application note

Below you will find brief information for STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx, STM32F107xx, STM32L15xx, STM32F205xx, STM32F207xx, STM32F215xx, STM32F217xx. These microcontrollers have a bootloader stored in the internal boot ROM memory (system memory) of these devices. This bootloader is programmed by ST during production. Its main task is to download the application program to the internal Flash memory through one of the available serial peripherals (USART, CAN, USB, etc.). A communication protocol is defined for each serial interface, with a compatible command set and sequences. The bootloader is automatically activated by configuring the BOOT0 and BOOT1 pins in the specific “System memory” configuration. Depending on the used pin configuration, the Flash memory, system memory or SRAM is selected as the boot space.

PDF Download
Document
STM32 Microcontroller System Memory Boot Mode Application Note | Manualzz

Advertisement

Advertisement

Advertisement

Key Features

  • Bootloader is stored in internal boot ROM memory
  • Downloads application program through serial peripherals
  • Communication protocol defined for each interface
  • BOOT0 and BOOT1 pins control boot mode
  • Supports USART, CAN, USB peripherals
  • Automatically detects baud rate
  • Dual bank boot feature for XL-density devices
  • Updates Flash memory code, data, and vector table sections
  • Bootloader version identification
  • Hardware requirements and configuration for different devices

Frequently Answers and Questions

How do I activate the bootloader?

The bootloader is activated by configuring the BOOT0 and BOOT1 pins in the “System memory” configuration and applying a reset.

How do I exit the System memory boot mode?

Exit the System memory boot mode by applying a hardware reset. During reset, the BOOT pins must be set to the proper levels to select the desired boot mode.

How do I identify the bootloader?

The bootloader is identified by its version and identifier (ID). The bootloader ID is programmed in the last two bytes of the device system memory and can be read using the bootloader “Read memory” command or by direct access to the system memory via JTAG/SWD.

What are the hardware requirements for using the bootloader?

The hardware requirements vary depending on the device and the selected interface. You will need a circuit capable of holding the BOOT0 pin high and the BOOT1 pin low during reset. You will also need to connect to the selected interface (USART, CAN, or USB) using appropriate cables and transceivers.

What are the different bootloader versions?

The bootloader versions are documented in separate documents for each supported serial peripheral, such as AN3155 for the USART protocol, AN3154 for the CAN protocol, and AN3156 for the DFU (USB) protocol.
Preparing document for printing…
0%