Page 1
Serial Device Server CSE-M32 User Manual Version 3.2 Sollae Systems Co., Ltd. https://www.ezTCP.com...
Page 2
CSE-M32 User Manual Ver. 3.2 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.
Test Run ............................ - 0 - 3.1 Test Run .................................. - 0 - 3.1.1 Changing PC IP Address ........................- 0 - 3.1.2 Installing CSE-M32 ........................... - 0 - 3.1.3 Configuring CSE-M32 ..........................- 0 - 3.1.4 Communication Test ..........................- 1 - Configuring IP Address and Variables................
Page 4
CSE-M32 User Manual Ver. 3.2 4.2 Configuration with ezManager ........................- 4 - 4.2.1 ezManager ..............................- 4 - 4.2.2 Buttons of ezManager ..........................- 5 - 4.2.3 Parameters of ezManager ........................- 5 - 4.2.4 Matters to be attended to ........................- 6 - 4.3 AT command ................................
Page 5
Security Protocols & Option ..................... - 21 - 7.1 SSL ..................................- 21 - 7.1.1 SSL (Secure Socket Layer) ........................- 21 - 7.1.2 How to set the SSL on CSE-M32 ....................- 21 - 7.1.3 Restriction..............................- 22 - 7.2 SSH ..................................- 22 - 7.2.1 SSH (Secure Shell) ..........................
Page 6
CSE-M32 User Manual Ver. 3.2 11.2.2 Free Repair Services ..........................- 1 - 11.2.3 Charged Repair Services........................- 1 - Precaution and Exemption from Liability ................- 2 - 12.1 Precaution................................- 2 - 12.2 Exemption from Liability ..........................- 3 - 12.2.1 English version ............................
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.
Ethernet Out+ 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- VCC_33 VCC 3.3V Sollae Systems Co., Ltd.
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...
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 Serial Baud rate...
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.
CSE-M32 User Manual Ver. 3.2 2.4.8 TCP Server / Client mode This mode is available on TCP client mode only. In this mode, you don’t need to change the mode for switching active or passive TCP connection. Note that the [Event Byte] option should be set to 1 or lager value.
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.
Local Port 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. Sollae Systems Co., Ltd.
Page 17
CSE-M32 User Manual Ver. 3.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 [ 10.1.0.1 : 1470 ]. And the STS indicator will be on.
Page 18
CSE-M32 User Manual Ver. 3.2 ⚫ If you press the [Send Data] button on the LAN part (Top), the data shown in the [Send] box will be transmitted to the [Receive] box on the RS232 part (Bottom). ⚫ 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.
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.
CSE-M32 User Manual Ver. 3.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.
4.4.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 (https://dyn.com/dns/) currently.
CSE-M32 User Manual Ver. 3.2 4.4.2 TCP/UDP In addition, CSE-M32 can transmit some information to user’s TCP/UDP servers each period which is set. This information is IP address, MAC address, product ID, firmware version, and comment. The data can be sent as either ASCII or Hexadecimal type.
5.2.3 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.
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 the ezManager let users do this. Sollae Systems Co., Ltd.
⚫ 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.)
[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.
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.
[Timeout] is 1 second. 6.2.4 DNS 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.
CSE-M32 User Manual Ver. 3.2 6.3 ATC AT command is a mode which users control CSE-M32 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.
Processes of TCP connection ③ TCP connection has been established CSE-M32 sends “CONNECT” message to the serial port Most of the response messages from the serial port of CSE-M32 are omitted on above figure. Sollae Systems Co., Ltd. - 15 -...
Page 31
Figure 6-2 TCP Active connection Table 6-3 states of each point Points States Set parameters in the AT command mode CSE-M32 sends a TCP connection request with the ATD ① command Processes of TCP connection ② TCP connection has been established CSE-M32 sends “CONNECT”...
Page 32
TCP connection has been terminated CSE-M32 sends “NO CARRIER” with disconnection CSE-M32 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- M32 processes only AT command. Whenever you want to go back to online state (TCP connection), use “ATO”...
CSE-M32 User Manual Ver. 3.2 6.4 UDP UDP has no processes of connection. In this mode, 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. 6.4.1 Key parameters ⚫...
Figure 6-4 time chart for Block Size is 5 bytes and data frame is 1s Table 6-5 states of each point Points States CSE-M32 is receiving data from the serial port CSE-M32 Sends 5 bytes as one block based on the [Block ① Size] Serial device sends data “678” to the CSE-M32 ②...
Page 35
Remote host 2 sends data again to CSE-M32 ③ CSE-M32 updates host 2 to peer host CSE-M32 can communicate with remote host 2 The data “ABC”, “DE”, “FGH” are from the serial port of CSE-M32 in the Fig 6- Sollae Systems Co., Ltd. - 20 -...
⚫ Log in the CSE-M32 with telnet client. For telnet login, please refer to the section 8.1.1 ⚫ Generate an RSA key with a command. CSE-M32 supports 512, 768, and 1024 length keys. Command Format: rsa keygen [key length] ⚫...
⚫ Save the parameters for SSL with a ‘ssl save aa55cc33’ command. 7.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. 7.2 SSH 7.2.1 SSH (Secure Shell)
⚫ Save the parameters for SSH with a ‘ssh save aa55cc33’ command. 7.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 7.3 ezTCP Firewall...
Page 39
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. Sollae Systems Co., Ltd.
CSE-M32 User Manual Ver. 3.2 Checking & Debugging If user logs in the CSE-M32, user can monitor CSE-M32 status. And if user sets the debugging option, user can get debugging data with ezManager. 8.1 Telnet 8.1.1 Telnet Login Once the [TELNET] option is activated, users can remotely log in to CSE-M32. If a password is set, users should input the password.
Page 41
⚫ Serial Ports I/O data capture 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.
8.2.1 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.
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.
CSE-M32 User Manual Ver. 3.2 The Evaluation Board Introduction This board is for testing the CSE-M32 with an Ethernet interface and 2 RS232 interfaces. Connectors Part Name Description It supplies the power to the CSE-M32. The input voltage should be 5V. The regulator in the evaluation board DC JACK regulate the 5V to 3.3V and supplies the 3.3V to the...
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. 9.3.2 JP9, JP10 These pins control the outputs of the RS232 line drivers.
CSE-M32 User Manual Ver. 3.2 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 DHCP or PPPoE...
10 Related material 10.1 Technical Documents You can find the technical documents at our website. ⚫ DataSheet ⚫ IP Change Notification (DDNS) ⚫ How to use SSL ⚫ How to use SSH ⚫ Sending MAC Address function ⚫ Telnet COM Port Control Option ⚫...
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...
⚫ 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.
(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-M32 even if Sollae Systems Co., Ltd. Or its distributors have been informed of such damages.
Page 53
à caractère commercial ou de toute autre perte financière) provenant de l'utilisation ou de l'incapacité à pouvoir utiliser le boîtier CSE-M32, même si Sollae Systems Co., Ltd. ou un de ses distributeurs a été informé de la possibilité de tels dommages.
Page 54
CSE-M32 sans que la responsabilité de Sollae Systems Co., Ltd. et de ses distributeurs ne puissent être mise en cause, ni que le boîtier CSE-M32 puisse être échangé au titre de la garantie.
CSE-M32 User Manual Ver. 3.2 13 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 56
CSE-M32 User Manual Ver. 3.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.
Need help?
Do you have a question about the CSE-M32 and is the answer not in the manual?
Questions and answers