1
\$\begingroup\$

I have a ST-LINK V2 programmer for STM8 and STM32 with this pin configuration:

1-RST 2-SWCLK
3-SWIM 4-SWDIO
5-GND 6-GND
7-3.3V 8-3.3V
9-5.0V 10-5.0V

But on my custom board including STM32, the board pins are:

1-3.3V 2-SWDIO
3-GND 3-SWCLK
5-GND 6-SWO
7-NC 8-NC
9-GND 10-NRST

Are they two different protocols?

If it is possible to connect them, which pins should I connect to which?

Is NRST the negate of RST?

ST-Link V2

ocrdu
9,34123 gold badges33 silver badges43 bronze badges
asked Jul 16, 2023 at 5:48
\$\endgroup\$

1 Answer 1

3
\$\begingroup\$

That is not a genuine ST-Link V2 made by ST. It is a clone product with just different pinout. It may not be upgradeable or fully compatible.

And the pinout does not matter, you use the pins you need.

The real difference is on your clone the 5V and 3.3V are outputs, and on a real product, there is no 5V and 3V3 outputs, and the module needs supply voltage from target board.

answered Jul 16, 2023 at 6:30
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.