CN102368754A - S3C6410-based embedded gateway - Google Patents
S3C6410-based embedded gateway Download PDFInfo
- Publication number
- CN102368754A CN102368754A CN2011103092374A CN201110309237A CN102368754A CN 102368754 A CN102368754 A CN 102368754A CN 2011103092374 A CN2011103092374 A CN 2011103092374A CN 201110309237 A CN201110309237 A CN 201110309237A CN 102368754 A CN102368754 A CN 102368754A
- Authority
- CN
- China
- Prior art keywords
- microprocessor
- data
- port
- interface
- parallel port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention relates to an S3C6410-based embedded gateway, which is a system that is designed for realization of data transmission between a plurality of interfaces and an Ethernet port. The gateway comprises a serial port, a parallel port, a U port, an Ethernet interface and a microprocessor. The serial port is used for reception of serial data; the parallel port is used for reception of parallel data; the U port is used for reception of USB bus data; the Ethernet interface is used for communication of Ethernets; the microprocessor is used for realization of an interface conversion protocol. According to the invention, the gateway has characteristics of flexibility, high efficient and intelligentization; and the user is only required to connect corresponded interfaces and then data transmission between different interfaces and an Ethernet port can be realize.
Description
Technical field
The present invention relates to the interfacing field, be specifically related to a kind of embedded gateway based on S3C6410.
Technical background
Along with the high speed development of communication network technology and IC design, be representative with tcp/ip Network Transmission communication protocol, the higher open network communication technology of maturity is permeated to various automated systems, connects and the control all devices.And in Industry Control and various communication apparatus, more but be serial port, LPT, U jaws equipment.Will with the data forwarding of serial port, LPT, U mouth to the network to realize the remote transmission of data, just must use gateway system.The gateway IP(Internet Protocol) converter that is otherwise known as is used to connect the network that adopts different communication protocol, realizes the transfer of data between the network.The present invention proposes a kind of design that realizes the transfer of data between serial ports, parallel port, U mouth and the Ethernet interface based on embedded system.This paper is core with 32 embedded microprocessor S3C6410, and through transplanting embedded OS linux, and exploitation corresponding driving program and application program make up the gateway of a convenience, practicality on linux.
Summary of the invention
For addressing the above problem, the present invention adopts Structured Design, and by serial ports, parallel port, U notch portion, three parts such as protocol conversion part and Ethernet interface are formed.It is in the protocol conversion part of core that the data of serial ports, parallel port, U mouth send to S3C6410 with the form of message; Reception and the translation to this message accomplished in protocol conversion; And be forwarded on the internet through ethernet interface module, finally realize the protocol conversion of serial ports, parallel port, U jaws equipment to Ethernet.
For achieving the above object; The technical scheme that the present invention adopts is: a kind of embedded gateway based on S3C6410; It is characterized in that: comprise serial ports, parallel port, U mouth, Ethernet interface, microprocessor, described serial ports, parallel port, U mouth, Ethernet interface all are connected with microprocessor;
Described serial ports is connected with microprocessor, is used for communicating by letter of microprocessor and serial data;
Described parallel port is connected with microprocessor, is used for communicating by letter of microprocessor and parallel data;
Described mixed-media network modules mixed-media is connected with microprocessor, is used for network service control;
Described microprocessor is used for the realization of interface conversion agreement.
First preferred version of the present invention is it is characterized in that: serial ports comprises two UART controllers that S3C6410 self has.
Second preferred version of the present invention is it is characterized in that: the parallel port is made up of the GPIO of S3C6410.
The 3rd preferred version of the present invention is that it is characterized in that: mixed-media network modules mixed-media comprises DM9000.
The 4th preferred version of the present invention is it is characterized in that: described microprocessor comprises
The ARM11-S3C6410 processor.
Technical conceive of the present invention is: microprocessor is responsible for the reception of serial, parallel, U mouth data, and it is changed, and at last data is sent on the Ethernet through ethernet module.
Technical advantage of the present invention: accomplish the conversion between the distinct interface, the conversion real-time is good, at a high speed, efficiently.
Below in conjunction with accompanying drawing and embodiment the present invention is further described.
Description of drawings
Fig. 1 present embodiment entire block diagram.
Fig. 2 is that the present embodiment microprocessor is connected sketch map with serial ports.
Fig. 3 is that the present embodiment microprocessor is connected sketch map with the parallel port.
Fig. 4 is that the present embodiment microprocessor is connected sketch map with the U mouth.
Fig. 5 is that the present embodiment microprocessor is connected sketch map with Ethernet interface.
Fig. 6 is present embodiment protocol convertor figure.
Embodiment
With reference to shown in Figure 1.The present invention has adopted with the ARM11 processor as CPU, and the function of CPU is the realization of interface conversion agreement.Serial ports, parallel port, Ethernet interface all link to each other with processor.
Fig. 2 is that the present embodiment microprocessor is connected sketch map with serial ports.S3C6410 self just has two uart controllers, they is linked to each other with MAX232 carry out level conversion, just can obtain two standard RS-232 serial line interfaces.
Fig. 3 is that the present embodiment microprocessor is connected sketch map with the parallel port.In the data input process: input equipment is given interface with data and is made " the data input is ready to " simultaneously effectively.When interface is given input buffer register data, make " the data input is answered " signal effective, after peripheral hardware is received answer signal, just cancel " the data input is ready to " and data-signal.Simultaneously, the corresponding positions in the status register (" the data input is ready to ") has
Imitate, inquire about for microprocessor.Certainly, also can adopt interrupt mode, send interrupt requests to microprocessor.Microprocessor is after reading of data, and interface can reset " the data input is ready to " position in the status register automatically.Then, microprocessor gets into next input process.
Fig. 4 is that the present embodiment microprocessor is connected sketch map with the U mouth.USB is a kind of pc interface commonly used, and he has only 4 lines, two signals of two power supplys, so signal is serial transmission, the usb interface is also referred to as serial port, and the speed of usb2.0 can reach 480Mbps.Can satisfy various industry and civilian needs, the output voltage and the electric current of USB interface are: in fact+5V 500mA has error, and maximum can not surpass+/-0.2V 4.8-5.2V just.
Fig. 5 is that the present embodiment microprocessor is connected sketch map with Ethernet interface.Being connected through interfaces such as MII, RMII of mac controller and PHY realizes.In IEEE802 consensus standard series, data link layer comprises LLC and MAC two sub-layer.Wherein MAC is responsible for accomplishing encapsulation, deblocking, transmission and the receiving function of Frame.The structure of physical layer PHY has certain difference along with the difference of transmission rate.MII is the interface that connects data link layer and physical layer.According to agreement, the function that requires the MII interface to have has: the read/write clock synchronization of data and frame separator; Independently read/write data passage is provided; For MAC layer and PHY layer provide corresponding management and support full-duplex mode, for networks such as 10BaseTest, from the output of Ethernet PHY chip is exactly to transmit required differential signal.But, also needing a network isolation transformer, network isolation transformer can play effects such as suppressing common mode disturbances, isolation circuit and impedance matching.
Fig. 6 is present embodiment protocol convertor figure.At first serial ports, parallel port, U mouth data are distinguished, be packaged into different forms, then data to be sent are encapsulated framing by the frame format requirement, send on the transmission line of network through network interface card then according to different interface data.
Claims (5)
1. embedded gateway based on S3C6410, it is characterized in that: comprise serial ports, parallel port, U mouth, Ethernet interface, microprocessor, described serial ports, parallel port, U mouth, Ethernet interface all are connected with microprocessor;
Described serial ports is connected with microprocessor, is used for communicating by letter of microprocessor and serial data;
Described parallel port is connected with microprocessor, is used for communicating by letter of microprocessor and parallel data;
Described mixed-media network modules mixed-media is connected with microprocessor, is used for network service control;
Described microprocessor is used for the realization of interface conversion agreement.
2. a kind of embedded gateway based on S3C6410 according to claim 1 is characterized in that: serial ports comprises two UART controllers that S3C6410 self has.
3. a kind of embedded gateway based on S3C6410 according to claim 1, it is characterized in that: the parallel port is made up of the GPIO of S3C6410.
4. a kind of embedded gateway based on S3C6410 according to claim 1, it is characterized in that: mixed-media network modules mixed-media comprises DM9000.
5. a kind of embedded gateway based on S3C6410 according to claim 1, it is characterized in that: described microprocessor comprises the ARM11-S3C6410 processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103092374A CN102368754A (en) | 2011-10-13 | 2011-10-13 | S3C6410-based embedded gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103092374A CN102368754A (en) | 2011-10-13 | 2011-10-13 | S3C6410-based embedded gateway |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102368754A true CN102368754A (en) | 2012-03-07 |
Family
ID=45761304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103092374A Pending CN102368754A (en) | 2011-10-13 | 2011-10-13 | S3C6410-based embedded gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102368754A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104158793A (en) * | 2013-05-14 | 2014-11-19 | 山东交通学院 | Method and apparatus for intelligent control of conversion of data protocols |
CN104868987A (en) * | 2014-08-23 | 2015-08-26 | 深圳键桥通讯技术股份有限公司 | Data synchronization method based on set-card separation-type gateway device |
-
2011
- 2011-10-13 CN CN2011103092374A patent/CN102368754A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104158793A (en) * | 2013-05-14 | 2014-11-19 | 山东交通学院 | Method and apparatus for intelligent control of conversion of data protocols |
CN104868987A (en) * | 2014-08-23 | 2015-08-26 | 深圳键桥通讯技术股份有限公司 | Data synchronization method based on set-card separation-type gateway device |
CN104868987B (en) * | 2014-08-23 | 2018-05-01 | 深圳键桥通讯技术股份有限公司 | Method of data synchronization based on separation between machine and card formula gateway apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102833112A (en) | Communication management machine having looped network function | |
CN204928889U (en) | Many interfaces protocol converter | |
CN103095703B (en) | A kind of method, equipment and system realizing network and serial port data interactive | |
CN105051706A (en) | Device, method and system for operation of a low power PHY with a PCIe protocol stack | |
CN105516142A (en) | Mutual communication method in smart power system | |
CN201571081U (en) | CAN bus and serial port bus protocol converter | |
CN102053935A (en) | MODBUS serial communication protocol-based communication method | |
CN108111494A (en) | A kind of protocol conversion apparatus of 1553B buses and FlexRay buses | |
CN105262789A (en) | FPGA (Field Programmable Gate Array)-based MAC (Media Access Control) layer to MAC layer communication system and control method | |
CN203167301U (en) | Gatewayconverting WiFi to ZigBee | |
CN107547475A (en) | A kind of data processing equipment and its system for supporting more communication protocol conversions | |
CN202309757U (en) | S3C6410-based embedded gateway | |
CN202395811U (en) | Protocol conversion device used for intelligent BMS | |
CN102368754A (en) | S3C6410-based embedded gateway | |
CN201118612Y (en) | Network communication controller with multiple uplink interface communication mode | |
CN202331173U (en) | Industrial controller and industrial network control system | |
CN103546485B (en) | Network card for DC600V train power supply device | |
CN207995122U (en) | A kind of multi-protocols intelligent gateway based on narrowband Internet of Things | |
CN101860410B (en) | Communication system of cross station spread cable interface | |
CN102336355A (en) | Elevator monitoring system | |
CN202334587U (en) | Gateway device for mutual conversion of messages of buses | |
CN202918326U (en) | Intelligent multi-serial switch | |
CN209345193U (en) | A kind of multi-protocol interface turns Ethernet interface engineering device technique field | |
CN202282789U (en) | SOE (SERCOS OVER EtherCAT) communication conversion card for servo driver | |
CN201820120U (en) | Self-adapting multibus execution mechanism controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120307 |