TCP/IP Implementation and Optimization Based on F2812DSP

Author
LiuMing
Advisor
CaoDanHua
School
Huazhong University of Science and Technology
Major
Physical Electronics
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2008
Downloads
235
Citations
6

Request the full text

Abstract

With the success of the Internet, the TCP/IP protocol stack has become a global standard for communication. TCP/IP is the underlying protocol used for web page transfers, e-mail transmissions, file transfers and etc. For embedded systems, being able to run TCP/IP makes it possible to connect the system directly to the global Internet.This paper uses TI’s F2812DSP as the controller of the embedded system. The chip has both digital signal processing capabilities, but also has strong management capabilities and embedded control functions. With the expansion of the ethernet controller Ax88796 through F2812DSP’s external interface and the transplantation of the TCP/IP protocol stack, we achieved communication solutions of the system. This scheme is powerful, versatile, and provides a good reference for communication solutions of other embedded systems.In the aspect of Ax88796 driver developmemt, reading and writing timing of Ax88796 are analyzed. Timing match design according to F2812DSP’s external interface timing is also implemented. Ethernet frame can be sent and received by using the interrupt way.All of this hides the details of lower hardware for upper protocols. The overflow process of Ax88796 is handled and network’s link status is checked by using the timer. If anything wrong, the system is restored. The system has good fault-tolerant and self-healing ability.In the aspect of the transplantation of the TCP/IP protocol stack,this paper uses the open-source embedded protocol stack uip1.0. Through cutting and transplantation, we implement the IP、ARP、ICMP and TCP protocols. We optimize the protocol stack and program the checksum calculation using assembly language. Based on PC’s TCP software tesing tools and the network protocol analysis tool Sniffer,we implement strict tests for ARP、the ICMP Ping function、TCP connection, release and data transmission. Test results show that the protocols we have implemented run stably and reliably,have essential features of the TCP/IP stack ,and can seamlessly connect to the Internet.

Table of contents

Abstract 4-5 ABSTRACT 5-7 1 Introduction 7-14 1.1 related fields and research status 7 -11 1.2 significance of this topic and research 11-13 1.3 thesis choreography 13-14 2 overall system design 14 - 24 2.1 F2812DSP based controller platform 14-18 2.2 Ax88796 network controller based communications solutions 18-20 2.3 system Architecture Design 20-24 3 Ax88796 NIC driver development 24-33 3.1 timing analysis and design 24-26 3.2 NIC driver development 26-33 4 TCP / IP protocol stack implementation and optimization 33-55 4.1 TCP / IP protocol stack theory 33-44 4.2 TCP / IP protocol stack implementation and optimization on F2812DSP 44-55 5 system testing and results analysis 55-66 5.1 system test 55-63 5.2 analysis 63-66 6 Summary and Outlook 66-67 Thanks 67-68 References 68-71 Appendix 1 part of the source code 71-77 Appendix 2 F2812DSP profile 77

Related dissertations

  1. Design and implementation of Embedded Ethernet interface based on DSP
  2. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  3. Intelligent Video Surveillance System Based on DSP
  4. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  5. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  6. Design and Implementation of Multi-channel Data Acquisition System
  7. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  8. Wire Rope On-line Detection System Design Based on DSP
  9. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  10. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  11. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  12. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  13. Control Method Research and Controller Development of AGV Based on DSP
    SunXiaoMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Research on Tension Control System of Fiber Placement Machine
    LiuJiCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
  16. Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
  17. Modeling and Implementation of Motor Function Module Based on PLCopen
  18. The Design and Research of Embedded Multi-axis Control System
  19. Design of the Measure and Control Terminal Based on EtherCAT Fieldbus
    YuZhang ·South China University of Technology ·2013 ·Master's thesis
  20. Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
    HuDongXuan ·Zhejiang Sci-Tech University ·2014 ·Master's thesis