2023-03-30 03:22 AM
I need to flash a bin file on STM32F105 MCU. To do so, I use a ST-Link V3 SET connected threw ARM20-10 Pin Adapter to Tag-Connect 2050. I send this command to STM32_Programmer_CLI.exe:
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=SWD -rdu -w "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\Software_For_Target\program.bin" 0x08000000 -v -hardRst
It workes fine, but the MCU doesn't run after programming. When I send:
STM32_Programmer_CLI.exe -c port=SWD -score
I get "Core is halted".
To get the MCU up running, I need to disconnect and reconnect the power supply of the target. Is there any way to avoid that?