Sollae Systems CSE-H21 User manual

Sollae Systems Co., Ltd. http://www.sollae.co.kr
Serial Device Server
CSE-H21 User’s Manual
Version 1.2
2008-12-04

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 1 -
http://www.sollae.co.kr
To all residents of the European Union
Important environmental information about this product
This symbol on this unit or the package indicates that disposal of this unit after
its lifecycle could harm the environment. Do not dispose of the unit as unsorted
municipal waste; it should be brought to a specialized company for recycling. It is your
responsibility to return this unit to your local recycling service. Respect your local
environmental regulation. If in doubt, contact your local waste disposal authorities

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 2 -
http://www.sollae.co.kr
Contents
1OVERVIEW ...............................................................................................................................- 5 -
1.1 Overview ................................................................................................................................................................- 5 -
1.2 Components.........................................................................................................................................................- 5 -
1.3 Specification .........................................................................................................................................................- 6 -
1.4 Layout......................................................................................................................................................................- 7 -
1.4.1
Layout ............................................................................................................................................................- 7 -
1.4.2
LED indicators.............................................................................................................................................- 8 -
1.4.3
ISP Switch.....................................................................................................................................................- 8 -
1.5 Interface .................................................................................................................................................................- 9 -
1.5.1
RS232 Port (DB9M)..................................................................................................................................- 9 -
1.5.2
Ethernet Interface .................................................................................................................................. - 10 -
1.5.3
Power........................................................................................................................................................... - 11 -
2GETTING START ................................................................................................................... - 12 -
2.1 Installation Method........................................................................................................................................ - 12 -
2.1.1
Checking the Communication Environment ............................................................................. - 12 -
2.1.2
Connecting to the Network.............................................................................................................. - 12 -
2.1.1
Configuring the Environmental Variables................................................................................... - 13 -
2.2 Test Run............................................................................................................................................................... - 13 -
2.2.1
Changing PC IP Address .................................................................................................................... - 13 -
2.2.2
Installing CSE-H21................................................................................................................................. - 13 -
2.2.3
Configuring CSE-H21........................................................................................................................... - 13 -
2.2.4
Communication Test............................................................................................................................. - 15 -
3CONFIGURATION................................................................................................................. - 18 -
3.1 IP Address and Environmental Variables ............................................................................................. - 18 -
3.2 Configuring with ezManager..................................................................................................................... - 18 -
3.2.1
ezManager ................................................................................................................................................ - 18 -
3.2.2
Buttons of the ezManager ................................................................................................................ - 19 -
3.2.3
ezManager Configuration Items..................................................................................................... - 21 -
3.2.4
ezManager Operation example ...................................................................................................... - 23 -
3.3 AT command..................................................................................................................................................... - 25 -
3.4 Setting DHCP .................................................................................................................................................... - 25 -
3.5 Setting PPPoE ................................................................................................................................................... - 25 -
4SYSTEM MANAGEMENT..................................................................................................... - 26 -

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 3 -
http://www.sollae.co.kr
4.1 Operation Mode.............................................................................................................................................. - 26 -
4.1.1
normal mode ........................................................................................................................................... - 26 -
4.1.2
Serial Configuration Mode................................................................................................................ - 26 -
4.1.3
ISP Mode ................................................................................................................................................... - 26 -
4.1.4
Comparison between two modes.................................................................................................. - 26 -
4.2 Upgrading new firmware ............................................................................................................................ - 27 -
4.3 Checking current status ............................................................................................................................... - 27 -
4.3.1
Telnet login............................................................................................................................................... - 27 -
4.3.2
Commands for checking the status.............................................................................................. - 27 -
4.3.3
Check Status in the ezManager...................................................................................................... - 28 -
4.4 IP Change Trap................................................................................................................................................. - 29 -
4.4.1
DDNS –www.dyndns.com................................................................................................................. - 29 -
4.4.2
TCP/UDP..................................................................................................................................................... - 29 -
4.5 Remote Debugging........................................................................................................................................ - 31 -
5COMMUNICATION MODE.................................................................................................. - 32 -
5.1 Introduction....................................................................................................................................................... - 32 -
5.2 T2S ......................................................................................................................................................................... - 33 -
5.2.1
TCP Connection ...................................................................................................................................... - 33 -
5.2.2
Connection Limitation ......................................................................................................................... - 33 -
5.2.1
Serial Data Before the TCP Connection ...................................................................................... - 34 -
5.2.2
Data Transmission ................................................................................................................................. - 34 -
5.2.3
Disconnection.......................................................................................................................................... - 34 -
5.3 COD....................................................................................................................................................................... - 35 -
5.3.1
Serial Data Before the TCP Connection ...................................................................................... - 35 -
5.3.2
Data Transmission ................................................................................................................................. - 35 -
5.3.3
Disconnection.......................................................................................................................................... - 36 -
5.3.4
DNS.............................................................................................................................................................. - 36 -
5.4 ATC......................................................................................................................................................................... - 37 -
5.5 U2S ........................................................................................................................................................................ - 38 -
6ATC MODE ............................................................................................................................ - 39 -
6.1 Overview ............................................................................................................................................................. - 39 -
6.1.1
AT command format ............................................................................................................................ - 39 -
6.2 Basic AT Command Set (Example: ATA, ATD etc.) ........................................................................... - 39 -
6.3 Extended AT Commands (Example: AT+PLIP etc.)........................................................................... - 40 -
6.4 Online State and AT Command State ................................................................................................... - 40 -
6.4.1
Changing Online State to AT Command State........................................................................ - 41 -
6.4.2
Changing AT Command State to Online State........................................................................ - 41 -

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 4 -
http://www.sollae.co.kr
6.5 Example of Configuration with AT Command................................................................................... - 41 -
6.6 Example of TCP Connection ...................................................................................................................... - 42 -
6.6.1
Example of Active Connection ........................................................................................................ - 42 -
6.6.2
Example of Active Connection with a host name .................................................................. - 42 -
6.6.3
Example of passive Connection ...................................................................................................... - 43 -
6.7 Example of TCP Disconnection................................................................................................................. - 43 -
6.7.1
Example of active disconnection.................................................................................................... - 43 -
6.7.2
Example of passive disconnection................................................................................................. - 43 -
7SECURE COMMUNICATION ............................................................................................... - 44 -
7.1 SSL ......................................................................................................................................................................... - 44 -
7.1.1
SSL (Secure Socket Layer).................................................................................................................. - 44 -
7.1.2
How to set the SSL on CSE-H21 .................................................................................................... - 44 -
7.1.3
Restriction.................................................................................................................................................. - 45 -
7.2 SSH ........................................................................................................................................................................ - 45 -
7.2.1
SSH (Secure Shell) ................................................................................................................................. - 45 -
7.2.2
How to set the SSH on CSE-H21................................................................................................... - 45 -
7.2.3
Restriction.................................................................................................................................................. - 46 -
8TECHNICAL SUPPORT, WARRANTY, AND NOTES ON OPERATION ........................... - 47 -
8.1 Technical Support ........................................................................................................................................... - 47 -
8.2 Warranty.............................................................................................................................................................. - 47 -
8.2.1
Refund......................................................................................................................................................... - 47 -
8.2.2
Free Repair Services ............................................................................................................................. - 47 -
8.2.3
Charged Repair Services .................................................................................................................... - 47 -
8.2.4
Notes on Operation ............................................................................................................................. - 47 -
9REVISION HISTORY ............................................................................................................. - 49 -

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 5 -
http://www.sollae.co.kr
1 Overview
1.1 Overview
Along with the development of the Internet, the demand for data communication
functions has increased recently. Data communication over the Internet requires using
TCP/IP, the Internet communication protocol. That is to say, in order to connect a system
to the Internet, TCP/IP protocol must be implemented. It is possible to implement TCP/IP
by directly implementing the protocol, porting public TCP/IP, or using Operating System
(OS). However, all these methods impose burdens on the developer in time, cost, and
technology.
ezTCP series, a Serial ↔ TCP/IP protocol converter product group of Sollae Systems,
enables you to use TCP/IP communication (the Internet communication) function simply by
“connecting the cable to a serial port”. ezTCP sends data from the serial port to the
Internet network after TCP/IP processing, and vice versa.
CSE-H21 in ezTCP product group is a product that provides TCP/IP communication
through Ethernet. In other words, like other ezTCP products, CSE-H21 sends data from the
serial port to the LAN after TCP/IP processing and vice versa.
As CSE-H21 has 2 RS232 ports, it can be connected to two RS232 devices in the same
time. And it is easy CSE-H21 to attach to user systems because of its compact size.
Because it has SSL and SSH function, user can communicate more safely. And it provides
DHCP and PPPoE functions, so that it can be applied to the cable network and the xDSL
network. And it has DDNS(Dynamic DNS) function, so it can be used more easily in the
internet.
It can be operated wide range temperature condition and its serial ports are isolated
electrically and there is surge protection function on the Ethernet port, so it is very suitable
for noisy industrial environment.
It also provides debugging function, so user can solve the problem with ours.
1.2 Components
CSE-H21 Body
CD including utilities and documents (Option)
5V Power Adapter (Option)
RS232 cable for PC connection (Option)

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 6 -
http://www.sollae.co.kr
1.3 Specification
Power
Input Voltage
5V (±10%)
Current
200mA typical
Dimension
158mm x 90mm x 24mm
Weight
about 340g
Interface
Serial
9 pin Dsub male
Network
10/100 Base T (RJ45)
Serial Port
2 x RS232 (300bps ~ 230400bps, RTS/CTS Flowcontrol)
Network
Ethernet 10/100 M bit auto-sense
Auto MDI/MDIX
Protocols
TCP, UDP, IP, ICMP, ARP, DHCP, PPPoE,
DNS lookup, DDNS(Dynamic DNS)
Telnet COM Port Control Option(RFC2217)
SSL3.0/TLS1.0, SSH
Diagnostic
Online Debugging Function
RoHS
RoHS Compliant
Approvals
MIC: SLS-CSE-H21 (A)
CE: F690501/SP-EMY000088
FCC: F690501/RF-EMY002716
Communicati
on Mode
T2S
TCP Server Mode
COD
TCP Client Mode
ATC
TCP Server / Client
(AT command emulation)
U2S
UDP
Utilities
ezManager
Configuration utility via LAN
Ezterm
Socket test utility
Hotflash
Firmware download utility via TFTP
ezVSP
Serial-TCP/IP virtual driver for Windows
You can download the firmware from our website (http://www.eztcp.com).

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 7 -
http://www.sollae.co.kr
1.4 Layout
1.4.1 Layout
There are an Ethernet port, two RS232 ports, and a Power socket on the top side. And there is
an ISP switch on the right side. And 15 LED indicators are in the CSE-H21.
Figure 1-1 CSE-H21 Layout

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 8 -
http://www.sollae.co.kr
1.4.2 LED indicators
There are 15 LED indicators on the CSE-H21. The left 5 are for LAN status, and the middle and
right 5 are for COM1 and COM2 respectively. The followings are the operations of each LED
indicators.
Table 1-1 LED indicators
Name
Color
LED Status
Description
PWR
Red
On
Power is on.
L
A
N
STS
Yellow
Blink every 1
second
IP address is assigned.
Blink 4 times
every 1 second
IP address is net assigned in DHCP or PPPoE
modes.
Off
ISP Mode
LINK
Green
On
CSE-H21 is connected to the Ethernet.
RXD
Yellow
Blink
Ethernet packet is received
TXD
Green
Blink
Ethernet packet is transmitted
C
O
M
TCP
Green
On
TCP is connected
RXD
Yellow
Blink
serial data are received
TXD
Green
Blink
serial data are transmitted
RTS
Green
On
There are enough rooms to receive serial
data.
CTS
Yellow
On
CTS signal from the counter-part serial
device
1.4.3 ISP Switch
There is an ISP switch on the side. If this switch is push 20ms~1s, it operates as Serial
Configuration Mode. If this switch is push over 1 second, CSE-H21 operates as ISP mode. User can
do firmware download to the CSE-H21 in the ISP mode. Please refer to 4.2 for more information
on firmware download.

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 9 -
http://www.sollae.co.kr
1.5 Interface
1.5.1 RS232 Port (DB9M)
There are two RS232 ports. The ports are interfaced with 9 pin D-sub male connectors. The
serial ports are isolated electrically.
Figure 1-2 9 pin D-sub male connector
RS232 ports
Table 1-2 RS232 Port Specification
Number
Name
Description
level
Dir.
Etc.
1
DCD
Data Carrier Detect
RS232
Input
optional
2
RXD
Receive Data
RS232
Input
mandatory
3
TXD
Transmit Data
RS232
Output
mandatory
4
DTR
Data Terminal Ready
RS232
Output
optional
5
GND
Ground
Ground
-
mandatory
6
DSR
Data Set Ready
RS232
Input
optional
7
RTS
Request To Send
RS232
Output
optional
8
CTS
Clear To Send
RS232
Input
optional
9
RI
Ring Indicator
RS232
Input
optional
Data bits, Parity, Stop bit
Table 1-3 RS232 Parameters
Items
Parameters
Data bit
8, 7, 6, 5
Parity
None, Even, Odd, Mark, Space
Stop bit
1, 1.5, 2
Flow Control
CSE-H21 has RTS/CTS flow-control function.

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 10 -
http://www.sollae.co.kr
Telnet COM Port Control Option
CSE-H21 has a Telnet COM Port Control function that is defined in the RFC2217. If this
option is set, CSE-H21 transmits serial input signals (CTS, DSR) to the peer host and set
the values(RTS, DTR, baud rate, data bits, parity, stop bit) onto its serial ports from the
peer host.
TX Delay
CSE-H21 has a function that delays its serial data for the user‟s slow device. User can set
the interval between byte and byte which are outputting from CSE-H21‟s serial ports. Its
unit is byte.
1.5.2 Ethernet Interface
Network part of CSE-H21 is configured with Ethernet. So, what you have to do is only to
connect UTP cable. The Ethernet part detects 10Mbit or 100Mbit Ethernet automatically, to
connect the corresponding cable. It also provides auto MDI/MDIX function to detect 1:1
cable or cross-over cable automatically. Each piece of Ethernet equipment has unique
hardware addresses, and CSE-H21also has factory-set hardware address (which is called
MAC address)
Figure 1-3 RJ45 Ethernet connector
Table 1-4 Ethernet port pin description
Number
Name
Direction
1
Tx+
Output
2
Tx-
Output
3
Rx+
Input
4
-
-
5
-
-
6
Rx-
Input
7
-
-
8
-
-

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 11 -
http://www.sollae.co.kr
1.5.3 Power
DC5V is used for CSE-H21 and the specification is below:
Figure 1-4 DC 5V Power Jack

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 12 -
http://www.sollae.co.kr
2 Getting Start
2.1 Installation Method
You can install CSE-H21 in the following steps.
Table 2-1 CSE-H21 Installation steps
Title
Item
Sub-item
1.
Checking the
communication
environment
Check items
IP address environment
Serial port parameters
Application program to be used
2.
Connecting to
the network
Check
method
Check the LINK LED
3.
Configuring
the
environmental
parameters
Configuration
method
Set by ezManager, a utility program for configuration
through the network.
Set by AT commands in ATC mode
Configuration
items
IP address related items
Serial port related items
Communication mode (depending on application
program)
4. Application to the field
2.1.1 Checking the Communication Environment
Before installing CSE-H21, check the network environment where CSE-H21 is to be
installed, including the followings matters:
IP address environment (local IP, subnet mask, gateway, DHCP/PPPoE etc.)
Serial port type of the equipment to which CSE-H21 is going to be connected (RS232)
Serial port items of the equipment to which CSE-H21 is going to be connected (baud
rate, data bit, parity, stop bit, flow control)
Application program protocol to be used (TCP/UDP, server/client, etc.)
Security Function (SSL, SSH)
2.1.2 Connecting to the Network
Connect power to CSE-H21, and connect CSE-H21 either directly to the Ethernet port of the PC
where test is to be performed or to the network (hub) to which the PC is connected.

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 13 -
http://www.sollae.co.kr
2.1.1 Configuring the Environmental Variables
When network connection is completed, configure the environmental variables such as
IP address related items, serial port related items, and communication mode related items
through the LAN using “ezManager” the environmental variable configuration program.
.
2.2 Test Run
You can perform test run according to the following orders. The test run described here
is based on the assumption that the IP address of the PC is set to 10.1.0.2.
2.2.1 Changing PC IPAddress
You can change the IP address of your PC as follows:
IP Address
10.1.0.2
Subnet Mask
255.0.0.0
Gateway IP Address
-
2.2.2 Installing CSE-H21
Connect the supplied RS232 cable between your PC and CSE-H21, the LAN cable to the
hub to which the PC is connected or directly to the PC, and the supplied CSE-H21 power
adapter to CSE-H21 for power supply. If the LAN cable has been correctly connected when
power is supplied, LINK LED turns on.
2.2.3 Configuring CSE-H21
Configure CSE-H21 setting using ezManager, the ezTCP configuration program, as
follows.
Run ezManager, and click [Search ezTCP] button in the ezManager window. And,
ezManager program will search all CSE-H21s on the local network.
When ezTCP is searched, MAC address of the ezTCP is displayed on the [Search List]
window (The MAC address is indicated at the bottom of the product case). Select the
corresponding MAC address, and set the same as shown in the following figure and click
[Write] button to save the settings. When no ezTCP is found, check the Windows firewall. If
you press [Firewall] button in the ezManager, you can see the Windows Firewall menu
more easily

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 14 -
http://www.sollae.co.kr
Figure 2-1 Initial settings

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 15 -
http://www.sollae.co.kr
2.2.4 Communication Test
1) A program for testing starts if you press the [ezTCP Test] button of the ezManager.
Figure 2-2 The window of the Test Program
2) Press the [Connect] button after inputting 10.1.0.1 and 1470 in the IP and Port. If the TCP
connection is established there will be “Connected [REMOTE HOST 10.1.0.1 : 1470]. And the
STS of COM1 will be on.
Figure 2-3 A window to test
① ② ③

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 16 -
http://www.sollae.co.kr
3) Press the [Open] button after selecting serial port that is connected to the CSE-H21. If the
serial port is open, the “COM1 Port is opened”message will be shown.
Figure 2-4 the screenshot of test program
4) If you press the [Send] button below of the [LAN TX] window, the data in the [LAN TX]
window will be transmitted to the [Serial RX].
Figure 2-5 The data are transmitted to the [Serial RX] window
④
⑤
⑥⑦

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 17 -
http://www.sollae.co.kr
5) If you press the [Send] button below the [Serial TX] window, the data will be transmitted
from the [Serial TX] window to the [LAN RX] Window.
Figure 2-6 The data are transmitted to the [LAN RX] window
6) If the transmitting and receiving data are same, the communication test is successful.
⑧
⑨

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 18 -
http://www.sollae.co.kr
3 Configuration
3.1 IP Address and Environmental Variables
For TCP/IP communication, you must set IP address related items. In addition, you have to set
serial port related items (serial port type, communication speed, data bit length, parity bit, flow
control, etc) to CSE-H21.
You can set the IP address and the serial port related items by using ezManager, the supplied
configuration utility which allows you to configure your CSE-H21 over the network, or by using AT
commands in ATC mode
3.2 Configuring with ezManager
3.2.1 ezManager
The basic environmental variables (IP address related items, serial port items, and etc.) can
be set by ezManager which is an integrated management tool for Windows.
The ezManager is operated in Microsoft Windows(Windows 98, 98 SE, 2000 Pro, ME, XP
Pro/Home, Vista). Following is the screen shot of ezManager which is just launched.
Figure 3-1 the initial window of the ezManager

