Blank check with STM32_Programmer_CLI.exe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-16 3:02 AM
I make a blankcheck of a device with this command:
STM32_Programmer_CLI.exe" "-c port=swd UR -blankcheck"
This command returns ERRORLEVEL == 0 if the device is blank, but also if the devices is programmed.
How can I, from the command line, find out if a device is programmed or not?
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-27 11:10 PM
Hi Aziz,
thanks for Your answer, although it is not satisfying my need.
I had to modify my software so that it scans the output of the blank check command.
Regards, Urs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-22 6:34 AM
Hello @UW,
The ERRORLEVEL is set only when the command returns an error. You can test on the output string to check if the flash is empty or not. For now, blank check returns only a warning when flash is not empty.
Aziz
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-27 11:10 PM
Hi Aziz,
thanks for Your answer, although it is not satisfying my need.
I had to modify my software so that it scans the output of the blank check command.
Regards, Urs
