cancel
Showing results for 
Search instead for 
Did you mean: 

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

STM.TestDev
Associate

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)

1 REPLY 1
NSAUG.1
Associate III

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