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

基于龙芯1E1F航天应用平台与VxWorks系统的VxBus型驱动设计
引用本文:邹玉龙,刘彬,田小莉,郭宗芝,牛崇. 基于龙芯1E1F航天应用平台与VxWorks系统的VxBus型驱动设计[J]. 计算机测量与控制, 2018, 26(5): 102-106
作者姓名:邹玉龙  刘彬  田小莉  郭宗芝  牛崇
摘    要:分析了VxWorks系统中VxBus型驱动的组成和一般设计过程,对串口、时钟等VxWorks系统自带VxBus型驱动的设备进行了配置,对龙芯1E芯片的中断控制器驱动进行了分层设计,在VxWorks原有的MIPS中断控制器驱动基础上,增加了专门针对龙芯1E和龙芯1F的中断控制器驱动,并且3个中断控制器驱动通过设备配置文件相互关联,实现了中断服务程序的嵌套调用。对龙芯1F接口芯片上的智能1553B功能单独设计了一个VxBus型驱动,并通过设计驱动方法的方式向应用层提供了驱动的使用接口,屏蔽了底层硬件细节,简化了应用层的设计。实验结果表明在龙芯1E1F航天应用平台上进行VxBus型驱动设计使得软件结构更加清晰,系统移植的难度大大降低,并且简化了应用层软件设计,对航天领域基于龙芯和Vxworks系统的开发设计具有较高的参考价值。

关 键 词:龙芯处理器  VxWorks  VxBus
收稿时间:2017-09-15
修稿时间:2017-10-09

Research on VxBus driver design based on Loongson 1E1F aerospace platform and VxWorks system
Abstract:Analyzed the structure of VxBus driver and the normal design procedure of VxBus driver on VxWorks system. Configured the VxBus diver which is already supported by VxWorks, such as the serial and the clock driver. The design of interrupt is divided into three layers, the MIPS interrupt, the Loongson 1E interrupt and the Loongson 1F interrupt. The three interrupt layers are nested and connected by board support package(BSP) hardware configuration. Designed a smart 1553B VxBus dirver to use the 1553B function supported by Loongson 1F. Application layer can call the driver methods to perform 1553B function easily and ignore the hardware details. The result shows that VxBus design on Loongson aerospace platform simplify the software design of application layer and makes the software structure much more clear and the system planting easier. The VxBus driver design method has high value for aerospace engineering based on Loongson and VxWorks system.
Keywords:Loongson processor   VxWorks   VxBus
点击此处可从《计算机测量与控制》浏览原始摘要信息
点击此处可从《计算机测量与控制》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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