Open source flash program for STM32 using the ST serial bootloader logo

Open source flash program for STM32 using the ST serial bootloader

Free

Flash STM32 microcontrollers via serial bootloader

FreeFree tier
Type
Open Source

About Open source flash program for STM32 using the ST serial bootloader

stm32flash is an open-source command-line tool for flashing STM32 microcontrollers via the built-in serial bootloader. It supports a wide range of STM32 families and provides a simple interface for programming flash memory over a serial connection.

Key Features

Supports many STM32 families
Uses ST serial bootloader protocol
Command-line interface
Cross-platform (Linux, Windows, macOS)
Open source licensed

Pros & Cons

Pros
  • Free and open source
  • Reliable flashing using standard bootloader
  • No proprietary software required
  • Works on multiple operating systems
Cons
  • Requires hardware serial connection (UART)
  • Only supports serial bootloader (not JTAG/SWD)
  • May have limited speed compared to JTAG/SWD programmers

Best For

Programming STM32 microcontrollers in development and productionFlashing firmware updates via UARTRecovering bricked STM32 devices with bootloader access