Skip to main content
August 10, 2020
Question

[BUG] St-Link is not detected after installing STM32CubeIDE V 1.4.0.

  • August 10, 2020
  • 16 replies
  • 7396 views

I was normally using STM32CubeIDE V 1.3.0 and St-Link was working.

The St-Link firmware is updated.

The St-Link Utility (V 4.4.0.0 and V 4.5.0.0) finds and connects to the St-Link correctly.

Whenever a new IDE version becomes available, will the user have to ask for help to make St-Link work? :|

Can the IDE itself update St-Link? (Or at least report the problem correctly?)

This topic has been closed for replies.

16 replies

August 19, 2020

Ah got it, you copied the STM32CubeProgrammer files

August 19, 2020

I was not lucky with that, I used IDE 1.4 files

August 19, 2020

Note: found the STM32_Programmer_CLI.exe file inside the IDE too

LaurentL
ST Employee
August 27, 2020

You must install v1.4.0 with cubeide installer to have the STLink server installed correctly.

If you update from v1.3.0, the stlink server won't be installed, only plugins will be updated to v1.4.0

If it is still not working after fresh 1.4.0 install, a problem with libusb.dll included in STM32CubeIDE v1.4.x has been identified.

The issue is seen on some usb HUB port on windows.

See forum post

https://community.st.com/s/question/0D73W0000004aNn/bug-stlink-firmware-verification-no-stlink-detected-message-since-14x-update?s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&emkind=chatterCommentNotification&s1uid=0050X0000089LW0&emtm=1598457168832&fromEmail=1&s1ext=0

You can find the latest libusb dll v1.0.23 for windows.

This can be patched in stlink server to solve problem with ST-LINK GDB server AND it shall be patched in openocd plugin to solve issue with OpenOCD.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.