Page 1
2Ports Serial Device Server CSE-H20 User Manual Version 2.7 Sollae Systems Co., Ltd. http://www.ezTCP.com...
Page 2
CSE-H20 User Manual Ver. 2.7 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.
LAN after TCP/IP processing and vice versa. As CSE-H20 has 2 RS232 ports, it can be connected to two RS232 devices in the same time. And it is easy CSE0-H20 to attach to user systems because of its compact size.
CSE-H20 User Manual Ver. 2.7 Specifications 2.1 Components CSE-H20 Body 5V Power Adapter (optional) RS232C cable for PC connection - RJ45-DB9F-1M (optional) RS232C cable for user device connection - RJ45-DB9M-1M (optional) Cross-over Ethernet cable (optional) ...
Page 8
CSE-H20 User Manual Ver. 2.7 2.2 Specifications Input Voltage 5V (±10%) Power Current 200mA typical Dimension 87mm x 57mm x 24mm Weight About 70g Serial RJ45 x 2 Interface Network RJ45 Serial Port 2 x RS232 (300bps ~ 230400bps, RTS/CTS flow control)
Green disconnected Yellow As same as CTS (on: CTS active) Green Blinks if CSE-H20 gets data from the serial port. connected As same as RTS (on: RTS active) Yellow Blinks if CSE-H20 sends data to the serial port. As same as CTS (on: CTS active) Green Blinks if CSE-H20 gets data from the serial port.
Page 10
TX Delay CSE-H20 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-H20’s serial ports. Its unit is byte.
CSE-H20 User Manual Ver. 2.7 2.3.2 Ethernet Interface Network part of CSE-H20 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.
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-H20 operates as ISP mode. User can do firmware download to the CSE-H20 in the ISP mode. Please refer to 4.2 for more information on firmware download.
IP address environment (local IP, subnet mask, gateway, DHCP/PPPoE etc.) Serial port type of the equipment to which CSE-H20 is going to be connected (RS232) Serial port items of the equipment to which CSE-H20 is going to be connected (baud rate, data bit, parity, stop bit, flow control) ...
LAN cable to the hub to which the PC is connected or directly to the PC, and the supplied CSE-H20 power adapter to CSE-H20 for power supply. If the LAN cable has been correctly connected when power is supplied, LINK LED turns on.
Flow NONE Communication Mode T2S – TCP Server Local Port 1470/1471 Figure 3-3 configuring CSE-H20 3.2.4 Communication Test Power the CSE-H20 off and on, then it tries to connect to the LAN. Sollae Systems Co., Ltd. - 14 - http://www.ezTCP.com...
Page 16
CSE-H20 User Manual Ver. 2.7 A program for testing starts if you press the [Simple Test] button of the ezManager. Figure 3-4 communication test 1 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 ].
Page 17
CSE-H20 User Manual Ver. 2.7 Press the [Open] button after selecting serial port that is connected to the CSE-H20. If the serial port is open, the “COM1 the COM port has opened” message will be shown. Figure 3-6 communication test 3 ...
Page 18
CSE-H20 User Manual Ver. 2.7 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. Figure 3-8 communication test 5 ...
CSE-H20. 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-H20 over the network, or by using AT commands in ATC mode.
CSE-H20 User Manual Ver. 2.7 4.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.
4.2.4 Matters to be attended to ezManager can be used when you want to change your device’s environment variables. In case of CSE-H20, two interfaces are supported and those are Ethernet and RS232 port. Using Ethernet Port For use ezManager through Ethernet, CSE-H20 should be connected with PC on networks.
4.4.1 DDNS (Dynamic Domain Name System) If the CSE-H20 obtains its IP address, it notices to the service provider. Then the service provider serves DNS service. So, even though user doesn’t know the CSE-H20’s IP address, user can connect to the CSE-H20 by the host name (after DNS looking up.) The DDNS service provider that the CSE-H20 supports is only Dyndns (http://dyn.com/dns/) currently.
5.2.3 How to Initiate the ISP Mode If user press the ISP button hen CSE-H20 boots up or user press the button over 1 second in the normal mode, it operates as ISP mode that is firmware download mode.
5.4 Serial Configuration Mode This mode is for configuration under condition which the network is unavailable. When entering this mode, parameters of CSE-H20 can be set by its COM1 port. [Serial] tap on the ezManager let users do this. Sollae Systems Co., Ltd.
Supply power with pressing ISP button or push the button over 1 second, then CSE- H20 operates in the ISP mode. Run hotflash that is supplied by us and input IP address of CSE-H20 and select the firmware with the [FILE] menu. Then, send it with [SEND] button. (Uncheck the [Verify firmware version] option.)
[Event Byte] settings. If the [Event Byte] is 0, the data that comes to serial port of CSE-H20 will not be recognized. If it is not 0, the serial data before TCP connection will be temporarily saved to be sent to the host after the connection.
Then, CSE-H20 will send data according to the [Data Frame]. In other words, when the data comes through CSE-H20’s serial port, it will be temporarily saved in the buffer. Then, when there is no incoming data during the designated [Data Frame], CSE-H20 will send the saved data.
Data before TCP connection will be handled based on the [Event Byte] settings. If the [Event Byte] is 0, the data that comes to CSE-H20’s serial port will not be recognized. If it is not 0, the serial data before TCP connection will be temporarily saved to be sent to the host after the connection.
[Timeout] is 1 second. 6.2.4 DNS If users set the host name instead of the IP address on the [Peer Address] box, CSE-H20 query the IP address of the host to its Domain Name Server (DNS). The IP address of DNS can be configured on ezManager.
CSE-H20 User Manual Ver. 2.7 6.3 ATC – AT Command AT command is a mode which users control CSE-H20 with AT command like controlling modem. In this mode, active and passive TCP connections are available. And users are allowed to configure some environmental parameters with extended commands.
TCP connection has been established CSE-H20 sends “CONNECT” message to the serial port Table 6-2 states of each point Most of the response messages from the serial port of CSE-H20 are omitted on above figure. Sollae Systems Co., Ltd.
Page 32
TCP Client – setting parameters and active connection Figure 6-2 TCP Active connection Points States Set parameters in the AT command mode CSE-H20 sends a TCP connection request with the ATD ① command Processes of TCP connection ② TCP connection has been established CSE-H20 sends “CONNECT”...
Page 33
CSE-H20 sends “NO CARRIER” with disconnection Table 6-4 states of each point CSE-H20 changes the mode to AT command, when receiving “+++” and sending “OK” message. In this state, the communication with remote host is not possible because CSE- H20 processes only AT command. Whenever you want to go back to online state (TCP connection), use “ATO”...
CSE-H20 User Manual Ver. 2.7 6.4 UDP UDP has no processes of connection. In this mode, data is sent in block units. Therefore, data that comes through CSE-H20’s serial port must be classified in block units to send it elsewhere. 6.4.1 Key parameters ...
Points States CSE-H20 is receiving data from the serial port ① CSE-H20 Sends 5 bytes as one block based on the [Block Size] Serial device sends data “678” to the CSE-H20 ② Data “678” has arrived CSE-H20 sends data from the remote host to the serial device ③...
Page 36
CSE-H20 updates host 2 to peer host CSE-H20 can communicate with remote host 2 Table 6-7 states of each point The data “ABC”, “DE”, “FGH” are from the serial port of CSE-H20 in the Fig 6-5. Sollae Systems Co., Ltd.
Log in the CSE-H20 with telnet client. For telnet login, please refer to the section 8.1.1 Generate an RSA key with a command. CSE-H20 supports 512, 768, and 1024 length keys. Command Format: rsa keygen [key length] Figure 7-2 SSL 2 Sollae Systems Co., Ltd.
Save the parameters for SSL with a ‘ssl save aa55cc33’ command. Figure 7-4 SSL 4 7.1.3 Restriction To use the SSL with CSE-H20, there is a restriction. You can use only one serial port (COM1) if you set the SSL function. Sollae Systems Co., Ltd.
Log in the CSE-H20 with telnet client. For telnet login, please refer to the section 8.1.1 Generate an RSA key with a command. CSE-H20 supports 512, 768, and 1024 length keys. Command Format: rsa keygen [key length] Figure 7-6 SSH 2 Sollae Systems Co., Ltd.
Save the parameters for SSH with a ‘ssh save aa55cc33’ command. Figure 7-9 SSH 5 7.2.3 Restriction To use the SSH function with CSE-H20, there is a restriction. You can use only T2S mode (TCP Server mode) if you set the SSH function Sollae Systems Co., Ltd.
CSE-H20 User Manual Ver. 2.7 7.3 ezTCP Firewall CSE-H20 has two connection limitation functions. Those can be set by the [Option] tab of the ezManager. Figure 7-10 ezTCP Firewall Allowed MAC Address If user sets the [Allowed MAC Address], the only specified host can be connected with the CSE-H20.
CSE-H20 User Manual Ver. 2.7 Checking & Debugging If user logs in the CSE-H20, user can monitor CSE-H20 status. And if user sets the debugging option, user can get debugging data with ezManager. 8.1 Telnet 8.1.1 Telnet Login Once the [TELNET] option is activated, users can remotely log in to CSE-H20. If a password is set, users should input the password.
Page 43
Serial Ports I/O data capture This command is available on 1.2H or subsequently released firmware version. User can monitor the input / output data of CSE-H20’s serial ports with the “sd” command. The way of using this command is like below.
8.2.1 Status of the CSE-H20 If the [Status] button is pressed on ezManager, user can monitor the current status of the CSE-H20 with ezManager. If user sets [Refresh Every 1 second] option, the status data will be updated in every second.
UDP port 50006. Then user can get the messages with new window if user presses [Debugging Message] button as followed: Figure 8-9 remote debugging This function is very useful when there are any problems when users install the CSE-H20 in the user site. 8.4 Sending MAC Address [Sending MAC Address] is a function that CSE-H20 sends its MAC address to the remote host right after the connection is established.
CSE-H20 User Manual Ver. 2.7 Related material Technical Documents You can find the technical documents at our website. Datasheet IP Change Notification (DDNS) How to use SSL How to use SSH Sending MAC Address function ...
10 Technical Support and Warranty 10.1 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: E-mail: support@eztcp.com...
Reverse engineering of firmware and applications provided by Sollae Systems is prohibited. Use of firmware and applications provided by Sollae Systems for purposes other than those for which they were designed is prohibited. Do not use the product in an extremely cold or hot place or in a place where vibration is severe.
(including, without limitation, damages for loss of profit, operating cost for commercial interruption, loss of information, or any other financial loss) from the use or inability to use the CSE-H20 even if Sollae Systems Co., Ltd. Or its distributors have been informed of such damages.
Page 50
à caractère commercial ou de toute autre perte financière) provenant de l'utilisation ou de l'incapacité à pouvoir utiliser le boîtier CSE-H20, même si Sollae Systems Co., Ltd. ou un de ses distributeurs a été informé de la possibilité de tels dommages.
Page 51
CSE-H20 sans que la responsabilité de Sollae Systems Co., Ltd. et de ses distributeurs ne puissent être mise en cause, ni que le boîtier CSE-H20 puisse être échangé au titre de la garantie.
CSE-H20 User Manual Ver. 2.7 12 Revision History Date Version Comment Author Jan.15.2007 Initial touch Feb.22.2007 Initial release Aug.31.2007 Add Serial Interface Add Telnet COM Port Control Option Sep.27.2007 Add DDNS(Dynamic DNS) function Dec.04.2008 Add SSL, SSH function Modify ISP- pin function...
Page 53
CSE-H20 User Manual Ver. 2.7 frame interval… etc) ○ Update a screenshot of ezManager. Jan.11.2012 ○ Caution about service using of DynDNS has been Peter LEE added ○ Descriptions of FIFO function has been deleted. June.21.2012 ○ Extend the warranty period to two years Peter LEE ○...
Need help?
Do you have a question about the CSE-H20 and is the answer not in the manual?
Questions and answers