Skip to main content
Associate
October 24, 2023
Question

Not able to debug using ST Link

  • October 24, 2023
  • 3 replies
  • 2503 views

What might cause the attached in ST error message in Cube IDE (V 1.13.1.

It used to be able to Deug my program, until i updated the STLink firmware ( Pop up prompted me to update), i tried uninstalling the IDE, installng it again, same error message..I took a snapshot of the port settings in Windows Device Manager to show the settings.

Anyone faced the same issue..?

Thanks

    This topic has been closed for replies.

    3 replies

    TDK
    Super User
    October 24, 2023

    Can you connect with STM32CubeProgrammer?

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    AHamadAuthor
    Associate
    October 24, 2023

    Hello TDK,

    I installed the STM32Cubeprogrammer, and i tried connecting, it worked.

    I then disconnected, and reopened the Cube-IDE, and tried to connect, and it works!!.

    I am not sure i understand why, but now everything looks fine.

    Thanks!

    Regards

    TDK
    Super User
    October 24, 2023

    Sometimes USB drivers can get into a weird state that resolves after a few hours, especially if you're messing with the hardware and resetting at abnormal times.

    I hate to say it, but rebooting your PC actually can solve problem like this and it's worth a shot when you've exhausted other options.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    Tesla DeLorean
    Guru
    October 24, 2023

    The USB stack in Windows can get into states where hardware comes and goes, whilst applications have connections open. The resources don't get torn down cleanly, especially problematic for COM ports and terminal applications.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..