VxWorks操作系统下Compact PCI总线的驱动与控制技术  被引量:4

The driving and controlling techniques of CompactPCI bus in VxWorks real-time operating system

在线阅读下载全文

作  者:李安宗[1] 鞠晓东[1] 乔文孝[1] 

机构地区:[1]石油大学资源与信息学院

出  处:《核电子学与探测技术》2005年第2期119-123,118,共6页Nuclear Electronics & Detection Technology

基  金:中国石油天然气集团公司科学研究与技术开发项目<综合测井采集地面系统研制>的资助(03B30103)

摘  要:介绍了CompactPCI总线及接口技术,PCI配置空间的内容与操作方法。详细说明了在VxWorks实时多任务操作系统下配置cPCI总线设备的方法。由于系统通过中断响应外部事件,使得硬件中断处理成为实时系统设计中的关键问题。在VxWorks系统下对cPCI中断响应的主要操作是将外部中断与中断服务程序连接起来,并控制PCI9054接口芯片的中断控制寄存器。在中断服务程序中使用信号量实现任务间的同步,保证了系统实时数据采集的可靠性。CompactPCI bus and interface featuring, the content and function of PCI configuration register are introduced herein. The driving and controlling techniques of CompactPCI bus in VxWorks real-time operating system are detailed. Hardware interrupt handling is one of key significance in real-time systems, because it is usually through interrupts that the system is informed of external events. VxWorks allows C functions to be connected to any interrupt. A routine connected to an interrupt in this way is called an interrupt service routine (ISR). For response of interrupt, interrupt control/status register of PCI 9054 interface chip needs to be set. The general-purpose binary semaphore used in ISR is capable of addressing the requirements of both forms of task coordination: mutual exclusion and synchronization. Therefore, the system runs stably and reliably.

关 键 词:中断响应 CPCI总线 中断服务程序 VXWORKS操作系统 VXWORKS系统 PCI9054 信号量 驱动 同步 寄存器 

分 类 号:TL503.3[核科学技术—核技术及应用] TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象