Skip to main content
Visitor
Nov 3, 2026 11:23 PM UTC
Question

Nucleo-C092RC No ST-LINK detected

Hi I have been at this for a couple of hours and I cannot figure out how to upload a program onto my Nucleo-C092RC that I bought from Digikey. I am using the STM32Cube IDE v2.20 on a Windows 11 PC, as well as the CubeProgrammer and CubeMX

I have followed the tutorial from this video to create a simple Blink LED example: 


When I got to the stage where I go into debug mode and upload the code to my C092RC I get the error “No ST-LINK detected. Please connect ST-LINK and restart the debug session”. I have gone through the below help article as well as suggestions from the STM32 sidekick and have been unsuccessful so far.  The only thing I haven't tried from the below help article is the Mass erase MCU

 


In device manager I see both “STMicroelectronics STLink Virtual COM Port” under Ports (COM & LPT) and I see “ST-Link Debug” under Universal Serial Bus devices. When I connect to the C092RC directly via USB from my PC I see the green power LED LD3, the solid red LD4, and LD1 and LD2 are alternating. I am fairly certain that I have the correct jumpers in place (I didnt move any of them since unboxing). From what I can tell I shouldn't need one of the programming dongles (ST-LINK/V2).

I have tried re-updating the ST-Link drivers as suggested by the STM32 sidekick but none of the solutions seemed to have worked. I CAN successfully connect to the board using the STM32CubeProgrammer. When I connect the LD4 flashes red/green and then is solid green for a few seconds.

Any help would be greatly appreciated!

1 reply

TDK
Nov 4, 2026 2:30 AM UTC

If the st-link is being used by something else, you’ll get this error. Since it can connect via STM32CubeProgrammer, there is nothing wrong with the setup. Is it possible you’re already connected with STM32CubeProgrammer when trying to debug?

Try erasing the flash with STM32CubeProgrammer, disconnecting, and then trying to flash via STM32CubeIDE.

Also ensure you are not calling out a specific st-link serial number in the debug configuration properties.

"If you feel a post has answered your question, please click ""Accept as Solution""."