Customizable Bootloader for STM32 microcontrollers.
FreeCustomizable bootloader for STM32 microcontrollers
About Customizable Bootloader for STM32 microcontrollers.
The STM32 Bootloader is a customizable open-source bootloader for STM32 microcontrollers, designed to enable in-application programming (IAP) of firmware from an external SD card using the FAT32 file system. It features configurable application space, flash erase and programming with verification, checksum validation, flash protection handling, and extended error handling for fail-safe operation. The bootloader supports firmware updates and full chip re-programming by entering ST's built-in bootloader from software. It includes serial tracing over SWO for debugging and is easy to port to different STM32 MCUs. The repository provides multiple example projects for STM32L4 series boards (e.g., STM32L476-CustomHw, STM32L496-Discovery) with dedicated README files.
Key Features
Pros & Cons
- Open source (MIT license) and freely customizable
- Well-documented with generated API docs and per-example READMEs
- Supports multiple STM32L4 development boards and custom hardware
- Fail-safe design with checksum verification and error handling
- Includes ability to invoke ST's built-in bootloader for recovery
- Currently only provides examples for STM32L4 series microcontrollers
- Requires external SD card with FAT32 file system for firmware storage
- No graphical user interface; all configuration done via source code
- Limited to STM32 ecosystem; not a generic bootloader