cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to erase using STM32_Programmer_CLI.exe

bpat
Associate II

I am trying to erase my STM32U575 which is on a Nucleo board (U575ZI-Q) and it connected to the computer via ST-Link V3. I can erase the chip fine using the GUI STM32CubeProgrammer, but the command line method does nothing. This is the output I get when trying to run the erase all command:

 

./STM32_Programmer_CLI.exe port=SWD UR --e all

-------------------------------------------------------------------
STM32CubeProgrammer v2.13.0
-------------------------------------------------------------------

After a brief pause, it finishes with nothing else printed.

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
bpat
Associate II

I forgot to put "-c" on the beginning of the command.

View solution in original post

4 REPLIES 4
TDK
Guru

Certainly trying the latest version is worth a shot. Latest is v2.15 The U5 family is new, bugs tend to happen for newer devices and get fixed in future updates.

If you feel a post has answered your question, please click "Accept as Solution".

Perhaps select more verbose output / logging ?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I've tried the latest version of the programmer, v2.15. I also tried setting verbosity to -vb 1,2, and 3 but nothing is printed.

bpat
Associate II

I forgot to put "-c" on the beginning of the command.