期刊文献+

基于WDM模式的八串口卡驱动程序开发 被引量:1

Design of 8-channel synchronous serial interface card based on WDM
下载PDF
导出
摘要 串行通信是一种常用的数据通信方式,可用在PC机和工业电子设备组成的监控系统中。设计的基于外围部件互连(PCI)总线的同步八串口卡以PCI9052为总线控制芯片。WDM(WindowsDriverModel)是一个模块化、分层式的驱动程序结构,支持即插即用和电源管理。从工程的角度阐述了基于WDM的驱动程序通过接口芯片配置空间的VendorID和DeviceID访问硬件,在OnStartDevice例程中获得资源,通过DPC(DeferredProcedureCall)例程处理中断,应用程序以调用函数的形式访问驱动程序,通过IRP(I/ORequestPackage)与应用程序通信。应用DriverMonitor和SoftICE调试驱动程序,运行DriverMonitor可浏览在Checked状态下输出的调试信息,运行SoftICE可打开驱动程序的源代码,在代码中设置断点、跟踪断点、单步执行。 Serial data communication is widely used in monitoring systems of PC and electronic equipment. An 8-channel synchronous serial interface card is designed based on PCI (Peripheral Component Interconnection) with PCI 9052 as its bus control chip. WDM(Windows Driver Model) is of modularized and layered driver structure,supporting plug-and-play and power management. The WDM-based driver accesses hardware via Vendor IDs and Device IDs in configuration space of interface chip,gets resources via OnStartDevice program,and deals with interruption via DPC (Deferred Procedure Call) program. Applications call driver via DeviceIoControl,communicates with it via IRP(I/O Request Package). DriverMonitor and SoftICE are used to test the driver. The test information can be browsed with DriverMonitor under Checked state and SoftICE is used to open the source code of driver,set and trace breakpoints.
出处 《电力自动化设备》 EI CSCD 北大核心 2006年第12期82-85,共4页 Electric Power Automation Equipment
关键词 WDM PCI驱动 同步八串口卡 WDM PCI driver 8-channel synchronous serial interface card
  • 相关文献

参考文献11

二级参考文献13

  • 1刘晖译.PCI系统结构[M](第四版)[M].北京:电子工业出版社,2000..
  • 2Windows 2000 DDK Documentation[ Z]. US: Microsoft Corporation, 2001.
  • 3PLX. PCI9052 DataBook[Z].PLX, 2001.?A
  • 4WALTER ONEY.Programming the Microsoft Windows Driver Model[ M]. Microsoft Press,2000?A?A.
  • 5Programming the Windows Model Driver [S] . Walter Oney Microsoft Press. 1999.
  • 6The Windows 2000 Device Driver Book (Second Edition) [S] . Art Baker PH PTR.
  • 7Windows 2000 DDK Documents [M] . Microsoft, 1999.
  • 8MicrosoftCorporation.Windows 2000驱动程序开发大全[M].北京:机械工业出版社,2001..
  • 9Walter Oney(美)著.Programming the Microsoft Windows Driver Model[M].马少华译.
  • 10Chriscant(美)著.孙义等译.Windows WDM设备驱动程序开发指南【M】.北京:机械工业出版社,..

共引文献15

同被引文献14

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部