2024-02-17 02:18 AM
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
Please help on this
2024-02-17 05:10 AM - edited 2024-02-17 05:11 AM
> 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.
2024-02-17 08:17 PM
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
2024-02-18 06:07 AM
@nevase123 wrote:1. I have removed CN2
Both links?
2024-02-18 06:09 AM
Yes I have removed both short links.
2024-02-18 08:01 AM
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 ...
2024-02-19 01:20 AM
@MM..1 wrote:problem maybe is your OS , blocked port or other issue.
@nevase123 - on that thought:
Also, What ST-Link are you using? Is it a genuine ST one?