Software development of embedded system is one of the most growing orientation in the foregroundin of information technology field.Embedded real-time operating system(abr. RTOS) is the kernel of it. Because of the functions,price,and etc,it is all-important work that the commercial RTOS is found and RTOS meeted with the self corporation is developed by self-determination. Based this background,the thesis is original from micro-kernel μC/OS-II which is mature and open-source.Also,from design reuse point of view,it builds detailed analysis and abstract commonly design pattern for frequently opinion components such as file system,TCP/IP protocol stack by using UML that is industry standard model language.Finally,based the theory of the thesis prompted, RTSCell(real-time system cell multi-task operating system)that is applied for education practice is developed.The major research work about the thesis is as follow:1) Analyzing UML profile(real-time UML).From embedded real-time system chief characteristic which is included behavior.time and structure etc.,the thesis explicates how UML satisfy the requirement of real-time embedded system modeling in detail.In addition,it introduces Model Driven Architecture(MDA) design method and Rhapsody modeling tool.2) Referring to the design of micro-kernel ,μC/OS-II ,the thesis adopts the thinking of design pattern and UML to analyzing the design of micro-kernel.It includes the partition of kernel component,task management,communications mechanism of task,memory management,interrupt management,time management.In the end,it abstractly refines commonly design method of micro-kernel.3) Inducting embedded file system,the thesis carries through requirement illumination with combining current mainstream application.Subsequently it go along analyzing and designing in detail which emphases focused on narrating the design and implemention of file system based UML and FAT(file allocation table) format.Finally the implemention of kernel functions are set forth.4) Aiming at the detailed analyzing of present open-source protocol stack LwIP,the thesis describes the implemention of TCP protocol based UML.It simply depicts the key proceedings of porting x86 platform.Lastly hardware features and trans-receive packet data flow of network chip RTL8019AS which is compatible of NE2000 are pictured.At the same time,the test of protocol is planned.5) Synthesizing the basis of work above all,development background and programming function points of RTSCell is described.Its development work is based on the method of ROPES,the analyzing of design pattern,UML modeling.According as the appeal of the embedded software development resource,A floopy size(1.44MB) which the total code occupies space is strictly limited. RTSCell is a availability exploration for the combination of classical theory of operating system and concrete application of embedded system. |