Skip to main content
Eetu Piukkula
Associate III
February 26, 2018
Question

ST-Link debugging problem / ST-Link Utility problem

  • February 26, 2018
  • 11 replies
  • 4276 views
Posted on February 26, 2018 at 18:10

Hi,

I was doing my thing, writting and debugging code with System Workbench and after a while ST-Link refused to work anymore, out of the blue. I had not changed SWD pins nor related settings. It just stopped working. First I thought that I forgot to close previous debug session. But after restarts I was not able to make it work. After many Google searches I found that a lot of people are having trouble with ST-Link from start of the 2 At that time I had updated everything from CubeMX to SWB and Linux resources. Error message changed from wrong ID to general Init() failure. Well, I also had Win10 system. It has not been updated (ST related) since last year. ST-Link Utility gave same error as in this video

https://www.youtube.com/watch?v=LXWi2IR_JrU

. Even when no board is connected to ST-Link. You can see that I asked if person who made the video had solved the issue. He has not.

Basically when ST-Link is plugged, what ever is you first action it works, but second action, for example refreshing device made 'USB Communication error'. I probed serial lines with oscilloscope. When ST-Link is plugged there is traffic, but after that literally nothing will work, line stays pulled high thou. ST-Links light stays always solid red.

Is this a bug or something? Have been 2 days now banging my head to the wall.

--Eetu Piukkula

Note: this post was migrated and contained many threaded conversations, some content may be missing.
    This topic has been closed for replies.

    11 replies

    Bogdan Golab
    Lead
    February 26, 2018
    Posted on February 26, 2018 at 18:15

    Upgrade the firmware through ST-LINK utility. The video shows 'old firmware'

    Eetu Piukkula
    Associate III
    February 26, 2018
    Posted on February 26, 2018 at 18:18

    On both Win10 and Linux side everything is up to date. Symptoms are the same as on the video.

    Bogdan Golab
    Lead
    February 26, 2018
    Posted on February 26, 2018 at 18:25

    Please check if you have the latest ST-LINK Utility. The ST-LINK you have (seen on the video) is v2, not v2-1?

    onischenko nikolay
    Visitor II
    March 2, 2018
    Posted on March 02, 2018 at 06:52

    Hi! I can't connect to st link v2 firmware V2J29S from st link utility (usb communication error) or stmcube32programmer (DEV_NO_DEVICE). What not work? Win7 64 bit.

    MBurt.13
    Visitor II
    March 10, 2019

    i have some problem. I'am update firmware but it no solve this problem

    https://i.imgur.com/IPHEqds.png

    Tesla DeLorean
    Guru
    March 10, 2019

    Perhaps you can illuminate us a little on what STM32 and board specifically you're using?

    The STM32 Cube Programmer has replaced the ST-LINK Utilities

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..