Font Size: a A A

Research And Design Of Embedded TCP/IP Stack Base On ARM And μC/OS-Ⅱ

Posted on:2011-10-21Degree:MasterType:Thesis
Country:ChinaCandidate:Y K LiuFull Text:PDF
GTID:2178330338478244Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Embedded technology is very popular now, which has been used widely in industrial control, intelligent buildings, office automation and other fields. With the development of network technology, the combination of embedded system and network becomes more and more close. The addition of TCP/IP stack to embedded system, in order to connect embedded devices to network, which has become an important direction of development for embedded system. So, it has important study significance and economic benefits to combine embedded system and network technology to research.In this paper, on the basis of embedded real-time operating systemμC/OS-II, combines Luminary company lastest product-LM3S8962 which bases on Cortex-M3 kernel to research embedded TCP/IP stack.(1) Deeply analyse the work principle of Cortex-M3 kernel, and compare with ARM7 kernel, highlighting the advantage of Cortex-M3 kernel.(2) Analyze the work principle of real-time operating systemμC/OS-II, after in-depth understanding, write corresponding portable document, and successfully transplantμC/OS-II to the LM3S8962 chip. In the transplantation, propose a new method to enter and exit critical section. This provides a great convenience to the followed software development.(3) Firstly, analyze the basic principle of TCP/IP stack, according to TCP/IP document. Secondly, according to the character of embedded system, wihtout violation to the priciple of TCP/IP, make some corresponding cut and modifications, successfully add TCP/IP stack toμC/OS-II. Some functions of ARP,IP,ICMP,UDP,TCP and BSD socket interface functions have been implemented in this TCP/IP stack, the driver procedure of Ethernet controller has been achieved also. Finally, test the accuracy of TCP/IP stack through simple network programming.ARM,μC/OS-II and TCP/IP stack together constitute a Internet framework of embedded system, it provides a good platform for the following research and application.
Keywords/Search Tags:embedded system, ARM processor, μC/OS-Ⅱ, transplant, embedded TCP/IP stack
PDF Full Text Request
Related items