Forum: µC & Digital Electronics ST-Link_CLI.exe always returns exitcode 0

Author: rubger (Guest)
Posted on:

Rate this post
0 useful
not useful
i'm trying to program an ST32 controller using ST-Link/V2 and 
ST-Link_CLI.exe, which I start from a batchfile.
I need to recognize an error of ST-Link_CLI.exe in the batchfile, but it 
seems, that ST-Link_CLI.exe always returns exitcode=0, no matter if the 
command was succesful or not.

Is there anybody who experienced the same problem, or is there any other 
way, to reconize an error of the exe startet from a batchfile?

thx for your answers.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.