2026-03-16 2:56 AM - last edited on 2026-03-26 3:48 AM by KDJEM.1
Hello,
I am using an STM32F407VGT6 board with the ST-LINK debugger.
When I plug the USB cable into the board, the LD1 LED on the ST-LINK stays Green and does not turn Red.
From what I understand:
Green LED indicates that ST-LINK is powered and idle.
Red LED should appear during debugging or when an error occurs.
However, in my case the LED always remains Green.
My questions:
Why does LD1 remain Green when I connect the board?
Under what conditions does LD1 turn Red?
Does a constant Green LED indicate that the MCU is stuck (for example in HardFault or reset)?
I am using STM32CubeIDE for programming and debugging.
Any guidance would be appreciated.
Thank you.
2026-03-16 3:04 AM
Welcome to the forum.
Please see How to write your question to maximize your chances to find a solution for best results.
In particular:
@Adi3 wrote:I am using an STM32F407VGT6 board with the ST-LINK debugger.
What board are you using ?
Is it the STM32F407G-DISC1 ?
2026-03-16 3:58 AM
Hi,
so does it work ? debug etc ?
btw
On my F407 board the green LD1 is also always on, after connect to USB/PC.
2026-03-16 4:48 AM
Hello @Adi3
>Why does LD1 remain green when I connect the board?
LD1 remains green to indicate that communication is in progress between the PC and the ST-LINK/V2-A.
>Does a constant green LED indicate that the MCU is stuck, for example, in HardFault or reset?
In debug mode, LD1 should blink. If LD1 remains green, it likely means that the connection is lost, possibly due to a loose cable or a faulty USB port. If this occurs, unplug the board, reconnect it, and start a new debug session.
To better understand the ST-LINK LED behavior, consult section 7.3 and 7.5 of the board user manual.
BR
Gyessine
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.