| Embedded System Design is a trend in the development of modern electronic technology. It has been used in every aspect of life, such as the field of controlling and consumer electronic product. With the bursting of Internet and the new concepts of information consumer electronics and post-pc era, the diversifying of information terminals has become inevitable. Becoming more and more complex, the software in the embedded systems challenges the management of developers, program interfaces and documents. The using of embedded operating system as develop platform has solved these problems.This thesis will introduce the real-time, source free embedded operating system-μC/OS-II and analyze its kernel, meanwhile study the internal structure and programming characteristic of ARM CPU. Then modifying the μC/OS-II system code files concerned with CPU, and transporting this system to GBA (handheld entertainment device) hardware platform based on ARM7TDMI CPU core.Basing on the deep analysis of TCP/IP network protocol and the network structure of embedded system, the rest part of this thesis focuses on the simplification of TCP/IP stack. Then make the particular analysis of the most important protocol of the TCP/IP stack-TCP and IP protocol. Because μC/OS-II dose not support network directly, the thesis bring forward a method of transporting the open source TCP/IP stack-LwIP to μC/OS-II system and discusses the programming of the IEEE 802.3 NIC driver and gives the flow charts of the package receive-send processes. Then μC/OS-II will support network.The last chapter is a summing-up of the above studies; moreover, some problems still existed in the field, as well as the direction of further development of the subject is also pointed in this chapter. |