microzig
microzig copied to clipboard
USB: investigate Test Mode
The host can send a SET_FEATURE setup request with the feature flag set to TEST_MODE. This is unhandled currently.
There is no information about test mode in USB Complete or USB in a NutShell. There is supposedtly information in the USB 2.0 spec but I have not looked yet.
From initial searches, it seems this is sent by specialized testing devices and not a typical host like an OS. It's unclear to me if this is something that can be implemented in firmware or it happens at the USB peripheral level on a microcontroller.