-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
USB Compliance Verification Test Suite (USBCV) #1059
Comments
I'm trying to test my project based on STM32L071. SetConfiguration passed even without #1058
Then it fails at
I set
|
@HiFiPhile USB 2.0 extension section 9.6.2.1 is part of USB 3.2 revision 1.0 specs
it passes but fake switching configuration to 0, and your device didn't implement the multiple configuration. Along the MSC test, it does assume switching configuration from 1 to 0 (unconfig) then back to 1 will reset all the driver state including stalled endpoint etc ... which could cause an issue. dcd_edpt_close_all() is added to resolve this correctly. |
NUC126 passed chapter 9 tests with custom vendor class. |
Thank for the testing, though, did you test with the hid composite, one of the chapter9 is remote wakeup which is only tested with hid example due to |
It didn't work.
HID test passed. Something is wrong with suspend detection.
|
What is this issue for
The test suite include many corner cases which require both update of usbd and dcd to pass. This issue is used to keep track of current status of compliance test of tinyusb device stack on each DCD ports. Once it is all passed, we could close this.
What is USB Compliance Verification (USBCV)
USBCV is test suite tool used by usb-if to verify all usb hardware/software/controller which is required to passed in order to have USB logo on the product. https://www.usb.org/compliancetools . It is a good stress test with unusual case such as switching configuration 0 -> 1 -> 0, suspend/resume/remote-wakeup. Enumeration 150 times in a row as well as weird case like MSC READ10 with direction bit set to output etc ...
How to run USBCV
usbcv tool only runs on windows , depending on usb controller type on your PC you will need to either download the USB3CV (xHCI) or USB2CV (EHCI) from https://www.usb.org/compliancetools . Note: even your mcu is only full speed, but testing on xHCI host, you would need to run USB3CV.
Which tests suite to run
Within the scope of tinyusb device stack, we only need to run follow test suite
Compliance Status
Example/Application can have large impact on the test result, the follow result is tested mostly with cdc_msc and hid_composite
The text was updated successfully, but these errors were encountered: