Presentation is loading. Please wait.

Presentation is loading. Please wait.

October 10, 20001. 2 Testing USB 2.0 Devices and Drivers Scott Thompson USB Test Developer Windows Division Microsoft Corp.

Similar presentations


Presentation on theme: "October 10, 20001. 2 Testing USB 2.0 Devices and Drivers Scott Thompson USB Test Developer Windows Division Microsoft Corp."— Presentation transcript:

1 October 10, 20001

2 2 Testing USB 2.0 Devices and Drivers Scott Thompson USB Test Developer Windows Division Microsoft Corp.

3 October 10, 20003 Outline Microsoft USB 2.0 Testing w USB 2.0 Test Cases – How Microsoft is testing the new USB 2.0 driver stack – How you can test your drivers – Concerns for USB devices w Demos – Driver Verifier – USB Verifier – Bulk Loopback

4 October 10, 20004 Testing New Driver Stack Microsoft USB 2.0 Testing w New Generic Driver – Exposes USBDI to user-mode applications – Allows commands to be sent to any USB Device w Manual Tests – Currently testing with NEC Host Controller – Devices include a scanner, an IDE bridge, and loopback boards

5 October 10, 20005 Testing New Driver Stack Microsoft USB 2.0 Testing w Automated Test Suites – Runs overnight testing many parts of the USB stack – Ability to compare device tree throughout test run – Logging allows for identifying reproducible problem scenarios – Cycler u Simulates a surprise remove and re-enumeration of device – Disabler u Disables and removes drivers – PMTE u Tests Power Management features

6 October 10, 20006 Testing New Driver Stack Microsoft USB 2.0 Testing w Code Coverage – Provides information on what parts of the source code have been executed w PREfix – Simulates execution of source code – Some of the defects detected u Usage of uninitialized variables u Divide by Zero u Freeing NULL Pointer

7 October 10, 20007 Testing 3 rd Party Drivers Microsoft USB 2.0 Testing w Driver Verifier – Monitors drivers – Some of the checks Driver Verifier looks for: u Uses special memory pool to monitor memory access u Driver unload – Included with Windows 2000 w USB Verifier – Similar to Driver Verifier – Installs as a filter driver – Looks for specific USB issues in drivers

8 October 10, 20008 Testing USB Devices Microsoft USB 2.0 Testing w Areas of Concern – PNP u Hot plugging devices – Power Management u Test all sleep states (S1-S4) – Interoperability of Devices u Test with many devices u Test downstream of 5 hubs u Test on multiple host controllers (1.1 and 2.0)

9 October 10, 20009 Demos Microsoft USB 2.0 Testing w Driver Verifier w USB Verifier – Available in DDK – Runs on Windows 2000, Windows Me, and “Whistler” w Bulk Loopback


Download ppt "October 10, 20001. 2 Testing USB 2.0 Devices and Drivers Scott Thompson USB Test Developer Windows Division Microsoft Corp."

Similar presentations


Ads by Google