USB interface has the advantages of convenience and higher speed , it has become a apopular interface between computer and peripheral device. This paper first introduces the architecture and the working principles of USB device driver. Then it gives examples of application, and emphasizes the implementation of USB driver by using developing tool of DriverWorks .