2024-10-16 03: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.
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
2024-10-22 06: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
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