ST-LINK error after mass erase
Hi there,
I want to write a bat file to program STM32 MCU.
After I issue the command below to erase the full chip.
STM32_Programmer_CLI.exe -c port=SWD freq=4000 -e all
The prompt says: 'Mass erase successfully achieved', which indicates the full chip erase is successful.
Then I use the following command to download the bootloader:
STM32_Programmer_CLI.exe -c port=SWD freq=4000 -w E:/Programming/xxx/xxx-bootloader.elf -v
The prompt says: ST-LINK error, as the following screenshot shows.

Can I know what is the reason?
In addition, what should I do if I want to download the app image after the download the bootloader above?
