2024-08-04 11:09 PM
I've been struggling to connect my nucleo board via ST-Link, I've tried uninstalling everything, reinstalling and my computer still won't detect the board when I plug it in. It's always just COM-3 device or whatever port I use. Tried installing the STSW-LINK009 driver directly from the STM website but still nothing.
2024-08-05 12:29 AM - edited 2024-08-05 12:40 AM
Hello @jvu and welcome to the ST Community :smiling_face_with_smiling_eyes:.
Could you please try to connect your MCU to the STM32CubeProgrammer. Don't forget to check that all pins are correctly wired (if it is a Nucleo, ensure that the JP1 is fitted on the USB_STL and that you are connecting the USB cable throw the CN15).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-08-05 08:51 PM
Thank you for the reply!
I've downloaded the programmer and can connect via J-Link. Is there anything I can do or change to be able to connect to the NUCLEO board with ST-LINK?
2024-08-05 09:39 PM
Could you share a picture of you're connections (board to PC and ST-link if it is not an eval board). Also, a screenshot of the error that you are receiving will trying to connect to CubeProgrammer with ST-LINK will be really helpful.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-08-05 09:43 PM
It is connected to CN15
2024-08-06 12:00 AM
Could you please try using another Cable (USB Data Cable not charging cable).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-08-07 02:13 PM
I've tried three different cables, which have worked for other boards.
2024-08-07 02:31 PM - edited 2024-08-07 02:33 PM
Is this manifesting as a J-LINK or an ST-LINK ?
Trying to understand what you're illustrating with the selective Device Manager image.
I'd agree it's not showing an ST-LINK, so drivers, or cabling, or that the STM32F1 with the ST-LINK firmware has been wiped or corrupted.
Did this work at some point? When did it stop working?
Avoid hubs and docking stations. Try another PC or USB Port.
If you flashed it as a J-LINK, select J-LINK connectivity, not ST-LINK
2024-08-07 02:37 PM
It's manifesting as a J-LINK. Hasn't worked before.
Is it possible to flash the device again as a ST-LINK?
I apologize for the confusion, I am still new to this.
2024-08-07 02:55 PM
Ok, but ST-LINK != J-LINK
Pick J-LINK in newer STM32 Cube Programmer, rather than ST-LINK