Skip to main content
DOCon.1
Senior
August 1, 2021
Question

STLink V3 troubleshooting

  • August 1, 2021
  • 3 replies
  • 928 views

STM32CubeProgammer detects the ST link, and I successfully updated its firmware. But it doesn't detect the MCU. A StLinkV2 dongle on the same board works. I'm using the (SWDIO, SWCLK, RST pins). What troubleshooting steps would you take? Do you perhaps need more pins connected for V3? Thank you.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
August 1, 2021

Connecting it to What?

Need a ground.

Perhaps back off the connection speed, the V3 runs up to 24 MHz, in my experience CM0(+) won't connect that fast. Try 1 MHz

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
DOCon.1
DOCon.1Author
Senior
August 1, 2021

Thank you. I don't have those wired up - perhaps that would do it. Although it doesn't seem to be required for V2. I did try different speeds.

What about SWO? Is that also needed? Thank you.

Tesla DeLorean
Guru
August 2, 2021

SWO can help in CM3, CM4, CM7 to provide a serial debug output, like a UART without using peripheral resources.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
TDK
Super User
August 2, 2021

Ground is always required. SWO is optional.

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