Skip to content

CMSIS-DAP V1 Issue on Linux #1892

@BogdanTheGeek

Description

@BogdanTheGeek

This is a continuation of #1825

The issue above was fixed by correct parsing of HID descriptors. This issue seems to be somewhere else as it emits no relevant logs.
I have tried to set the backend though the env, but it made no difference.

Bus 001 Device 048: ID 1209:d003 Generic RV003 CMSIS-DAP V1.3
> ./pyocd --version
0.40.1.dev6+g46941d56b
> time ./pyocd list -vvvvvvvv -p
0000345 D Project directory: /home/bogdan/Downloads [session]
0000348 D [Errno 13] Access denied (insufficient permissions) while trying to interrogate a USB device (VID=3434 PID=0323). This can probably be remedied with a udev rule. See <https://github.com/pyocd/pyOCD/tree/master/udev> for help. [pyusb_backend]
0000366 D [Errno 13] Access denied (insufficient permissions) while trying to interrogate a USB device (VID=046d PID=c332). This can probably be remedied with a udev rule. See <https://github.com/pyocd/pyOCD/tree/master/udev> for help. [pyusb_backend]
0000366 D [Errno 13] Access denied (insufficient permissions) while trying to interrogate a USB device (VID=3434 PID=0323). This can probably be remedied with a udev rule. See <https://github.com/pyocd/pyOCD/tree/master/udev> for help. [pyusb_v2_backend]
0000367 D [Errno 13] Access denied (insufficient permissions) while trying to interrogate a USB device (VID=046d PID=c332). This can probably be remedied with a udev rule. See <https://github.com/pyocd/pyOCD/tree/master/udev> for help. [pyusb_v2_backend]
0000368 D [Errno 13] Access denied (insufficient permissions) while trying to interrogate a USB device (VID=3434 PID=0323). This can probably be remedied with a udev rule. See <https://github.com/pyocd/pyOCD/tree/master/udev> for help. [pyusb_backend]
0007639 C index out of range [__main__]
./pyocd list -vvvvvvvv -p  0.61s user 0.14s system 9% cpu 7.774 total

^^^^ none of these logs are related to my device as you can see from the VID:PID

Ive attached the capture for the same command as above, but filtered for only this usb device
pyocd.pcap.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions