Skip to main content
NKuma.11
Associate
October 5, 2021
Question

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 o

  • October 5, 2021
  • 2 replies
  • 2532 views

..

This topic has been closed for replies.

2 replies

TDK
Super User
October 5, 2021

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?

"If you feel a post has answered your question, please click ""Accept as Solution""."
NKuma.11
NKuma.11Author
Associate
October 6, 2021

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.0693W00000FBZTKQA5.jpg

TDK
Super User
October 6, 2021

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

"If you feel a post has answered your question, please click ""Accept as Solution""."
Technical Moderator
October 5, 2021

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks