stm32flash

STM32 chip flashing utility using a serial bootloader

Install

All systems
curl cmd.cat/stm32flash.sh
Debian Debian
apt-get install stm32flash
Ubuntu
apt-get install stm32flash
image/svg+xml Kali Linux
apt-get install stm32flash
Windows (WSL2)
sudo apt-get update sudo apt-get install stm32flash
OS X
brew install stm32flash
Raspbian
apt-get install stm32flash

stm32flash

STM32 chip flashing utility using a serial bootloader

stm32flash is a flashing program for the STM32 ARM processors using the ST serial bootloader compliant with application note AN3155. Features: * device identification * write to flash/RAM * read from flash/RAM * auto-detect Intel hex or raw binary input format with option to force binary * flash from binary file * save flash to binary file * verify and retry up to N times on failed writes * start execution at specified address * software reset the device when finished if -g not specified * resume already initialized connection (for when reset fails) * GPIO signalling * I²C support