Hi,

The cmsis_dap_usb_bulk driver’s vid/pid matching has the undocumented quirk 
that vid or pid zero acts as a wildcard, i.e. specifying “cmsis_dap_vid_pid 0x0 
0x1234” will match any adapter with a pid of 0x1234.

Is this wanted behavior, or could the driver use jtag_libusb_match_ids() from 
libusb_helper instead? It would slightly reduce code duplication, but more 
importantly make the adapter behavior a bit more uniform.
Alternatively, if this is useful, should it be added to jtag_libusb_match_ids?

-a

Reply via email to