cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link debugging problem / ST-Link Utility problem

Eetu Piukkula
Associate III
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.
11 REPLIES 11
MBurt.13
Associate

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

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

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
Up vote any posts that you find helpful, it shows what's working..