cancel
Showing results for 
Search instead for 
Did you mean: 

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

nevase123
Associate II

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 

 

 

6 REPLIES 6
TDK
Guru

> 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.

If you feel a post has answered your question, please click "Accept as Solution".

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

Andrew Neil
Evangelist III

@nevase123 wrote:

1. I have removed CN2


Both links?

Yes I have removed both short links.

MM..1
Chief II

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 ...


@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?