CMSIS-Driver Validation  
Driver Validation
USB Compliance Tests

USB drivers need to be tested against the requirements of the USB standard. The following tools are provided by the USB Implementers Forum:

Before using the command verifier tools, make sure that you have an application running with the USB device class that you are going to test. For example, if you want to test the behavior of the USB MSC device class, create a µVision project containing this class. For more information, refer to the MDK Middleware documentation.

Then, follow these steps to run the verification tools on a Windows PC:

Select USB Device
Device Location
Select Controller
Note
Do not test the controller that is connected to the keyboard or mouse. All devices connected to the tested controller will stop working.
Compliance Tests

The following tests should be executed for:

Chapter 9 Tests refers to the USB Device Framework chapter of the USB specification. Every USB peripheral is required conform to this test which must be passed. Passed tests offer a good level of confidence that there are no major flows in the USB device drivers.

The USB Command Verifier does not test how well a device behaves under stress. To get a better confidence, conduct stress tests of all available examples:

After the completion of the tests, click Exit to switch back the USB stack. Otherwise, the USB stack will stay in test mode.