Sollae CSE-M53N User Manual

Embedded serial to ethernet module
Table of Contents

Advertisement

Quick Links

Embedded Serial to Ethernet Module
CSE-M53N User Manual
Version 2.5
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-M53N and is the answer not in the manual?

Questions and answers

Summary of Contents for Sollae CSE-M53N

  • Page 1 Embedded Serial to Ethernet Module CSE-M53N User Manual Version 2.5 Sollae Systems Co., Ltd. http://www.ezTCP.com...
  • Page 2 CSE-M53N User Manual Ver. 2.5 This symbol, found on your product or on its packaging, indicates that this product should not be treated as household waste when you wish to dispose of it. Instead, it should be handed over to an applicable collection point for the recycling of electrical and electronic equipment.
  • Page 3: Table Of Contents

    CSE-M53N User Manual Ver. 2.5 Contents Overview ..........................- 5 - 1.1 Overview ................................- 5 - 1.2 Main Features ..............................- 5 - 1.3 Examples of Application ..........................- 6 - 1.4 Components ................................. - 7 - 1.5 Specification ................................. - 8 - 1.5.1 Hardware ..............................
  • Page 4 CSE-M53N User Manual Ver. 2.5 4.6 ISP Mode ................................- 29 - 4.6.1 Upgrading Firmware..........................- 29 - 4.6.2 Revoking Serurity Options......................... - 29 - Communication Modes ...................... - 30 - 5.1 TCP Server ................................- 30 - 5.1.1 Key parameters ............................- 30 - 5.1.2 Examples ..............................
  • Page 5 CSE-M53N User Manual Ver. 2.5 8.3.1 Disable TCP Transmission Delay - ① ................... - 59 - 8.3.2 Separator - ②............................- 59 - 8.3.3 TELNET COM port Control Option (RFC 2217) - ③ .............. - 60 - 8.3.4 TCP Server / Client mode - ④ ......................- 60 - 8.4 Factory Reset ..............................
  • Page 6: Overview

    By providing Internet connection to serial communication devices, CSE-M53N enables them to overcome these limitations. Specifically, CSE-M53N, which has TCP/IP stack and serial communication capability, converts serial data to TCP/IP data, and vice versa. 1.2 Main Features ...
  • Page 7: Examples Of Application

    1.3 Examples of Application  1:1 Connection between a serial device and a PC Figure 1-1 1:1 connection with a PC  Serial device connecting to LAN (Local Area Network) via CSE-M53N Figure 1-2 Application to LANs Sollae Systems Co., Ltd.
  • Page 8: Components

    Figure 1-3 CSE-M53N connecting a serial device to the Internet via cable networks  Serial device connecting to the Internet via CSE-M53N and a IP Share Router Figure 1-4 CSE-M53N connecting a serial device to the Internet via IP Share Router 1.4 Components...
  • Page 9: Specification

    CSE-M53N User Manual Ver. 2.5 1.5 Specification 1.5.1 Hardware Input Voltage DC 3.3V Power Current 100M Ethernet - 150mA typical consumption 10M Ethernet - 200mA typical Dimension 24 mm x 20 mm x 9.1mm Weight About 3.2g 1 x UART – 3.3V CMOS/TTL compliant...
  • Page 10: Demension

    CSE-M53N User Manual Ver. 2.5 1.5.3 Demension The dimension of CSE-M53N is followed. (Unit: mm) Figure 1-5 dimensions of CSE-M53N Sollae Systems Co., Ltd. - 9 - http://www.ezTCP.com...
  • Page 11: Pins

    CSE-M53N User Manual Ver. 2.5 1.5.4 Pins  JP1 / JP2 Connector JP1 and JP2 have headers of 2mm pitch. There are two triangle marks by the first pin (pin number 1) of JP1 and JP2. Name Description Direction Ground...
  • Page 12 CSE-M53N User Manual Ver. 2.5 State Wave form In ISP mode In Serial Configuration mode When any IP addresses have not been assigned When IP addresses have been assigned but not connected with a remote host on TCP. Connected with...
  • Page 13: Serial Port Parameters

    CSE-M53N User Manual Ver. 2.5 1.5.5 Serial Port Parameters Parameter Value Number Type CMOS and TTL compliant (3.3V) RS232 : 300 ~ 921,600 bps Baud rate RS422 / RS485 : 300 ~ 230,400 bps Parity NONE / EVEN / ODD / MARK / SPACE...
  • Page 14: An Application Circuit

    CSE-M53N User Manual Ver. 2.5 1.5.7 An Application Circuit Figure 1-6 an Application Circuit It is required to use a RJ45 embedded with a pulse transformer.  When an ‘RST-‘(#2 on JP2) interfaces with MCU or Logic output, an 1KΩ resistor should be connected in series.
  • Page 15: Evaluation Board

    CSE-M53N User Manual Ver. 2.5 1.6 Evaluation Board Evaluation board for CSE-M53N is equipped a RS45 connector and a D-SUB 9 pin Male connector including the 5V DC power connector. Figure 1-7 EVB1 for CSE-M53N Figure 1-8 EVB2 for CSE-M53N Sollae Systems Co., Ltd.
  • Page 16: Parts

    On, when CSE-M53N is available on receiving data CTS (D4) On, when CSE-M53N is available on sending data On, when CSE-M53N is connected with a remote host on TCP Table 1-9 LED Group 1 ⑦ TTL Port: For 3.3V TTL logic level communication Sollae Systems Co., Ltd.
  • Page 17 LINK (D8) On, when CSE-M53N is connected with the Ethernet Green On, when CSE-M53N is connected with a remote host on TCP Blinks in every second, when CSE-M53N is in normal mode STS (D9) Blinks 4times at once, when any IP addresses have not been...
  • Page 18: Demension

    CSE-M53N User Manual Ver. 2.5 1.6.2 Demension Figure 1-11 Dimension of evaluation board The size of two evaluation board is the same.  According to conditions of soldering components, the dimensions might be differed  with the above figure. Thus, we recommend giving some extra spaces about 1 ~ 2 mm.
  • Page 19: Installation And Test

    2.2 Installation Before testing CSE-M53N, users should connect both serial and Ethernet port to a PC. It will be no problem that the Ethernet connection includes network hubs. In this document, whole processes are written assume that using it with evaluation board.
  • Page 20: Setting Network Aera

    CSE-M53N User Manual Ver. 2.5 2.2.1 Setting Network Aera This step is for setting both CSE-M53N and users’ PC to be located the same network. If only they are, the TCP connection between them can be established.  Setting of the PC Add or change the IP address of the network adapter on your PC like following.
  • Page 21 Windows, and this is comfortable to use because it doesn’t need installation. First, search your CSE-M53N via network. All the values of parameters are set the default values in the factory. To apply it to your system, proper values should be set via ezManager.
  • Page 22: Simple Test

     Opening RS232 Port Figure 2-4 opening COM Port ④ Select COM port which the CSE-M53N is connected to ⑤ Make sure that all the parameters are the same with CSE-M53N ⑥ Press the [Open] button Sollae Systems Co., Ltd.
  • Page 23 CSE-M53N User Manual Ver. 2.5  Confirm the TCP Connection and COM port status Figure 2-5 TCP Connected message ⑦ Check the message if the TCP connection is established Figure 2-6 COM Port open message ⑧ Check the message if the COM port has been opened Sollae Systems Co., Ltd.
  • Page 24 CSE-M53N User Manual Ver. 2.5  Data transmission test Figure 2-7 successful data transmission ⑨ Click the [Send data] on the LAN part ⑩ Check the data have been shown from the step ⑨ Figure 2-8 LAN → RS232 ⑪ Press the [Send data] on the RS232 part ⑫...
  • Page 25: Configuration

    Figure 3-1 initial appearance of ezManager 3.1.1 Configuration via LAN  Checklists Make sure the connection between your PC and CSE-M53N. If they are the same network, [MAC Address search] button can be used. If they aren’t, only [IP Address search] is allowed to use.
  • Page 26: Configuration Via Serial

    Make sure the connection between your PC and CSE-M53N using RS232 cross cable. To use this, CSE-M53N has to be operating in the [Serial Configuration] mode. By connecting ISP- pin with GND (LOW) less than 1 second, you can enter the mode.
  • Page 27: At Command

     Checklists Make sure the connection between your PC and CSE-M53N using RS232 cross cable. To use this, CSE-M53N has to be set to [AT command] mode as its communication mode. This can be configured by ezManager. Figure 3-5 setting the communication mode to the AT command ...
  • Page 28: Operation Modes

    CSE-M53N User Manual Ver. 2.5 Operation Modes 4.1 What is the Operation Mode? Each of three operation mode of CSE-M53N is defined for specific purpose, and those are followed.  Normal mode This mode is for normal data communication and has 4 different connection modes.
  • Page 29: Comparison With Each Mode

    CSE-M53N User Manual Ver. 2.5 4.3 Comparison with each mode Name Serial port Serial type Normal configured value RS232/RS422/RS485 Serial Configuration 115,200/N/8/1 RS232/RS422 Table 4-1 comparison of each mode 4.4 Normal Mode In normal mode, there are four connection types to communication with a remote host.
  • Page 30: Serial Configuration Mode

    There are two different ways to enter ISP mode. One is to apply LOW signal to ISP pin for over 1 second, the other is to apply power on CSE-M53N while ISP pin is connected to GND. Entering the ISP mode is used for two purposes in the below chapters(4.6.1/4.6.2).
  • Page 31: Communication Modes

    Communication Modes 5.1 TCP Server In this mode, CSE-M53N functions as a TCP server. CSE-M53N listens to a TCP connection from remote host. Once a host tries to connect to CSE-M53N, it responses that request. After the connection is established, CSE-M53N converts the raw data from the serial port to TCP/IP data and sends them to the network and vice versa.
  • Page 32  A situation that [Event Byte] is set to 0. Figure 5-1 time chart for a situation that [Event Byte] is set to zero Points States CSE-M53N is listening to connection requests ① Remote host has sent a connection request (SYN) segment Processes of the connection ②...
  • Page 33  A situation that [Event Byte] is set to 1. Figure 5-2 time chart for a situation that [Event Byte] is set to 1 Points States CSE-M53N is listening to connection requests ① Remote host has sent a connection request (SYN) segment Processes of the connection ②...
  • Page 34 Figure 5-3 time chart for a situation that [Timeout] is set to 5 Points States Data communication on both sides ① The last segment has been arrived at the CSE-M53N 5 seconds are passed with no data communication CSE-M53N has sent disconnection request (FIN) to a remote ② host Processes of the disconnection ③...
  • Page 35: Tcp Server

    In this mode, CSE-M53N sends request segments to a TCP server with information of [Peer Address] and [Peer Port]. Once a host is listening, the connection will be established. After then, CSE-M53N converts the raw data from the serial port to TCP/IP data and sends them to the network and vice versa.
  • Page 36 CSE-M53N User Manual Ver. 2.5 [DNS IP Address] needs when users use host name instead of the IP address. 5.2.2 Examples  A situation that [Event Byte] is set to 0. Figure 5-4 time chart for a situation that [Event Byte] is set to 0...
  • Page 37 The “1234567” is transmitted to the remote host Table 5-8 states of each points As you can see in the figure 5-5, CSE-M53N sends request segment right after the serial data had been 5 bytes. Even though those are come before the connection is established, the data “123”, “45”...
  • Page 38 Figure 5-6 time chart for activating [TCP Server] option Points States CSE-M53N is listening to connection requests ① The connection has been established CSE-M53N is on line and processes of the disconnection ② The connection has been terminated Both sides are offline ③ Sends TCP connection request segment Table 5-9 states of each points The TCP Server / Client mode can be useful option by using [Event Byte] and [Timeout].
  • Page 39: Key Parameters

    CSE-M53N User Manual Ver. 2.5 5.3 AT Command AT command is a mode which users control CSE-M53N with AT command like controlling modem. In this mode, active and passive TCP connections are available. And users are allowed to configure some environmental parameters with extended commands.
  • Page 40 TCP connection has been established CSE-M53N sends “CONNECT” message to the serial port Table 5-11 states of each points Most of the response messages from the serial port of CSE-M53N are omitted on  above figure. Sollae Systems Co., Ltd.
  • Page 41  TCP Client – setting parameters and active connection Figure 5-8 TCP Active connection Points States Set parameters in the AT command mode CSE-M53N sends a TCP connection request with the ATD ① command Processes of TCP connection ② TCP connection has been established CSE-M53N sends “CONNECT”...
  • Page 42 CSE-M53N sends “NO CARRIER” with disconnection Table 5-13 states of each points CSE-M53N changes the mode to AT command, when receiving “+++” and sending “OK” message. In this state, the communication with remote host is not possible because CSE- M53N processes only AT command. Whenever you want to go back to online state (TCP connection), use “ATO”...
  • Page 43: Key Parameters

    CSE-M53N User Manual Ver. 2.5 5.4 UDP UDP has no connection processes. In this mode, data is sent in block units. Therefore, data that comes through CSE-M53N’s serial port is collected in block units to send it elsewhere. 5.4.1 Key parameters ...
  • Page 44: Examples

    Figure 5-10 time chart for block size is 5 bytes Points States CSE-M53N is receiving data from the serial port CSE-M53N Sends 5 bytes as one block based on the [Block ① Size] Serial device sends data “678” to the CSE-M53N ②...
  • Page 45 CSE-M53N updates host 2 to peer host CSE-M53N can communicate with remote host 2 Table 5-16 states of each points The data “ABC”, “DE”, “FGH” are from the serial port of CSE-M53N in the above  figure. Sollae Systems Co., Ltd.
  • Page 46: System Management

    6.1 Upgrading Firmware 6.1.1 Firmware Firmware is a type of software for operation of CSE-M53N. If there are needs for adding function or fixing bugs, the firmware is modified and released. We recommend that users keep use the latest released firmware.
  • Page 47 CSE-M53N User Manual Ver. 2.5  Checking firmware file and Sending Figure 6-2 sending firmware file ① Check if the name and path of the firmware file are correct ② Click the [Send] button ③ Confirm the completed message Sollae Systems Co., Ltd.
  • Page 48: Status Monitoring

    6.2 Status Monitoring 6.2.1 Using TELNET Once the [TELNET] option is activated, users can remotely log in to CSE-M53N. If a password is set, users should input the password. Starting with firmware version 2.0A, you can login by entering "sollae" without ...
  • Page 49 ------ --------- ---------- -------- ---------- --------------- -------------- com1 lsh> Figure 6-6 “st sio” command  st uptime “st uptime” command shows amount of time since CSE-M53N boots up. lsh>st uptime 00:05:19.16 up 0 days lsh> Figure 6-7 “st uptime” command ...
  • Page 50 CSE-M53N User Manual Ver. 2.5  sd “sd” command is for capturing serial data. [OP1] means name of the session, [OP2] means period, which has a 10ms unit, for the capture lsh>sd 1 100 com1 dump start com1 dump buffering time : 1000ms lsh>tx1 =>...
  • Page 51: Using Ezmanager

    CSE-M53N User Manual Ver. 2.5 6.2.2 Using ezManager Status of CSE-M53N can be monitored by [Status] button on ezManager. By using the [Refresh Every 1 Second] option in the status window, the status is automatically updated in every second. Figure 6-12 status window of ezManager ...
  • Page 52 CSE-M53N User Manual Ver. 2.5  IP6 NETWORK INFORMATION All information about related items with Ipv6 Address is shown here. It works even if the IP address is assigned from DHCP or PPPoE.  TCP STATE TCP status of each port is shown this section.
  • Page 53  Password This text box is activated when CSE-M53N has a password. If users want to close TCP connection with right click of mouse on the session, this password has to be correctly filled.
  • Page 54 CSE-M53N User Manual Ver. 2.5  IP address Conflict Detection By clicking this button, you can find devices which have the same IP address to yours on the network. Figure 6-13 Without IP address conflict detection Figure 6-14 IP address conflict detection Sollae Systems Co., Ltd.
  • Page 55: Additional Functions

    CSE-M53N User Manual Ver. 2.5 Additional Functions 7.1 SSL 7.1.1 What is the SSL(Secure Socket Layer)? SSL is cryptographic protocol that provides secure communication on the Internet. The SSL works over TCP. 7.1.2 How to set the SSL To works for SSL, you have to set the SSL-related parameters as the following steps. Set the [SSL] check box in the ezManager.
  • Page 56: Restriction

    Figure 7-5 Check of success message 7.1.3 Restriction  If user set the SSL with the CSE-M53N, the other device have to set the SSL.  Maximum baud rate of serial port is the 115,200bps.  Cannot use SSL feature in Ipv6.
  • Page 57: Access Restriction (Eztcp Firewall)

    The maximum length is 8 bytes of Alphabet or number. When you want to revoke all of these restrictions, operate CSE-M53N as ISP mode. In  the mode, all restrictions are removable and communication with ezManager is revoked.
  • Page 58: Additional Functions

    CSE-M53N can be TCP server even though it assigned IP address automatically. Using [Notify IP Change] function, CSE-M53N sends its IP address with the host name to the designed server. There are 3 types- DDNS, TCP and UDP- for this service.
  • Page 59: Sending Mac Address

    CSE-M53N User Manual Ver. 2.5 8.2 Sending MAC Address [Sending MAC Address] is a function that CSE-M53N sends its MAC address to the remote host right after the connection is established. By using this function, a server can identify multiple devices with the information.
  • Page 60: Serial Port Tab Functions

    8.3 Serial Port Tab Functions Figure 8-3 setting of Serial port tab functions 8.3.1 Disable TCP Transmission Delay - ① If you use this option, CSE-M53N sends the data from the serial port to LAN as quickly as possible. Separator - ②...
  • Page 61: Telnet Com Port Control Option (Rfc 2217) - ③

    CSE-M53N’s Data Frame interval is configured 2byte data interval. Before sending  data from the serial port to LAN, CSE-M53N gathers data in the buffer. If there is no data during the time configured in the 2byte data interval, it will send data to the network.
  • Page 62: Factory Reset

    CSE-M53N User Manual Ver. 2.5 8.4 Factory Reset It is a function physically initializes all the setting. You can save a setting to user-defined ENV region and use it as default values by the factory reset. However, if you do not use the region, Factory Reset uses a factory default by manufacturer as its default values.
  • Page 63: Checklist In Trouble

    CSE-M53N User Manual Ver. 2.5 Checklist in Trouble When users are in trouble with CSE-M53N, make sure all the followed steps first. 9.1 Searching problem with ezManager  Confirming types of configuration utility CSE-M53N can be configured by ezManager.  Stopping Firewall operation Firewalls of personal computer or network block broadcast packets.
  • Page 64: Connection Problem Over Tcp/Ip

    Mask, Gateway IP Address, DNS IP Address, Table 9-1 major parameters related with TCP/IP  PING Test Confirm the connection over the network by PING test. If the CSE-M53N doesn’t send any reply from the request, check the network environment.  Firewall In case the networks which need strong security, the access may be denied by their firewall.
  • Page 65: Data Communication Problem On The Serial

    CSE-M53N User Manual Ver. 2.5 9.3 Data Communication Problem on the Serial  Connection of Pins Check if the connection of each pin is right. Using cables, users choose the right type of cable which is suitable for the device.
  • Page 66: Related Material

    CSE-M53N User Manual Ver. 2.5 10 Related Material 10.1 Technical Documents You can find the technical documents at our website.  Datasheet  IP Change Notification(DDNS)  Sending MAC Address function  TCP Server/Client mode  Telnet COM Port Control Option 10.2 Smart phone Application...
  • Page 67: Technical Support And Warranty

    11 Technical Support and Warranty 11.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:  E-mail: support@eztcp.com...
  • Page 68: Precaution And Exemption From Liability

    CSE-M53N User Manual Ver. 2.5 12 Precaution and Exemption from Liability 12.1 Precaution  Sollae Systems is not responsible for product failures occurring due to user ’s alternation of the product.  Specifications of the product are subject to change without prior notice for performance improvement.
  • Page 69: Exemption From Liability

    (including, without limitation, damages for loss of profit, operating cost for commercial interruption, loss of information, or any other financial loss) from the use or inability to use the CSE-M53N even if Sollae Systems Co., Ltd. Or its distributors have been informed of such damages.
  • Page 70: French Version

    à caractère commercial ou de toute autre perte financière) provenant de l'utilisation ou de l'incapacité à pouvoir utiliser le CSE-M53N, même si Sollae Systems Co., Ltd ou un de ses distributeurs a été informé de la possibilité de tels dommages.
  • Page 71 M53N puisse être échangé au titre de la garantie.  Rappel sur l’évacuation des équipements électroniques usagés Le symbole de la poubelle barré présent sur le CSE-M53N indique que vous ne pouvez pas vous débarrasser de ce dernier de la même façon que vos déchets courants.
  • Page 72: History

    CSE-M53N User Manual Ver. 2.5 13 History Date Version Comments Author 2013.02.15. ○ First version has been released. Lisa Shin 2013.02.18. ○ Delete descriptions of data frame option Lisa Shin 2013.05.08. ○ Add related material contents Lisa Shin 2013.05.15. ○ Add Exemption from Liability contents Lisa Shin ○...

Table of Contents