Private Serial Port Switch Design Based on Embedded Linux

Author
WangHaiYong
Advisor
ZhangMing
School
Nanjing University of Aeronautics and Astronautics
Major
Measuring Technology and Instruments
Classification
TN915.05 Communication network equipment
Degree
Master's thesis
Year
2012
Downloads
98
Citations
0

Request the full text

Abstract

This paper focuses on the communication module used in vehicle testing system.Some problemsare solved in this paper. Generally speaking, in order to realize the multiple equipments connection,multiport serial port boards should be added on conventional RS-232C serial communication systems.Only in this way, the numerous intelligent devices and remote host can be connected. However, thedata will become unrealiable in the long-distance transmission by serial communication system, andthe serial communicating net which based on the RS-232C will be much complicated. In this paper, anembedded serial port switch is designed based on ARM9and Linux, which can connect the currentintelligent devices to the Internet to accomplish the function of long-distance transmission/datacollection and control, etc.The system designed in this paper can receive data from eight serial ports and through processingthe data can be used for translating in the ethernet. Futhermore, the system allows user receiving thedata from ethernet and send to the certain serial ports by unpack, analysis, scheme transition, decision.Transparent transmission between serial terminal data and TCP/IP will be realized.Contents of this paper including:1. Detailed design of the system is developed through the analysis of the embedded serial portsexchange requirements. Embedded systerm-Linux and S3C2440A (by SUNSANG) are employedwithin the operation system.2. Hardware circuit design. The overall outline of the hardware degin is proposed, and the systemhardware is divided into four parts: processor module curcuit design, ethernet IO module curcuitdesign, serial extensional module curcuit design and communication isolation module design.3. Construction of the embedded system. Device drvier programming is emphsised and uboottransplant, Linux transplant, root file development are also involved.Ultimately, an operating platformis developed for specified embedded serial interface and provides an essential condition for the debugoperation of the application program.4. Software design. A specified program which focus on the embedded serial interface exchangeserver is developed based on Linux. And a client API function is proposed based on Windows socketwhich can provide a secondary development to the users.

Table of contents

Summary 4-5 ABSTRACT 5-13 first chapter 13-30 1.1 research background and significance 13 1.2 Overview of industrial control network technology 13-19 1.2.1 asynchronous serial communication network 14-16 1.2.2 fieldbus and industrial control networks data exchange technology 16-17 1.2.3 switched control network technology 17-19 1.3 Ethernet LAN technology Overview 19-22 1.3 .1 basic topology Ethernet LAN 19-21 basic data 1.3.2 Ethernet switching equipment 21-22 1.4 vehicle inspection station computer network control system 22-24 1.4.1 distributed computer Control systems 22-24 1.4.2 control System LAN networking 24 1.5 Overview of embedded systems embedded Linux systems 24-27 1.5.1 ARM-based processor 24-25 1.5.2 Introduction to embedded Linux systems Network 25-27 1.6 sources and topics goals 27-29 1.7 work with major sections of this paper is organized studies 29-30 overall system design of the second chapter of 30-33 2.1 functional Description 30-31 2.2 system software and hardware design 31-32 2.3 Summary 32-33 The third chapter dedicated serial port switch hardware circuit design 33-50 3.1 system hardware overall framework 33-34 3.2 core board hardware circuit design 34-40 3.2.1 S3C2440 processor introduced 34-35 3.2.2 processor necessary circuit design 35-37 3.2.3 peripheral processor circuit design 37-40 3.2.4 core board and backplane interface circuit design 40 3.3 underlying hardware circuit board design 40-49 3.3 .1 Ethernet interface circuit module design 40-44 3.3.2 serial port expansion circuit module design 44-47 3.3.3 RS-232C to RS-422 converter circuit module design 47-48 3.3.4 serial print console circuit design 48 3.3.5 communications isolation module circuit design 48-49 3.4 Summary build 49-50 fourth chapter dedicated switch port embedded systems 50-66 4.1 cross tool chain fabrication and installation 51 <br / > 4.2 embedded BOOTLOADER production 51-54 4.2.1 BootLoader transplant 51-54 4.3 embedded LINUX kernel production 54-64 4.3.1 embedded kernel customization and tailoring 54-56 4.3.2 16C554A serial driver design 56-61 4.3.3 DM9000AEP NIC driver programming 61-64 4.4 embedded root file system produced 64-65 4.5 build is complete embedded system development environment 65 4.6 Summary 65-66 fifth chapter dedicated serial port switch software design 66-79 5.1 system software Architecture 66-67 5.2 TCP / IP protocol to achieve data transfer mechanisms achieve 67-69 5.3 embedded Serial switch dedicated server program 69-75 realize 5.3.1 server communications method implementation 69-70 5.3.2 Linux in serial communication 70-72 5.3.3 multithreaded programming 72-75 <br / > 5.4 PC platforms to achieve the client program 75-78 5.4.1 client communications implementation mechanism 75-76 5.4.2 client programming 76-78 5.5 Summary experimental study 78-79 sixth chapter dedicated serial port switch 79-83 6.1 hardware physical map 79 6.2 LAN networking 79-80 6.3 PC dedicated switches and serial line debugging 80-82 6.4 Summary 82-83 Chapter VII summary and Outlook 83-85 7.1 Full Summary 83-84 7.2 the next step 84-85 <br / > References 85-88 Thanks 88-89 research and published during the school 's academic 89

Related dissertations

  1. The Design and Implementation of Wireless Indoor Monitoring Alarm System Based on ARM9
  2. Design of Intelligent Household Security and Alarm System Based on ARM9
    XuLiLi ·University of North ·2014 ·Master's thesis
  3. The Design of the Platform for Environmental Monitoring Based on ARM9
    WangChuanMiao ·Hunan University ·2012 ·Master's thesis
  4. Research and Implementation of Meteorological Monitoring System Based on ARM9
  5. Research of120Emergency Vehicle Terminal Multi-channel Data Acquisition System Based on Beidou Navigation Satellite System
  6. Embedded Network Monitoring System Based on ZIGBEE
  7. Development of Small Smart Controller Software Technology Based on ARM9
    HuShu ·Hebei University of Technology ·2013 ·Master's thesis
  8. Design Based on Industrial Ethernet Network Adapter
  9. Vacuum Oil ARM9-based Control System Design
  10. Based on Wireless Sensor Network Guest Rooms Control System Design
  11. Research on Intelligent Monitoring System in Grain Situation Based on Bp Neural Network
    ZhouGuang ·Shenyang Ligong University ·2013 ·Master's thesis
  12. Design and Implementation of Target Tracking System Based on ARM9
  13. Research of Movingtarget Videotracking System Based on S3C2440
  14. Design and practice of embedded electronic eyepiece
  15. The Research and Design of Intelligent Supermarket Guide System Based on ZigBee and ARM9
    SuWen ·Chinese Geology University (Beijing) ·2014 ·Master's thesis
  16. Design and Research of Intelligent Automatic Electrolyte Analyzer
  17. Design of Intelligent Sow Feeding Management System
    ZuoYing ·University of North ·2014 ·Master's thesis
  18. Meter Based on Smart Meter Based on Embedded System
  19. Development of Household Electricity Intelligent Management Center Based on ARM
  20. Design and Implementation of Climate Compensator Based on ARM9