STM32CUbeMXProgrammer
STM32_Programmer_CLI.exe returns "0" error code on failed programming same as Programming Successful exit code
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-12 7:32 PM
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)
Labels:
- Labels:
-
STM32CubeProgrammer
-
STM32G4 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-27 5:33 AM
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
