MODEM interface, Ethernet interface and communication expansion board design and implementation

Author
ChangXinHua
Advisor
LiuXiaoXian
School
Shandong University
Major
Signal and Information Processing
Classification
TP393.11 Ethernet
Degree
Master's thesis
Year
2005
Downloads
242
Citations
2

Request the full text

Abstract

With the technical development of Internet, more and more embedded equipments based on low cost microprocessor of 8-bit or 16-bit MCU , have begun to tend towards network.All these equipments inevitably faced a problem of how to connect with the bottom layer of Internet effectively in the course of building network.The Fiscal Cash Register(FCR) is a typical low-end embedded product based on 16-bit MCU ,which need to communicate with Internet .Now most FCR use IC card ,which has its own microprocessor,to save the information of declare data and invoice data at the FCR after security authentication. It need manual work to submit the IC card to department of revenue ,then to transmit data at the card to managing system of FCR. The disadvantage of this method is its inconvenience ,slowness and high cost of manpower and traffic.The widely use of Internet make it possible to transmit data through network at high speed.But we faced a question of how to connect with Internet effectively.There are three methods to choose.The first one is to add network interface on the main board of FCR.It is duty of FCR’S MCU to implement various protocols needed in the course of transmitting through Internet.However,it is very complicated to realize these protoclos . it will not only greatly increase the burden of MCU of FCR but also enhance the request of resources on the chip or out of the chip of MCU.In addition,it will influence the realization of normal function of FCR. The second choice is to add separate intelligent module on the main board .Transmitting protocols were completed by intelligent module.but this will add considerable cost of FCR.The user of FCR are very sensitive to the rise of price.It will bring disadvantageous impact on sale. The third choice is to connect with a communication equipment or a microcomputer.In this way,data will be transmitted to exterior facilities and then be transmitted to the remote by it.But such equipments usually cost very much and some even cost higher than FCR self.So it will be of practical value to design a special extended communication board ,which has characteristics of low cost,high stablization and will not occupy the resourses of system of FCR and not affect the reliability of normal function of FCR.Because FCR ususlly have a little data to transimt and require lower speed.Toreduce the cost of board ,the Data Communicating Board was designed to communicate using R1120 .16-bit Singlechip.to control RTL8019AS Ethernet Controller and 73M2901 MODEM interface chip.which can connect Internet both through telephone line and LAN.Using RS232 serial port ,The board can accurately exchange data with FCR by protocol defined by ourself. FCR can connect Internet by the board. Costs of hardware and software of the board will be greatly reduced by simplifying protocols of TCP/IP x PPP and so on .The simplified protocols such as PPP.Ethernet,TCP/IP,ICMRARP were written by R1120 assemble language,which is compatible with 80C186 MCU.In the end.we adopted separately MODEM module with 56k communication speed.This farther improved the speed and stablization of communication through telephone line to Internet.In the system of Fiscal Cash Register Data Transfered Through Internet.the communication board took on some duty of FCR and acted as a client terminal to connect with remote server.The board acted as one of a crucial part in the item of ’Declare System Through Internet of Ficial Cash Register’.It was identified by committee of Technology Bureau of ShanDong Province.Experiments prove that The board has characteristic of high efficiency.stabilization and cheapness .At presentthe board was used in Commercial Co.Langchao Group.lt worked stably and transmitted data exactly.

Table of contents

