Design and Research of a Ethernet-CAN Gateway Based on ARM
- Author
- TangXiaoShuai
- Advisor
- ZhangMinRui
- School
- Xi'an University of Science and Technology
- Major
- Communication and Information System
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 94
- Citations
- 0
Abstract
The military aircraft load weapons through bomb rack. How to design a safe, accurate, and effective bomb rack, and ensure it loaded on the combat aircraft works stablely is very important. When in the experimental field, the different parts of parameter datas are collected through the node of CAN(Controller Area Network)and then transfer to control center. At the same time the computers under the authority in a local area network in the control center can make the entire experiment under a long-range control and on-site inspection. How to transmit datas form CAN to the the LAN, and achieve the interconnection of the two different networks has an important significance of military applications. This topic was just specific to this application and gives the design scheme.After studying over the theories of Ethernet and CAN, this topic proposes a design based on ARM-Linux for the interconnection of CAN and Ethernet, In hardware design, we use a 32-bit S3C2440A40-YQ8N industry class processor as the core chips It contains MMU to support Linux. In software we use Linux to reduce the difficulty of program development. We design various interface circuits under the scheme. The software design includes the configuration, migration of Linux, and we write hardware-driven for CAN controller and CAN applications to achieve the data communication of the CAN module. We use the existing CS9800 card driver in the Linux kernel selected and achieve the data communication of the network module through socket based on Linux TCP/IP protocol stack.
Table of contents
Abstract 2-3
ABSTRACT 3-6
1 Introduction 6-10
1.1 of this topic background 6-7
the
of 1.2 industrial Ethernet related research status at home and abroad 7-8
1.3 papers main contents and arrangement 8-10
2 related technical foundation Overview 10-20
2.1 Embedded Systems Overview 10-12
2.2 Ethernet related technologies 12-16
2.2.1 Linux under the TCP / IP technology 12-14
2.2.2 Ethernet frame structure and working principle 14-16
2.3 fieldbus CAN technology 16-18
2.3.1 CAN Technical Overview 16-17
2.3.2 fieldbus CAN message format 17-18
2.4 Ethernet-CAN gateway protocol conversion and works 18-20
the
embedded gateway overall design program 20-30
3.1 hardware platform design 20-27
3.1.1 ARM master chip selection 21-23
3.1.2 power module design 23-24
3.1.3 clock reset circuit module design 24
3.1.4 Ethernet interface module design analysis 24-25
3.1.5 CAN interface module design analysis 25-26
3.1.6 SDRAM, FLASH, JTAG and serial port module design analysis 26-27
3.2 system software design 27-30
the
the 3.2.1 Gateway software design requirements analysis 27-28
the 3.2.2 Gateway software design 28-30
4 Ethernet-CAN gateway hardware design 30-38
4.1 power supply circuit and reset circuit design 30-32
4.2 Ethernet module interface circuit design 32-33
4.3 CAN module interface circuit design 33-35
4.4 JTAG debug circuit design 35-36
4.5 of serial circuit design 36
4.6 SDRAM interface part of the design 36-38
5 Ethernet-CAN gateway software design 38-57
the establishment of a cross-compiler environment
5.1 38-39
5.2 system bootloader Bootloader 39-40
5.3 Liunx operating system the transplantation and configuration 40-42
5.4 CAN character device program development 42-48
5.4.1 CAN device driver module development 42-45
5.4.2 CAN device application design 45-47
5.4.3 CAN the module data communications test 47-48
5.5 Linux network programming 48-57
5.5.1 Network Device Interface implementation under Linux 48-52
5.5.2 socket programming 52-56
5.5.3 host computer gateway communications test 56-57
6 summarizes 57-58
Acknowledgements 58-59
the
References 59-60
Related dissertations
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Engine Room Monitoring System Based on the Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Design of Remote Monitoring System Based on ARM
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Study on Embedded Data Acquisition System Application
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Design of Remote Strain Measurement System Based on FGPA
- Industrial Field Data Acquisition System Design Based on CAN Bus
- The Automatic Measurement System for Plumb-line
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
- The Design of Four-channels High Speed Data Acquisition System Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9