CMSIS-Driver Validation
Driver Validation
|
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:
Open the Windows Device Manager and select View - Devices by connection to view the USB host controllers available on the PC:
Expand the entry and verify the controller properties to which your device is connected. Remember the location of the controller that will be tested:
Run the USB Command Verifier tool and select the controller according to the location found in the previous step:
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.