Research and Implementation of Embedded TCP/IP Protocol Stack

Author
WangWenLiang
Advisor
LiYan
School
Harbin University of Science and Technology
Major
Computer Software and Theory
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2010
Downloads
250
Citations
1

Request the full text

Abstract

LwIP Swiss Computer Sciences set for embedded system development and maintenance of open source TCP / IP protocol stack the characteristics LwIP very save memory resources , under normal circumstances , only need tens of thousands of bytes of random access memory and forty thousand the byte about read-only memory capable of normal operation , which makes LwIP protocol stack suitable for use in low-end embedded systems . However , LwIP did not achieve a complete TCP / IP protocol , Network Address Port Translation (NAPT) is LwIP unrealized characteristics , NAPT is a very important feature , multiple internal network addresses to share the same public IP access external networks. NAPT feature in existing LwIP , embedded real-time operating system uC / OS-II and S3C44B0X processor - based study transplantation LwIP . First , the article describes the TCP / IP protocols , including IP protocol , the TCP protocol , UDP protocol , ICMP protocol and the ARP protocol works , analysis LwIP the IP layer , UDP and TCP layers ; then design the LwIP application system overall structure of the overall structure planning ; Secondly , the uC / OS-II system was ported to the S3C44B0X processor , and to lay the platform foundation for LwIP transplant ; once again , the existing LwIP transplanted to create a good platform to study LwIP operating system simulation realization of the layer and the network interface layer ; Next, detailed analysis of the the NAPT feature original LwIP interface design ideas , design NAPT characteristics of the input processing function and output processing function function and to achieve them . Finally, uC / OS-II in the transplant on S3C44B0X the transplantation the Implementation of LwIP in uC / OS-II and LwIP NAPT feature function testing .

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-15 1.1 research significance and research methods 9-10 1.2 embedded system development status 10-11 1.3 TCP / IP protocol stack development status 11-14 1.3.1 TCP / IP protocol development 11-12 the the 1.3.2 embedded TCP / IP protocol stack Research 12-14 1.4 The research 14-15 Chapter 2 TCP / IP protocol and LwIP analysis 15-25 2.1 TCP / IP protocol 15-20 2.1.1 TCP / IP reference model 15-16 2.1.2 IP protocol 16-17 2.1.3 TCP protocol 17-18 2.1.4 UDP protocol 18-19 2.1.5 ARP protocol 19-20 2.1.6 ICMP protocol 20 The the 2.2 embedded TCP / IP protocol stack Implementation of LwIP 20-24 2.2.1 Implementation of LwIP the IP layer 20-21 2.2.2 Implementation of LwIP the UDP layer analysis 21 the in 2.2.3 Implementation of LwIP TCP layer analysis 21-22 2.2.4 Implementation of LwIP network interface layer analysis 22-24 2.3 This chapter Summary 24-25 Chapter 3 based on uC / OS-II LwIP transplantation method 25-43 3.1 overall structural design 25 3.2 uC / OS-II on the S3C4480X transplant 25-33 3.2.1 uC / OS-II analysis 25-27 3.2.2 uC / OS-II porting achieve 27-33 3.3 LwIP uC / OS-II transplantation 33-42 3.3.1 LwIP operating system emulation layer 34-38 the 3.3.2 network control chip RTL8019AS driver 38-42 3.4 This chapter Summary 42-43 Chapter 4 is based on LwIP NAPT functions 43-51 4.1 NAPT function analysis 43-44 4.2 NAPT design the whole idea described 44 4.3 NAPT in LwIP the interface implementation 44-45 4.4 nat_input Function achieve 45 4.5 nat_output Function achieve 45 4.6 NAPT address translation structure design 45-50 4.6.1 network address translation table structure to achieve 45-49 4.6.2 network address conversion the configuration table structure to achieve 49-50 4.7 This chapter Summary 50-51 Chapter 5 test method design and results 51-57 5.1 hardware platform 51 5.2 integrated development environment described 51 5.3 uC / OS-II running in S3C44B0X test 51-54 5.4 LwIP transplantation test 54-55 the 5.5-NAPT experimental design with the experimental results 55-56 5.6 This chapter Summary 56-57 concluded 57-58 the References 58-61 the studying for a master's degree during the academic 61-62 Acknowledgements 62

Related dissertations

  1. The Research and Implementation of Embedded Gateway of Interconnecting Lon Works with Ethernet
    LiYongZhou ·Xiangtan University ·2005 ·Master's thesis
  2. The Design of Serial Server Based on LM3S8962
    BaiJingJing ·Inner Mongolia University ·2011 ·Master's thesis
  3. Desigen of Weighing Controller Based on LAN
  4. Design of the Embedded Internet Controller Based on STM32
  5. Research and Design of Information Processing System in Interferometric Fiber-optic Sensor
  6. The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
  7. The Research of Process Gas Analysis Instruments Networking
  8. The Design of an Wireless Image Transmission System Based on WIFI
    WangJing ·Xi'an Optics and Fine Mechanics ·2013 ·Master's thesis
  9. The Development and Research of LED Control System in WIFI Environment
  10. Embedded Performance Detecting System for Automotive Switch
    SuXing ·Tianjin University of Technology ·2013 ·Master's thesis
  11. And implementation of artillery information processing design based on LPC2478
  12. Research and Development of the Register Real-Time Monitoring System Based on F28M35x
  13. Design on Some Modules of Permanent Magnet MRI
    PengQiuShi ·Xiamen University ·2014 ·Master's thesis
  14. Study on the Embedded Equipment Monitoring Platform Based on μC/OS-Ⅱ and LwIP
    LuXu ·Chongqing University ·2013 ·Master's thesis
  15. Embedded Web Monitoring System Based on ARM and μC/OS-Ⅱ
    LvYiHui ·Nanchang University ·2012 ·Master's thesis
  16. Design and Implementation of the Module of Uart to Modbus-TCP Client
    WangHuaiKuan ·Anhui University ·2013 ·Master's thesis
  17. Development of Electric Actuators Based on EPA Protocol
    WangWenLiang ·Tianjin University ·2012 ·Master's thesis
  18. The Research of Time Synchronization System Based on IEEE1588
    ZouLei ·Nanjing Forestry University ·2012 ·Master's thesis
  19. Design of Embedded Web Server Based on Cortex-M3
    CaiXiongFei ·Zhejiang University of Technology ·2013 ·Master's thesis
  20. Research and Realization of RTU Networking Based on LwIP Protocol Stack
    ChenChen ·Xi'an University of Petroleum ·2011 ·Master's thesis