Sollae Systems CSE-M32 User Manual

Sollae Systems CSE-M32 User Manual

Serial device server
Hide thumbs Also See for CSE-M32:
Table of Contents

Advertisement

Quick Links

Serial Device Server
CSE-M32 Users' Manual
Version 2.2
2011-08-03
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 CSE-M32 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sollae Systems CSE-M32

  • Page 1 Serial Device Server CSE-M32 Users’ Manual Version 2.2 2011-08-03 Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 2 CSE-M32 Users’ Manual Ver. 2.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

    TEST RUN ..........................- 15 - 3.1 Test Run ................................- 15 - 3.1.1 Changing PC IP Address ......................... - 15 - 3.1.2 Installing CSE-M32 ..........................- 15 - 3.1.3 Configuring CSE-M32 ........................- 15 - 3.1.4 Communication Test ......................... - 16 - CONFIGURING IP ADDRESS AND VARIABLES ...............
  • Page 4 CSE-M32 Users’ Manual Ver. 2.2 4.1 IP Address and Environmental Variables ..................... - 19 - 4.2 Configuration with ezManager ......................... - 19 - 4.2.1 ezManager ............................. - 19 - 4.2.2 Buttons of ezManager ........................- 20 - 4.2.3 Parameters of ezManager....................... - 20 - 4.2.4 Matters to be attended to ......................
  • Page 5 SECURITY PROTOCOLS & OPTION .................. - 38 - 8.1 SSL ..................................- 38 - 8.1.1 SSL (Secure Socket Layer) ....................... - 38 - 8.1.2 How to set the SSL on CSE-M32 ....................- 38 - 8.1.3 Restriction ............................... - 39 - 8.2 SSH ..................................- 39 - 8.2.1 SSH (Secure Shell) ..........................
  • Page 6 CSE-M32 Users’ Manual Ver. 2.2 10.2 Connectors ................................. - 46 - 10.3 Jumpers and Switches ..........................- 46 - 10.3.1 JP5................................- 47 - 10.3.2 JP9, JP10 ............................... - 47 - 10.3.3 Reset Switch (S1) ..........................- 47 - 10.4 System LEDs classified each mode ......................- 48 - 10.5 Schematic of the evaluation board ......................
  • Page 7: Overview

    LAN after TCP/IP processing and vice versa. As CSE-M32 has 2 UART ports so that it supplies TCP/IP functions to two UART devices. And because one UART port support the TCP speed of about 1.8Mbps, CSE-M32 is very useful for the high speed communication device.
  • Page 8: Specifications

    CSE-M32 Users’ Manual Ver. 2.2 Specifications 2.1 Components CSE-M32 Body  Evaluation Board(Option)  5V SMPS adapter(Option)  RS232C cable for PC connection – DB9F-DB9M-2M (Option)  2.2 Specifications Input Voltage 3.3V (±10%) Power Current 173mA typical Dimension 50mm x 32mm x 9mm...
  • Page 9: Interface

    Ground LAN RXD LED- LAN_RXD- Blink: There are data on Ethernet line LAN TXD LED- LAN_TXD- Blink: CSE-M32 transmits data to Ethernet port Link LED- LINK- CSE-M32 is being connected to a LAN STS- Status LED- Sollae Systems Co., Ltd.
  • Page 10: Jp2

    SPI Serial clock ISP- If this pin is low when it boots up, it ISP- operates as ISP Mode (internally pulled-up). If this pin is low for 20ms~1000ms, CSE-M32 enters to the serial configure mode. Ground Ground UART_TXD1 UART1 (COM2)Transmitting Port...
  • Page 11: Dc Electric Characteristics

    User can set RS232, RS422 and RS485 to CSE-M32‟s serial port. If CSE-M32 is configured as RS485, the RTS pin operates as TXDE for RS485 line driver. (The TXDE is Low when CSE- M32 doesn‟t send data to its serial port and High when CSE-M32 sends data to its serial port.) 2.4.2...
  • Page 12: Data Bits, Parity, And Stop Bit

    CSE-M32 support RTS/CTS Hardware Flow Control. RTS pin is for notifying connected serial devices that its buffer can be available to receive data. CTS pin is for checking that the RTS signal of its counterpart. To use this control CSE-M32 should be set to the type of serial communication is RS232.
  • Page 13: Data Frame Interval

    CSE-M32 Users’ Manual Ver. 2.2 9600 bps or higher rates. 2.4.8 Data Frame Interval Before sending data from the serial port to Ethernet, ezTCP gathers data in the buffer. If there is no data during the time which is configured in the [Data Frame Interval], ezTCP will send data to the network.
  • Page 14 CSE-M32 Users’ Manual Ver. 2.2 Sollae Systems Co., Ltd. - 13 - http://www.sollae.co.kr...
  • Page 15: Application Circuit

    CSE-M32 Users’ Manual Ver. 2.2 2.6.2 Application circuit Sollae Systems Co., Ltd. - 14 - http://www.sollae.co.kr...
  • Page 16: Test Run

    1M) between your PC and the evaluation board, the LAN cable to the hub which the PC is connected or directly to the PC, and the connect the power adapter to CSE-M32 evaluation board inserting electric outlet for power supply. If the LAN cable has been correctly connected when power is supplied, LINK LED will be turned on.
  • Page 17: Communication Test

    1470/1471 3.1.4 Communication Test Power the CSE-M32 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. If ...
  • Page 18 CSE-M32 Users’ Manual Ver. 2.2 Press the [Open] button after selecting serial port that is connected to the CSE-  M32. 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 19 CSE-M32 Users’ Manual Ver. 2.2 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: Configuring Ip Address And Variables

    CSE-M32. 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-M32 over the network, or by using AT commands in ATC mode.
  • Page 21: Buttons Of Ezmanager

    CSE-M32 Users’ Manual Ver. 2.2 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.
  • Page 22: Matters To Be Attended To

    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-M32, two interfaces are supported and those are Ethernet and RS232 port. Using Ethernet Port  For use ezManager through Ethernet, CSE-M32 should be connected with PC on networks.
  • Page 23: Ip Address Settings Via Pppoe

    4.6.1 DDNS (Dynamic Domain Name System) If the CSE-M32 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-M32‟s IP address, user can connect to the CSE-M32 by the host name (after DNS looking up.) The DDNS service provider that the CSE-M32 supports is only Dyndns (http://www.dyndns.com)
  • Page 24 CSE-M32 Users’ Manual Ver. 2.2 Sollae Systems Co., Ltd. - 23 - http://www.sollae.co.kr...
  • Page 25: Operation Mode

    How to Initiate the ISP Mode The CSE-M32 checks its ISP- pin when it boots up. If the ISP- pin is High it operates as Normal Mode and if ISP- pin is Low it operates as ISP mode that is firmware download mode.
  • Page 26: Normal Communication 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-M32 can be set by its COM1 port. [Serial] tap on Sollae Systems Co., Ltd. - 25 -...
  • Page 27: Isp Mode

    Supply power with ISP- pin low, then CSE-M32 operates in the ISP mode.  Run hotflash that is supplied by us and input IP address of CSE-M32 and select the  firmware with the [FILE] menu. Then, send it with [SEND] button. (Uncheck the [Verify firmware version] option.)
  • Page 28: Normal Communication Mode

    [Event Byte] settings. If the [Event Byte] is 0, the data that comes to serial port of CSE-M32 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 29: Disconnection

    CSE-M32 Users’ Manual Ver. 2.2 [Data Frame]. In other words, when the data comes through CSE-M32‟s serial port, it will be temporarily saved in the buffer. Then, when there is no incoming data during the designated [Data Frame], CSE-M32 will send the saved data. If the [Data Frame] is 0, CSE- M32 will send serial port‟s data immediately.
  • Page 30: 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-M32‟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 31: Disconnection

    [Timeout] is 1 second. 6.2.4 If users set the host name instead of the IP address on the [Peer Address] box, CSE-M32 query the IP address of the host to its Domain Name Server (DNS). The IP address of DNS can be configured on ezManager.
  • Page 32: Atc

    CSE-M32 Users’ Manual Ver. 2.2 6.3 ATC In ATC mode, the user can control the CSE-M32 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 33: U2S

    U2S is a mode that performs UDP communication. In UDP communication, data is sent in block units. Therefore, data that comes through CSE-M32‟s serial port must be classified in block units to send it elsewhere. The block unit classification process is performed as the following.
  • Page 34: Atc Mode

    ATC Mode 7.1 Overview CSE-M32 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-M32 communicates several hosts alternatively.
  • Page 35: Extended At Commands (Example: At+Plip Etc.)

    CSE-M32 Users’ Manual Ver. 2.2 Online To online mode enable result code Result code (numeric-V0, alphabetic-V1) reset Reset 7.3 Extended AT Commands (Example: AT+PLIP etc.) Command Function Description Needed AT+PWP after setting +PLIP local IP address this parameter +PSM subnet mask...
  • Page 36: Changing Online State To At Command State

    To change online state to AT command state during the connection(Online State), +++ string should be transmitted to CSE-M32 as following time interval. When transmitting +++ string to CSE-M32, +++ string will be sent to peer host. The time from final data the first „+‟ data No data over 500ms(guard time) of „+++‟...
  • Page 37: 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-M32 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 38: Example Of Passive Connection

    CSE-M32 Users’ Manual Ver. 2.2 7.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-M32 ◀...
  • Page 39: Security Protocols & Option

    Set the [SSL] check box in the ezManager.  Log in the CSE-M32 with telnet client.  Generate an RSA key with a command. CSE-M32 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.
  • Page 40: Restriction

    Save the parameters for SSL with a „ssl save aa55cc33‟ command.  8.1.3 Restriction To use the SSL with CSE-M32, there is a restriction. You can use only one serial port (COM1) if you set the SSL function. 8.2 SSH 8.2.1 SSH (Secure Shell) SSH is a network protocol that allows secure communications between two devices.
  • Page 41: Eztcp Firewall

     8.2.3 Restriction To use the SSH function with CSE-M32, there is a restriction. You can use only T2S mode (TCP Server mode) if you set the SSH function 8.3 ezTCP Firewall CSE-M32 has two connection limitation functions. Those can be set by the [Option] tab of the ezManager.
  • Page 42 CSE-M32 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-M32 in the  ISP mode even though user can‟t access the CSE-M32 in the normal mode because of the [ezTCP Firewall] function.
  • Page 43: Checking & Debugging

    9.1.1 Telnet Login If the [Telnet] parameter is set, user can log in the CSE-M32. User can monitor the status of the serial ports and the network. If user inputs “telnet [CSE-M32 IP Address]”, user can log in the CSE-M32 with telnet.
  • Page 44  This command is available on 1.2H or subsequently released firmware version. User can monitor the input / output data of CSE-M32‟s serial ports with the “sd” command. The way of using this command is like below. “sd [SPACE] [# of Serial Port] [SPACE] [Interval]”...
  • Page 45: Status On Ezmanager

    Status of the CSE-M32 If the [Status] button is pressed on ezManager, user can monitor the current status of the CSE-M32 with ezManager. If user sets [Refresh Every 1 second] option, the status data will be updated in every second.
  • Page 46: 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-M32 in the user site.
  • Page 47: The Evaluation Board

    CSE-M32 Users’ Manual Ver. 2.2 10 The Evaluation Board 10.1 Introduction This board is for testing the CSE-M32 with an Ethernet interface and 2 RS232 interfaces. 10.2 Connectors Part Name Description It supplies the power to the CSE-M32. The input voltage should be 5V.
  • Page 48: Jp5

    Normal Mode 2-3 short ISP Mode When CSE-M32 boots up, it operates as Normal mode when the ISP is high. It operates as ISP mode when the ISP is low. 10.3.2 JP9, JP10 These pins control the outputs of the RS232 line drivers.
  • Page 49: System Leds Classified Each Mode

    CSE-M32 Users’ Manual Ver. 2.2 10.4 System LEDs classified each mode Mode Name Color Status Description Common Supplying the power Blinks in every Being assigned IP address second Yellow Blinks 4 Being not assigned IP address via times in a...
  • Page 50: Schematic Of The Evaluation Board

    CSE-M32 Users’ Manual Ver. 2.2 10.5 Schematic of the evaluation board Sollae Systems Co., Ltd. - 49 - http://www.sollae.co.kr...
  • Page 51 CSE-M32 Users’ Manual Ver. 2.2 Sollae Systems Co., Ltd. - 50 - http://www.sollae.co.kr...
  • Page 52: Technical Support, Warranty, And Notes On Operation

    11.1 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 53 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. Sollae Systems Co., Ltd.
  • Page 54: Revision History

    CSE-M32 Users’ Manual Ver. 2.2 12 Revision History Date Version Comment Author Jan.15.2007 ○ Initial touch May.25.2007 ○ Initial release Aug.31.2007 ○ Add Serial Interface ○ Add Ethernet Interface ○ Add Telnet COM Port Control Option Sep.27.2007 ○ Add DDNS(Dynamic DNS) Function Dec.4.2008...
  • Page 55 CSE-M32 Users’ Manual Ver. 2.2 ○ Modify the 4.2 Configuration with ezManager ○ Modify the description about F/W upgrade ○ Modify the 4.6 Notify IP change ○ Change the form of document ○ Correct some expressions Dec.02.2009 ○ The table of “JP2” has been modified.

Table of Contents