Skip to main content
Associate II
Jan 11, 2024 6:16 PM UTC
Solved

Unable to erase using STM32_Programmer_CLI.exe

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?

This topic has been closed for replies.
bpatBest answer
Associate II
Jan 11, 2024 6:43 PM UTC

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

4 replies

TDK
Jan 11, 2024 6:21 PM UTC

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""."
Tesla DeLorean
Guru
Jan 11, 2024 6:23 PM UTC

Perhaps select more verbose output / logging ?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
bpatAuthor
Associate II
Jan 11, 2024 6:37 PM UTC

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.

bpatAuthorBest answer
Associate II
Jan 11, 2024 6:43 PM UTC

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