2020-08-17 07:03 AM
On Windows 10, I just updated (again) to the 1.4.2 version, hoping to solve this issue, yet nothing changed.
Already tried a clean install (again) and re-installed the latest STM32CubeProgrammer: nothing changed.
Will ST handle this sooner or later please? Or at least give some help in diagnosing the problem? Thanks
Solved! Go to Solution.
2020-08-25 09:47 PM
this are my temporary solution
2020-08-26 12:17 AM
Hi, sad to hear I'm not the only one facing this issue. If you can, please take some time to do the tests that LaurentL asked me to do, so we can know if it's actually the same issue, and they can eventually fix it: in my case it seems that the libusb (used by the stlinkserver.exe) is not able to enumerate the USB devices...
2020-08-26 08:00 AM
2020-08-26 08:19 AM
Hi LaurentL,
It works! That is great, many thanks!!
Edit: I tested both ST-LINK GDB Server and OpenOCD configurations, for each of them tried shared mode off and on. All works, except for OpenOCD+Shared mode OFF.
2020-08-26 08:35 AM
Glad to hear the good news.
You might try to update the same dll found in openocd directory in cubeIde 1.4 plugin.
In STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.openocd.win32_1.4.0......\tools\bin
2020-08-26 08:40 AM
Indeed, it worked :) I forgot to update also there. Thanks so much! Will this version be merged in the future CubeIDE releases, or I'll have to do it manually for now?
2020-08-26 08:49 AM
Yes of course, it will be included for next releases.
Edit after it was marked as best answer :
The libusb dll v1.0.23 is now installed with STM32cubeIde v1.5.0 installer.
So, no need to patch it, just install (not update) STM32CubeIde v1.5.0.
Rgds,
Laurent
2020-08-26 08:52 AM
Awesome. Have a nice day!
2020-08-26 12:02 PM
hi It also works on my old dell laptop.
awesome, That is great, many thanks!!
2020-08-27 01:05 AM
Hi, I have tried the libusb dll v1.0.23 from libusb 7z official package and the MinGW32 is working fine.
The MS32 is not working, i suppose you tried this one.
So, the patch should work also with this official dll, found in libusb-1.0.23.7z\MinGW32\dll directory.
libusb-1.0.23.7z file to get there : https://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.23/libusb-1.0.23.7z/download