2019-02-19 01:46 AM
Hi,
I am using stm32f103vc(100pin-LQFP) controller in my board while i try to program my board using st link v2 programmer it shows error message like "dev target held under reset".Programming pin connected as follows.
SWCLK--->PA14
SWDIO--->PA13
GND --->GND
NRST --->RESET OF CONTROLLER
Thanks®ards
senthilkumar.B
2019-02-19 02:02 AM
Is the target powered? Is reset eventually active?
2019-02-19 04:21 AM
yes...target board is powered.At initial stage reset is high without connecting programmer after connecting it reset pin is low.
2019-02-19 09:54 AM
Connect GND, VDD (of MCU), SWCLK and SWDIO.
The Vdd is monitored by ST Link to understand the SWD signal levels (1.8 ~ 3.6V)
If it is missing/GND, it is assumed the target is unpowered...
RESET command can be sent by SWD protocol most of the time.