I am using stm32f407vet6 micro-controller. when I connect it into windows laptop and try debugging with cube ide it is showing NO ST-LINK DETECTED, CONNECT AND RESTART DEBBUGGING. I don't know how to fix it. In device manager I found STM bootloader only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 6:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 6:42 AM
It sounds like you are connected to the chip directly and not through a debugger like ST-Link, which is required if you want to debug.
What board are you using? Custom board?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 6:52 AM
Hello @NKuma.11​ and welcome to the Community :)
Make sure to update the ST-Link Firmware and use the latest version of CubeIDE.
Check if the USB cable is connected on the right USB port (ST-Link).
Maybe you have the same issue as described in this post.
Hope my answer helps you!
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Feel free to come back here, if you still have issues.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 6:52 PM
Thank you for replying. Yes I connected it directly. Do I have to buy a ST-link, I thought it is in-built. I am sending a picture of my board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 7:06 PM
On the majority of genuine ST boards, there is an on-board ST-Link used for debugging.
On that board, and most other clone/counterfeit boards out there, there is no ST-Link and you must get one.
https://stm32-base.org/boards/STM32F407VET6-STM32-F4VE-V2.0.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 7:14 PM
Thank You for fast replying, just want to confirm if this board doesn't have any other onboard debugger like segger j link?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 7:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 7:45 PM
No debugger, you'd attach external one via 20-pin header.
​
You should be able to program via STM32 Cube Programmer in USB Connection Mode.​
Up vote any posts that you find helpful, it shows what's working..
