作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (20): 211-213. doi: 10.3969/j.issn.1000-3428.2010.20.074

• 工程应用技术与实现 • 上一篇    下一篇

RTX环境下PCI设备实时驱动的开发

黄 键,庞亚华,薛顺虎   

  1. (中航工业西安飞行自动控制研究所,西安 710065)
  • 出版日期:2010-10-20 发布日期:2010-10-18
  • 作者简介:黄 键(1980-),男,工程师、硕士,主研方向:计算机仿真技术,实时操作系统应用;庞亚华,工程师、硕士;薛顺虎,研究员

Development of Real-time Drive of PCI Device Under RTX Environment

HUANG Jian, PANG Ya-hua, XUE Shun-hu   

  1. (AVIC Xi’an Flight Automatic Control Research Institute, Xi’an 710065, China)
  • Online:2010-10-20 Published:2010-10-18

摘要: 掌握实时驱动的设计方法,能够从一定程度上解决由于设备实时驱动问题给实时应用在产品选型和功能实现等方面带来的不便。为此,介绍RTX实时环境下PCI总线设备的实时驱动的开发流程,以某PCI设备为例,给出实时驱动设计中包括设备定位、总线信息获取、地址映射、初始化配置以及伺服中断等功能的具体实现,将该驱动应用到某RTX实时系统中,经过实验验证取得了较好的应用效果。

关键词: RTX实时系统, 实时驱动, PCI总线, 地址映射

Abstract: The inconvenience of product selection and function realization can be solved at a certain extern when the method of designing real-time drive is mastered. It introduces the developing flow of PCI bus drive in RTX real-time environment. The following functions of real-time drive design are explained including finding device, getting bus message, mapping address, initial configuration, serving interrupt and so on. The real-time drive application in a certain RTX real-time system proves its advantage.

Key words: RTX real-time system, real-time drive, PCI bus, address mapping

中图分类号: