USB driver is a bridge which realizes the seamless connection between upper application and the rock-bottom USB hardware,and the development of USB driver is an important part of the development of USB device.Based on the analysis of USB protocol,the USB system architecture of Win2000/xp and some related concepts of USB interface are introduced.The layer and the data structures in USB driver are emphasized.The principle and the method for developing a USB device driver with DriverStudio are discussed.Also the driver installation and debugging are described.The general method and skill are concluded by designing and implementing a repre-sentative example in Win2000/xp.This will provide a favorable foundation for developing more complex USB device.