Study of the Embedded TCP/IP Protocal and ARM Implemention
- Author
- HuZhiQiang
- Advisor
- HeDongJian
- School
- Northwest University of Science and Technology
- Major
- Agricultural Electrification and Automation
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 620
- Citations
- 5
Abstract
With the rapidly development of Internet and backbone net technology, it was steadily improved in communication performance, quality and reliability based on grouping exchange technology. At the same time, the high performace, low cost embedded processors are springing up continuously,embedded operating systems will be widely apply. It will be a new direction to combine the embedded system technology and Internet technology,and it will become the main approach and way which can realize long-distance monitoring. There are some shortages of embedded Internet programs, which is costly, worse to control, and difficult to realize.However, the embedded equipment hardware resources are limited in application, it needs to simplify the TCP/IP protocol according to the application demand. Aiming at this problem, the paper takes the remote monitoring based on ARM as studying object and takes EasyARM2200 as the platform, on the basis of analyzing of the ARM chip LPC2210 and the net chip RTL8019AS, focus on the TCP/IP protocol. Choosing appropriate protocol and simplifying it according to the feature and function of the remote monitor system. The realization totals are few expenses of the system, mutual independent layers and simple memory operation. In order to realize each layer’s independence, it needs to realize data transparent transmission between each layer. The data’s transmission carry out through a series of functions. Meanwhile, for reducing system expense by the data copying, the system operate through indicator, data is upwardly transfered along the ptotocol stack in the buffer.The main contributions of this research as the following:(1) The paper analyzed ARM7TDMI Core’s system structure, cleared about LPC2210’s core structure and LPC2210’s core structure based on ARM7TDMI, memory system, interruption system and system control module; studied the network chip RTL8019AS and analysed net chip’s inside register group and operating principle.(2) The paper analyzed the kernel principle and structure ofμC/OS-II. In this paperμC/OS-II may be divided into core, duty processing,time processing, duty synchronization and communication, the CPU transplant and so on; nucleus is simplified, theintelligibility and the transplantable ability are strong, which is widely used in the embedded system.(3) Aiming at the chip LPC2210, the paper studiesμC/OS-II kernel migration involved in three key files,, and realized the migration. After testing the migration by writing a two-task program, the testing result indicates the migration codes running well. (4) Based on studying TCP/IP protocol, choosing appropriate protocol and implify it according to the feature and function of the remote monitor system. The data transmission carried out through a series of functions in each layer. TCP/IP is usually a four-layer protocol. For reducing system expense by the data copy, the system operate through indicator,data is upwardly transmisated along the ptotocol stack in the buffer.(5) Puting forward a program about Enthernet, and test the designed TCP/IP protocol. The testing result indicates the embedded TCP/IP protocol’s code running very well and being able to realize the data transmission in the net.
Table of contents
Abstract 4-5
ABSTRACT 5-10
Chapter 1 Introduction 10-14
1.1 Research purpose and meaning 10
the
topic 1.2 Background 10-11
1.3 research status at home and abroad 11-13
1.4 In this paper, the main research content and target 13-14
Chapter 2 embedded the TCP / IP protocol for 14-20
2.1 TCP / IP protocol outlined 14-17
2.1.1 network interface layer 14-15
2.1.2 Network layer 15-16
2.1.3 Transport Layer 16-17
2.1.4 application layer 17
2.2 protocol select 17-18
the 2.2.1 link layer protocol 17
2.2.2 network layer protocol 17-18
2.2.3 transport layer protocol 18
the
the 2.2.4 application layer protocol 18
2.3 embedded TCP / IP 18-19
2.4 This chapter Summary 19-20
Chapter 3 is based on the implementation of the ARM hardware platform 20-29
3.1 system hardware design diagram 20-21
3.2 The main module analysis 21-28
3.2.1 ARM processor core module 21-26
3.2.2 network interface control module 26-28
3.3 This chapter Summary 28-29
Chapter 4 Embedded μC / OS-II operating system 29-37
the
embedded operating system 4.1 Overview 29
4.2 μC/OS- Ⅱ kernel works 29-30
4.3 μC/OS- Ⅱ transplant conditions and basic steps 30-31
4.4 μC / OS-II to the LPC2210 transplant 31-35
4.4.1 transplantation Overview 31-32
4.4.2 μC / OS-II to the LPC2210 transplantation involves the function and file 32-35
4.5 transplantation test 35-36
4.6 This chapter Summary 36-37
Chapter 5 embedded the TCP / IP protocol, Design and Implementation 37-52
5.1 protocol stack of the operating system encapsulation layer 37-38
5.2 protocol stack in the overall data flow diagram 38-39
5.3 Ethernet data frame protocol encapsulation 39-40
5.4 Ethernet data frame agreement decomposition 40-41
5.5 embedded TCP / IP protocol stack program implementation on the LPC2210 41-51
5.5.1 Ethernet frame sending and receiving 41
5.5.2 ARP protocol and its handler to write 41-43
5.5.3 IP protocol realization and preparation handler 43-46
5.5.4 UDP protocol to achieve and handler preparation 46-48
5.5.5 TCP protocol implementation and processing program to write 48-49
5.5.6 ICMP protocol implementation and processing program to write 49-51
5.6 This chapter Summary 51-52
Chapter 6 overall system design and test 52-59
6.1 system structure 52-53
6.2 system design 53-54
6.3 program compile and debug 54-55
6.4 system functional test 55-58
6.5 This chapter Summary 58-59
Chapter 7 Conclusion and Outlook 59-60
7.1 Conclusion 59
7.2 Looking 59-60
the
References 60-64
Appendix 64-74
Acknowledgements 74-75
Author 75
Related dissertations
- Research of Surface Roughness Network Data Collector System Based on ARM
- On the Monitoring System of Samll Hydroelectric Power Station with Embedded Technology
- Refueling machine control device based on IFSF protocol
- Research on Intelligent AC Contactor Controller Based on Industrial Ethernet
- Design and Implementation of a Remote Computer Room Monitoring System
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
- Engine Room Monitoring System Based on the Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- Research on Monitor System for Campus Energy Conservation Based on Internet of Things
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Design of Remote Monitoring System Based on ARM
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable