STMicroelectronics AN2606 Application Note STM32 Microcontroller System Memory Boot Mode

This document introduces the STM32 microcontroller system memory boot mode. It describes that the main task of the bootloader stored in the internal boot ROM memory 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.


STMicroelectronics AN2606 Application Note STM32 Microcontroller System Memory Boot Mode - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
88
File format
PDF
File size
876 KB
Published
07 August, 2012
Updated
28 September, 2023
MD5 checksum
0BD63D4587CA5D3934A278C31D17ECEE

About this manual

The document details the system memory boot mode used in STM32 devices, where a bootloader stored in internal ROM downloads application programs to Flash via serial peripherals like USART, CAN, or USB. It covers the general features of this bootloader and refers users to separate documents for specific low-level communication protocols.

The note provides comprehensive guidance on configuring and selecting the bootloader for multiple STM32 product lines, including Value Line (F10x), Connectivity Line (F105/107), High-Performance (F4/F2), and Ultra-Low Power (L1) series. It includes specific sections on hardware requirements, version identification, timing characteristics, and device-dependent parameters.

What's inside

  • General bootloader description
  • Bootloader activation
  • Exiting System memory boot mode
  • STM32F10x Value Line bootloader
  • STM32F105/107 Connectivity Line bootloader
  • STM32L15xx Ultralow power device bootloader
  • STM32F2xx Bootloader V2.x and V3.x
  • STM32F4xx Bootloader configuration
  • Bootloader timing characteristics
  • Device-dependent parameters

Specifications

Supported Serial InterfacesUSART, CAN, USB
Memory Transfer CapabilitiesFlash memory code, data, and vector table sections

Frequently asked questions

Which specific STM32 product series are covered in this document?

The document applies to products listed in Table 1, including STM32F051x6/8, F1 Mainstream, F2 Hi-performance, L151xx/F152xx/F162xx.

Where can I find specifications for the USART protocol used in the bootloader?

Specifications for the USART protocol are documented in separate application note AN3155.

Where can I find specifications for the CAN protocol used in the bootloader?

Specifications for the CAN protocol are documented in separate application note AN3154.

Where can I find specifications for the DFU (USB Device) protocol used in the bootloader?

Specifications for the DFU protocol are documented in separate application note AN3156.

Download PDF (876 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →