节点文献

嵌入式TCP/IP协议栈的研究与实现

Actualization and Research of the TCP/IP Protocol Stack in Embedded System

【作者】 张晟

【导师】 王舜燕;

【作者基本信息】 武汉理工大学 , 计算机应用技术, 2007, 硕士

【摘要】 本文以目前发展较快的一个分支——精简指令集计算机(ARM,Advance RISC Machines)作为介绍重点,对TCP/IP协议族在ARM7处理核嵌入式系统中的应用与实现做了深入研究,并研究了适合选定硬件平台的TCP/IP双协议栈,该双协议栈既支持IPv4也支持IPv6,实现了基本的网络应用。本文在阐述嵌入式系统基本概念和发展现状,指出嵌入式系统的主要发展方向以及发展前景的基础上,采用了基于三星公司S3C44B0X芯片的开发板,并参阅配套开发文档,以及TCP/IP协议文档,同时以实时操作系统uCIOSⅡ为基础,研究了TCP/IP双协议栈的实现过程。文章主要分为三大部分:(一)阐述实时操作系统uC/OSⅡ及该系统在S3C44B0X开发板的移植;(二)分别介绍TCP/IP协议族的分层,分别介绍了基于IPv4和Ipv6的各个具体协议,主要介绍各个协议的功能,所属分层,以及报文格式等;(三)介绍以太网控制芯片RTL8019AS寄存器,基于TCP/IP协议族的IPv4/IPv6双协议栈在开发板的具体实现过程以及主要函数的设计。这也正是本文的重点和作者研究的主要成果和创新所在。本文把TCP/IP双协议栈的实现过程层次化,提高了协议栈的移植性,把该协议栈移植到其他的硬件上只需更改少量和底层硬件联系的文件,上层的程序无需修改。各层次间的数据传递均依靠实时操作系统uC/OSⅡ的信号量和消息队列。协议栈全部采用汇编语言和C语言开发,编译成功后可写入开发板上的FLASH中,利用BootLoad引导执行。TCP/IP双协议族在嵌入式系统的实现可以大量应用到工业生产以及普通生活中,可使设备轻易增加网络接口,特别是随着IPv6的推广应用以及现代生活的飞速发展,本文所阐述的实现就有着更为重大的意义。例如可以推动家电接入Internet的进程等。

【Abstract】 This paper presents the ARM (Advance RISC Machines)emphatically which developed very quickly, offering deep researches on the application and realization of how TCP/IP protocol family is used inARM7 micro processor core.This paper describes the basic concept and development ofembedded system at the present time, identifies the major developmental direction and application foreground. Based on S3C44B0X platform and the technology document of it, I program the driver of Ethernet control chip-RTL8019AS and the TCP/IP protocol stack base on IPv4/IPv6. The paper could be separated into three parts:(1)uC/OSII Realtime Operation System and migrating in S3C44B0X platform.(2)Introduction of TCP/IP dual-stack.(3)Introduction of the registers which belong o Ethernet controlchip-RTL8019AS, this section is also the emphasis of the paper, it contains the main program function, and the total process of actualizing TCP/IP dual-stack into platform. Especially in this paper, I make the implementation procedure of TCP/IP dual-stack hierarchical. In doing this, I improve the migrationability. When I migrate this protocol stack to other hardware, seldomchanges need to be made in some files, which have affiliation with thebottom hardware, and the topper programs don’t need any modifications.Data transference between different layers depends on the semaphore and message queue in the RTOS uC/OSII. I develop the protocol stack using assemble language and C language. The program can be written to the FLASH of breadboard, which can be booted by BootLoader.The actualization of TCP/IP dual stack in the embedded system can be applied in industry production and our daily life plentiful. Network interfaces can be added to any equipment easily. Especially, with the spread of IPv6 and the rapid development of modern life, the results of this paper have more significant meaning. For example, we can accelerate the course of household appliances connecting with Internet.

  • 【分类号】TP393.04
  • 【被引频次】7
  • 【下载频次】469
节点文献中: 

本文链接的文献网络图示:

本文的引文网络