xmos / sw_usb_audio

XMOS USB Audio reference design
Other
32 stars 17 forks source link

Errors reported in descriptors by TDD #169

Open danielpieczko opened 1 year ago

danielpieczko commented 1 year ago

Using Thesycon's tdd.exe application on Windows to dump out the USB descriptors for xk_316_mc config 2AMi10o10xssxxx, an error is reported on each of the four AC Interface Header Descriptors:

AC Interface Header Descriptor:
------------------------------
0x09    bLength
0x24    bDescriptorType
0x01    bDescriptorSubtype
0x0200  bcdADC
0x08    bCategory   (IO_BOX)
0x00C7  wTotalLength   (199 bytes)
*** ERROR: Invalid wTotalLength 0x00C7, should be 0x00C0.
0x00    bmControls

Full descriptor dump is attached. descriptors_xk_316_mc_2AMi10o10xssxxx.txt

xross commented 1 year ago

Thesycon and XMOS had a different interpretation of the the USB spec regarding this issue.

In practise it doesn't seem to cause any issue apart from he reporting in this tool.