Sollae Systems CSE-M53 Manuel utilisateur

Taper
Manuel utilisateur
Sollae Systems Co., Ltd.
http://www.ezTCP.com
Embedded Serial-Ethernet Converter
CSE-M53 User Manual
Version 2.3
CSE-M53 User Manual Ver. 2.3
- 1 -
http://www.ezTCP.com
This symbol, found on your product or on its packaging, indicates that this
product should not be treated as household waste when you wish to dispose
of it. Instead, it should be handed over to an applicable collection point for the
recycling of electrical and electronic equipment. By ensuring this product is
disposed of correctly, you will help prevent potential negative consequences to the
environment and human health, which could otherwise be caused by inappropriate disposal
of this product. The recycling of materials will help to conserve natural resources. For more
detailed information about the recycling of this product, please contact your local city
office, household waste disposal service or the retail store where you purchased this
product.
This equipment obtained certification by using 1.5M serial cable.
CSE-M53 User Manual Ver. 2.3
- 2 -
http://www.ezTCP.com
Contents
1 Overview .................................................................................................................................. - 5 -
1.1 Overview ................................................................................................................................................................ - 5 -
1.2 Main Features ...................................................................................................................................................... - 5 -
1.3 Application Examples ....................................................................................................................................... - 6 -
1.4 Components ......................................................................................................................................................... - 7 -
1.5 Specification ......................................................................................................................................................... - 8 -
1.5.1
Hardware ...................................................................................................................................................... - 8 -
1.5.2
Software ........................................................................................................................................................ - 8 -
1.5.3
Demension ................................................................................................................................................... - 9 -
1.5.4
Pins ............................................................................................................................................................... - 10 -
1.5.5
Voltage Features .................................................................................................................................... - 12 -
1.5.6
An Application Circuit.......................................................................................................................... - 13 -
1.6 Evaluation Board.............................................................................................................................................. - 14 -
1.6.1
Parts ............................................................................................................................................................. - 14 -
1.6.2
Demension ................................................................................................................................................ - 16 -
2 Installation and Test ............................................................................................................ - 17 -
2.1 Installation .......................................................................................................................................................... - 17 -
2.1.1
Setting Network Aera .......................................................................................................................... - 17 -
2.2 Simple Test ......................................................................................................................................................... - 19 -
3 Configuration ....................................................................................................................... - 22 -
3.1 Configuration with ezManager ................................................................................................................. - 22 -
3.1.1
Configuration via LAN ......................................................................................................................... - 22 -
3.1.2
Configuration via Serial ...................................................................................................................... - 23 -
3.2 AT command ..................................................................................................................................................... - 24 -
4 Operation Modes ................................................................................................................ - 25 -
4.1 What is the Operation Mode? .................................................................................................................. - 25 -
4.2 How to entering each mode ..................................................................................................................... - 25 -
4.3 Comparison with each mode .................................................................................................................... - 26 -
4.4 Normal Mode ................................................................................................................................................... - 26 -
4.5 Serial Configuration Mode ......................................................................................................................... - 27 -
4.6 ISP Mode ............................................................................................................................................................ - 27 -
4.6.1
Upgrading Firmware............................................................................................................................. - 27 -
CSE-M53 User Manual Ver. 2.3
- 3 -
http://www.ezTCP.com
4.6.2
Revoking Serurity Options................................................................................................................. - 27 -
5 Communication Modes ...................................................................................................... - 28 -
5.1 TCP Server .......................................................................................................................................................... - 28 -
5.1.1
Key parameters ....................................................................................................................................... - 28 -
5.1.2
Examples .................................................................................................................................................... - 29 -
5.2 TCP Client ........................................................................................................................................................... - 32 -
5.2.1
Key parameters ....................................................................................................................................... - 32 -
5.2.2
Examples .................................................................................................................................................... - 33 -
5.3 AT Command .................................................................................................................................................... - 36 -
5.3.1
Key parameters ....................................................................................................................................... - 36 -
5.3.2
Examples .................................................................................................................................................... - 37 -
5.4 UDP ....................................................................................................................................................................... - 40 -
5.4.1
Key parameters ....................................................................................................................................... - 40 -
5.4.2
Examples .................................................................................................................................................... - 41 -
6 System Management .......................................................................................................... - 43 -
6.1 Upgrading Firmware ...................................................................................................................................... - 43 -
6.1.1
Firmware .................................................................................................................................................... - 43 -
6.1.2
Processes ................................................................................................................................................... - 43 -
6.2 Status Monitoring ........................................................................................................................................... - 45 -
6.2.1
Using TELNET .......................................................................................................................................... - 45 -
6.2.2
Using ezManager ................................................................................................................................... - 47 -
6.2.3
Debugging Message ............................................................................................................................ - 49 -
7 Additional Functions ........................................................................................................... - 52 -
7.1 Security ................................................................................................................................................................ - 52 -
7.1.1
Restriction of Access (ezTCP Firewall) .......................................................................................... - 52 -
7.1.2
Setting Password .................................................................................................................................... - 52 -
7.2 Notify IP Change ............................................................................................................................................. - 53 -
7.3 Sending MAC Address.................................................................................................................................. - 54 -
7.4 TELNET COM port Control Option (RFC 2217) ................................................................................. - 54 -
8 Self-Test in Trouble ............................................................................................................. - 55 -
8.1 Searching problem with ezManager ...................................................................................................... - 55 -
8.2 Connection Problem over TCP/IP ............................................................................................................ - 56 -
8.3 Data Communication Problem on the Serial ..................................................................................... - 57 -
9 Related Material .................................................................................................................. - 58 -
CSE-M53 User Manual Ver. 2.3
- 4 -
http://www.ezTCP.com
9.1 Technical Documents .................................................................................................................................... - 58 -
9.2 Smart phone Application ............................................................................................................................ - 58 -
10 Technical Support and Warranty ...................................................................................... - 59 -
10.1 Technical Support ........................................................................................................................................... - 59 -
10.2 Warranty .............................................................................................................................................................. - 59 -
10.2.1
Refund ......................................................................................................................................................... - 59 -
10.2.2
Free Repair Services ............................................................................................................................. - 59 -
10.2.3
Charged Repair Services..................................................................................................................... - 59 -
11 Precaution and Exemption from Liability ....................................................................... - 60 -
11.1 Precaution........................................................................................................................................................... - 60 -
11.2 Exemption from Liability .............................................................................................................................. - 61 -
11.2.1
English version ........................................................................................................................................ - 61 -
11.2.2
French version ......................................................................................................................................... - 62 -
12 History ................................................................................................................................... - 64 -
CSE-M53 User Manual Ver. 2.3
- 5 -
http://www.ezTCP.com
1 Overview
1.1 Overview
Almost all communication devices including PC are using serial transmission. In this type,
devices send and receive data in the order of each byte. The serial communication is quite
simple to implement but has weaknesses like short distance and hard maintenance.
CSE-M53 lets the serial devices connect to the Internet. To communicate on the Internet,
devices should use TCP/IP protocol, so CSE-M53 processes the converting serial data to
TCP/IP.
1.2 Main Features
Very compact module type : 20mm x 24mm
High speed UART x 1 (3.3V TTL) available on RS232/RS422/RS485 extension
Industrial temperature range (-40℃ ~ +85℃)
CSE-M53 User Manual Ver. 2.3
- 6 -
http://www.ezTCP.com
1.3 Application Examples
1:1 Connection with a PC
Figure 1-1 1:1 connection with a PC
Applied to LANs
Figure 1-2 applied to LANs
CSE-M53 User Manual Ver. 2.3
- 7 -
http://www.ezTCP.com
Applied to the Internet on Cable Networks
Figure 1-3 applied to the Internet on cable networks
Applied to the Internet with an IP Share Router
Figure 1-4 applied to the Internet with an IP share router
1.4 Components
CSE-M53s Body
Evaluation Board for CSE-M53 (Optional)
RS232 Cross Cable (Optional)
DC 5V Power Adapter (Optional)
CSE-M53 User Manual Ver. 2.3
- 8 -
http://www.ezTCP.com
1.5 Specification
1.5.1 Hardware
Power
Input Voltage
DC 3.3V
Current
160mA typical
Dimension
Weight
Interface
Serial Port
RS232 RTS/CTS and Xon/Xoff Flow Control
TTL-3.3V Logic Level
(Baud Rate: 300bps ~ 921,600bps)
Network
10 Base-T or 100 Base-TX Ethernet Auto-Sensing
Auto MDI or MDIX cable Auto-Sensing
Temperature
RoHS
Table 1-1. Hardware specification
1.5.2 Software
Protocol
Operation
mode
Normal
For Normal Data Communication
ISP
For Upgrading F/W
Serial Configuration
For Configuration via Serial
Communicat
ion mode
TCP Server
TCP Passive Connection
TCP Client
TCP Active Connection
AT Command
TCP Passive / Active Connection
UDP
UDP No Connection
Major
Utilities
ezManager
Configuration Utility for MS Windows
(Supports Downloading F/W)
ezVSP
Serial to TCP/IP Virtual driver for MS Windows
Table 1-2. Software specification
In RS-485 communication or Using Xon/Xoff flow control option, the maximum baud
rate is restricted to 230,400 bps.
CSE-M53 User Manual Ver. 2.3
- 9 -
http://www.ezTCP.com
1.5.3 Demension
The dimension of CSE-M53 is followed. (Unit: mm)
Figure 1-5 dimensions of CSE-M53
CSE-M53 User Manual Ver. 2.3
- 10 -
http://www.ezTCP.com
1.5.4 Pins
JP1 / JP2 Connector
JP1 and JP2 have headers of 2mm pitch. There is a circle by the first pin (pin number
1) of JP1.
JP1
Name
Description
Direction
1
GND
Ground (with a Circle)
-
2
TP_RXN
LAN IN -
Input
3
TP_RXP
LAN IN +
Input
4
GND
Ground
5
TP_TXN
LAN OUT -
Output
6
TP_TXP
LAN OUT +
Output
7
GND
Ground
-
8
RXD_LED
LAN RECEIVE LED (Data Received Low)
Output
9
TXD_LED
LAN SEND LED (Data Transmitted Low)
Output
10
LINK_LED
LINK LED (Established Low)
Output
Table 1-3 JP1
JP2
Name
Description
Direction
1
VDD_3.3V
DC 3.3V volt power (VDD)
-
2
RST-
System Reset (Low Active)
Valid time for giving Low signal
: duration over 1 is recommended
Input
3
ISP-
Changing modes
Input
4
GND
Ground
-
5
RXD
UART IN
Input
6
TXD
UART OUT
Output
7
CTS
UART CTS
Input
8
RTS
UART RTS (Request To Send, Low),
TXDE in RS485 (Sending data High)
Output
9
TCP
TCP Status LED
Output
10
STS_LED
Status LED
Output
Table 1-4 JP2
CSE-M53 User Manual Ver. 2.3
- 11 -
http://www.ezTCP.com
State
Wave form
In ISP mode
In Serial Configuration
mode
When any IP
addresses have not
been assigned
When IP addresses
have been assigned
but not connected
with a remote host on
TCP.
CSE-M53 User Manual Ver. 2.3
- 12 -
http://www.ezTCP.com
Connected with
a remote host on TCP
Table 1-5 STS_LED operation depending on the state
1.5.5 Voltage Features
Parameters
Description
Minimum
Typical
Maximum
Unit
VDD
Supplied Voltage
3.0
3.3
3.6
V
VIH
High-level input voltage
2.0
-
5.0
V
VIL
Low-level input voltage
-0.3
-
1.3
V
VOH
High-level output voltage
2.4
-
-
V
VOL
Low-level output voltage
-
-
0.4
V
Table 1-6 voltage features
CSE-M53 User Manual Ver. 2.3
- 13 -
http://www.ezTCP.com
1.5.6 An Application Circuit
Fig 1-1 an Application Circuit
VDD_3.3V
VDD_3.3V
ISP-
D2
LED 12
RXD_LED D1
LED 12
TXD_LED
CON1
RD1-126BAG1A
TD+(R1) 1
TD-(R2) 2
CT(R3) 3
RD+(R7) 7
RD-(R8) 8
NC(R4) 4
NC(R5) 5
NC(R6) 6
CH_GND1(H1)
13
CH_GND2(H2)
14
HOLE1
15
HOLE2
16
LED_A+(L1)
12
LED_A-(L2)
11
LED_B+(L3)
10
LED_B-(L4)
9
TP_TXP
TP_RXN
TP_RXP
C1
100nF/K
1
2
VDD_3.3V
VDD_3.3V
C5 10pF/K
1
2
C2 10pF/K
1
2
C4 10pF/K
1
2
C3 10pF/K
1
2
TCPCTS
TXD
RXD
RTS
FROM MCU'S TXD
TO MCU'S RXD
FROM MCU'S RTS
TO MCU'S CTS
TO MCU'S PIO
FROM MCU'S PIO
ISP-
RST-
FROM MCU'S PIO
R1 330
R2 330
VDD_3.3V
JP2
HEADER 10
1
2
3
4
5
6
7
8
9
10
JP1
HEADER 10
1
2
3
4
5
6
7
8
9
10
TP_TXP
TP_RXN
TP_RXP
TP_TXN
TP_TXN
RXD_LED
LINK_LED
TXD_LED TCP
CTS
RXD
TXD
RST-
RTS
STS_LED
VDD_3.3V STS_LED
LINK_LED
R3 330
R4 330
UDE Corp's RJ45
w/Pulse-Transformer
CSE-M53
SIGNAL INTERFACE BETWEEN USER'S MCU
CSE-M53 User Manual Ver. 2.3
- 14 -
http://www.ezTCP.com
1.6 Evaluation Board
Evaluation board for CSE-M53 is equipped a RS45 connector and a D-SUB 9 pin Male
connector including the 5V DC power connector.
Fig 1-2 EVB for CSE-M53
1.6.1 Parts
Power Control Jumper: To control supplying the power to the EVB or not.
Division
Connection
Disconnection
Fig 1-3 power control jumper
DC Power Connector: Terminal for connecting DC 5V Power
RJ45 Connector: Terminal for connecting UTP cable for Ethernet
D-SUB 9 Male Connector: Terminal for connecting 9 pin D-SUB connecter for RS-
232
JP5: Only used at the Factory (When producing the product)
CSE-M53 User Manual Ver. 2.3
- 15 -
http://www.ezTCP.com
LED Group 1
Name
Color
Description
RXD (D1)
Green
Blinks, when CSE-M53 receives data from the serial port
TXD (D2)
Blinks, when CSE-M53 sends data to the serial port
RTS (D3)
On, when CSE-M53 is available on receiving data
CTS (D4)
On, when CSE-M53 is available on sending data
TCP
On, when CSE-M53 is connected with a remote host on TCP
Table 1-7 LED Group 1
TTL Port: For 3.3V TTL logic level communication
LED Group 2
Name
Color
Description
RXD (D6)
Green
Blinks, when CSE-M53 receives data from the Ethernet port
TXD (D7)
Blinks, when CSE-M53 sends data to the Ethernet port
LINK (D8)
On, when CSE-M53 is connected with the Ethernet
STS (D9)
On, when CSE-M53 is connected with a remote host on TCP
Blinks in every second, when CSE-M53 is in normal mode
Blinks 4times at once, when any IP addresses have not been
assigned to CSE-M53 from DHCP or PPPoE servers
Table 1-8 LED Group 2
Reset S/W: S/W for re supplying the power to the EVB
JP7: A port for changing modes
Division
3.3V
ISP
GND
Normal
ISP
Serial Configuration
less than 1 sec
Fig 1-4 JP7 for Changing modes
, LED Groups 3 and 4
Name
Color
Description
PWR (D10)
Red
On, when the power is supplied to the EVB
D1
Orange
Slowly Blinks, when the power is supplied to the CSE-M53
Shortly Blinks, when the CSE-M53 is operates in ISP mode
Table 1-9 LED Groups 3 and 4
JP3: A port for enabling or disabling outputs of RS232 line driver (Disable this port
when using TTL level)
CSE-M53 User Manual Ver. 2.3
- 16 -
http://www.ezTCP.com
1.6.2 Demension
Figure 1-6 Dimension of evaluation board
According to conditions of soldering components, the dimensions might be differed
with the above figure. Thus, we recommend giving some extra spaces about 1 ~ 2
mm.
CSE-M53 User Manual Ver. 2.3
- 17 -
http://www.ezTCP.com
2 Installation and Test
2.1 Installation
Before testing CSE-M53, users should connect both serial and Ethernet port to a PC. It
will be no problem that the Ethernet connection includes network hubs. In this document,
whole processes are written assume that using it with evaluation board.
Figure 2-1 connection between CSE-M53 and a PC
Procedures for the test are followed.
2.1.1 Setting Network Aera
This step is for setting both CSE-M53 and users PC to be located the same network. If
only they are, the TCP connection between them can be established.
Setting of the PC
Add or change the IP address of the network adapter on your PC like following.
Get into the menu of [Windows Control Panel] >> [Network Connections] >>
[Properties of the Network Adapter with right click of your mouse]. Then, you can
show the properties of [Internet Protocol (TCP/IP). In there, press the [Advanced..]
button for adding an IP Address like the below figure.
Figure 2-2 adding / changing the IP address of users PC
CSE-M53 User Manual Ver. 2.3
- 18 -
http://www.ezTCP.com
Setting of CSE-M53
CSE-M53 uses ezManager as it’s a configuration program. ezManager is for MS
Windows, and this is comfortable to use because it doesnt need installation.
First, search your CSE-M53 via network. All the values of parameters are set the
default values in the factory. To apply it to your system, proper values should be set
via ezManager.
Major parameters default values are listed on below table. To implement this simple
test, keep these values without any changes.
Name
Default Values
Network
Local IP Address
10.1.0.1
Subnet Mask
255.0.0.0
Option
TELNET
Checked
IP Address Search
Checked
Serial Port
(COM1)
Serial Type
RS232
Baud Rate
19,200bps
Parity
NONE
Data Bits
8
Stop Bit
1
Flow Control
NONE
Communication mode
TCP Server
Local Port
1470
Table 2-1 default values of Major parameters
Users can download the latest version of ezManager on the [Download] >> [Utilities]
menu of our website.
Detail manners of the configuration are explained on the 3.1 Configuration with
ezManager.
CSE-M53 User Manual Ver. 2.3
- 19 -
http://www.ezTCP.com
2.2 Simple Test
If you press the [Simple Test] button, test program will be shown on your screen.
Connecting to the CSE-M53 via LAN
Figure 2-3 settings for TCP connection
Select [TCP Client]
Input correct IP address and port number of CSE-M53
Clink the [Connect] button. (In case of TCP Server, it will be [Listen] button)
Opening RS232 Port
Figure 2-4 opening COM Port
Select COM port which the CSE-M53 is connected to
Make sure that all the parameters are the same with CSE-M53
Press the [Open] button
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65

Sollae Systems CSE-M53 Manuel utilisateur

Taper
Manuel utilisateur

dans d''autres langues