Actualization and Research of the TCP/IP Protocol Stack in Embedded System
- Author
- ZhangZuo
- Advisor
- WangShunYan
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 406
- Citations
- 5
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.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 9-14
1.1 embedded network technology concept and features 9-10
1.1.1 Basic Concepts 9
1.1.2 Main features 9-10
1.2 research status 10-12
The main contents of this article
1.3 12-13
1.4 chapters arranged 13-14
Chapter 2 platform to build 14-24
2.1 hardware platform 14-16
2.1.1 ARM core overview 14
2.1.2 S3C44BOX microprocessor -based embedded system 14-16
2.2 uC/OS- Ⅱ embedded real-time operating system and transplant 16-23
Introduction 2.2.1 uC/OS- Ⅱ of 16
2.2.2 uC/OS- Ⅱ transplant conditions 16-17
2.2.3 uC/OS- Ⅱ on S3C44BOX the transplant 17-23
2.3 Summary 23-24
Chapter 3 TCP / IP protocol stack 24-39
3.1 TCP / IP protocol stack Profile 24-25
3.2 link layer protocol 25-27
3.2.1 Ethernet technology 25-27
3.2.2 ARP protocol 27
3.3 network layer protocol 27-36
3.3.1 IPv4 protocol 27-29
3.3.2 ICMPv4 agreement 29-30
3.3.3 IPv6 protocol 30-34
3.3.4 ICMPv6 protocol 34-36
3.4 transport protocol 36-38
3.4.1 TCP protocol 36-37
3.4.2 UDP protocol 37-38
3.5 Summary 38-39
Chapter 4 dual protocol stack implementation 39-71
4.1 dual-stack work 39-41
4.1.1 dual-stack node 39-40
4.1.2 receive packets 40
4.1.3 sends packets 40-41
4.2 dual protocol stack processing . 41-46
4.2.1 TCP, UDP protocol layer implementation extensions 42
4.2.2 application programming interface extensions 42-43
4.2.3 Network Interface Layer Extension 43
4.2.4 TCP / IP protocol stack and operating system link 43-44
reception
4.2.5 datagram 44-45
sending process
4.2.6 datagram 45-46
implementation
4.3 dual stack 46-70
4.3.1 Network Interface layer protocols 46-51
4.3.1.1 Network Interface Layer protocol 46-47
4.3.1.2 RTL8019AS Ethernet controller chip interface driver 47-49
4.3.1.3 Network Interface Layer ARP ARP function and achieve 49-51
4.3.2 IPv4 protocol 51-52
4.3.3 IPv6 protocol 52-54
4.3.4 ICMPv4 protocol 54-56
4.3.5 ICMPv6 protocol 56-60
4.3.5.1 ICMPv6 protocol implementation reception and transmission functions 57-58
4.3.5.2 use neighbor discovery protocol address resolution process and implementation 58-60
4.3.6 UDP protocol 60-66
4.3.7 TCP protocol 66-70
simplify nbsp
4.3.7.1 TCP protocol ; 66-67
achieve
4.3.7.2 simplified TCP protocol 67-70
4.4 Chapter Summary : 70-71
Chapter 5 Summary and Outlook 71-73
5.1 Full Summary 71
5.2 Prospects 71-73
References 73-75
Thanks 75-76
study published during the academic master 76
Related dissertations
- Design and implementation of Cortex-M3 core microcontroller based on embedded Web server
- Design and Implementation of Remote Login Control System Based on Modem Technology
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Automation Measuring System for Water Supply Based on GPRS
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- The Research of the Design and Application for Embedded Remote Terminal Unit
- Design and Implementation of Magnetic Card Detection System Based on Embedded System
- Design of distributed control system based on embedded platform