Skip to main content
Associate III
February 19, 2025
Question

ST-Link connection problems plaguing project progress

  • February 19, 2025
  • 8 replies
  • 1326 views

Hello,

we have purchased multiple Nucleo H723ZG and H7A3ZI-Q. Since the beginning, connection problems with ST-Link are plaguing the project. It is impossible to reliably debug, because connection with the host can't be established via USB. We have checked all possible sources (like different computers, cables, docks, ports, software, et.c.), but the issue sporadically appears, even with brand new boards out of the box, which costs money.  Other users face similar issues and I wonder what steps ST wants to take.

Best regards

8 replies

Javier1
Principal
February 19, 2025

This smells like grounding issues. :D
>>Other users face similar issues and I wonder what steps ST wants to take.
I personally never had those issues, stlinks old and new are realiable.

Seeing your other posts it looks like youre getting started with ST, my money is on burnt nucleo board due to high voltage apølied to analog pins or defective project grounding.


Show us some pictures

 

Try this, use stlink with a laptop Pc unplugged from its wall charger, do your problems magically solve?

Are you conecting something else to your Nucleo H723ZG, maybe a oscilloscope probe?

hit me up in https://www.linkedin.com/in/javiermuñoz/
TDK
Super User
February 19, 2025

Something with your setup isn't right. You shouldn't be having problems with debugging. More clarity into the setup and the exact problems you're having (exact error messages, etc) would be helpful. Unlikely that this is a board problem.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
February 19, 2025
Pavel A.
Super User
February 19, 2025

Connect the board thru a good USB 2.0 hub. Powered hub is even better.

 

Karl Yamashita
Principal
February 20, 2025

As everyone seem to state, there must be something wrong with your setup. I've never had an issue with the Nucleo-H723ZG. 

  • Show the errors you are getting when trying to make connections.
  • Is LD4 and LD6 LED's On when the USB cable is plugged in?
  • Is the VCP not working as well?
  • Can STM32CubeProgrammer make connection?
  • Are there any external devices that you have connected to the Nucleo?
If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
LysAnAuthor
Associate III
February 26, 2025

Thanks for your input. Here is a typical example, new Nucleo-Board just unboxed. This setup will sometimes work, sometimes not.

  • LD4 will mostly stay red, sometimes turn green.
  • LD6 usually stays off
  • CubeProgrammer will mostly not connect
  • STLinkUpgrade will mostly fail
  • Board will show up in command line terminal as/dev/tty.usbmodem213403
     
  • IMG_4572.JPG
Javier1
Principal
February 26, 2025

>>will mostly

If this was happenning to me i would try with another PC another usb cable and another nucleo board, and then slowly one by one introduce the old setup back.

hit me up in https://www.linkedin.com/in/javiermuñoz/
Javier1
Principal
February 27, 2025

>>paint it white

Javier1_0-1740668300275.jpeg

 

hit me up in https://www.linkedin.com/in/javiermuñoz/
LysAnAuthor
Associate III
April 14, 2025

Hi all, attached are two images showing what happens when I connect my STM32 board to a MacBook. The current draw is different what puzzles me. Once the Current Required is shown, once not.