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.7
2009-07-13

CSE-H21 User’s Manual Ver. 1.7
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.7
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.............................................................................................................. - 13 -
2.1.3
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 ............................................................................................................................ - 14 -
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 ezManager......................................................................................................................... - 19 -
3.2.3
Parameters of ezManager ................................................................................................................. - 19 -
3.2.4
Matters to be attended to ................................................................................................................ - 20 -
3.3 AT command..................................................................................................................................................... - 20 -
3.4 IP Address Related Categories Settings via DHCP ......................................................................... - 20 -
3.5 IP Address settings via PPPoE .................................................................................................................. - 21 -
3.6 Notify IP Change............................................................................................................................................. - 21 -
3.6.1
DDNS (Dynamic Domain Name System) ................................................................................... - 21 -

CSE-H21 User’s Manual Ver. 1.7
Sollae Systems Co., Ltd.
- 3 -
http://www.sollae.co.kr
3.6.2
TCP/UDP .................................................................................................................................................... - 21 -
4SYSTEM MANAGEMENT ......................................................................................................... - 23 -
4.1 Operation Mode.............................................................................................................................................. - 23 -
4.1.1
Normal mode .......................................................................................................................................... - 23 -
4.1.2
Serial Configuration Mode................................................................................................................ - 23 -
4.1.3
ISP Mode ................................................................................................................................................... - 23 -
4.1.4
Comparison between two modes.................................................................................................. - 23 -
4.2 Upgrading Firmware...................................................................................................................................... - 24 -
4.3 Checking current status ............................................................................................................................... - 25 -
4.3.1
Telnet login .............................................................................................................................................. - 25 -
4.3.2
Commands................................................................................................................................................ - 25 -
4.4 Check Status in the ezManager............................................................................................................... - 27 -
4.5 Remote Debugging ....................................................................................................................................... - 28 -
5COMMUNICATION MODE...................................................................................................... - 29 -
5.1 Introduction....................................................................................................................................................... - 29 -
5.2 T2S –TCP Server............................................................................................................................................. - 30 -
5.2.1
TCP Connection...................................................................................................................................... - 30 -
5.2.2
Serial Data before the TCP Connection...................................................................................... - 30 -
5.2.3
Data Transmission ................................................................................................................................. - 30 -
5.2.4
Disconnection.......................................................................................................................................... - 31 -
5.3 COD –TCP Client............................................................................................................................................ - 32 -
5.3.1
Serial Data before the TCP Connection...................................................................................... - 32 -
5.3.2
Data Transmission ................................................................................................................................. - 32 -
5.3.3
Disconnection.......................................................................................................................................... - 33 -
5.3.4
DNS.............................................................................................................................................................. - 33 -
5.4 ATC –AT Command...................................................................................................................................... - 34 -
5.5 U2S –UDP.......................................................................................................................................................... - 35 -
6ATC MODE ................................................................................................................................ - 36 -
6.1 Overview ............................................................................................................................................................. - 36 -
6.1.1
AT command format............................................................................................................................ - 36 -
6.2 Basic AT Command Set (Example: ATA, ATD etc.) .......................................................................... - 36 -
6.3 Extended AT Commands (Example: AT+PLIP etc.) .......................................................................... - 37 -
6.4 Online State and AT Command State................................................................................................... - 37 -
6.4.1
Changing Online State to AT Command State ....................................................................... - 38 -
6.4.2
Changing AT Command State to Online State ....................................................................... - 38 -
6.5 Example of Configuration with AT Command .................................................................................. - 38 -

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

CSE-H21 User’s Manual Ver. 1.7
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.7
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.7
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.7
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
Mode
Name
Color
LED Status
Description
Common
LAN
PWR
Red
On
Power is supplied.
LINK
Green
On
CSE-H21 is connected to the
Ethernet.
RXD
Yellow
Blinks
Ethernet packet is received
TXD
Green
Blinks
Ethernet packet is transmitted
COM
RXD
Yellow
Blinks
serial data are received
TXD
Green
Blinks
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
Normal
mode
LAN
STS
Yellow
Blinks in
every second
IP address is assigned.
Blinks 4 times
/sec
IP address is net assigned in
DHCP or PPPoE modes.
COM
TCP
Green
On
TCP is connected
ISP
mode
LAN
STS
Yellow
Off
CSE-H21 is in the ISP mode
Serial
Configuration
mode
LAN
RXD/
TXD/
STS
-
blink 2 times
/sec
at one time
CSE-H21 is in the Serial
Configuration mode
COM1
TCP
Green
On
A RS232 cable is connected for
the serial configuration.
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.7
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.7
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.7
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.7
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)

