节点文献

TCP/IP协议族在嵌入式系统中的实现与应用

The Actualization of TCP/IP Protocol Stack in Embedded System

【作者】 吴帆

【导师】 王舜燕;

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

【摘要】 本文以目前发展较快的一个分支—精简指令集计算机(ARM,Advance RISC Machines)作为介绍重点,对TCP/IP协议族在ARM7处理核嵌入式系统中的应用与实现做了深入研究,并独立编写了适合开发套件的TCP/IP协议栈,实现了基本的网络应用。 本文在阐述嵌入式系统基本概念和发展现状,指出嵌入式系统的主要发展方向以及发展前景的基础上,以周立功公司所出的EASYARM2200开发套件为基础,参阅该套件的技术开发文档,以及TCP/IP协议文档,以实时操作系统uC/OSⅡ为基础编写出以太网控制芯片RTL8019AS驱动程序以及TCP/IP协议栈程序。文章主要分为三大部分: (一) 阐述实时操作系统uC/OSⅡ及该系统在EASYARM2200开发套件上的移植; (二) 介绍TCP/IP协议族的分层以及各个具体的协议,主要介绍各个协议的功能,所属分层,以及报文格式等; (三) 介绍芯片RTL8019AS的寄存器,TCP/IP协议族在开发套件上的具体实现过程以及主要程序段。这也正是本文的重点和作者研究的主要成果和创新所在。 值得一提的是,本文把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 in ARM7 micro processor core.This paper describes the basic concept and development of embedded system at the present time, identifies the major developmental direction and application foreground.Based on EASY ARM2200 platform of Zhou Li Gong Company and the technology document of it, I program the driver of Ethernet control chip-RTL8019AS and TCP/IP protocol stack. The paper could be separated into three parts:(1) uC/OSII Realtime Operation System and migrating in EASYARM2200 platform.(2) Introduction of TCP/IP protocol stack(3) Introduction of the registers which belong to Ethernet control chip-RTL8019AS, this section is also the emphasis of the paper, it contains the main program section, and the total process of actualizing TCP/IP protocol family into platform.Especially in this paper, I make the implementation procedure of TCP/IP protocol stack hierarchical. In doing this, I improve the migrationability. When I migrate this protocol stack to other hardware, seldom changes need to be made in some files, which have affiliation with the bottom 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 protocol 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
  • 【被引频次】8
  • 【下载频次】799
节点文献中: 

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

本文的引文网络