cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer not detecting device over USB after firmware flash

Rovmenpaul
Associate

Hi everyone,

I recently flashed new firmware onto my STM32F4 board using STM32CubeProgrammer, and now the tool won’t detect the device over USB anymore.

It was working fine before the flash, and nothing in the hardware setup has changed. The device still powers on, and I can see the USB connection briefly appear in Device Manager, but STM32CubeProgrammer shows “No ST-Link detected” or just hangs on connection.

I’ve tried different cables and ports, and even reinstalled the drivers, but no luck so far. Is it possible that the firmware flash disabled USB or changed the boot mode somehow?

Also, if anyone has recommendations for tools that start with S (like ST-Link Utility or Serial monitors) that might help troubleshoot STM32 connections, I’d appreciate it.

Thanks!

1 REPLY 1
Imen.D
ST Employee

Hello @Rovmenpaul and welcome to the Community,

Please check the tips described in this article, this will help you to fix such error:

How to solve connection errors when connecting and programming the STM32 target board

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen