论文部分内容阅读
由于我国的空间技术的迅速发展,航天嵌入式系统的复杂性急剧增加。在航天领域要求对嵌入式操作系统vx Works进行剪裁工作以适应航天设计的要求,而剪裁掉文件系统的Vx Works操作系统存在地面不能对星上的事件进行有效干预的问题。文中在“龙芯”计算机平台上通过对Vx Works操作系统进行配置,设计了一种可在轨编程的方案,并针对其中的出现的修改后的函数中全局变量和调用函数的链接地址发生变化的问题提出了解决方案并完成了软件实现该功能。文中CPU采用wh1770,通过修改原被调用函数的初始代码实现对于新函数的调用,并针对全局变量以及调用函数在更新函数中链接地址发生变化设计了在轨更新接口函数和更新代码提取工具,从而实现函数的在轨更新,给出了部分设计流程图以及代码提取工具的测试结果。测试结果显示该工具实现了设计目的,在航天工程领域具备一定的利用价值。
Due to the rapid development of space technology in our country, the complexity of aerospace embedded systems has dramatically increased. In the field of aerospace, vx Works, an embedded operating system, is required to be tailored to meet the requirements of aerospace design. The VxWorks operating system, which has been clipped to a file system, has problems that the ground can not effectively intervene in events on the satellite. In this paper, we design a program that can be programmed in-orbit by configuring the VxWorks operating system on the “Godson” computer platform. In the modified function, a global variable and a link address of a calling function are generated The issue of change presents the solution and completes the software implementation of this function. In this paper, the CPU uses wh1770 to make calls to the new functions by modifying the original code of the original called functions and to design the in-orbit update interface function and the updated code extraction tool for the global variables and the change of the link address of the calling function in the update function Realize the on-orbit update of the function, and give the part of the design flow chart and the test result of the code extraction tool. The test results show that the tool has achieved the design purpose and has certain value in the field of aerospace engineering.