cancel
Showing results for 
Search instead for 
Did you mean: 

STM32_Programmer_CLI.exe doesn't give result about the process.

carleslsregner
Associate III

carleslsregner_0-1767967136516.png

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?

carleslsregner_1-1767967597947.png

 

 

 

 

 

 

1 REPLY 1
Aziz BRIGUI
ST Employee

Hi @carleslsregner

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 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.