Page 1
Serial Device Server CSE-H21 User’s Manual Version 1.2 2008-12-04 Sollae Systems Co., Ltd. http://www.sollae.co.kr...
Page 2
CSE-H21 User’s Manual Ver. 1.2 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;...
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.
CSE-H21 User’s Manual Ver. 1.2 1.3 Specification Input Voltage 5V (±10%) Power Current 200mA typical Dimension 158mm x 90mm x 24mm Weight about 340g Serial 9 pin Dsub male Interface Network 10/100 Base T (RJ45) Serial Port 2 x RS232 (300bps ~ 230400bps, RTS/CTS Flowcontrol)
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 - 7 - Sollae Systems Co., Ltd.
CSE-H21 User’s Manual Ver. 1.2 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.
CSE-H21 User’s Manual Ver. 1.2 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 ...
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.
CSE-H21 User’s Manual Ver. 1.2 1.5.3 Power DC5V is used for CSE-H21 and the specification is below: Figure 1-4 DC 5V Power Jack - 11 - Sollae Systems Co., Ltd. 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. - 12 - Sollae Systems Co., Ltd.
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.
CSE-H21 User’s Manual Ver. 1.2 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].
Page 17
CSE-H21 User’s Manual Ver. 1.2 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].
Page 18
CSE-H21 User’s Manual Ver. 1.2 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. 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...
(The MAC address of CSE-H21 is on the bottom of its case.) 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 Read the [REMOTE] tab and presses [Read] button, then user can read only the CSE-H21‟s parameters.
Page 21
ARP cache table of the PC. Initialize User can initialize the CSE-H21 with this button. Searches all CSE-H21 on user local network. The result is displayed on Search the [Search List] box. Each value represents each ezTCP‟s MAC address.
ID and Password that will be used in PPPoE & Password ARP Function activation status (Conditionally required for DHCP) If CSE-H21‟s IP address is set as a dynamic IP (DHCP or PPPoE), it Obtain DNS will automatically receive DNS server address. If this check box is...
Page 23
Data amount before the TCP connection Timeout Time out When CSE-H21 sends data from its serial port to the ethernet, the [Guard Time] is a unit between two packets. Guard Time If there is no data from its serial port during the specified [Guard Time], CSE-H21 sends data to ethernet.
CSE-H21 User’s Manual Ver. 1.2 access the CSE-H21 If this parameter is set, CSE-H21 replies to the only host that has ezManager Lock parameters that is defined in the [Allowed Ethernet Address] or [Allowed IP]. 3.2.4 ezManager Operation example ezManager can be used to change the IP address related items, the serial port setup value, the serial port operation mode, and how to setup ezTCP.
Page 25
CSE-H21 User’s Manual Ver. 1.2 Figure 3-4 search result of ezTCP Set [ezTCP Mode], [Local IP Address], [Local Port], and serial port related items. After setting press [Write] button Pressing the [PING / ARP] button of the ezManager, a [PING / ARP] window will be ...
PPPoE is used in most ADSL and VDSL. To use PPPoE function, PPPoE function should be enabled and PPPoE ID and PPPoE password should be configured. The local IP address of CSE-H21 is assigned automatically in PPPoE environment. √ Some ADSL or VDSL modem use DHCP. Please contact your ISP (Internet Service Provider).
CSE-H21 User’s Manual Ver. 1.2 4 System Management 4.1 Operation Mode CSE-H21 can operate in one of two modes (normal and ISP modes). Normal mode is ordinary data communication mode; and ISP mode is used to download CSE-H21 firmware through the Ethernet port.
4.3.1 Telnet login You can log in the CSE-H21 if you enable the [Telnet option] in the [OPTION] tab of the ezManager. Then you can check the network and serial status after logging in the CSE-H21. If you press “telnet [CSE-H21‟s IP address]” on the command prompt of Windows, you can log in CSE- 4.3.2...
Figure 4-3 The network status Serial ports‟ status If you type “st sio”, you can check the serial ports‟ status of CSE-H21 The tx_count and rx_count is the total bytes since the CSE-H21 has booted up. Figure 4-4 The serial status 4.3.3...
Figure 4-5 A screen shot of the [STATUS] window 4.4 IP Change Trap CSE-H21 has a function to send its IP address. So user can solve the problem that IP address is changed automatically in the dynamic IP address environment. CSE-H21 supports 3 kinds of transmitting methods –...
Page 31
CSE-H21 User’s Manual Ver. 1.2 Ethernet Address 0x0d 0x0a IP Address 0x0d 0x0a Product Information 0x0d 0x0a Comment 0x0d 0x0a Figure 4-6 ASCII Message Format The BINARY message format ends with 0x00. The message format of BINARY is followed: cm_len...
UDP port 50006. Then user can get the messages with new window if user presses [Debug Message] button as followed: Figure 4-8 Debugging screen This function is very useful when there are any problems when user installs the CSE-H21 in the user site. - 31 - Sollae Systems Co., Ltd.
5 Communication Mode 5.1 Introduction Normal communication mode is suitable for the purpose of using CSE-H21. Normal communication mode can be classified into four modes – T2S, ATC, COD, and U2S – each of which is described in the following table.
5.2 T2S In T2S mode, the CSE-H21 functions as a server. When a host connects to predefined local port, the CSE-H21 accepts a TCP connection. When the ezTCP accepts TCP connection, then the TCP connection is established. After connection is established, TCP/IP processing is performed on the data coming to the serial port, which is then transmitted to the remote host.
192.168.1.4 5.2.1 Serial Data Before the TCP Connection If the [Byte Count] is 0, all data from the CSE-H21‟s serial port before the TCP connection are ignored. If the [Byte Count] is over 0, CSE-H21 stores serial data to its memory and it transmits these data when CSE-H21 is connected.
Figure 5-2 COD Mode 5.3.1 Serial Data Before the TCP Connection If the [Byte Count] is 0, all data from the CSE-H21‟s serial port before the TCP connection are ignored. If the [Byte Count] is over 0, CSE-H21 stores serial data to its memory and it transmits these data when CSE-H21 is connected.
[Timeout]. The unit of the [Timeout] is a second. 5.3.4 DNS If numeric IP address is set to the [Peer Address], CSE-H21 tries to connect to the specified IP address. If the alphabetic hostname is set to the [Peer Address], CSE-H21 queries to the DNS server.
CSE-H21 User’s Manual Ver. 1.2 5.4 ATC In ATC mode, the user can control the CSE-H21 in a similar way to controlling the modem using AT command. In ATC mode, only a TCP connection is possible and both the server and the client can be configured.
CSE-H21 User’s Manual Ver. 1.2 5.5 U2S U2S mode allows for UDP communication. In UDP mode, data are transmitted in blocks, which requires dividing data coming to the serial port into blocks before transmitting data. A procedure for dividing data into blocks is as follows:...
6 ATC Mode 6.1 Overview CSE-H21 can be controlled by AT commands in ATC mode. For example, the peer host IP address can be set by AT+PRIP command and connect to the host by ATD command. Therefore, CSE-H21 communicates several hosts alternatively.
CSE-H21 User’s Manual Ver. 1.2 ATI7: MAC address Online To online mode enable result code Result code (numeric-V0, alphabetic-V1) reset Reset 6.3 Extended AT Commands (Example: AT+PLIP etc.) Command Function Description Needed AT+PWP after +PLIP local IP address setting this parameter...
To change online state to AT command state during the connection, +++ string should be transmitted to CSE-H21 as following time interval. When transmitting +++ string to CSE-H21, +++ string will be sent to peer host. The time from final data the first „+‟ data No data over 500ms(guard time) of „+++‟...
Setting name server AT+PNIP=168.126.63.1<CR> ▶ S IP address ◀ <CR><LF>OK<CR><LF> Command OK Setting a hostname to connect After setting CSE-H21 query an IP address specified name AT+PRHN=”www.sollae.co.kr”<CR> ▶ server. After getting the IP address, it set to the +PRIP field.
CSE-H21 User’s Manual Ver. 1.2 ◀ <CR><LF>CONNECT<CR><LF> TCP connection success Data Communcation 6.6.3 Example of passive Connection Serial Port Description AT+PLP=1470<CR> ▶ Set LOCAL PORT to listen ◀ <CR><LF>OK<CR><LF> Command OK ATA<CR> ▶ Passive connection command Listen on local port from a host A host connects to CSE-H21 ◀...
Set the [SSL] check box in the ezManager. Log in the CSE-H21 with telnet clinet. Generate an RSA key with a command. CSE-H21 supports 512, 768, and 1024 length keys. Command Format: rsa keygen [key length] Make a certificate with a „cert new‟ command. The certificate is a self signed.
Save the parameters for SSL with a „ssl save aa55cc33‟ command. 7.1.3 Restriction To use the SSL with CSE-H21, there is a restriction. You can use only one serial port(COM1) if you set the SSL function. 7.2 SSH 7.2.1 SSH (Secure Shell) SSH is a network protocol that allows secure communications between two devices.
Save the parameters for SSH with a „ssh save aa55cc33‟ command. 7.2.3 Restriction To use the SSH function with CSE-H21, there is a restriction. You can use only T2S mode (TCP Server mode) if you set the SSH function. - 46 - Sollae Systems Co., Ltd.
Technical Support If you have any question regarding operation of the product, visit Customer Support FAQ corner and the message board on Sollae Systems‟ web site or send us an email at the following address: support@eztcp.com Website Address for Customer Support: http://www.sollae.co.kr/Support/index.html...
Page 49
Do not use the product for a purpose that requires exceptional quality and reliability relating to user‟s injuries or accidents – aerospace, aviation, health care, nuclear power, transportation, and safety purposes. Sollae Systems is not responsible for any accident or damage occurring while using the product.. - 48 - Sollae Systems Co., Ltd.
CSE-H21 User’s Manual Ver. 1.2 9 Revision History Date Version Comments Jun. 3. 2008 Initial Release Add SSL and SSH functions Aug. 1. 2008 Add WEEE notation Modify ISP button function Add AT+PNIP, AT+PRHN Dec. 4. 2008 Add Connect with a host name in ATC Mode...
Need help?
Do you have a question about the CSE-H21 and is the answer not in the manual?
Questions and answers