I'm using the STM32CubeProgrammer application in Ubuntu 16.04, running the "STM32_Programmer_CLI" in USB DFU mode, to flash STM32H743 device, with BOOT0 connected to 3V3.
Example for flashing command:
sudo ./STM32_Programmer_CLI -c port=USB1 -w /FilePathHere.hex -v -s
It works well when the hardware is in bootloader-ready mode, get flashed then it runs the core and open's cdc usb: /dev/ttyACM0.
- The question is how should I flash it while the application is already running. I understand this feature should ne implemented in the GUI version, but it's not mentioned how to use it in linux command line.