中文摘要:

分析了VxWorks系统中VxBus型驱动的组成和一般设计过程,对串口、时钟等VxWorks系统自带VxBus型驱动的设备进行了配置,对龙芯1E芯片的中断控制器驱动进行了分层设计,在VxWorks原有的MIPS中断控制器驱动基础上,增加了专门针对龙芯1E和龙芯1F的中断控制器驱动,并且3个中断控制器驱动通过设备配置文件相互关联,实现了中断服务程序的嵌套调用。对龙芯1F接口芯片上的智能1553B功能单独设计了一个VxBus型驱动,并通过设计驱动方法的方式向应用层提供了驱动的使用接口,屏蔽了底层硬件细节,简化了应用层的设计。实验结果表明在龙芯1E1F航天应用平台上进行VxBus型驱动设计使得软件结构更加清晰,系统移植的难度大大降低,并且简化了应用层软件设计,对航天领域基于龙芯和Vxworks系统的开发设计具有较高的参考价值。

Synopsis

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.

下载地址

Files:

基于龙芯1E1F航天应用平台与VxWorks系统的VxBus型驱动设计

Date 2019-05-24
File Size 1.71 MB
Download 753