cancel
Showing results for 
Search instead for 
Did you mean: 

No ST-LINK detected with IDE but work with CubeProgrammer

Armageddon
Associate II

 

Hello,

I have a problem that I haven't been able to solve for a few days...

I have a project with a NUCLEO-F767ZI that was working a few days ago and now I can't connect to its ST-Link probe.

I instantly get the message: “No ST-LINK detected!Please connect ST-LINK and restart the debug session.”

 

I tested the following points:

  • I can connect and program with STM32CubeProgrammer
  • In Debug Configuration of STM32CubeIDE, I can scan and find my S/N probe, but nothing changes if I specify an S/N or not.
  • I've checked the firewall and, it seems I'm authorized.
  • I have uninstalled/reinstalled STM32CubeIDE and the drivers.
  • The card can be programmed on another PC with STM32CubeIDE.

 

I don't know what to test, if you have any clues to help me, I'd love to hear from you.

Thanks a lot!

4 REPLIES 4
Andrew Neil
Evangelist III

@Armageddon wrote:
  • I can connect and program with STM32CubeProgrammer

Do you disconnect (maybe also close) the Cube Programmer before trying with the IDE?

Yes, I disconnect and close, I didn't have STM32CubeProgrammer before.

I installed it just to ckeck if I could connect to my board.

Please post the full Console output for when you try to start a debug session.

Also screenshot(s) of any error pop-up(s)

My Debugger console is empty.

Armageddon_1-1721131651442.png


When I click on the debug icon, I just have the following windows who pop instantly.

Armageddon_0-1721131433487.png

The last message of my console is just "Build Finished. 0 errors, 0 warnings."