CSE-H21 User’s Manual Ver. 1.7
Sollae Systems Co., Ltd.
- 13 -
http://www.sollae.co.kr
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.
2.1.3 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 IP Address
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 All] 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 Result]

CSE-H21 User’s Manual Ver. 1.7
Sollae Systems Co., Ltd.
- 14 -
http://www.sollae.co.kr
window (The MAC address is indicated at the bottom of the product case).
Select the corresponding MAC address, and set the variables considering your network
environment.
When no ezTCP is found, check the Windows firewall. If you press [Windows Firewall]
button in the ezManager, you can see the Windows Firewall menu directly.
For simple test, we recommend that the variables keep default values as shown in the
below table.
Parameter
Value
Network
Local IP Address
10.1.0.1
Subnet Mask
255.0.0.0
Option
Telnet
Enabled
IP Address Search
Enabled
Serial Port
(COM1/2)
Serial Type
RS232
Baud Rate
19200bps
Parity
NONE
Data Bits
8
Stop Bit
1
Flow
NONE
Communication Mode
T2S –TCP Server
Local Port
1470/1471
2.2.4 Communication Test
Power the CSE-H21 off and on, then it tries to connect to the LAN.
A program for testing starts if you press the [Simple Test] button of the ezManager.

CSE-H21 User’s Manual Ver. 1.7
Sollae Systems Co., Ltd.
- 15 -
http://www.sollae.co.kr
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 [ 10.1.0.1 : 1470 ]. And the STS
indicator will be on.

CSE-H21 User’s Manual Ver. 1.7
Sollae Systems Co., Ltd.
- 16 -
http://www.sollae.co.kr
Press the [Open] button after selecting serial port that is connected to the CSE-H21. If
the serial port is open, the “COM1 the COM port has opened”message will be shown.
If you press the [Send Data] button on the LAN part (Top), the data shown in the
[Send] box will be transmitted to the [Receive] box on the RS232 part (Bottom).

CSE-H21 User’s Manual Ver. 1.7
Sollae Systems Co., Ltd.
- 17 -
http://www.sollae.co.kr
If you press the [Send Data] button on the RS232 part (Bottom), the data shown in the
[Send] box will be transmitted to the [Receive] box on the LAN part.
If the transmitting and receiving data are same, the communication test is successful.

CSE-H21 User’s Manual Ver. 1.7
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.7
Sollae Systems Co., Ltd.
- 19 -
http://www.sollae.co.kr
3.2.2 Buttons of ezManager
Button
Description
Read
Read the values configured through MAC or IP address.
Write
Store the changed values of parameters
Set Password
Set or remove the password by this button.
Status
Check the status of ezTCP in real time.
Factory Reset
Initialize all the values as a default.
Debugging Message
Make the ezTCP broadcast debugging messages.
Change F/W / HTML
Change the firmware or HTML files with this button.
Export Variables
Store a set of values as a file.
Import Variables
Load values from a file made from [Export Variables]
Multi Write
Configure a set of values to one or more ezTCP
PING/ARP
Test the PING reply and manage the ARP table.
Simple Test
Run the test program interfaced with Network and RS232 port.
Windows Firewall
Run the windows firewall set window.
Exit
Exit ezManager
3.2.3 Parameters of ezManager
Tap
Section
Parameters
Network
Network
Local IP Address, Subnet Mask,
Gateway IP, DNS IP Address
Notify IP Change
Protocol, Interval, Port, Data Type, DDNS ID, DDNS
Password, Host Name(dyndns/custom)
Option
Obtain an IP From The First Received Packet,
Obtain an IP Automatically (DHCP),
Obtain an IP Automatically (PPPoE),
PPPoE ID, PPPoE Password,
Obtain DNS Server Address Automatically
Option
Option
Telnet, IP Address Search, Send MAC Address,
Debugging Message, SSL, SSH,
Multiple Connection
ezTCP Firewall
Allowed MAC Address, Allowed IP Range,
IP Address, Network Mask,
Apply To ezManager
Other manuals for CSE-H21
3
Table of contents
Other Sollae Systems Server manuals

Sollae Systems
Sollae Systems EZL-200L User manual

Sollae Systems
Sollae Systems EZL-200 User manual

Sollae Systems
Sollae Systems CSE-H21 User manual

Sollae Systems
Sollae Systems PBH-101 User manual

Sollae Systems
Sollae Systems CSE-H25 User manual

Sollae Systems
Sollae Systems CSE-H20 User manual

Sollae Systems
Sollae Systems IDIS-200 User manual

Sollae Systems
Sollae Systems CSW-H80 User manual

Sollae Systems
Sollae Systems EZL-200F User manual

Sollae Systems
Sollae Systems CSE-H20 User manual