The Theory of TCP/IP Protocol Stack and Implementation Based on ARM

Author
LiuChi
Advisor
XuXiangYang , YiHongZhou
School
Hunan University
Major
Software Engineering
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2005
Downloads
904
Citations
6

Request the full text

Abstract

With the development of the Internet and the post-PC era, embedded systems become the focus of one of the IT industry has a huge market demand. Internet network of embedded devices become an important network development direction and the inevitable result. Discussions and studies on the TCP / IP protocol in embedded systems, Embedded TCP / IP features, developments and abroad, some of the more mature technology, then the principle of the TCP / IP protocol stack comprehensive analysis of ARM hardware development platforms to achieve a number of the TCP / IP protocol network components is discussed on the basis of the design, and the protocol for network transmission test. According to the test results, the proposed future improvements in the ARM embedded TCP / IP protocol. Obtain the following results: 1. Hardware development platform for the program is based on Samsung ARM44BOX, its core ARM7DMI, which is a 32-bit RISC processor, and Ethernet interface controller chip RTL8019AS. Operating system support, some of the work becomes very heavy, operating system support, including embedded software system boot, peripheral drivers, memory management, interrupt handling. The main driver of the Ethernet interface chip and ARM bootloader start to complete, using C and assembly to programming, and gives the hardware circuit design. 2. Comply with the TCP / IP protocol standard premise, based on real-time embedded systems, flexibility and simplicity characteristic, some protocol in the TCP / IP protocol stack, such as ARP, IP, ICMP, UDP, the TCP and HTTP. The cut, the traditional TCP / IP protocol and some algorithms are also trade-offs and modifications, underscores the real-time nature of these agreements. Dynamically through the network card configuration table to access embedded systems, so as to achieve the requirements of flexibility. Selection of different functional modules, and the component systems to meet the most efficient way, the simple application of the embedded system. In short, in the electronic dictionary, set-top boxes, mobile phones and MP3 and other embedded systems equipment, such embedded TCP / IP protocol, system board, both to improve the speed of data transmission, but also to ensure the correctness of data transmission, as well as extended the effective radius of the data transmission, and apply to the existing network transmission systems, has a broad application prospects, in particular, data acquisition, industrial control and wireless communication.

Table of contents

Abstract 6-7 Abstract 7-8 illustrations Index 8-10 Schedule Index 10-11 <br / > Chapter 1 Introduction 11-15 1.1 embedded system development status 11-12 1.1.1 Embedded System Definition 11 < br /> 1.1.2 Embedded Processor 11-12 1.1.3 embedded operating system development 12 1.2 embedded TCP / IP protocol 12-13 1.3 research background 13 1.4 This article mainly work 13-14 1.5 article organizational arrangements 14-15 Chapter 2 overall design 15-27 2.1 Overview 15 2.2 Design Basis 15-17 2.2.1 Overall program classification 15-16 2.2.2 Existing embedded TCP / IP protocol stack compare 16-17 2.3 TCP / IP works briefly 17-27 2.3.1 network protocol stack 17-23 2.3 .2 Ethernet NIC works 23-27 Chapter 3 embedded system hardware platform 27-38 3.1 ARM Profile 27 3.2 ARM microprocessor applications and features 27-29 3.2.1 ARM microprocessor applications 27 3.2. 2 ARM microprocessor features 27-28 3.2.3 ARM microprocessors working condition 28 3.2.4 ARM architecture memory format 28-29 3.2.5 Instruction length and data type 29 3.2.6 processor mode 29 3.3 Register Organization 29-32 3.3.1 ARM state registers are organized 29-30 3.3.2 Thumb state registers are organized 30-31 3.3.3 Program Status Register 31-32 3.4 Exception 32-35 3.4.1 ARM architecture as support for exception types 32 3.4.2 response to an exception 32-34 3.4.3 return from exception 34 3.4.4 Exception Vector 34 3.4.5 Exception Priorities 34 3.4.6 application exception handling 34 - 35 3.5 The design of the architecture 35 3.6 ARM debugging method developed overview 35-38 Chapter 4 Hardware Design 38-43 4.1 PCB design principles 38-39 4.2 overall hardware description 39-40 4.3 network connection unit 40-42 4.4 Other unit circuit 42-43 Chapter 5 Software Design 43-64 5.1 Development Environmental establish 43-47 5.1. IC language compiler built environment 43-44 5.1.2 Debugging Environment established 44-46 5.1.3 Ethernet data stream monitoring method 46-47 5.2 Software Review 47-48 5.3 program module design 48-64 5.3.1 RTL5019AS Initialization 48-51 5.3.2 read the Ethernet data frames received 51-54 5.3.3 ARP protocol 54-56 5.3.4 ICMP protocol 56-57 5.3.5 IP protocol 57-58 5.3.6 UDP protocol 58-59 5.3.7 TCP protocol 59-62 5.3.8 HTTP protocol 62-64 Chapter 6 System Run Test 64-66 6.1 Software Testing Overview 64-65 6.1.1 unit test 64 6.1.2 Integration Test 64-65 6.1.3 validation testing 65 6.2 Embedded TCP / IP testing main content 65 6 .3 test step 65-66 Conclusion 66-68 References 68-71 Thanks 71-73 Appendix A (study for a degree of academic papers published during the directory) 73

Related dissertations

  1. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  2. Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
    ZhangYanYan ·Dalian Polytechnic University ·2011 ·Master's thesis
  3. The Research for the Engraving Machine Control System Based on ARM and FPGA
    FanJianFeng ·Xi'an University of Engineering ·2012 ·Master's thesis
  4. The Research on Ethernet_based Interface of Embeded Motion Control System
  5. Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
    YangKe ·Hefei University of Technology ·2013 ·Master's thesis
  6. The Crane Remote Monitoring System Based on Embedded Linux Research
    SunZuo ·Tianjin University of Technology ·2013 ·Master's thesis
  7. System Design on Portable Four-channel Data Acquisition
    ZhangZhongKui ·Harbin Engineering University ·2013 ·Master's thesis
  8. Remote Video Monitoring System Based on ARM Processor
    HanDong ·Harbin Engineering University ·2012 ·Master's thesis
  9. The Design of Multi-baghouse Dust-collector Control System
    TangMing ·Guangxi University of Technology ·2012 ·Master's thesis
  10. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  11. The Research of Household Remote Monitoring Based on Embedded Web Server
  12. Remote Monitor System for Oil Wells Working Condition Based on GPRS
  13. Study of Real-time Grid Monitoring System Based-on Complex Event Processing
  14. Engine Room Monitoring System Based on the Embedded Web Server
  15. Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
    ZhouBin ·Central South University ·2013 ·Master's thesis
  16. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  17. Research and Design of Intelligent Video Surveillance System Based on ARM
  18. The Design of Embedded Network Video Surveillance System Based on ARM9
  19. Data Acquisition System of Cavern Based on Embedded Web Server
  20. Research and Design of Remote Monitoring System Based on ARM
    LinFeiLong ·Hunan University ·2014 ·Master's thesis