Problem encountered while flashing code to stm32f103c8t6 using st-link v2 Posted by Charan C on 2016-09-26 07:11 __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__ I edited the .cfg file as you mentioned, now problem is solved. Thank you!