2026-01-09 6:06 AM
My goal is to use the STM32_Programmer_CLI.exe from an application, but, for the moment, I just write down command lines in the Command Prompt (cmd.exe).
However, the commands of writting the flash ( -w yourbinfile.bin )and erasing it completely (-e all) does not return any kinf of results. I just delivers a "STM32CubeProgrammer v2.21.0" response. Why?
2026-01-09 6:25 AM
You have to connect to the MCU first, if you're using ST-Link try:
STM32_Programmer_CLI -c port=SWD -w YourBinary.bin 0x08000000
Aziz