摘要目前,嵌入式技术已经广泛应用于工业控制领域,手机,PDA,汽车导航等。随着网络技术的不断发展,嵌入式系统和网络技术越来越相关。本文以μC/OS-II嵌入式实时操作系统为基础,结合Luminary公司基于Cortex-M3内核的LM3S8962芯片,对嵌入式TCP/IP协议栈进行研究。
1.在对实时操作系统μC/OS-II工作原理的分析,写出相应的移植文件,成功地移植μC/OS-II为LM3S8962芯片。
2.分析理解实时操作系统μC/OS-II的工作原理后,成功地将μC/OS-II移植到LM3S8962芯片上。移植时,选用新的进入和退出临界区的方法。
3.先根据TCP/IP文档,分析TCP/IP协议桟的基本原理。对协议栈作了裁剪和修改,顺利地在μC/OS-II上增添了TCP/IP协议栈。本TCP/IP协议栈达成了ARP协议、ICMP协议、IP协议、UDP协议和TCP协议的部份功能,BSD套接字部分接口函数,还编写了以太网控制器的驱动程序。22403
ARM、μC/OS-II和TCP/IP协议栈一同组成了嵌入式系统的网络框架,为后续的研究和应用提供了很好的平台。
关键词:嵌入式系统;ARM处理器;μC/OS-II移植;嵌入式TCP/IP协议栈 毕业论文设计说明书(论文)外文摘要
ABSTRACT
At present, the embedded technology has been widely used in industrial control field, the mobile phone, PDA, car navigation, etc. With the continuous development of network technology, embedded system and network technology is more and more relevant. Add the TCP/IP protocol stack in the embedded system is the principal direction.
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.In μC/OS - II of real-time operating system working principle analysis, write the corresponding files, successfully transplanted mu C/OS - II as LM3S8962 .
2.Analysis to understand the real-time operating system working principle of mu C/OS - II, after successfully transplanted mu C/OS - II into LM3S8962 chip. When transplanting, choose new method entry and exit the critical area.
3.According to the TCP/IP document, the basic principle of the TCP/IP protocol stack. The protocol stack for cutting and modify, smoothly in the C/OS-II to add the TCP/IP protocol stack. Some functions of the TCP/IP protocol stack to ARP protocol, ICMP protocol, IP protocol, UDP protocol and TCP protocol, the BSD socket interface function, also write the driving program of Ethernet controller.
ARM, C/OS-II and TCP/IP protocol stack together constitute the network frameworkof embedded system, which provided a good platform for future research and application.
Key Words: embedded system ; ARM processor ; μC/OS-II ; transplant ; embedded TCP/IP stack