The USB 2.0 standard specifies bInterfaceNumber as "Number of this interface. Zero-based value identifying the index in the array of concurrent interfaces supported by this configuration." in section 9.6.5 (page 268)
However, the LPC-LINK2 CMSIS-DAP V5.224 firmware declares interface descriptors with the following sequence of bInterfaceNumber values: 0, 4, 1, 2, 3.
This causes Google's gousb library (https://github.com/google/gousb) to fail when an LPC Link 2 device is present on any USB bus, with:
config 1 interface at index 1 has number 4, USB standard states they should be identical
Also see https://github.com/google/gousb/issues/65
Can this behavior of the LPC-LINK2 CMSIS-DAP firmware be corrected ?
Thanks,
Ivo.