Skip to main content
SB1
Associate
February 19, 2019
Question

I cant program my controller using st-link V2.

  • February 19, 2019
  • 3 replies
  • 807 views

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

    This topic has been closed for replies.

    3 replies

    Uwe Bonnes
    Chief
    February 19, 2019

    Is the target powered? Is reset eventually active?

    SB1
    SB1Author
    Associate
    February 19, 2019

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

    S.Ma
    Principal
    February 19, 2019

    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.