Introduces the features and operation of the STM8 bootloader
This document explains how to use the STM8 bootloader to program Flash, EEPROM, and RAM memory using standard serial interfaces. It covers activation, command sets, and peripheral configurations for various STM8 device groups. The bootloader is embedded in ROM and activates after reset, checking conditions before executing user code or continuing with programming.
The manual includes detailed sections on commands for reading, erasing, and writing memory, as well as speed and go commands. It also addresses limitations, such as UART baudrate calculation and ROP-protected device upgrades, and provides flowcharts and tables for bootloader versions and supported devices.
| Bootloader Version | Two-digit BCD number (e.g., 0x21 = version 2.1) |
|---|---|
| Supported Interfaces | LINUART/UART/USART, SPI, and CAN |
| Memory Types Supported | Flash program memory, data EEPROM, and RAM |
The bootloader activates after reset by checking certain address locations and executing based on whether the Flash memory is virgin or if specific option bytes allow modifications.
It supports LINUART/UART/USART, SPI, and CAN interfaces for programming.
Use the 'Get command' to retrieve the version, which is a two-digit BCD number (e.g., 0x21 = version 2.1).