Page 1
Serial Device Server CSE-H21 User’s Manual Version 1.7 2009-07-13 Sollae Systems Co., Ltd. http://www.sollae.co.kr...
Page 2
CSE-H21 User’s Manual Ver. 1.7 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.7 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)
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 http://www.sollae.co.kr...
CSE-H21 User’s Manual Ver. 1.7 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.7 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.7 1.5.3 Power DC5V is used for CSE-H21 and the specification is below: Figure 1-4 DC 5V Power Jack http://www.sollae.co.kr Sollae Systems Co., Ltd. - 11 -...
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 ...
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.
Communication Mode 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. http://www.sollae.co.kr Sollae Systems Co., Ltd.
Page 16
CSE-H21 User’s Manual Ver. 1.7 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.
Page 17
CSE-H21 User’s Manual Ver. 1.7 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 ...
Page 18
CSE-H21 User’s Manual Ver. 1.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. 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...
CSE-H21 User’s Manual Ver. 1.7 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.
Data Frame 3.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-H21, two interfaces are supported and those are Ethernet and RS232 port. Using Ethernet Port ...
3.6.1 DDNS (Dynamic Domain Name System) If the CSE-H21 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-H21‟s IP address, user can connect to the CSE-H21 by the host name (after DNS looking up.) The DDNS service provider that the CSE-H21 supports is only Dyndns (http://www.dyndns.com)
Page 23
CSE-H21 User’s Manual Ver. 1.7 period which is set. This information is IP address, MAC address, product ID, firmware version, and comment. The data can be sent as either ASCII or Hexadecimal type. For more details about the Notify IP Change, please refer to the document on our web ...
CSE-H21 User’s Manual Ver. 1.7 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.
Supply power with pressing ISP button or push the button over 1 second, then CSE- H21 operates in the ISP mode. Run hotflash that is supplied by us and input IP address of CSE-H21 and select the firmware with the [FILE] menu. Then, send it with [SEND] button. (Uncheck the [Verify firmware version] option.)
4.3 Checking current status 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.
Page 27
CSE-H21 User’s Manual Ver. 1.7 “sd [SPACE] [# of Serial Port] [SPACE] [Interval]” The value of [# of Serial Port] is that COM1 is “1” and COM2 is “2”. [Interval] means duration of capturing and printing data on your screen and its unit is mille second (ms).
CSE-H21 User’s Manual Ver. 1.7 4.4 Check Status in the ezManager If you press the [STATUS] in the ezManager, you can monitor the current status of CSE- H21. 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: This function is very useful when there are any problems when users install the CSE-H21 in the user site.
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.
[Event Byte] settings. If the [Event Byte] is 0, the data that comes to serial port of CSE-H21 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, when there is no incoming data during the designated [Data Frame], CSE-H21 will send the saved data. If the [Data Frame] is 0, CSE- H21 will send serial port‟s data immediately. The unit used for the [Data Frame] is 10m seconds, so CSE-H21 rounds down rest of the values.
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-H21‟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. 5.3.4 DNS If users set the host name instead of the IP address on the [Peer Address] box, CSE-H21 query the IP address of the host to its Domain Name Server (DNS). The IP address of DNS can be configured on ezManager.
CSE-H21 User’s Manual Ver. 1.7 5.4 ATC – AT Command 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.
U2S is a mode that performs UDP communication. In UDP communication, data is sent in block units. Therefore, data that comes through CSE-H21‟s serial port must be classified in block units to send it elsewhere. The block unit classification process is performed as the following.
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.7 ATI3: the firmware version 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 setting +PLIP...
To change online state to AT command state during the connection(Online State), +++ 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 „+++‟...
AT+PNIP=168.126.63.1<CR> ▶ connect ◀ <CR><LF>OK<CR><LF> Command OK Setting the host name to connect After this command, CSE-H21 query the AT+PRHN=”www.sollae.co.kr”<CR> ▶ host name to the name server. After getting the IP address, it sets to the +PRIP parameter. ◀ <CR><LF>OK<CR><LF>...
CSE-H21 User’s Manual Ver. 1.7 Attempting to connect to the host ◀ <CR><LF>CONNECT<CR><LF> TCP connection success Data Communication When being established the active TCP connection, the [Local] Port number may be changed to temporary values. 6.6.3 Example of passive Connection...
Set the [SSL] check box in the ezManager. Log in the CSE-H21 with telnet client. 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)
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 7.3 ezTCP Firewall CSE-H21 has two connection limitation functions.
Page 45
CSE-H21 with ezManager. This is enabled when one of restrictions is set at least. All security functions are disabled in the ISP mode. So user can access the CSE-H21 in the ISP mode even though user can‟t access the CSE-H21 in the normal mode because of the [ezTCP Firewall] function.
8.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: support@eztcp.com Website Address for Customer Support: http://www.eztcp.com/en/Support/support.php...
Page 47
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.. http://www.sollae.co.kr Sollae Systems Co., Ltd.
CSE-H21 User’s Manual Ver. 1.7 9 Revision History Date Version Comments Jun. 03. 2008 Initial Release Aug. 01. 2008 Add SSL and SSH functions Add WEEE notation Dec. 04. 2008 Modify ISP button function Add AT+PNIP, AT+PRHN Add Connect with a host name in ATC Mode Add Close TCP function Jan.
Need help?
Do you have a question about the CSE-H21 and is the answer not in the manual?
Questions and answers