Sollae Systems Co., Ltd.
http://www.sollae.co.kr
Serial Device Server
CSE-H21 User’s Manual
Version 1.2 2008-12-04
Страница 1: ...Sollae Systems Co Ltd http www sollae co kr Serial Device Server CSE H21 User s Manual Version 1 2 2008 12 04 ...
Страница 2: ...t 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 ...
Страница 3: ...ng the Communication Environment 12 2 1 2 Connecting to the Network 12 2 1 1 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 15 3 CONFIGURATION 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 the ezManage...
Страница 4: ...bugging 31 5 COMMUNICATION MODE 32 5 1 Introduction 32 5 2 T2S 33 5 2 1 TCP Connection 33 5 2 2 Connection Limitation 33 5 2 1 Serial Data Before the TCP Connection 34 5 2 2 Data Transmission 34 5 2 3 Disconnection 34 5 3 COD 35 5 3 1 Serial Data Before the TCP Connection 35 5 3 2 Data Transmission 35 5 3 3 Disconnection 36 5 3 4 DNS 36 5 4 ATC 37 5 5 U2S 38 6 ATC MODE 39 6 1 Overview 39 6 1 1 AT ...
Страница 5: ...1 Example of active disconnection 43 6 7 2 Example of passive disconnection 43 7 SECURE COMMUNICATION 44 7 1 SSL 44 7 1 1 SSL Secure Socket Layer 44 7 1 2 How to set the SSL on CSE H21 44 7 1 3 Restriction 45 7 2 SSH 45 7 2 1 SSH Secure Shell 45 7 2 2 How to set the SSH on CSE H21 45 7 2 3 Restriction 46 8 TECHNICAL SUPPORT WARRANTY AND NOTES ON OPERATION 47 8 1 Technical Support 47 8 2 Warranty 4...
Страница 6: ...ssing 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 c...
Страница 7: ...P 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 LA...
Страница 8: ... 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 ...
Страница 9: ... Off ISP Mode LINK Green On CSE H21 is connected to the Ethernet RXD Yellow Blink Ethernet packet is received TXD Green Blink Ethernet packet is transmitted C O M TCP Green On TCP is connected RXD Yellow Blink serial data are received TXD Green Blink 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 1...
Страница 10: ...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...
Страница 11: ...n 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 automat...
Страница 12: ...CSE H21 User s Manual Ver 1 2 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 ...
Страница 13: ...ort 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 con...
Страница 14: ...S232 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 cl...
Страница 15: ...CSE H21 User s Manual Ver 1 2 Sollae Systems Co Ltd 14 http www sollae co kr Figure 2 1 Initial settings ...
Страница 16: ... 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 And the STS of COM1 will be on Figure 2 3 A window to test ...
Страница 17: ...hat 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 Figure 2 5 The data are transmitted to the Serial RX window ...
Страница 18: ... 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 ...
Страница 19: ...ial 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 ope...
Страница 20: ...e bottom of its case Read 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 the REMOTE tab and presses Read button then user can read only the CSE H21 s parameters If there are a lot of ezTCPs in the network so it is hard to find the ezTCP it is very useful Write Stores the modified parameters by pressing the ...
Страница 21: ... the environmental variable from the file that you have saved Multiple Setting You can save same environmental variables to multiple ezTCP s with this button PING ARP User can do ping tests with this button And user can check or delete the ARP cache table of the PC Initialize ENV User can initialize the CSE H21 with this button Search ezTCP Searches all CSE H21 on user local network The result is ...
Страница 22: ...ally receive DNS server address If this check box is not activated the IP address designated in the DNS IP Address will be used as the DNS server address IP Change Trap Protocol IP Change Trap Method Interval The interval to send IP information DDNS ID The user account which was registered to the service provider If DDNS is selected DDNS PWD The password of user account which was registered to the...
Страница 23: ...during the specified Guard Time CSE H21 sends data to ethernet unit 10ms minimum vale 4 40ms Telnet COM port control option If the Telnet COM Port Control Option is enabled CSE H21 sends the CTS DSR control signal to the communication counter part and CSE H21 sets its serial port items RTS DTR Baudrate databits parity stop bit after getting information from the communication counter part OPTION Re...
Страница 24: ...o the following sequence When the ezTCP power is turned on and the LAN cable is connected correctly pressing Search ezTCP or Read button will display the following window Figure 3 2 Searching ezTCP If a network attached ezTCP is detected the following message will be displayed If a message pops up indicating that there is no response from ezTCP check that the power is turned on and the cable is co...
Страница 25: ...rch 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 shown You can ping test in this window The following is a screenshot that ithe ping test is OK ...
Страница 26: ...r to automatically set the IP address subnet mask gateway and name server of ezTCP Using DHCP automatic setup function requires the user to check DHCP item on ezManager Note that the user may have to check ARP item according to the type of DHCP servers 3 5 Setting PPPoE PPPoE is used in most ADSL and VDSL To use PPPoE function PPPoE function should be enabled and PPPoE ID and PPPoE password should...
Страница 27: ...ks in the Serial Configuration Mode You can set the environmental variables through the COM1 port in this mode 4 1 3 ISP Mode If you press the switch on the side of the body in the normal mode over 1 second it works in the ISP mode You can download new firmware to CSE H21 with hotflash program that is a TFTP client through the Ethernet 4 1 4 Comparison between two modes The following is a comparis...
Страница 28: ... by pressing the FILE menu And press the SEND button You have to uncheck the Verify firmware version in this case Figure 4 1 A firmware is downloading to the CSE H21 with the hotflash After completing the download the following message will be shown And CSE H21 boots up automatically and works at the normal mode Figure 4 2 Completing firmware download with hotflash 4 3 Checking current status 4 3 ...
Страница 29: ...rts 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 Check Status in the ezManager If you press the STATUS in the ezManager you can monitor the current status of CSE H21 If you set the Status Request button the information will be updated every pre specified time And user can close the TCP connection in the TCP IP Con...
Страница 30: ...nc www dyndns com s DNS server So user has to register user name and hostname to the website of the DynDNS to use the DDNS function 4 4 2 TCP UDP CSE H21 sends its IP information to the pre defined a TCP or UDP server periodically So user has to set the server s IP address and port number to use this function in advance CSE H21 supports both ASCII and BINARY mode ASCII message format is followed E...
Страница 31: ...ation 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 1 2 3 4 5 6 7 8 len cm_len Ethernet address IP address p_id major minor Rev Comment 0x00 Figure 4 7 Binary Message Format len total length cm_len comment length p_id product ID major minor Rev firmware version ...
Страница 32: ...n the OPTION tab of the ezManager CSE H21 transmits debugging messages with 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 ...
Страница 33: ...uring environmental variable via serial port Topolo gy T2S TCP Passive Not needed Impossible 1 1 ATC TCP Active Passive Needed Possible 1 1 COD TCP Active Not needed Impossible 1 1 U2S UDP No Connection Not needed Impossible N M TCP protocol requires connection process The connection is always established as 1 1 connection At this time the host waiting for connection passive connection is called a...
Страница 34: ...e serial port to establish data communication Remote Host Serial Device ezTCP Listen on local port Request TCP connection Accept TCP connection ack DATA ABC DATA ABC TCP IP DATA DEF TCP IP DATA DEF connected T2S Mode Figure 5 1 T2S Mode 5 2 1 TCP Connection If a host connects to the pre defined Local Port of CSE H21 the host can communicate bi directionally 5 2 2 Connection Limitation CSE H21 has ...
Страница 35: ...SE H21 stores serial data to its memory and it transmits these data when CSE H21 is connected 5 2 2 Data Transmission Once TCP connection is established hosts can communicates with the CSE H21 bi directionally And CSE H21 gathers data from its serial ports It transmits data when there s no data during the specified in the Guard Time If the Guard Time is 0 it transmits as soon as it receives data f...
Страница 36: ... Accept TCP connection DATA AB DATA DEF DATA ABC TCP IP DATA GHI TCP IP DATA GHI connected COD connection sequence Byte Count 3 Remote Host DATA C Ack DATA DEF TCP IP 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...
Страница 37: ...ress 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 After CSE H21 gets the IP address from the DNS server it tries to connect the IP address When CSE H21 is in DHCP or PPPoE mode and the Obtain DNS server address automatically is set CSE H21 use the DNS server that it gets DNS s...
Страница 38: ... 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 In ATC mode the AT command allows the user to set environment variables including the IP address and control TCP connection and disconnection Figure 5 3 ATC Mode Refer to 6 ATC Mode ...
Страница 39: ... Byte Count come to the serial port of the ezTCP or if there is no data during the specified period of time Timeout all data received for the same period are recognized as one block which is then transmitted to the UDP The Timeout unit is 10ms Since UDP communication does not require a connection procedure the user can establish N to M communication via multicast and broadcast Serial Device ezTCP ...
Страница 40: ...ormat is followed AT Command CR 0x0d The response code to AT command is followed CR 0x0d LF 0x0a Response message CR 0x0d LF 0x0a Response Message When ATV1 initial setting When ATV0 Description OK 0 command OK CONNECT 1 TCP connected NO CARRIER 3 TCP disconnected ERROR 4 Command error Set value Set value When query set value example AT PRIIP 6 2 Basic AT Command Set Example ATA ATD etc Command Fu...
Страница 41: ...dress PNIP Name Server IP Address Setting Name server IP PRHN Remote Host Name Setting the peer host name to connect with double quotation at prhn www sollae co kr After setting this parameter CSE H21 queries the IP address according to the name and set the IP address to the PRIP parameter PRP Remote machine TCP port PWP Write configuration Saving and Reset PARP ARP setting function enable disable...
Страница 42: ...host The time from final data the first data of string No data over 500ms guard time time intervals between s 0 500ms Time interval after receiving last No data over 500ms guard time 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 6 5 Example of Configuration with AT C...
Страница 43: ...necting to the host Attempting to connect to the host CR LF CONNECT CR LF TCP connection success Data Communication 6 6 2 Example of Active Connection with a host name Serial Port Description AT PNIP 168 126 63 1 CR Setting name server S IP address CR LF OK CR LF Command OK AT PRHN www sollae co kr CR Setting a hostname to connect After setting CSE H21 query an IP address to the specified name ser...
Страница 44: ...tion OK Data Communication 6 7 Example of TCP Disconnection 6 7 1 Example of active disconnection CSE H21 disconnects the connection Serial Port Description Data Communication during TCP connection guard time guard time Changing online state to AT command state CR LF OK CR LF Changed to AT command state ATH TCP disconnection command CR LF OK CR LF Command OK 6 7 2 Example of passive disconnection ...
Страница 45: ...net The SSL works over TCP 7 1 2 How to set the SSL on CSE H21 To works for SSL you have to set the SSL related parameters as the following steps 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 ...
Страница 46: ...7 2 1 SSH Secure Shell SSH is a network protocol that allows secure communications between two devices You can use this function if your device is a serial port for console and you need secure communication 7 2 2 How to set the SSH on CSE H21 To works for SSL you have to set the SSH related parameters as the following steps Set the SSH check box in the ezManager Log in the CSE H21 with telnet clin...
Страница 47: ...nerate a DSA key with a dsa keygen Set a username and a password to log in with a ssh id command for the SSH 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 ...
Страница 48: ...ices For product failures occurring within one year after purchase Sollae Systems provides free repair services or exchange the product However if the product failure is due to user s fault repair service fees will be charged or the product will be replaced at user s expense 8 2 3 Charged Repair Services For product failures occurring after the warranty period one year or resulting from user s fau...
Страница 49: ...hot place or in a place where vibration is severe Do not use the product in an environment in which humidity is high or a lot of oil exists 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 reliability...
Страница 50: ...llae co kr 9 Revision History Date Version Comments Jun 3 2008 1 0 Initial Release Aug 1 2008 1 1 Add SSL and SSH functions Add WEEE notation Dec 4 2008 1 2 Modify ISP button function Add AT PNIP AT PRHN Add Connect with a host name in ATC Mode Add Close TCP function ...