摘要
USB驱动程序是实现USB上层应用软件和底层USB硬件无缝连接的桥梁,驱动程序的开发是USB设备开发的一个重要组成部分;在分析USB协议基础上,介绍了Win2000/xp下USB系统体系结构,USB接口的相关概念,剖析了驱动程序的分层、重要数据结构,讨论了采用DriverStudio开发基于WDM的USB设备驱动程序的设计原理和方法,阐述了驱动程序的调试与安装。通过设计并实现一个典型的例子总结了在Win2000/xp下编写一个USB设备驱动程序的一般方法和技巧,为开发更复杂的USB设备奠定了良好的基础。
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 representative example in Win2000/xp. This will provide a favorable foundation for developing more complex USB device.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第21期5562-5565,共4页
Computer Engineering and Design