Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors reported in descriptors by TDD #169

Open
danielpieczko opened this issue Jun 9, 2023 · 1 comment
Open

Errors reported in descriptors by TDD #169

danielpieczko opened this issue Jun 9, 2023 · 1 comment

Comments

@danielpieczko
Copy link
Contributor

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
Copy link
Contributor

xross commented Jun 15, 2023

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.

@xross xross changed the title Errors reported in descriptors Errors reported in descriptors by TDD Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants