Sollae Systems CSE-M53G User Manual

Sollae Systems CSE-M53G User Manual

Embedded serial to ethernet module
Table of Contents

Advertisement

Quick Links

Embedded Serial to Ethernet Module
CSE-M53G User Manual
Version 1.0
Sollae Systems Co., Ltd.
https://www.ezTCP.com

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sollae Systems CSE-M53G

  • Page 1 Embedded Serial to Ethernet Module CSE-M53G User Manual Version 1.0 Sollae Systems Co., Ltd. https://www.ezTCP.com...
  • Page 2 CSE-M53G User Manual Ver. 1.0 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-M53G User Manual Ver. 1.0 Contents 1 Overview ............................- 5 - 1.1 Overview ................................- 5 - 1.2 Main Features ..............................- 5 - 1.3 Examples of Application ..........................- 6 - 1.4 Specification ................................. - 8 - 1.4.1 Hardware ..............................- 8 - 1.4.2 Software ................................
  • Page 4 CSE-M53G User Manual Ver. 1.0 5.1.2 Examples ..............................- 27 - 5.2 TCP Client ................................- 30 - 5.2.1 Key parameters ............................- 30 - 5.2.2 Examples ..............................- 31 - 5.3 AT Command ..............................- 34 - 5.3.1 Key parameters ............................- 34 - 5.3.2 Examples ..............................
  • Page 5 CSE-M53G User Manual Ver. 1.0 10 Related Material ..........................- 61 - 10.1 Technical Documents ............................ - 61 - 10.2 Smart phone Application ..........................- 61 - 11 Technical Support and Warranty ....................- 62 - 11.1 Technical Support ............................- 62 - 11.2 Warranty ................................
  • Page 6: Overview

    By providing Internet connection to serial communication devices, CSE-M53G enables them to overcome these limitations. Specifically, CSE-M53G, which has TCP/IP stack and serial communication capability, converts serial data to TCP/IP data, and vice versa.
  • 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-M53G Figure 1-2 Application to LANs Sollae Systems Co., Ltd.
  • Page 8 Figure 1-3 CSE-M53G connecting a serial device to the Internet via cable networks ⚫ Serial device connecting to the Internet via CSE-M53G and an IP Share Router Figure 1-4 CSE-M53G connecting a serial device to the Internet via IP Share Router Sollae Systems Co., Ltd.
  • Page 9: Specification

    CSE-M53G User Manual Ver. 1.0 1.4 Specification 1.4.1 Hardware Input Voltage DC 3.3V (±0.3V) Power Current 100M Ethernet - 100mA typical consumption 10M Ethernet - 150mA typical Dimension 24 mm x 20 mm x 9.1mm Weight About 3.2g 1 x UART – 3.3V level with 5V tolerant input Serial Port - RS232: 300bps ~ max.
  • Page 10: Dimension

    CSE-M53G User Manual Ver. 1.0 1.4.3 Dimension The dimension of CSE-M53G is followed. (Unit: mm) Figure 1-5 dimensions of CSE-M53G Sollae Systems Co., Ltd. - 9 - https://www.ezTCP.com...
  • Page 11: Pins

    CSE-M53G User Manual Ver. 1.0 1.4.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-M53G User Manual Ver. 1.0 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-M53G User Manual Ver. 1.0 1.4.5 Serial Port Parameters Parameter Value Number Type 3.3V level with 5V tolerant input RS232 without Xon/Xoff : 300 ~ 921,600 bps RS232 with Xon/Xoff : 300 ~ 230,400 bps Baud rate RS422 / RS485 : 300 ~ 230,400 bps...
  • Page 14: An Application Circuit

    CSE-M53G User Manual Ver. 1.0 1.4.7 An Application Circuit Figure 1-6 an Application Circuit Sollae Systems Co., Ltd. - 13 - https://www.ezTCP.com...
  • Page 15: Installation And Test

    2.2 Installation Before testing CSE-M53G, 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 16: Setting Network Aera

    CSE-M53G User Manual Ver. 1.0 2.2.1 Setting Network Aera This step is for setting both CSE-M53G 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 17 CSE-M53G uses ezManager as it’s a configuration program. ezManager is for MS Windows, and this is comfortable to use because it doesn’t need installation. First, search your CSE-M53G 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 18: Simple Test

    ⚫ Opening RS232 Port Figure 2-4 opening COM Port ④ Select COM port which the CSE-M53G is connected to ⑤ Make sure that all the parameters are the same with CSE-M53G ⑥ Press the [Open] button Sollae Systems Co., Ltd.
  • Page 19 CSE-M53G User Manual Ver. 1.0 ⚫ 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 20 CSE-M53G User Manual Ver. 1.0 ⚫ 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 21: Configuration

    Figure 3-1 initial appearance of ezManager 3.1.1 Configuration via LAN ⚫ Checklists Make sure the connection between your PC and CSE-M53G. 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 22: Configuration Via Serial

    3.1.2 Configuration via Serial ⚫ Checklists Make sure the connection between your PC and CSE-M53G using RS232 cross cable. To use this, CSE-M53G 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 23: At Command

    ⚫ Checklists Make sure the connection between your PC and CSE-M53G using RS232 cross cable. To use this, CSE-M53G 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 24: Operation Modes

    CSE-M53G User Manual Ver. 1.0 Operation Modes 4.1 What is the Operation Mode? Each of three operation mode of CSE-M53G 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 25: Comparison With Each Mode

    CSE-M53G User Manual Ver. 1.0 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 26: 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-M53G 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 27: Communication Modes

    Communication Modes 5.1 TCP Server In this mode, CSE-M53G functions as a TCP server. CSE-M53G listens to a TCP connection from remote host. Once a host tries to connect to CSE-M53G, its responses that request. After the connection is established, CSE-M53G converts the raw data from the serial port to TCP/IP data and sends them to the network and vice versa.
  • Page 28: Examples

    ⚫ 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-M53G is listening to connection requests ① Remote host has sent a connection request (SYN) segment Processes of the connection ②...
  • Page 29 ⚫ 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-M53G is listening to connection requests ① Remote host has sent a connection request (SYN) segment Processes of the connection ②...
  • Page 30 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-M53G 5 seconds are passed with no data communication CSE-M53G has sent disconnection request (FIN) to a remote ② host Processes of the disconnection ③...
  • Page 31: Tcp Client

    CSE-M53G User Manual Ver. 1.0 5.2 TCP Client In this mode, CSE-M53G 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-M53G converts the raw data from the serial port to TCP/IP data and sends them to the network and vice versa.
  • Page 32: Examples

    CSE-M53G User Manual Ver. 1.0 ⚫ DNS IP Address [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 33 The “1234567” is transmitted to the remote host Table 5-8 states of each point As you can see in the figure 5-5, CSE-M53G 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 34 Figure 5-6 time chart for activating [TCP Server] option Points States CSE-M53G is listening to connection requests ① The connection has been established CSE-M53G is on line and processes of the disconnection ② The connection has been terminated Both sides are offline ③ Sends TCP connection request segment...
  • Page 35: At Command

    CSE-M53G User Manual Ver. 1.0 5.3 AT Command AT command is a mode which users control CSE-M53G 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 36: Examples

    TCP connection has been established CSE-M53G sends “CONNECT” message to the serial port Table 5-11 states of each point  Most of the response messages from the serial port of CSE-M53G are omitted on above figure. Sollae Systems Co., Ltd. - 35 -...
  • Page 37 ⚫ TCP Client – setting parameters and active connection Figure 5-8 TCP Active connection Points States Set parameters in the AT command mode CSE-M53G sends a TCP connection request with the ATD ① command Processes of TCP connection ② TCP connection has been established CSE-M53G sends “CONNECT”...
  • Page 38 CSE-M53G 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-M53G processes only AT command. Whenever you want to go back to online state (TCP connection), use “ATO” command.
  • Page 39: Udp

    [Block Size(Byte)] is to set the time to gather data in one block. Its unit is byte. If the data in configured size of the [Block Size(Byte)] comes into the serial port, CSE-M53G will send them as one block to the network. The maximum value could be 1460 bytes.
  • Page 40: Examples

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

    6.1 Upgrading Firmware 6.1.1 Firmware Firmware is a type of software for operation of CSE-M53G. 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 43 CSE-M53G User Manual Ver. 1.0 ⚫ 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 44: Status Monitoring

    CSE-M53G User Manual Ver. 1.0 6.2 Status Monitoring 6.2.1 Using TELNET Once the [TELNET] option is activated, users can remotely log in to CSE-M53G. If a password is set, users should input the password.  The default password is “sollae” for TELNET.
  • Page 45 ---- ------ ------ ------ ------ ---------- ----------- com1 lsh> Figure 6-6 “st sio” command ⚫ st uptime “st uptime” command shows amount of time since CSE-M53G boots up. lsh>st uptime 00:05:19.16 up 0 days lsh> Figure 6-7 “st uptime” command ⚫...
  • Page 46 CSE-M53G User Manual Ver. 1.0 ⚫ 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 47: Using Ezmanager

    CSE-M53G User Manual Ver. 1.0 6.2.2 Using ezManager Status of CSE-M53G 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 48 CSE-M53G User Manual Ver. 1.0 ⚫ 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 49 When right click on a session, a small pop-up window is created. ⚫ Password This text box is activated when CSE-M53G 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 50 CSE-M53G User Manual Ver. 1.0 ⚫ 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 51: Additional Functions

    CSE-M53G User Manual Ver. 1.0 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 ⚫ SSL Client You can use SSL as long as the [SSL] option is enabled on the [Option] tab.
  • Page 52: Restrictions

    CSE-M53G User Manual Ver. 1.0 ③ Select the [Write self-signed certificate] and click the [OK] button. Figure 7-3 Create the RSA Key ④ Input the key length and information in [Self signed certificate] Figure 7-4 Input the information ⑤ Check a success message.
  • Page 53: 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-M53G as ISP mode. In the mode, all restrictions are removable and communication with ezManager is revoked.
  • Page 54: Additional Functions

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

    CSE-M53G User Manual Ver. 1.0 8.2 Sending MAC Address [Sending MAC Address] is a function that CSE-M53G 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 56: 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-M53G sends the data from the serial port to LAN as quickly as possible. 8.3.2 Separator - ②...
  • Page 57: Telnet Com Port Control Option (Rfc 2217) - ③

     CSE-M53G’s Data Frame interval is configured 2byte data interval. Before sending data from the serial port to LAN, CSE-M53G 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 58: Factory Reset

    CSE-M53G User Manual Ver. 1.0 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 59: Checklist In Trouble

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

    Under this circumstance, users should ask the person in charge of their network to release ports which will be used. (Ex: TCP 1470, UDP 50005) ⚫ Operation Mode TCP connection is not possible when CSE-M53G is operating in the ISP or Serial Configuration mode. ⚫ Communication Mode To make TCP connection, both a server and client should exist.
  • Page 61: Data Communication Problem On The Serial

    CSE-M53G User Manual Ver. 1.0 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 62: Related Material

    CSE-M53G User Manual Ver. 1.0 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 63: 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 64: Precaution And Exemption From Liability

    ⚫ Specifications of the product are subject to change without prior notice for performance improvement. ⚫ Sollae Systems does not guarantee successful operation of the product if the product was used under conditions deviating from the product specifications. ⚫ Reverse engineering of firmware and applications provided by Sollae Systems is prohibited.
  • Page 65: 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-M53G even if Sollae Systems Co., Ltd. Or its distributors have been informed of such damages.
  • Page 66: French Version

    à caractère commercial ou de toute autre perte financière) provenant de l'utilisation ou de l'incapacité à pouvoir utiliser le CSE-M53G, même si Sollae Systems Co., Ltd ou un de ses distributeurs a été informé de la possibilité de tels dommages.
  • Page 67 Sollae Systems Co., Ltd et de ses distributeurs ne puissent être mise en cause, ni que le CSE-M53G 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-M53G indique que vous ne pouvez pas vous débarrasser de ce dernier de la même façon que vos déchets courants.
  • Page 68: History

    CSE-M53G User Manual Ver. 1.0 13 History Date Version Comments Author ○ Initial Release 2021.12.09. Roy LEE Sollae Systems Co., Ltd. - 67 - https://www.ezTCP.com...

Table of Contents