节点文献
μC/OS-Ⅱ实时操作系统在ARM微处理器上的移植
Transplantation of Threal-Time Operating System μC/OS-Ⅱ on ARM Microprocessor
【作者】 丁国超;
【导师】 李全利;
【作者基本信息】 哈尔滨理工大学 , 控制理论与控制工程, 2005, 硕士
【摘要】 嵌入式实时系统作为计算机应用的一个崭新领域,以其简洁、高效等优点越来越多地受到人们的广泛关注。而若要开发一个嵌入式应用系统,至少需要嵌入式硬件、实时操作系统及相应的软件工具。并且需要一个非常重要的步骤,就是操作系统在微处理器上的移植。本课题采用的嵌入式硬件是基于ARM 架构的Samsung S3C44B0X 芯片,ARM 微处理作为目前嵌入式市场上应用最广泛的嵌入式微处理器,有着很多不同的种类,本课题采用的便是其中的一种:ARM7TDMI。针对市场上种类繁多的实时操作系统,本课题选用的是源代码公开的实时操作系统μC/OS-Ⅱ。此操作系统内核小,易剪裁,移植性好。本文在介绍μC/OS-Ⅱ时,对其邮箱的机制作了较详细的分析,并提出了一个邮箱查询的新方法。具备了硬件和操作系统,还需要相应的软件工具,如编译环境,仿真工具等。本课题采用的编译环境是ARM SDT2.5。而采用的仿真工具是JTAG。在具备上述三个条件后,所需要做的工作就是将实时操作系统移植到所用的嵌入式微处理器上。本文对于移植工作做了详细的介绍,并提出了一些问题和解决方案。移植成功后,又在平台上作了一个综合性的实力,验证了移植的成功,并较深入的研究了实时多任务的调度原理及任务间的通信机制。本文首先对嵌入式系统及ARM 作了概述,又对实时操作系统及μC/OS-Ⅱ作了说明,然后详尽阐述了移植的过程。最后,验证了移植的成功,并作了一个实例体现了实时多任务的调度及任务间的通信机制。
【Abstract】 As a new-field of using of computer, the embedded real-time system receives more and more people’s extensive notice. It has a few of virtue, for example, succinct, high-efficient etc. Developing an embedded application program, we need embedded hardware, real-time operating system and corresponding software tool at least. And need a very important step: it is the transplantation of an operating system on the microprocessor. The embedded hardware that this subject adopts is Samsung S3C44B0X chip built up on the basis of ARM, ARM is used as the most extensive embedded microprocessor of the embedded market at present, there are many different kinds, what this subject adopts is one kind among them:ARM7DMI. To the real-time operating system various in style on the market, what this subject selects for using is the real-time operating system of charging free with open source code: μC/OS-Ⅱ, it’s kernel is very easy, This text has made a more detailed analysis to the mechanism of its postbox while introducing μC/OS-Ⅱ, and put forward new method for inquiring upon a postbox. We need corresponding software tool when you possessed the hardware and operating system. For example, the environment of compiling, artificial tool etc. The environment of compiling which this subject adopts is ARM SDT and the artificial tool is JTAG. After possessing above-mentioned three conditions, what the work need is to transplant the real-time operating system to the embedded microprocessors. This text has introduced the detail of transplantation, and has put forward some problems and solutions. Then, I have done a comprehensive experiment on my platform, having verified success of transplantation. Moreover, I have understood the dispatcher and corresponding mechanism deeply among the tasks. This text made a summary to embedded system and ARM at first, introduced the real-time operating system and μC/OS-Ⅱ, then, explained the course of transplantation exhaustively. Finally, I verified success of transplantation through an experiment, realized the dispatcher of real-time many tasks and corresponding mechanism among the tasks.
【Key words】 Embedded; ARM; Real-time operating system; μC/OS-Ⅱ; Transplant;
- 【网络出版投稿人】 哈尔滨理工大学 【网络出版年期】2006年 01期
- 【分类号】TP316
- 【被引频次】30
- 【下载频次】1727