Font Size: a A A

μC/OS-Ⅱ Port And Improvement In Stack

Posted on:2007-03-08Degree:MasterType:Thesis
Country:ChinaCandidate:X TongFull Text:PDF
GTID:2178360182480383Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
With the rapid development of compute and communications technology, the embedded system receives more and more people's extensive notice. It has a few of virtue, for example, succinct, high-efficient etc. At the same time embedded products has turned into the mainstream of information industry, which has been widely applied to many fields, such as mobile computing device, network device, industrial device, information appliances, automobile electronic, amusement establishment, apparatus and instruments, etc.Developing an embedded application program need embedded hardware, real-time operating system and corresponding software tool. And a very important step is the port of an operating system on the microprocessor. This thesis lays a strong emphasis on the port of the real-time operating system μC/OS-Ⅱ on S3C44B0X microprocessor and system tesr.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. The embedded hardware that this subject adopts is Samsung S3C44B0X chip built up on the basis of ARM. The chip has all the virtues of the ARM processor: low power waste and high-performance. And this chip has abundance of on-chip resource, therefore, it's very fit for embedded product developing.This subject selects the real-time operating system μC/OS-Ⅱ ,which is a highly portable, very scalable, preemptive real-time, multitasking kernel . And its source code is open.Firstly, this article describes the history, current status, the development and some essential conceptions of embedded system. Secondly, the application fields of the ARM chips, the ARM instruction set and registers will be specifically introduced. And the analysis of the features of the μC/OS-Ⅱ will be provided: the system architecture, task status, scheduler and communication method. Then a simpleintroduction, which is about hardware environment and uC/OS- II hardware and software architecture, will be given. The author will put forward some problems in the port procedures. Sequently, the u C/OS-II port procedures to S3C44B0X microprocessor will be provided. The procedures concentrate on three files: a head files OSCPU.H, a assembly files OS_CPU_A.ASM and a C files OS_CPU.C. The thesis will provide the function model about the procedure and resource code with specific commentary.After that, the paper will design some programs to test the performance of the system. When the system can function well, the author will provide a method for improvement of the stack, and the flow chart. The method separate the interrupt stack from task stack. It will reduce the requirement of the system for RAM.Finally, the general rule of the u C/OS- II port procedures will be concluded.
Keywords/Search Tags:μC/OS-Ⅱ, ARM, S3C44B0X, port, embedded system
PDF Full Text Request
Related items