Solved
CubeProgrammer works, but Programmer_CLI fails
- August 2, 2023
- 2 replies
- 2652 views
Hi,
I have a situation where I can successfully program the target using STM32CubeProgrammer, but it fails when I try to do the same with STM32_Programmer_CLI.exe with an error:
Error: failed to erase memory
Both are v2.13.0.
The command line I used:
STM32_Programmer_CLI.exe -c port=SWD -d "firmware.bin" 0x08000000 -vb 3Attached are the verbose level 3 output from each.
I am attempting to figure out why STM32CubeIDE fails to download code for debug. It also encounters the same failed to erase memory error.
Appreciate any help anyone can give me. Thanks.
