Sollae Systems CSE-H21 User Manual

Sollae Systems CSE-H21 User Manual

2 ports rs232 ethernet converter
Hide thumbs Also See for CSE-H21:
Table of Contents

Advertisement

Quick Links

2 Ports RS232 Ethernet Converter
CSE-H21 User's Manual
Version 2.1
2012-06-18
Sollae Systems Co., Ltd.
http://www.ezTCP.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CSE-H21 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sollae Systems CSE-H21

  • Page 1 2 Ports RS232 Ethernet Converter CSE-H21 User’s Manual Version 2.1 2012-06-18 Sollae Systems Co., Ltd. http://www.ezTCP.com...
  • Page 2 CSE-H21 User’s Manual Ver. 2.1 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;...
  • Page 3: Table Of Contents

    2.1.3 Configuring the Environmental Variables ................... - 14 - 2.2 Test Run ................................- 14 - 2.2.1 Changing PC IP Address ........................- 14 - 2.2.2 Installing CSE-H21 ..........................- 14 - 2.2.3 Configuring CSE-H21 ........................... - 14 - 2.2.4 Communication Test ..........................- 16 - Configuration ........................
  • Page 4 CSE-H21 User’s Manual Ver. 2.1 3.4.2 TCP/UDP..............................- 22 - System 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 ....................
  • Page 5 Security 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) ..........................
  • Page 6: Overview

    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.
  • Page 7: Specification

    CSE-H21 User’s Manual Ver. 2.1 1.3 Specification 1.3.1 Hardware Input Voltage DC 5V (±10%) Power Current 200mA typical Dimension 158mm x 90mm x 24mm Weight About 340g Arm7 Core 2 × RS232 – RTS/CTS Flow Control Serial (Baud rate: 300bps ~ 230,400bps)
  • Page 8: 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 http://www.ezTCP.com...
  • Page 9: Led Indicators

    CSE-H21 User’s Manual Ver. 2.1 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.
  • Page 10: Interface

    Data bit 8, 7, 6, 5 Parity None, Even, Odd, Mark, Space Stop bit 1, 1.5, 2 Flow Control  CSE-H21 supports RTS/CTS Hardware Flow Control. Telnet COM Port Control Option (RFC2217)  http://www.ezTCP.com Sollae Systems Co., Ltd. - 9 -...
  • Page 11 DTR, Baud rate, data bits, parity, stop bit) after getting information from the communication counterpart. Disable TCP Transmission Delay  If you use this option, CSE-H21 sends the data from the serial port to Ethernet as quickly as possible. Data Frame Interval ...
  • Page 12: Ethernet Interface

    CSE-H21 User’s Manual Ver. 2.1 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.
  • Page 13 CSE-H21 User’s Manual Ver. 2.1 Figure 1-4 DC 5V Power Jack http://www.ezTCP.com Sollae Systems Co., Ltd. - 12 -...
  • Page 14: Getting Start

    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 ...
  • Page 15: Configuring The Environmental Variables

    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.
  • Page 16 CSE-H21 User’s Manual Ver. 2.1 For simple test, we recommend that the variables keep default values as shown in the below table. Parameter Value Local IP Address 10.1.0.1 Network Subnet Mask 255.0.0.0 Telnet Enabled Option IP Address Search Enabled Serial Type...
  • Page 17: Communication Test

    CSE-H21 User’s Manual Ver. 2.1 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. Press the [Connect] button after inputting 10.1.0.1 and 1470 in the IP and Port.
  • Page 18 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 ...
  • Page 19 CSE-H21 User’s Manual Ver. 2.1 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 ...
  • Page 20: Configuration

    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...
  • Page 21: Buttons Of Ezmanager

    CSE-H21 User’s Manual Ver. 2.1 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.
  • Page 22: Matters To Be Attended To

    3.4.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://dyn.com/dns/) currently.
  • Page 23: Tcp/Udp

    CSE-H21 User’s Manual Ver. 2.1 3.4.2 TCP/UDP In addition, CSE-H21 can transmit some information to user’s TCP/UDP servers each 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.
  • Page 24: System Management

    CSE-H21 User’s Manual Ver. 2.1 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.
  • Page 25: Upgrading Firmware

    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.
  • Page 26: Checking Current Status

    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  This command is available on 1.2H or subsequently released firmware version. User can monitor the input / output data of CSE-H21’s serial ports with the “sd” command. The way of using this command is like below. “sd [SPACE] [# of Serial Port] [SPACE] [Interval]”...
  • Page 28: Check Status In The Ezmanager

    CSE-H21 User’s Manual Ver. 2.1 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.
  • Page 29: Remote Debugging

    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.
  • Page 30: Communication Mode

    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.
  • Page 31: T2S - Tcp Server

    [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.
  • Page 32: Disconnection

    CSE-H21 User’s Manual Ver. 2.1 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. 5.2.4 Disconnection When the connected host terminates the connection, or there is no data communication during the designated [Timeout], the TCP connection will be automatically terminated.
  • Page 33: Cod - Tcp Client

    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.
  • Page 34: Disconnection

    [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.
  • Page 35: Atc - At Command

    CSE-H21 User’s Manual Ver. 2.1 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.
  • Page 36: U2S - Udp

    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.
  • Page 37: Atc Mode

    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.
  • Page 38: Extended At Commands (Example: At+Plip Etc.)

    CSE-H21 User’s Manual Ver. 2.1 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 local IP address this parameter...
  • Page 39: Changing Online State To At Command State

    AT+PSE command. 6.4.2 Changing AT Command State to Online State If CSE-H21’s state is in AT command state during TCP connection, CSE-H21’s state can be changed into online state by an ATO command.
  • Page 40: Example Of Tcp Connection

    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>...
  • Page 41: Example Of Passive Connection

    CSE-H21 User’s Manual Ver. 2.1 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 ◀...
  • Page 42: Security Protocols & Option

    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] http://www.ezTCP.com Sollae Systems Co., Ltd.
  • Page 43: Restriction

    Save the parameters for SSL with the ‘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)
  • Page 44: Restriction

    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 http://www.ezTCP.com Sollae Systems Co., Ltd.
  • Page 45: Eztcp Firewall

    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. http://www.ezTCP.com Sollae Systems Co., Ltd.
  • Page 46: Technical Support, Warranty, And Precaution

    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/...
  • Page 47 Do not use the product where there is caustic or combustible gas.  Sollae Systems does not guarantee normal operation of the product under the  conditions a lot of noise exists. Do not use the product for a purpose that requires exceptional quality and ...
  • Page 48: Revision History

    CSE-H21 User’s Manual Ver. 2.1 Revision History Date Ver. Comments Author Jun. 03. 2008 ○ Initial Release ○ Add SSL and SSH functions Aug. 01. 2008 ○ Add WEEE notation ○ Modify ISP button function ○ Add AT+PNIP, AT+PRHN Dec. 04. 2008 ○...
  • Page 49 CSE-H21 User’s Manual Ver. 2.1 ○ Update a screenshot of ezManager. Jan.11.2012 about service using of DynDNS has been Peter ○ Caution added ○ Descriptions of FIFO function has been deleted. June.18.2012 ○ Extend the warranty period to two years Peter ○...

Table of Contents