Research and Implementation of Embedded TCP/IP Based on Single-chip-computer
- Author
- GuanLiRong
- Advisor
- XuHui
- School
- Shenyang University of Technology
- Major
- Measuring Technology and Instruments
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 703
- Citations
- 8
Abstract
Along with development and popularization of computer technology and network technology, pocket embedded equipment with single-chip computer have already applied extensively in industrial automation, official automation and building automation etc.To realize the long-distance data-collected, control and so on, the network has become a trend of the development of new generation embedded system. It has important realistic significance and economic value to research the connection of embedded system and Internet.A method, which achieved the connection of network card chip RTL8019AS of ISA of Realtek Inc and Internet, is given in the paper.The network card chip is controlled by 8-bit single-chip computer P89C51RD2 of Philips Inc. The interface of Ethernet network is designed in hardware and the driver of network card control and TCP/IP protocol is designed in software.The paper includes the introduction of characteristic of P89C51RD2 microcomputer, the reason of choosing network card chip RTL8019AS, giving the circuit of hardware interface and the explanation of mostly periphery parts.The design of the driver of network card is introduced in the paper. The interior structure of network card chip, the main pins, the frame format of Ethernet, the principle of receive &send data package, the operation of DMA are described in detail and the flow chart of program is also given out.TCP/IP is an ensemble of many protocols. Considering the limited resource of 8-bit single-chip computer, some functions are reduced to allow single-chip computer to go internet but TCP/IP protocol and package format are explained in particular. The work flow of system and the flow chart of each TCP/IP module are given out, too.The connection of single-chip computer and Internet is research in this paper and the result shows that it is feasible. It can provide data for long-distance data-collected, diagnosis, software upgrade, etc. It can be turn into reality.
Table of contents
Abstract 4-5
Abstract 5-9
1 Introduction 9-12
1.1 embedded systems 9-10
9
1.1.2 embedded system features 1.1.1 embedded systems concept 9-10
1.2 topic Background <br / > 1.2.1 embedded systems everywhere 10
1.2.2 embedded systems networking is an inevitable trend 10
1.3 subject to achieve the objectives and significance 10-12
1.3.1 subject to achieve 10-11
1.3.2 subject significance 11-12
2 TCP / IP protocol Profile -21
2.1 TCP / IP protocol hierarchy 12-13
2.2 the TCP / IP protocol encapsulation and sub- 13-14
2.2.1 What is a package 13
2.2.2 What is a sub- 13-14
2.3 message format 14-21
2.3.1 Ether Network frame format 14
2.3.2 ARP Address Resolution packet format 14-15
2.3.3 IP Internet control message format 15-16
2.3.4 ICMP Internet Control Message Protocol format 16-17
2.3.5 UDP User Datagram Protocol format 17-18
2.3.6 TCP transmission control protocol packet format 18-21
3 overall design 21-24
3.1 hardware design 21-22
3.1.1 hardware interface block diagram 21
3.1.2 MCU selection 21-22
3.1.3 Ethernet controller to select 22
3.2 software design 22-24
hardware constitute 24-30
4.1 RTL8019AS, Introduction 24-28
4.1.1 internal structure 24-25
4.1.2 pin functions 25-26
4.1.3 RTL8019AS, the DMA operation 26-28
4.2 components description 28-30
RTL8019AS, driver design 30-34
5.1 RTL8019AS, initialization 30-31
5.2 received buns procedures 31-32 <br / > 5.3 subroutine contract 32-34
6 the TCP / IP protocol design 34-54
6.1 ARP module design 34-37
6.2 IP module design 37-38
6.3 ICMP module design 38-40
6.4 UDP module design 40-41
6.5 TCP module design 41-54
conclusions 54-55
References 55-58
Appendix A P89C51RD2 RTL8019AS interface schematic diagram 58-59
60 the outcome of the study 59-60
thank
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
- Design and implementation of Cortex-M3 core microcontroller based on embedded Web server
- Research on Remote Debugging System of Excitation Device
- Research and Development of Embedded System Interface
- Research and Implementation of eight single-chip Ethernet access
- Design and Implementation of Remote Login Control System Based on Modem Technology
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Research and Application on the Remote Intelligent Monitoring System of Grain Depot
- Automation Measuring System for Water Supply Based on GPRS
- 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