Skip to main content
Visitor II
February 17, 2024
Question

Unable to connect the external ST/Link V2 with NUCLEO-C031C6

  • February 17, 2024
  • 3 replies
  • 1675 views

Hello Team,

 

I am trying to use the external ST Link V2 with NUCLEO-C031C6,

Below are the connections,

1. I have removed CN2

2. JTAG Connections are below

    1- MCU VDD to 3.3V pin of CN6

    2. SWDIO - PA13 of CN7

    3. SWCLK - PA14 of CN7

    4. NRST - NSRT pin of CN6

    5. GND - GND pin of CN6

    6. GND(16)- GND pin of CN6

I have given 5V at JP5 pin, Able to see the MCYU get power at JP6

With this connection I am unable to program the MCU, getting this error

nevase123_0-1708165091729.png

Please help on this 

 

 

    This topic has been closed for replies.

    3 replies

    Super User
    February 17, 2024

    > I am trying to use the external ST Link V2 with NUCLEO-C031C6,

    But why? The Nucleo boards have an on-board ST-Link. You only need to connect CN1 with a USB cable to power and program them.

    nevase123Author
    Visitor II
    February 18, 2024

    Hello,

    Thank you for your reply.

    I want to test the SWD as it will be used in our design where STM32C0 will program via st link V2.

    Regards,

    Sachin N

    Super User
    February 18, 2024

    @nevase123 wrote:

    1. I have removed CN2


    Both links?

    nevase123Author
    Visitor II
    February 18, 2024

    Yes I have removed both short links.

    Graduate II
    February 18, 2024

    Try check NRST state en.MB1717-C031C6-B02_Schematic.PDF (st.com) SB23

    but from your info too problem maybe is your OS , blocked port or other issue. Simpler way is use STM utility aor programmer sw ...

    Super User
    February 19, 2024

    @MM..1 wrote:

    problem maybe is your OS , blocked port or other issue. 


    @nevase123 - on that thought:

    1. Does the onboard ST-Link work?
    2. Have you ever used this external ST-Link successfully before?

    Also, What ST-Link are you using? Is it a genuine ST one?