Skip to main content
Visitor II
September 26, 2022
Question

How do I fix 890 : ST-LINK error (DEV_NO_STLINK) error?

  • September 26, 2022
  • 3 replies
  • 3774 views

Trying to use CubePrgrammer thru an ST-Link V2 to program an STM32F103C8T6 board and get the error "890 : ST-LINK error (DEV_NO_STLINK)". Using Windows 10. Device Manager shows "STM32STLink" under Universal Serial Bus devices. Tried removing CubeProgrammer ad updating the driver to no avail. Any suggestions on how to solve this? FWIW, Arduion IDE cannot see the STM32F103C8T6 board, either.

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    September 30, 2022

    Hi @DWadd.1​ and welcome to the Community :),

    I advise you to refer to this FAQ: How to solve debugger connection issues.

    Maybe that issue is linked to the ST-Link firmware version.

    So, try to upgrade the ST-Link firmware version, then disconnect and connect your board.

    When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

    Kaouthar

    DWadd.1Author
    Visitor II
    October 1, 2022

    Thanks, but no help. The problem is that the software cannot "see" the ST-Link V2, because it is not a COM Port device in Windows. Sort of hard to update firmware or use debug when the software cannot connect to the ST-Link V2. Apologies for not being sufficiently clear in the first post.

    Update: I went way back to the dark ages and loaded up Windows XP, loaded the ST-Link drivers and CubeProgrammer, and experienced the same problem - ST-Link does not appear as a communications USB device, so no COM port is assigned and CubeProgrammer cannot connect to the ST-Link.

    Technical Moderator
    October 4, 2022

    Hell @DWadd.1​ ,

    Thank you for this clarification.

    Are you use a ST board?

    Do you use an authentic STM32F103C8T6 MCU?

    Thanks

    Kaouthar

    Explorer II
    December 12, 2023

    Hi All,

     

    Facing similar issue with ST link V2. When I tried connecting the ST-Link V2 to STMCube programmer it's showing No ST-Link detected. It was working fine initially. Also, I tried firmware upgrade through Cube programmer. On doing so, getting error stating "ST-link device lost when exiting upgrade mode". I tried re-starting the ST link by disconnecting and connecting back. Still unable to Connect. I'm using wio E5 Dev board by seeed studio, I'm using ST link and Cube programmer to upload the code to the dev board. Is there any other alternatives to ST link or walkaround to upload my code to Dev board without ST link. 

     

    Thanks in advance.