WSL: USB Device not detected: Olimex ARM-USB-OCD-H JTAG Debugger
- Windows build number:
Microsoft Windows [Version 10.0.14393] No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty
- What I doing and what’s happening:
- plug in USB Debugger
- type at bash prompt:
sudo apt-get install libtool # installed; required ?
sudo apt-get install libusb-1.0 # installed; required ?
sudo apt-get update
sudo apt-get upgrade
ls /dev/
- What’s wrong / what should be happening instead:
I expect to see /dev/ttyUSB0 (instead no new USB device found)
The device is otherwise visible in device manager (listed under “other devices”, but with warning “There are no compatible drivers for this device.” ), I can still connect the device to an Ubuntu VM, and it works there on the same physical machine and properly recognized / operational in the Ubuntu VM.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 27
I believe my work-around will also work for you. Run OpenOCD in Windows, but use your WSL GDB connects to the OpenOCD host in Windows.
On Fri, Jul 5, 2019 at 6:53 AM Gordon Tyler notifications@github.com wrote:
I have been successful running the win32 openocd and eclipse + build tools in wsl.
@therealkenc I believe
libusbis required for the Olimex JTAG debugger. I have it installed:From the User Voice link, it sounds like some folks don’t agree that “Add USB Device” is complete, as the completion is for “USB serial & mounting of FAT*/NTFS formatted USB sticks”. Probably right: may need to open a new issue for this type of device.
@gojimmypi - I am guessing your device is i2c (or something) rather than RS232? If so yeah, not supported yet.
The cool part is the original User Voice says quoth: “This ask is specifically for adding USB Device support to WSL - i.e. exposing USB busses and devices to the OS.” In other words support for
libusb, exactly what you want. It’s closed now. Doing that is kind of their thing. I guess open another one. Possibly with the same title.