首页 | 本学科首页   官方微博 | 高级检索  
     

陀螺测试系统的WDM设备驱动程序开发
引用本文:陈颖. 陀螺测试系统的WDM设备驱动程序开发[J]. 计算机测量与控制, 2006, 14(7): 964-967
作者姓名:陈颖
作者单位:西安工业学院,电子信息学院,陕西,西安,710032
基金项目:中国兵器工业总公司资助项目
摘    要:针对Windows2000下不能像DOS环境一样直接访问系统的硬件资源,提出了开发驱动程序模型WDM(Windows Driver Model);使其工作在Ring0层,成为操作系统内核的一部分,从而实现对硬件快速访问;文章介绍了这种新型驱动程序的运行机制及其特点;以开发基于PCI总线陀螺测试系统的设备驱动程序为应用实例,阐述了使用Compuware Numega公司Driver Studio开发的具体步骤和设计方法,自定义I/O控制命令的编写例程,并采用GUID这种新型命名方案唯一标识接口设备,给出驱动程序同上层测试软件通信的实现方法;该驱动程序应用结果表明,数据传输准确,系统性能稳定,有较好应用价值。

关 键 词:设备驱动程序  内核模式  WDM模式  PCI总线
文章编号:1671-4598(2006)07-0964-04
收稿时间:2005-11-09
修稿时间:2005-12-19

WDM Device Driver Development Based on Gyroscope Test System
Chen Ying. WDM Device Driver Development Based on Gyroscope Test System[J]. Computer Measurement & Control, 2006, 14(7): 964-967
Authors:Chen Ying
Abstract:WDM(Windows Driver Model)has been put forward because there is no directly ways to manipulate hardware under Win- dows 2000.Being part of the core of operation system,WDM works in RingO level,and makes the quick access to hardware.The working mechanism and the character of the new driver model in Windows 2000 are briefly presented.Example of exploitation Gyroscope test system based on PCI Bus was introduced.And the method for the driver in use of driver studio to communicate with test procedure is provided. The article describes in detail that how to build I/O control code and adopt GUID to get handle.The application shows that this system runs stably and accurately.
Keywords:device driver   kernel mode   WDM    PCI bus
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号