cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE shows "NO ST-LINK DETECTED."

sanjay890
Associate

Screenshot 2024-10-17 181446.pngWhatsApp Image 2024-10-17 at 6.14.52 PM.jpegWhatsApp Image 2024-10-17 at 6.35.11 PM.jpegWe're using the STM32F407VET6 microcontroller. When I connect it to my Windows laptop and attempt to debug with STM32CubeIDE, it shows "NO ST-LINK DETECTED, CONNECT AND RESTART DEBUGGING." I’m unsure how to resolve this issue. The user manual states it has a built-in debugger, but CubeIDE isn’t recognizing it. We need help, as this is crucial for our final year engineering project.

4 REPLIES 4

What board is that? It doesn't look like a genuine ST board.

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

Does the board actually have an ST-Link?

If it is supposed to have an ST-Link, does Windows detect it?

https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/tac-p/698105/highlight/true#M956

 

Please see this for how to capture a screenshot - far better than photographing the screen!

https://www.techrepublic.com/article/how-to-take-screenshots-in-windows-10/

 

EDIT:

I missed this:

 


@sanjay890 wrote:

The user manual states it has a built-in debugger


But that doesn't seem to be true from the photo.

Perhaps they (and/or you) are confusing the internal debug features within the STM32 chip with the external hardware (eg, ST-Link) needed to access those features from tools like CubeIDE?

Please provide a link to this User Manual - and the other board details.


@Andrew Neil wrote:

What board is that? It doesn't look like a genuine ST board.


It looks like one of these:

https://www.aliexpress.com/item/1005007550369339.html

https://www.aliexpress.com/item/1005001593938285.html 

So definitely not an ST board - and it has no ST-Link.

Note also that these are also not genuine ST-Links:

https://community.st.com/t5/stm32-mcus/how-to-recognize-a-genuine-st-link-v2-versus-a-cloned-one/tac-p/703663/highlight/true#M965

This board does not provide an ST-LINK, but rather has a 20-pin ARM JTAG header to which you can attach an ST-LINK,  J-LINK or U-LINK etc, that you supply.

If there is no ST-LINK your PC isn't going to find one.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..