Sollae Systems CSW-H80 User Manual

Serial device server
Hide thumbs Also See for CSW-H80:
Table of Contents

Advertisement

Quick Links

Serial Device Server
CSW-H80 User's Manual
Version 1.2
2009-01-08
Sollae Systems Co., Ltd.
http://www.sollae.co.kr

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CSW-H80 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sollae Systems CSW-H80

  • Page 1 Serial Device Server CSW-H80 User’s Manual Version 1.2 2009-01-08 Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 2 CSW-H80 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;...
  • Page 3: Table Of Contents

    2.2 Test Run ................................- 12 - 2.2.1 Installing wireless LAN ........................- 12 - 2.2.2 Changing PC IP Address ........................- 12 - 2.2.3 Configuring CSW-H80 ......................... - 12 - 2.2.4 Communication Test ..........................- 14 - CONFIGURATION ......................... - 17 - 3.1 Fundamentals of wireless LAN .........................
  • Page 4 CSW-H80 User’s Manual Ver. 1.2 3.3.3 Buttons of the ezManager ........................ - 20 - 3.3.4 ezManager Configuration Items ..................... - 22 - 3.3.5 Setting WEP key ............................. - 24 - 3.3.6 ezManager Operation example ...................... - 25 - 3.4 AT command ..............................- 26 - 3.5 Setting DHCP ..............................
  • Page 5 CSW-H80 User’s Manual Ver. 1.2 ATC MODE ..........................- 42 - 6.1 Overview ................................- 42 - 6.1.1 AT command format ..........................- 42 - 6.2 Basic AT Command Set (Example: ATA, ATD etc.) ................- 42 - 6.3 Extended AT Commands (Example: AT+PLIP etc.) ................- 43 - 6.4 Online State and AT Command State ....................
  • Page 6: Overview

    LAN (IEEE802.11b/g). In other words, like other ezTCP products, CSW-H80 sends data from the serial port to the wireless LAN after TCP/IP processing and vice versa. As CSW-H80 has an SMA antenna port and it is a compact size product, it is easy CSW-H80 to attach to user systems.
  • Page 7: Specification

    CSW-H80 User’s Manual Ver. 1.2 1.3 Specification Input Voltage 5V (±10%) Power Current 300mA typical Dimension 93mm x 57mm x 24mm (without antenna) Weight about 66g (without antenna) Serial 9 pin Dsub male Interface Network IEEE802.11b/g Serial Port 1 x RS232 (300bps ~ 230400bps, RTS/CTS Flowcontrol) IEEE802.11b/g with SMA female jack...
  • Page 8: Layout

    CSW-H80 User’s Manual Ver. 1.2 1.4 Layout 1.4.1 Layout There are an RS232 port, an SMA female jack for antenna connection, and a Power jack on the top side. And there is a Function button on the right side. And 5 LED indicators are in the CSW- H80.
  • Page 9: Led Indicators

    There is a Function button on the side. If this button is pushed 20ms~1s, it operates as Serial Configuration Mode. If it is push over 1 second, CSW-H80 operates as ISP mode. User can do firmware download to the CSW-H80 in the ISP mode. Please refer to the 4.2 Upgrading new firmware for more information on firmware download.
  • Page 10: Interface

    CSW-H80 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. RS232 ports  Number Name Description level Dir. Etc. Not connected to CPU Receive Data...
  • Page 11: Wirelesss Lan Interface

    (RTS, baud rate, data bits, parity, stop bit) onto its serial ports from the peer host. TX Delay  CSW-H80 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 CSW-H80‟s serial ports. Its unit is byte.
  • Page 12: Getting Start

    2.1.2 Configuring the Environmental Variables After connecting a serial cable between the serial port of the CSW-H80 and PC‟s COM port, press the function button from 20 ms to 1 s to enter into the serial configuration mode. And user...
  • Page 13: Connecting To The Network

    2.2 Test Run You can perform test run according to the following orders. The test run described here is based on the assumption that the IP address of the CSW-H80 is set to 10.1.0.1 and the PC is set to 10.1.0.2.
  • Page 14 CSW-H80 User’s Manual Ver. 1.2 items values Local IP Address 10.1.0.1 Subnet Mask 255.0.0.0 NETWORK Gateway IP 0.0.0.0 - 13 - Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 15: Communication Test

    2.2.4 Communication Test Power the CSW-H80 off and on, then it tries to connect to the wireless LAN. After completing the wireless LAN connection, the LINK indicator will be on. 1) A program for testing starts if you press the [ezTCP Test] button of the ezManager.
  • Page 16 CSW-H80 User’s Manual Ver. 1.2 ① ② ③ 3) Press the [Open] button after selecting serial port that is connected to the CSW-H80. If the serial port is open, the “COM1 Port is opened” message will be shown. ⑤ ④...
  • Page 17 CSW-H80 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. ⑨ ⑧ 6) If the transmitting and receiving data are same, the communication test is successful.
  • Page 18: Configuration

    CSW-H80 User’s Manual Ver. 1.2 3 Configuration 3.1 Fundamentals of wireless LAN CSW-H80 supports IEEE802.11b/g. The IEEE802.11b and IEEE802.11g support 11Mbps and 54Mbps transmission rate respectively. There are two types wireless LAN networks – infrastructure and ad-hoc. 3.1.1 Infrastructure Mode The wireless LAN stations communicate through AP.
  • Page 19: Ssid

    LAN related items and serial port related items (serial port type, communication speed, data bit length, parity bit, flow control, etc) to CSW-H80. You can set the IP address and the serial port related items by using ezManager, the supplied - 18 - Sollae Systems Co., Ltd.
  • Page 20: Configuring With Ezmanager

    CSW-H80 User’s Manual Ver. 1.2 configuration utility which allows you to configure your CSW-H80 over the serial and the network, or by using AT commands in ATC mode 3.3 Configuring with ezManager 3.3.1 ezManager The basic environmental variables (wireless LAN related items, IP address related items, serial port items, and etc.) can be set by ezManager which is an integrated management tool...
  • Page 21: Csw-H80 User's Manual Ver

    If user inputs the MAC address of the CSW-H80 into the MAC address input box in the [LOCAL] tab or inputs the IP address of the CSW-H80 into the [REMOTE] tab and presses [Read] button, then user can read only Read the CSW-H80‟s parameters.
  • Page 22 User can do ping-tests with this button. And user can check or delete the PING/ARP ARP cache table of the PC. Initialize User can initialize the CSW-H80 with this button. Exit Terminating ezManager. - 21 - Sollae Systems Co., Ltd.
  • Page 23: Ezmanager Configuration Items

    ID and Password for PPPoE & Password ARP Function activation status (Conditionally required for DHCP) If CSW-H80‟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 24 TCP or UDP IP address to send (If TCP or UDP is selected) When DDNS is selected for the Protocol of the IP Change Trap - The host name of the CSW-H80 (example: eztcp.dyndns.com) Host Name When TCP or UDP is selected for the Protocol of the IP Change Trap...
  • Page 25: Setting Wep Key

    The only host that has specified IP address range can access the Address CSW-H80 If this parameter is set, CSW-H80 replies to the only host that has ezManager Lock parameters that is defined in the [Allowed Ethernet Address] or [Allowed IP].
  • Page 26: Ezmanager Operation Example

    CSW-H80 User’s Manual Ver. 1.2 Select a key index to use – [Key1] / [Key2] / [Key3] / [Key4]  Select key format to input – [HEX] / [ASCII]  Input the key.  The following is an example. ...
  • Page 27: At Command

    CSW-H80 User’s Manual Ver. 1.2 window corresponds to that printed on ezTCP main body. 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 ...
  • Page 28 CSW-H80 User’s Manual Ver. 1.2 be enabled and PPPoE ID and PPPoE password should be configured. The local IP address of CSW-H80 is assigned automatically in PPPoE environment. √ Some ADSL or VDSL modem use DHCP. Please contact your ISP (Internet Service Provider).
  • Page 29: System Management

    CSW-H80 can operate in one of three modes (normal, Serial Configuration Mode, and ISP modes). The Normal mode is ordinary data communication mode; and the Serial configuration Mode is to configure the CSW-H80 through the serial port; and ISP mode is used to download CSW-H80 firmware through the serial port.
  • Page 30: Upgrading New Firmware

    Connect a serial cable between the PC and the CSW-H80. And run the wflash program  Check if the COM port that is connected to the CSW-H80 is opened. You can check it  with the [Settings] and [Action] menu.
  • Page 31: Checking Current Status

    4.3.1 Telnet login You can log in the CSW-H80 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 CSW-H80. If you press “telnet [CSW-H80‟s IP address]” on the command prompt of Windows, you can log in CSW-H80 4.3.2...
  • Page 32: Check Status In The Ezmanager

    If you type “st net”, you can check the network status of the CSW-H80. Serial ports‟ status  If you type “st sio”, you can check the serial ports‟ status of the CSW-H80 The tx_count and rx_count is the total bytes since the CSW-H80 has booted up. 4.3.3 Check Status in the ezManager If you press the [STATUS] in the ezManager, you can monitor the current status of CSW-H80.
  • Page 33: Ip Change Trap

    CSW-H80 User’s Manual Ver. 1.2 4.4 IP Change Trap CSW-H80 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. CSW-H80 supports 3 kinds of transmitting methods –...
  • Page 34 CSW-H80 User’s Manual Ver. 1.2 product information is composed by 2 bytes-product ID and 6 bytes-firmware version. For example: “11010106” means that product ID is 0x11 and the firmware version is 1.1G. The comments is the [Comments] field in the [OPTION] tab in the ezManager. Each message of the ASCII data is divided by 0x0d0a.
  • Page 35: Remote Debugging

    CSW-H80 User’s Manual Ver. 1.2 4.5 Remote Debugging If the [Debug] field in the [OPTION] tab of the ezManager, CSW-H80 transmits debugging messages with UDP port 50006. Then user can get the messages with new window if user presses [Debug Message] button as followed: This function is very useful when there are any problems when user installs the CSW- H80 in the user site.
  • Page 36: Communication Mode

    5 Communication Mode 5.1 Introduction Normal communication mode is suitable for the purpose of using CSW-H80. Normal communication mode can be classified into four modes – T2S, ATC, COD, and U2S – each of which is described in the following table.
  • Page 37: T2S

    5.2 T2S In T2S mode, the CSW-H80 functions as a server. When a host connects to predefined local port, the CSW-H80 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.
  • Page 38: Serial Data Before The Tcp Connection

    [Access Lock] function. 5.2.1 Serial Data Before the TCP Connection If the [Byte Count] is 0, all data from the CSW-H80‟s serial port before the TCP connection are ignored. If the [Byte Count] is over 0, CSW-H80 stores serial data to its memory and it transmits these data when CSW-H80 is connected.
  • Page 39: Cod

    <COD connection sequence – Byte Count: 3> 5.3.1 Serial Data Before the TCP Connection If the [Byte Count] is 0, all data from the CSW-H80‟s serial port before the TCP connection are ignored. If the [Byte Count] is over 0, CSW-H80 stores serial data to its memory and it transmits these data when CSW-H80 is connected.
  • Page 40: Dns

    After CSW-H80 gets the IP address from the DNS server, it tries to connect the IP address. When CSW-H80 is in DHCP or PPPoE mode and the [Obtain DNS server address automatically] is set, CSW-H80 use the DNS server that it gets DNS server IP address during the DHCP or PPPoE connection.
  • Page 41: Atc

    CSW-H80 User’s Manual Ver. 1.2 5.4 ATC In ATC mode, the user can control the CSW-H80 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 42: U2S

    CSW-H80 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:...
  • Page 43: Atc Mode

    6 ATC Mode 6.1 Overview CSW-H80 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, CSW-H80 communicates several hosts alternatively.
  • Page 44: Extended At Commands (Example: At+Plip Etc.)

    CSW-H80 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...
  • Page 45: Online State And At Command State

    To change online state to AT command state during the connection, +++ string should be transmitted to CSW-H80 as following time interval. When transmitting +++ string to CSW-H80, +++ string will be sent to peer host. The time from final data the first „+‟ data No data over 500ms(guard time) of „+++‟...
  • Page 46: Example Of Tcp Connection

    CSW-H80 User’s Manual Ver. 1.2 ◀ <CR><LF>OK<CR><LF> Command OK AT+PTO=10<CR> ▶ Setting TIME OUT ◀ <CR><LF>OK<CR><LF> Command OK Saving setting value to EEPROM AT+PWP<CR> ▶ Reset automatically ◀ <CR><LF>OK<CR><LF> Command OK ◀ <CR><LF>NO CARRIER<CR><LF> System Reset 6.6 Example of TCP Connection 6.6.1...
  • Page 47: Example Of Passive Connection

    CSW-H80 User’s Manual Ver. 1.2 connect Command OK ◀ <CR><LF>OK<CR><LF> ATDT<CR> ▶ Connecting to the host Attempting to connect to the host TCP connection success ◀ <CR><LF>CONNECT<CR><LF> Data Communcation 6.6.3 Example of passive Connection Serial Port Description AT+PLP=1470<CR> ▶ Set LOCAL PORT to listen ◀...
  • Page 48 CSW-H80 User’s Manual Ver. 1.2 ◀ <CR><LF>NO CARRIER<CR><LF> TCP disconnected - 47 - Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 49: Technical Support, Warranty, And Notes On Operation

    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 50 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.. - 49 - Sollae Systems Co., Ltd.
  • Page 51: Revision History

    CSW-H80 User’s Manual Ver. 1.2 8 Revision History Date Version Comments Dec. 9. 2008 Initial Release Add re-configuring the security function in the Jan.08.2009 Serial Configuration Mode - 50 - Sollae Systems Co., Ltd. http://www.sollae.co.kr...

Table of Contents