Problem encountered while flashing code to stm32f103c8t6 using st-link v2
hi, i met the same problem ,and after read this page, i had solved .
------------------------------
seems the simplest way to deal with this is to just use
reset_config none separate
Then the reset is done internally over the SWD channel with no pins used.
--------------------------
edit the *.cfg file in the project as below:
# use hardware reset, connect under reset
#reset_config srst_only srst_nogate
reset_config none separate