Skip to main content
Associate II
January 11, 2024
Solved

Unable to erase using STM32_Programmer_CLI.exe

  • January 11, 2024
  • 2 replies
  • 1548 views

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.
Best answer by bpat

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

2 replies

TDK
Super User
January 11, 2024

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
January 11, 2024

Perhaps select more verbose output / logging ?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
bpatAuthor
Associate II
January 11, 2024

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
January 11, 2024

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