Chinese Abstract 6-8 ABSTRACT 8-10 symbol abbreviation 10-12 an introduction 12-16 <br / > 1.1 embedded technology development status 12-13 1.2 topics sources 13 1.3 research purpose and meaning 13-14 1.4 argument topics and subjects main content 14-16 two system solutions 16-19 2.1 system Specifications 16 2.2 communication board systems solutions 16-19 2.2.1 communication board to communicate with the Internet four levels 17-18 2.2.2 communication board data transfer process 18-19 < br /> 2.2.3 Fiscal machine and the remote server client-server model 19 2.2.4 communication board system processes 19 three communication board device selection 19-24 3.1 R1120 sixteen microcontroller 19-20 3.1.1 R1120 structural features 19-20 3.1.2 R1120 basic application system modules diagram 20 3.2 ethernet controller RTL8019AS 20-23 3.2.1 RTL8019AS internal structure and function 21-22 3.2.2 RTL8019AS work processes and internal register settings 22-23 3.2.3 RTL8019AS internal RAM address space allocation and I / O address assignment 23 3.3 MODEM chip 73M2901 23 - 24 four communication board hardware circuit design 24-33 4.1 power Module 24 4.2 power-on reset module 24-26 4.3 memory Module 26 4.4 serial port communication module 26-27 4.5 R1120 processor control module 27-29 4.6 ethernet Interface Module 29-31 4.6.1 hardware circuit 29 4.6.2 ethernet interface hardware configuration 29-31 4.7 MODEM Interface Module 31-33 4.7.1 MODEM interface hardware design and work processes 31-32 4.7.2 MODEM dial-up process 32 4.7. three problems encountered in the practical application of 73M2901 32 4.7.4 MODEM interface hardware for communication board improvements 32-33 five communication board software design 33 - 55 5.1 MODEM interface physical layer software design 33-35 5.2 PPP data link layer software design 35-45 5.2.1 PPP link establishment 36-41 5.2.2 ISP login negotiation process 41 5.2.3 PPP link debugging problems 41-42 5.2 .4 communication board to establish a PPP link with ISP specific examples 42-45 5.3 ethernet network interface layer software design 45-48 5.3.1 packet reception 45-46 5.3.2 packet 46-47 5.3.3 driver chip initialization step 47 5.3.4 receive and send data process 47-48 5.4 micro embedded TCP / IP protocol stack implementation 48-55 5.4.1 communication board TCP / IP protocol stack features 48 -49 5.4.2 ARP mapping table maintenance 49 5.4.3 IP protocol simplifies implementation 49-51 5.4.4 ICMP protocol simplifies implementation 51 5.4.5 stop reliable transport protocols such as 51-52 5.4.6 TCP connection state reduction 52-53 5.4. 7 communication board micro TCP / IP protocol stack architecture 53-54 5.4.8 simplified TCP / IP protocol processing 54-55 six tax ??control machines and communication board serial communication 55-59 6.1 serial communication overall program 55 6.2 communication board and tax control machine and server communication protocol and command format 55 -59 seven conclusions and practical application 59-60 Conclusion 60-61 Appendix 61-65 1 communication board schematic 61-63 2 communication board photo 63 3 test equipment and components 63-65 References 65 - 68 Thanks 68-69 papers published during the study for a degree and research 69-70 thesis reviewers and the respondent Fact Sheet 70

Related dissertations

  1. The Research of Embedded-System Connecting to the Internet by Dialing
  2. The Measurement and Application of RMB Equilibrium Exchange Rate
    YeJun ·Nankai University ·2013 ·Doctoral dissertation
  3. Re-Examination of the PPP Theory
  4. Privatization under the perspective of PPP postal service reform in Xi'an postal convenience station as an example
    HanGao ·Northwestern University ·2013 ·Master's thesis
  5. Research on the Method of Calculating PSC in China
    LiJiaZuo ·Tsinghua University ·2011 ·Master's thesis
  6. PPP Financing Model Research of Chongqing’s Public Rental
    WangQin ·Chongqing Jiaotong University ·2012 ·Master's thesis
  7. Discussion of Jiangxi Ganzhou security housing construction and mode of financing difficulties
    ZengYunLin ·Jiangxi University of Technology ·2013 ·Master's thesis
  8. Design and Implementation of Dial-up Network Accessing System on Smart TV Terminal
  9. Research on High-speed Data Transmission System of Logging Cable
    HouYongChun ·Xi'an University of Petroleum ·2013 ·Master's thesis
  10. The High-speed Radio Station Modem Design Based on OFDM
  11. Research and Design of High-Speed PLC Modem
    ZhangLei ·Chang'an University ·2013 ·Master's thesis
  12. The Research on M-QAM Signals Demodulation Algorithm
  13. The International Comparison of Machinery and Equipment and the Methods
    XiaoLiLi ·Dongbei University of Finance ·2013 ·Master's thesis
  14. The Allocation Research of Utilities Charging Role under PPP
    YuQingSong ·Shanghai Jiaotong University ·2013 ·Doctoral dissertation
  15. The study of contemporary China public-private cooperation medical service
    ChenLong ·Yunnan University ·2013 ·Doctoral dissertation
  16. The Effects and Mechanisms of IGF-1and Inhibitor PPP on the Growth and Invasion of HCC
    EChangYong ·Jilin University ·2013 ·Doctoral dissertation
  17. Construction International Comparison and Approach Studies
    ZhangYiJuan ·Dongbei University of Finance ·2013 ·Master's thesis
  18. Study on Investment and Financing Efficiency and PPP Application in Liaoning Province Rural Water Infrastructure
    LiuQuanZhi ·Shenyang University of construction ·2013 ·Master's thesis
  19. Risk Evaluation of Urban Rail Transit Project Based on PPP Mode
    ZhangZuo ·Tianjin University ·2012 ·Master's thesis
  20. Theory and Method o Multimode GNSS Real-time Refinement Ionospheric Modeling and Its Application
    ZhangRui ·Wuhan University ·2013 ·Doctoral dissertation