Skip to main content
STM.TestDev
Visitor II
June 13, 2022
Question

STM32CUbeMXProgrammer STM32_Programmer_CLI.exe returns "0" error code on failed programming same as Programming Successful exit code

  • June 13, 2022
  • 1 reply
  • 723 views

MCU STM32G473MXT

CLI argument: -c port=SWD -e all -w C:\STM\Target.hex

During connection/power interruption, the STM32_Programmer_CLI.exe return "0" as exitcode. (same exit code with programming successful result)

This topic has been closed for replies.

1 reply

NSAUG.1
Associate III
June 27, 2022

I'm having problems with this too, please have a look at returning non-zero exit codes when it fails.

Confirmed identical with the Linux version too.

Best,

Nicolas