cancel
Showing results for 
Search instead for 
Did you mean: 

I cant program my controller using st-link V2.

SB1
Associate II

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&regards

senthilkumar.B

3 REPLIES 3
Uwe Bonnes
Principal III

Is the target powered? Is reset eventually active?

SB1
Associate II

yes...target board is powered.At initial stage reset is high without connecting programmer after connecting it reset pin is low.

S.Ma
Principal

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.