Install stm32flash by entering the following commands in the terminal:
sudo apt update sudo apt install stm32flash
Description:
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
Homepage: http://stm32flash.sourceforge.net/
Version: 0.5-1build1
Section: universe/electronics