Embedded real-time operation system has been acting as a more and more important role in our industry and social life. With requirements growing rapidly, the developing methodology for real-time systems gradually becomes the focus of researchers. Object-oriented analysis and design methodology has got huge popularity in non-real-time system domains; but there is still little application in developing real-time systems. Commonly, embedded real-time operation systems adopt micro-kernel architecture, the system functions are collected in the kernels. With the increasing of the functions, the kernel becomes more and more complicated, so it makes the performances of the system become worse and worse. Based on the background stated above, the thesis describes the design , implementation and porting of an Object-Oriented embedded real-time operation system with nano-kernel on ARM processor which called MKRTOS. The main contents of the thesis can be devided into 4 parts:1) Comparing the structure based developing methodology with Object-oriented methodology, then the thesis points out the advantages of developing RTOS using Object-oriented developing methodology and analyses the 00 characters of MKRTOS.2) Because the micro-kernel architecture cannot satisfy the performances of embedded real-time operation systems gradually, the thesis raises a new idea to design the kernel, which is increasing a nano-kernel layer under the micro-kernel layer. The nano-kernel is much simplier than micro-kernel, it just has some very important and basic functions and it has less task contexts and switching time.3) Based on the researches of task mangement and task scheduling strategy in μC/OS-II, we implement the basic functions of task management and task scheduling strategy in MKRTOS which based on RMS arithmetic and Round-Robin scheduling arithmetic.4) The series of ARM processors are very popular in 32 bits embedded systems's applications. It has got huge popularity in many fields, so we deceide to port MKRTOS on platform with ARM7 processor. In thesis, we introduce the characters of the target platform-LPC2200 and describle how to port MKRTOS on it in detail. |