Skip to main content
Visitor II
August 13, 2025
Solved

No ST-LINK detected! Please connect ST-LINK and restart the debug session.

  • August 13, 2025
  • 1 reply
  • 544 views

hello,

i am working on project with a stm32wle5jc and am fairly new to stm tools. all was working well but after a little break on another project it will no longer flash the board with the stm ide (1.19.0) and says "No ST-LINK detected! Please connect ST-LINK and restart the debug session.". i have an st-link/v2 connected and the ide can actually see the st-link under "help" "st-link upgrade" (i am on a macbookpro m1, which also sees the st-link under "system report", "usb")

i can flash the code i want to flash from the ide (~/workspace/<projectname>/Debug/<projectname>.elf) with the stmcubeprogrammer without any problem

i have restarted the ide, restarted the mac, switched cables, switched projects, switch boards, tried a st board nucleo board with embedded st-link (or whatever it is)... but always get the same error message

what is going on?

any help greatly appreciated!

thanks, frank

    This topic has been closed for replies.
    Best answer by frb

    finally! problem fixed.

    found a post  on stackoverflow which solved the problem by reinstalling st-link server

    fixed the problem!

    1 reply

    frbAuthorAnswer
    Visitor II
    August 13, 2025

    finally! problem fixed.

    found a post  on stackoverflow which solved the problem by reinstalling st-link server

    fixed the problem!