wireless-esp8266-dap icon indicating copy to clipboard operation
wireless-esp8266-dap copied to clipboard

No discover esp8266 DAP-CMSIS

Open novval opened this issue 1 year ago • 4 comments

For me, esp8266 is not defined as esp8266 DAP-CMSIS, but as shown below:

D:\Downloads\usbip-win-0.3.6-dev>usbip list -r 192.168.1.199
Exportable USB devices
======================
 - 192.168.1.199
        1-1: Keil Software, Inc. : unknown product (c251:f00a)
           : /sys/devices/pci0000:00/0000:00:01.2/usb1/1-1
           : (Defined at Interface level) (00/00/00)
           :  0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)


D:\Downloads\usbip-win-0.3.6-dev>


D:\Downloads\usbip>usbip -l 192.168.1.199
- 192.168.1.199
     1-1: Keil Software, Inc. : unknown product (c251:f00a)
        : /sys/devices/pci0000:00/0000:00:01.2/usb1/1-1
        : (Defined at Interface level) (00/00/00)
        :  0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)

novval avatar Nov 12 '24 14:11 novval

c251:f00a is PID:VID. Just connect to it.

windowsair avatar Nov 13 '24 01:11 windowsair

I'm working on Windows 7. On the latest versions of usbip, the usbip-win VHCI(ude) driver does not load. It outputs "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)" 2024-11-13_10-50-02

On older versions it is like this:

D:\Downloads\usbip>usbip.exe -D -a 192.168.1.199 -b 1-1
usbip dbg: usbip_network.c: 223 (tcp_connect ) trying 192.168.1.199 port 3240

usbip dbg: usbip_network.c: 243 (tcp_connect ) connected to 192.168.1.199:3240
usbip dbg: usbip_windows.c: 767 (query_interface0) exportable 1 devices
usbip dbg: usbip_windows.c: 784 (query_interface0)      1-1: Keil Software, Inc. : unknown product (c251:f00a)
usbip dbg: usbip_windows.c: 785 (query_interface0)         : /sys/devices/pci0000:00/0000:00:01.2/usb1/1-1
usbip dbg: usbip_windows.c: 786 (query_interface0)         : (Defined at Interface level) (00/00/00)
usbip dbg: usbip_windows.c: 806 (query_interface0)         :  0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)
usbip dbg: usbip_windows.c: 809 (query_interface0)
usbip dbg: usbip_network.c: 223 (tcp_connect ) trying 192.168.1.199 port 3240

usbip dbg: usbip_network.c: 243 (tcp_connect ) connected to 192.168.1.199:3240
usbip err: usbip_windows.c:  62 (usbip_vbus_dev_node_name) usbvbus interface is not registered

usbip err: usbip_windows.c: 654 (import_device) open vbus driver
usbip err: usbip_windows.c: 840 (attach_device) query

D:\Downloads\usbip>usbip.exe -D -a 192.168.1.199 -b 1-1
usbip dbg: usbip_network.c: 223 (tcp_connect ) trying 192.168.1.199 port 3240

usbip dbg: usbip_network.c: 243 (tcp_connect ) connected to 192.168.1.199:3240
usbip dbg: usbip_windows.c: 767 (query_interface0) exportable 1 devices
usbip dbg: usbip_windows.c: 784 (query_interface0)      1-1: Keil Software, Inc. : unknown product (c251:f00a)
usbip dbg: usbip_windows.c: 785 (query_interface0)         : /sys/devices/pci0000:00/0000:00:01.2/usb1/1-1
usbip dbg: usbip_windows.c: 786 (query_interface0)         : (Defined at Interface level) (00/00/00)
usbip dbg: usbip_windows.c: 806 (query_interface0)         :  0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/00/00)
usbip dbg: usbip_windows.c: 809 (query_interface0)
usbip dbg: usbip_network.c: 223 (tcp_connect ) trying 192.168.1.199 port 3240

usbip dbg: usbip_network.c: 243 (tcp_connect ) connected to 192.168.1.199:3240
usbip dbg: usbip_windows.c: 665 (import_device) call from attch here

usbip dbg: usbip_windows.c: 667 (import_device) return from attch here

usbip dbg: usbip_windows.c: 674 (import_device) devfd:0041FA88

new usb device attached to usbvbus port 1

The device "USB Device Over IP" appears with the error: "The drivers for this device are not installed. (Code 28) There is no driver selected for the device information set or element. To find a driver for this device, click Update Driver." 2024-11-13_10-52-30

I am trying to build usbip on my Windows 7 machine, but so far without success (((

novval avatar Nov 13 '24 05:11 novval

As far as I know, the kernel driver for usbip relies on windows10 :)

windowsair avatar Nov 15 '24 08:11 windowsair

I try old versions, but also without success (( Maybe the problem is specifically with my windows

novval avatar Nov 15 '24 10:11 novval

This happens to me on Arch Linux. The fix however was to turn off USE_WINUSB in dap_configuration.h. It could be the culprit here. The symptoms I had was that vhci resets when I try to open the usb device.

Image

Edit: After disabling it, usbip gives the right description when listing the device instead of showing Vendor specific class:

Image

B83C avatar Jun 25 '25 12:06 B83C

This happens to me on Arch Linux. The fix however was to turn off USE_WINUSB in dap_configuration.h. It could be the culprit here. The symptoms I had was that vhci resets when I try to open the usb device.

Image

Edit: After disabling it, usbip gives the right description when listing the device instead of showing Vendor specific class:

Image

WINUSB should be turn on

windowsair avatar Jun 25 '25 13:06 windowsair

but it doesn't work when turned on 😆, only when it is disabled will it work on my machine 🤦

B83C avatar Jun 26 '25 00:06 B83C