2020-08-25 12:47 PM
Hi folks,
I'll try to keep it short. I'm working with an STM32F103xx MCU and an ST-LINK/V2 probe. I'd like to use it to program the MCU. I've been reading the ST-LINK_CLI user manual, and the STM32F10xxx programming manual. I have this question: How much of the programming sequence is handled by the '-P' command offered by ST-LINK_CLI? Do I have to manually reset the MCU by using the -Rst or -HardRst command, then unlock the flash by writing the keys to the FLASH_KEYR register? Or does '-P' handle such things?
Thank you,
Cole
Solved! Go to Solution.
2020-08-25 04:29 PM
If you just want to program, "-P file.hex" is all you need, as long as the SWD pins are active.
2020-08-25 04:29 PM
If you just want to program, "-P file.hex" is all you need, as long as the SWD pins are active.