2
\$\begingroup\$

I want to use the STLinkV2 on the nucleo board I have to program an external STM32f4, and I have the SWD pins connected according to section 6.2.4 in the documentation.An earlier unsuccessful attempt to use an ftdi breakout didn't work, but the 5v Vdd could power the board. However, the STLink cannot since it's 3v3, so I need to power both boards. I'm worried that when I power up the second board I may damage the programmer, since the STLink is 3v3, and Vdd on the target board is 5v. I know some of the pins are 5v tolerant, but I'm not sure which ones, and I don't know how to proceed. My current plan is to connect only ground and the data pins and leave Vdd separate, will this work?

\$\endgroup\$
2
  • \$\begingroup\$ I did this, and it worked \$\endgroup\$ Apr 21, 2021 at 23:36
  • \$\begingroup\$ You can post your findings as an answer to your own question. \$\endgroup\$
    – Tagli
    Apr 22, 2021 at 7:13

1 Answer 1

0
\$\begingroup\$

I was able to program the target board by connecting only the data pins and ground. It seems sufficient to simply leave the two Vdd pin unconnected.

\$\endgroup\$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.