CSE-H21 User’s Manual Ver. 1.2
Sollae Systems Co., Ltd.
- 19 -
http://www.sollae.co.kr
3.2.2 Buttons of the ezManager
LOCAL
To set the CSE-H21, ezManager communicates with the CSE-H21
through UDP broadcast. The ezManager identify with the CSE-H21‟s MAC
address. So user can configure the CSE-H21 even though user doesn‟t
know its IP address or the IP address isn‟t set to it.
User can configure CSE-H21 which is inside of router(within local
network). The UDP port number that is used is 50005.
REMOT
E
The ezManager communicates with the CSE-H21 through UDP unicast
with IP address. So user can configure the CSE-H21 which is outside of
the local network. The UDP port number that is used is 50005.
SERIAL
The ezManager use PC‟s COM Port(RS232 port) when it configures the
CSE-H21. So user has to connect PC‟s COM port to COM1 port of the
CSE-H21. And the CSE-H21 should be in the Serial Configuration Mode.
Search
ezTCP
Searches all CSE-H21 on user local network. The result is displayed on
the [Search List] box. Each value represents each ezTCP‟s MAC address.
And parameters of the selected ezTCP are displayed in the right window.
(The MAC address of CSE-H21 is on the bottom of its case.)
Read
If user inputs the MAC address of the CSE-H21 into the MAC address
input box in the [LOCAL] tab or inputs the IP address of the CSE-H21 into
the [REMOTE] tab and presses [Read] button, then user can read only the
CSE-H21‟s parameters. If there are a lot of ezTCPs in the network so it is
hard to find the ezTCP, it is very useful.
Write
Stores the modified parameters by pressing the [Write] button. The
CSE-H21 resets automatically if the [Write] button is pressed.
Change
PWD
This button is for setting or modifying the password of CSE-H21. If a
password of the CSE-H21, user has to input the password in the text box
of the ezManager when user sets parameters of the CSE-H21.
Status
User can read the current status of the CSE-H21 by pressing this
button. If user presses this button, a new window is appeared and some
information will be shown. (the running time, IP addresses, the amount of
receiving and transmitting from/to the serial ports.
Debug
Message
User can debug CSE-H21. If the [Debug] option of the [OPTION] tab is
set and user presses this button, user can debug CSE-H21. When the
debugging function is running, CSE-H21 broadcasts debugging data to
the - 19 -thernet with UDP 50006. So user has to open the UDP 50006
port to debug CSE-H21. After debugging, user has to unset [Debug]
option of the [OPTION] tab to prevent heavy network traffic.
Other manuals for CSE-H21
3
Table of contents
Other Sollae Systems Server manuals

Sollae Systems
Sollae Systems CSE-M32 User manual

Sollae Systems
Sollae Systems CSE-H25 User manual

Sollae Systems
Sollae Systems CSE-H20 User manual

Sollae Systems
Sollae Systems CSE-H21 User manual

Sollae Systems
Sollae Systems EZL-200 User manual

Sollae Systems
Sollae Systems CSE-H20 User manual

Sollae Systems
Sollae Systems IDIS-200 User manual

Sollae Systems
Sollae Systems PBH-101 User manual

Sollae Systems
Sollae Systems EZL-200F User manual

Sollae Systems
Sollae Systems CSW-H80 User manual