The Implementation and Application of TCP/IP Protocols Stack on Embedded System Based on SCM
- Author
- CaoZuo
- Advisor
- WangYaoQing
- School
- Wuhan University of Science and Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 484
- Citations
- 5
- embedded system
- Ethernet
- TCP/IP protocols stack
- multimedia devices with network central control system
Abstract
In this paper, the background and definition of embedded system and Ethernet technology are introduced briefly, and the developping situation of combination of embedded system and Ethernet technology is discussed. Consequently, the importance of researching embedded Ethernet technology and exploiting embedded Ethernet system are explained.According to the actuality at present, there are three solving methods of realizing embedded Ethernet technology being summarized, embedded operating system running on 32 bit CPU, using special chip processing network protocol, micro-controller embedding TCP/IP protocols stack, and analyzes their characters and degrees of difficulty or simplicity and so on, and finally chooses the third method as the design of the system.On the basis of it, this paper puts forward the overall design idea, and designs hardware system and software system in detail:1. Theory of hardware system is given, and concrete configuration and character of 89C52 and inside configuration and registers of RTL8019AS are discussed importantly.2. As the difficulty of design, the core of system, firstly, TCP/IP Reference Model and configuration are analyzed. Secondly, necessary of demultiplexing and encapsulation of data are explained. Then combining the actual application of this embedded system—multimedia devices with network central control system, this paper puts forward micro TCP/IP protocols stack. Finally, every layer of this TCP/IP protocols stack and protocols being used such as ARP, IP, ICMP, UDP are analyzed deeply and in detail, and flow charts of such protocols and software design ideas are proposed.On the basis of overall design, this paper proves the feasibility of micro-controller embedding TCP/IP protocols stack. The actual testing result is given. Then this paper explains actual application of the system in multimedia devices with network central control system. The actual application shows that this embedded Ethenet system can provide multimedia devices with network central control system with availability and promise it communication capability fully.In conclusion, some problems of this system are indicated faithfully. So it is necessary to do further researches for the technology in future.
Table of contents
Summary 3-4
Abstract 4-7
first chapter 7-11
1.1 Ethernet
1.2 Embedded Systems 7
1.3 embedded system with Ethernet combination 7-9
1.3.1 32-bit microprocessor running an embedded operating system 8-9
1.3.2 private network protocol processing chip 9
1.3.3 microcontroller, embedded TCP / IP protocol stack
1.4 topics sources significance 9-10
1.5 content and structure of the thesis 10-11
Chapter II system hardware to achieve 11-19
2.1 hardware interface circuit 11
2.2 embedded microcontroller 89C52 11-12
2.3 RTL8019AS Ethernet controller 12-19
2.3.1 Performance 12-13
2.3.2 internal structure 13
2.3.3 Internal RAM address space allocation 13-14
2.3.4 registers introduced . <br 14-19 /> Chapter TCP / IP protocol 19-25
3.1 network architecture 19-21
3.1.1 the OSI reference model nbsp 19-21
3.1.2 TCP / IP reference model; 21
3.2 division level necessity 21-22
3.3 package 22-23
3.4 23
3.5 CSMA / CD protocol 23-25 ??
Chapter streamline the TCP / IP protocol stack implementation 25-44
4.1 to streamline the TCP / IP protocol stack program determine 25-26
4.2 protocol stack work flow chart 26-27
4.3 data link layer nbsp 4.3.3 RTL8019AS; 27-30
4.3.1 RTL8019AS initialization, 27-28
4.3.2 Ethernet frame format 28
the frame receiving the 28-29
4.3.4 RTL8019AS frame, sending 29-30
4.4 network layer 30-39
4.4.1 Address Resolution Protocol ARP 30-33
4.4.1.1 ARP packet format the 30-32
4.4.1.2 send an ARP request 32-33
4.4 .1.3 ARP response 33
4.4.2 Internet Protocol IP 33-38
the 4.4.2.1 IP packet format 34-36
4.4. 2.2 to send IP packets 36-37
4.4.2.3 received IP packet processing to control 37-38
4.4.3 Internet newspaper Message Protocol ICMP 38 -39
4.4.3.1 ICMP packet format, PING response, PING echo packet format 38-39
4.4.3.2 PING response 39
4.5 transmission layer the 39-44
4.5.1 user data datagram protocol UDP 39-44
4.5.1.1 UDP packet format 40-42
4.5 .1.2 process received UDP packet 42-44
Chapter of the test results and the application 44-47
5.1 part of the design of the remote monitoring computer 44
5.2 test results 44-46
5.3 applications the 46-47 5.3.1 multimedia central control system
46
5.3. 2 multimedia central control system via Ethernet communication 46-47
Chapter VI Conclusion 47-48
Reference 48-50
Acknowledgements 50-51
graduate student papers published 51-52
the Chinese detailed summary 52-55
Related dissertations
- Design of Industrial Ethernet Motion Controller Based on ARM
- Design of Smart Terminal for New Energy Micro Grid of Island
- Design of Remote Power Environment Monitor Based on Ethernet
- The Embedded Ethernet Application in Farmland Information Remote Monitoring System
- Design of CAN Intelligent Controller Based on Linux
- Based Ethernet Multi-Axis Motion Control Systems Research
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- 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
- Design of Remote Control System Based on Ethernet
- 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
- Design of Remote Strain Measurement System Based on FGPA
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Design and Implementation of Multi-channel Data Acquisition System