tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
349 stars 213 forks source link

stm8flash: The following device has no driver … Could not open USB device #103

Open spth opened 4 years ago

spth commented 4 years ago

I've tried to use the stm8flash.exe from the 0.5 release as standalone program from the command line on Windows 10 with an STM8AF board (which has an integrated stlinkv2).

But I get an error (doesn't matter if I'm admin):

libusb: info [windows_get_device_list]: The following device has no driver […]
[…]
Could not open USB device.

I've read something about a WinUSB driver that libusb might need, but don't know hot to install it for the stlinkv2.

tenbaht commented 3 years ago

Hmm... I don't have a Windows 10 system around for testing. But the repro for libusb mentions a driver issue for USB 3 ports with a NEC chipset: https://github.com/libusb/libusb/wiki/Windows It would be great to hear if you got the problem solved.!

spth commented 3 years ago

I don't really use Windows 10 either, just did a quick test back then.