2023-11-18 11:16 AM
Hi All, i'm quite new to the world of embedded and only recently moved off MCU's like the ESP32.
I just bought a STM32 Nucleo board and when I went to use it with the cubeIDE I got the error "No ST-Link Device Connected". I installed the drivers STSW-LINK007 and STSW-LINK009 and no luck :pensive_face:
I use an stm32l475 on loan from my university just fine and the st-link v2 works perfectly. I'm wondering what the issue is with my nucleo board. I'm using a usb b mini and installed/reinstalled the drivers and even tried ST-Link Upgrade though the CubeIDE and same response "No ST-Link Device Connected". Nothing appears in my com ports and I thought the nucleo had an integrated st-link. If anyone could help me out it would be much appreciated :)
2023-11-18 11:27 AM - edited 2023-11-18 11:28 AM
Hello @Kesan and welcome to the ST Community :smiling_face_with_smiling_eyes:.
What computer environment do you have? (Windows, Mac, Linux, Virtual Machine, .. ?)
PS:Try connecting to the target with STM32CubeProgrammer.
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.
2023-11-18 11:47 AM
Hi, thanks the warm welcome :D
I am using windows and the usb mini B is going directly from laptop to the Nucleo Board. I even tried to test in Arduino and response was the same "No ST-Link Detected", when I plugged it into somebody else's pc there was no immediate recognition in device manager com ports.
The STM32 that's on loan from college works perfectly and never had to install any drivers. Do you reckon it's a defective board?
2023-11-18 11:49 AM
I'd also like to note that even upon first plugging in, LED1 is flashing red, LED2 is constant Red and LD2 flashes green
2023-11-18 11:59 AM
Does your STM32F4 Nucleo look like this? https://www.st.com/en/evaluation-tools/nucleo-f429zi.html
If so, please use the correct USB connector of two: on the ST-LINK side, the opposite side from the blue button.
2023-11-18 12:13 PM
Can you share a picture of your board.
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.
2023-11-18 02:08 PM
2023-11-18 04:03 PM - edited 2023-11-18 04:59 PM
Not connecting is strongly indicative that this is a charging cable (power only), and provides no data connectivity.
Try a cable that is known to work with peripherals, or sold as such.
2023-11-18 04:36 PM
Thanks Tesla, I think you may be right, this may not be a charge and sync cable. I'll have a look around and see if i can test it somewhere else!