stm32flash
« Back to VersTracker
Description:
Open source flash program for STM32 using the ST serial bootloader
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: stm32 microcontroller firmware bootloader serial embedded
Install: brew install stm32flash
About:
stm32flash is a command-line utility designed to interface with STM32 microcontrollers via their built-in serial bootloader. It enables users to flash firmware, read/write memory, and erase device contents without requiring a hardware debugger. This open-source tool is essential for in-system programming and field updates of STM32-based devices.
Key Features:
  • Read and write flash memory via UART
  • Erase device memory or perform mass erase
  • Support for STM32 bootloader protocol
  • Command-line interface for automation
  • Open source and cross-platform
Use Cases:
  • Flashing firmware onto STM32 microcontrollers in production or field environments
  • Updating bootloader or application code without a JTAG/SWD debugger
  • Reading memory contents for backup or reverse engineering analysis
Alternatives:
  • ST-Link Utility – Official GUI tool from STMicroelectronics, requires proprietary hardware (ST-Link)
  • OpenOCD – More versatile debugger that supports many targets, but more complex to configure for simple UART flashing
Version History
Detected Version Rev Change Commit
Sep 15, 2025 12:17pm 0 VERSION_BUMP c586027d
Sep 13, 2024 2:23am 0 VERSION_BUMP f5afb2a6