2025-05-27 5:46 PM
I am facing an issue with my Nucleo-F446RE board. It was working normally before, but now when I connect it via USB, the ST-Link LED lights up red, and I cannot upload code, nor does STM32CubeIDE recognize it. I tried updating the ST-Link firmware using the ST-LinkUpgrade tool (STSW-LINK007), but the program displays an error message: "No ST-Link device detected. Please connect it and then retry," even though the computer recognizes the ST-Link in Device Manager as "STMicroelectronics STLink Virtual COM Port (COM6)."
I have verified that the CN2 jumper settings are enabled (ON).
I cannot install the drivers or update the firmware because neither ST-LinkUpgrade nor STM32CubeProgrammer recognizes the board.
I kindly request your help to identify the reason why ST-Link is not being detected and how to resolve this issue.
Thank you in advance for your assistance.
2025-05-27 5:50 PM
Reboot. Open STM32CubeProgrammer, see if you can connect. If you can't, or if an error message pops up when you try, show a full screenshot.
A solid RED LED (LD1) indicates successful USB enumeration. Could be a different program has it open.
2025-05-27 6:07 PM
When trying to connect to the board using STM32CubeProgrammer, it detects it and recognizes the serial number of the ST-Link V2-1, but it does not establish a connection. The error shown in the first image appears.
And when clicking on Firmware Upgrade then Open in Update Mode, the error shown in the second image appears.
The first image
The second image
2025-05-28 5:46 AM
It detects the ST-Link. Good. So firmware likely exists on that chip. Weird that it doesn't display a firmware version.
The target voltage is reported as 0 V. Can't connect to a chip that isn't powered. Is the chip powered? Maybe show a picture of the board with all the jumpers shown.
FWIW, I'm also unable to upgrade ST-Link firmware on a recent board. Perhaps the upgrade in CubeMX was broken in a recent update.
2025-05-28 5:59 AM
>clicking on Firmware Upgrade then Open in Update Mode
So unplug USB/st-link , then connect it again. (Now is in update mode...)
-> > open in update mode< ...and do the update.
-then try connect to target again.
2025-05-28 7:31 AM
Here is the board with the placement of all the jumpers.
2025-05-28 7:32 AM
I did that, but nothing changed.
2025-05-28 8:13 AM
So update worked ?
Maybe you wrote something strange in the last loaded program, like using the swd/swc pins for something else...
Then try CubeProgrammer : connect with reset mode : hardware reset. + try : under reset.
2025-05-28 8:29 AM
I'm out of ideas. Seems like it should be working.
Could be a faulty cable or hub, but seems low probability. A USB packet analyzer may shed light.