stm32flash

Flash program for STM32 microcontrollers via serial bootloader

brewmacoslinux
Try with needOr install directly
Source

About

Open source flash program for STM32 using the ST serial bootloader

Commands

stm32flash

Examples

List available serial ports and probe device$ stm32flash /dev/ttyUSB0
Flash firmware binary to STM32 device$ stm32flash -w firmware.bin /dev/ttyUSB0
Read flash memory from device and save to file$ stm32flash -r backup.bin /dev/ttyUSB0