2024-10-17 06:05 AM - last edited on 2024-10-17 06:12 AM by Andrew Neil
We'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.
2024-10-17 06:11 AM - edited 2024-10-17 07:24 AM
What board is that? It doesn't look like a genuine ST board.
Does the board actually have an ST-Link?
If it is supposed to have an ST-Link, does Windows detect it?
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.
2024-10-17 06:17 AM - edited 2024-10-17 07:21 AM
@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:
2024-10-18 12:11 AM - last edited on 2024-10-18 12:52 AM by Andrew Neil
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.
2024-10-18 01:15 AM