Electronic – STM32 – How to run the USB DFU In application programming, in Linux command line

stm32

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.

Best Answer

Solved by power cycling the device.