摘要: 掌握实时驱动的设计方法,能够从一定程度上解决由于设备实时驱动问题给实时应用在产品选型和功能实现等方面带来的不便。为此,介绍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
中图分类号:
黄键, 庞亚华, 薛顺虎. RTX环境下PCI设备实时驱动的开发[J]. 计算机工程, 2010, 36(20): 211-213.
HUANG Jian, LONG E-Hua, XUE Shun-Hu. Development of Real-time Drive of PCI Device Under RTX Environment[J]. Computer Engineering, 2010, 36(20): 211-213.