文档详情

基于DDK的WDM驱动.doc

发布:2017-07-07约5.07千字共10页下载文档
文本预览下载声明
第1:_;醛第3{tjj 2008 jF 3 计算机技术与发展 (1(1M l,U_r¨ t ]-Et ¨ (” (,;、 .%NI)I)EVEI』Ⅵ1 1EN_I \,’t11.1 LI.3 M: 1· 2l11)S 基于DDK的USB接口WDM 驱动开发 邓玖根 ,一,张正荣 ,胡 松 ,唐小萍 (1.中国科学院光电技术研究所,四川成都610209; 2.中国科学院研究生院,北京l00039) 摘要:USB以其诸多优点已被广泛用于pC接口设计,由此开发了基于USB的光刻机对准系统。与传统对准系统相比, 新系统的稳定性大幅提高,同时成本显著降低。但USB设备驱动程序的开发是系统的关键和难点。以WDM 的结构和 USB通信模型为基础,结合图示详细介绍了与USB的WDM驱动开发相关的几个关键数据结构及其相互关系.并对开发 过程中的疑难问题进行了深人分析,结合实际系统详细地介绍了驱动开发的整个流程及其相关注意事项。系统运行结果 表明所开发的驱动程序满足系统需求。 关键词:通用串行总线;WDM;驱动程序; 中图分类号:TP31l l 文献标识码:A 文章编号:1673—629X(2008)03—0013—04 USB’S W DM Driver Development Based on DDK DENG Jiu—gen ,-,ZHANG Zheng—rong ,HU Song ,TANG Xiao-ping (1.Institute of Optics and Electronics,the Chinese Academy of Sciences,Chengdu 610209,China; 2.Graduate School of the Chinese Academy of Sciences,Beijing 100039,China) Abstract:Because of USB’s many merits。it’s widely used in PC’s interface design;therefore developed a new alignment system on USB Compared wi出tmditbnal alignment systems,the new one’s stability improves a lot。and its cost reduces drastically.But the driv— er’s development ofUsB deviceWaSthekey and nod usofthewhole system.Introduces∞mekeydata structures relatedtoUsB’sWDM driver in detail based on the framework of WDM and USB’s corresponding model and combined with figures,and analy.~es solIle problems in the development process in depth.Finally,introduces the flow of driver development and other related notices.New system ’s practical el1lonnance sho ws that the driver developed meets requirem ent. Key WI]tI~ :USB;WDM;driver;C )K O 引 言 USB(Universal Serial Bus,通用串行总线)是由IN— TEl 、微软、IBM 等公司为解决传统总线不足而推出的 一种新型总线标准。目前,USB2.0最高传输速率已 经达到480Mb/s,可以满足包括视频设备在内的多种 外部设备数据传输的需求。此外,USB总线还具有安 装方便、支持热拔插、易于扩展等优点,是一种具有高 性价比的接口,被广泛用于PC接口开发。 鉴于USB接口的诸多优点,笔者开发了基于USB 接口的光刻机对准系统,克服了传统对准系统接口复 杂、成本高、不稳定等缺点。要实现成功的开发,驱动 程序的设计是一个重要环节。文中介绍了如何利用 DDK开发基于WDM的USB驱动程序。 收稿日期:2007一O6一l6 作者简介:邓玖根(1983一),男,四川乐LU人,硕I 研究生,从m 微fu 子没彳;}系统软件研究;张Jf==荣,商_1 ,研究办 为光划帆软件系统。 1 WDM 介绍 在Window~000系统中,软件要么执行在用户模 式,要么执行在内核模式。在x86计算机上,当用户模 式程序需要读取设备数据时,先是通
显示全部
相似文档