Page 2 - Lantronix Corporate Headquarters; Disclaimer; Revision History
Copyright and Trademark © 2013 Lantronix, Inc. All rights reserved. No part of the contents of this book may be transmitted or reproduced in any form or by any means without the written permission of Lantronix, Inc. Lantronix® and DeviceLinx® are registered trademarks of Lantronix, Inc. DeviceInstal...
Page 3 - Table of Contents; Using DeviceInstaller
Table of Contents Copyright and Trademark ______________________________________________ 2 Warranty ___________________________________________________________ 2 Contacts ___________________________________________________________ 2 Disclaimer ________________________________________________________...
Page 6 - Binary to Hexadecimal Conversions; List of Figures
A: Binary to Hexadecimal Conversions 73 Converting Binary to Hexadecimal ______________________________________ 73 Conversion Table ________________________________________________ 73 Scientific Calculator ______________________________________________ 74 List of Figures Figure 3-1. Evaluation Board...
Page 7 - Using This Guide; Purpose and Audience
1. Using This Guide Purpose and Audience This guide covers the DeviceLinx Micro125 embedded device server. It provides the information needed to configure, use, and update the Micro125 firmware and is intended for OEMs and system integrators who are embedding Micro125 in their end product designs. C...
Page 8 - Additional Documentation
1: Using This Guide Additional Documentation Visit the Lantronix W eb site at www.lantronix.com/support/documentation for the latest documentation and the following additional documentation. Document Description Micro125 Integration Guide Provides information about the Micro125 hardware, testing the...
Page 10 - Protocol Support; Configuration Methods; Addresses and Port Numbers; Hardware Address
2: Introduction Protocol Support The Micro125 device server uses the Internet Protocol (IP) for network communications. It uses the Transmission Control Protocol (TCP) to assure that no data is lost or duplicated, and that everything sent to the connection arrives correctly at the target. Supported ...
Page 12 - Physically Connecting the Unit; Required Information
3. Getting Started This chapter covers the steps required to get an embedded device physically connected. Physically Connecting the Unit The following diagram shows a properly installed Micro125. Other devices connect in a similar manner. Figure 3-1. Evaluation Board Connected to Serial Device and N...
Page 13 - IP Address
3: Getting Started IP Address Your device server must have a unique IP address on your network. The systems administrator generally provides the IP address and corresponding subnet mask and gateway. The IP address must be within a valid range, unique to your network, and in the same subnet as your P...
Page 14 - Using DeviceInstaller; Installing DeviceInstaller; Assigning an IP Address
4. Using DeviceInstaller This chapter covers the steps for getting the Micro125 device server online and viewing its current configuration. Note: DeviceInstaller is a free utility program provided by Lantronix that discovers, configures, upgrades, and manages Lantronix Device Servers. It can be down...
Page 15 - Accessing the Micro125 Using DeviceInstaller
4: Using DeviceInstaller 4. Select Assign a specific IP address and click Next . 5. Enter the IP address . The Subnet mask displays automatically based on the IP address; if desired, you may change it. On a local network, you can leave the Default gateway blank (all zeros). Click Next . 6. Click the...
Page 18 - Configuration Using Web Manager; Accessing Web-Manager Using DeviceInstaller
5. Configuration Using Web Manager You must configure the unit so that it can communicate on a network with your serial device. For example, you must set the way the unit will respond to serial and network traffic, how it will handle serial packets, and when to start or close a connection. The unit’...
Page 19 - OK
5: Configuration Using W eb Manager Figure 5-1. Web-Manager Login Window 7. Perform one of the following: If no Telnet/Web Manager password has been defined (default), leave both fieldsblank and click OK . If a Telnet/W eb Manager password has been defined, leave the username blank,type in the p...
Page 20 - Network Configuration; Network Mode; Network; Automatic IP Address Configuration; Network
5: Configuration Using W eb Manager Network Configuration The unit’s network values display when you select Network from the main menu. The following sections describe the configurable parameters on the Network Settings page. Figure 5-3. Network Settings Network Mode 1. Click Network from the main m...
Page 21 - Static IP Address Configuration
5: Configuration Using W eb Manager 3. Enter the following (as necessary): Dynamic IP Setting Description BOOTP Select Enable to permit the Bootstrap Protocol (BOOTP). server to assign the IP address from a pool of addresses automatically. Enable is the default. DHCP Select Enable to permit the Dyna...
Page 22 - Ethernet Configuration; To specify how data will be transmitted:
5: Configuration Using W eb Manager Ethernet Configuration You must specify the speed and direction of data transmission. To specify how data will be transmitted: 1. On the main menu, click Network . 2. Enter the following (as necessary): Ethernet Settings Description Auto Negotiate With this option...
Page 23 - Server; To configure the Micro125’s device server settings:; Server Configuration
5: Configuration Using W eb Manager Server Configuration The unit’s server values display when you select Server from the main menu. The following sections describe the configurable parameters on the Server Settings page. Figure 5-4. Server Settings To configure the Micro125’s device server settings...
Page 24 - Advanced; Apply Settings; Host List Configuration; To configure the Micro125’s host list:; Hostlist
5: Configuration Using W eb Manager Advanced Advanced Settings Description ARP Cache Timeout (secs) When the unit communicates with another device on the network, it adds an entry into its ARP table. ARP Cache timeout defines the number of seconds (1-600) before it refreshes this table. TCP Keepaliv...
Page 25 - Host Information; Channel 1 and Channel 2 Configuration
5: Configuration Using W eb Manager Figure 5-5. Hostlist Settings 2. Enter or modify the following fields: Retry Settings Retry Settings Description Retry Counter Enter the value for the number of times the Micro125 should attempt to retry connecting to the host list. Retry Timeout Enter the duratio...
Page 26 - To configure the channel’s serial settings:; Serial Settings; Channel 2; Channel 1 or Channel 2; Port Settings
5: Configuration Using W eb Manager Serial Settings To configure the channel’s serial settings: 1. On the main menu, click Serial Settings (under Channel 1 or Channel 2 ) to display the Serial Settings window. Figure 5-6. Channel Serial Settings 2. In the available fields, enter the following inform...
Page 27 - Pack Control
5: Configuration Using W eb Manager Port Settings Description Flow Control Flow control manages data flow between devices in a network to ensure it is processed efficiently. Too much data arriving before a device is prepared to manage it causes lost or retransmitted data. None is the default. Baud R...
Page 29 - Connection Settings - TCP; To configure a channel’s TCP settings:
5: Configuration Using W eb Manager Connection Settings - TCP To configure a channel’s TCP settings: 1. On the main menu, click Connection. The Connection Settings window for the channel displays. Figure 5-7. TCP Connection Settings Micro125 User Guide 29
Page 30 - Connect Protocol; Connect Mode: Passive Connection; Connect Mode: Active Connection
5: Configuration Using W eb Manager 2. In the available fields, enter or modify the following information: Connect Protocol Connect Protocol Setting Description Protocol From the drop-down menu, select TCP. Connect Mode: Passive Connection Passive Connection Mode Settings Description Accept Incoming...
Page 31 - Endpoint Configuration; Common Options; Disconnect Mode
5: Configuration Using W eb Manager Endpoint Configuration Endpoint Configuration Settings Description Local Port Enter the local port number. Auto increment for active connect Select to auto-increment the local port number for new outgoing connections. The range of auto-incremented port numbers is ...
Page 32 - Connection Settings - UDP; To configure a channel’s UDP settings:; Connection
5: Configuration Using W eb Manager Disconnect Mode Settings Description Check EOT (Ctrl-D) Select Yes to drop the connection when Ctrl-D or Hex 04 is detected. Both Telnet Com Port Cntrl and Check EOT (Ctrl+ D) must be enabled for Disconnect with EOT to function properly. Ctrl+D is only detected go...
Page 33 - Datagram Mode; Apply
5: Configuration Using W eb Manager Connect Protocol Connection Protocol Description Protocol Select UDP from the drop-down menu. Datagram Mode Datagram Mode Settings Description Datagram Type Configures the remote IP or network broadcast address and the remote port. Enter 01 for directed or broadca...
Page 34 - Apply Defaults; Apply Factory Defaults; Yes
5: Configuration Using W eb Manager Figure 5-9. Applying Settings Apply Defaults 1. Click the Apply Factory Defaults button to set the device server back to the default settings. For details see Default Settings on page 61. 2. Click Yes to set factory settings, or click No to cancel. Figure 5-10. Ap...
Page 35 - Configuration via Telnet or Serial Port; Setup Mode; Accessing Setup Mode; Telnet Connection
6. Configuration via Telnet or Serial Port (Setup Mode) You must configure the unit so that it can communicate on a network with your serial device. As an alternative to using a web browser, as described in the previous chapter, you can use the following procedures remotely or locally: Use a Telne...
Page 36 - Serial Port Connection
6: Configuration via Telnet or Serial Port (Setup Mode) To establish a Telnet connection: 1. From the W indows Start menu, click Run and type the following command, where x.x.x.x is the IP address, and 9999 is the unit’s fixed network configuration port number: Windows: telnet x.x.x.x 9999 UNIX: tel...
Page 37 - Exiting Setup Mode; To exit setup mode, utilize one of the following two options:; Save and exit; Exit without save
6: Configuration via Telnet or Serial Port (Setup Mode) Note: The easiest way to enter Setup Mode is to hold down the x key at the terminal (or emulation) while resetting the unit. You must do this within three seconds of resetting the Micro125. At this point, the screen display is the same as when ...
Page 38 - Server configuration; Enter
7. Setup Mode: Server Configuration This chapter explains how to configure the network settings. Note: Current values appear in parentheses. Server Configuration (Option 0) The unit’s basic network parameters display when you select Server configuration (option 0 ). The IP Address , Set Gateway IP A...
Page 39 - Set Gateway IP Address; Netmask: Number of Bits for Host Part; Set DNS Server IP Address
7: Setup Mode: Server Configuration Set Gateway IP Address The gateway address, or router, allows communication to other LAN segments. The gateway address should be the IP address of the router connected to the same LAN segment as the unit. The gateway address must be within the local network. The d...
Page 40 - DHCP Name; Default DHCP Name; Custom DHCP Name; Change DHCP device
7: Setup Mode: Server Configuration Change Telnet/Web-Manager Password Setting the Telnet/Web-Manager password prevents unauthorized access to the setup menu through a Telnet connection to port 9999 or through web pages. The password must have 4 characters. Change Telnet/Web-Manager password (N) ? _...
Page 41 - Channels; Channel 1; Channel; Baudrate
8. Setup Mode: Channel Configuration This chapter explains how to configure the serial port. Two channels may be configured in Micro125: Channel 1 and Channel 2. Note: The directions for configuring Channel 1 provided below may also be used for Channel 2. Channels Select Channel 1 (option 1 ) from t...
Page 43 - Flow; Port Number; We recommend that you not use the reserved port numbers
8: Setup Mode: Channel Configuration Table 8-3. Interface Mode Options I/F Mode Option 7 6 5 4 3 2 1 0 RS-422 4-wire 0 1 RS-485 2-wire 1 1 Flow Flow control sets the local handshaking method for stopping serial input/output. Flow (00) ? _ Use the following table to select flow control options: Table...
Page 44 - Connect Mode
8: Setup Mode: Channel Configuration Connect Mode Connect Mode defines how the unit makes a connection, and how it reacts to incoming connections over the network. ConnectMode (C0) ? _ Enter Connect Mode options in hexadecimal notation. Note: All bit positions in the table that are blank represent “...
Page 45 - a) Incoming Connection
8: Setup Mode: Channel Configuration Connect Mode Option 7 6 5 4 3 2 1 0 Modem Response Only (Verbose) 0 0 1 1 1 0 a) Incoming Connection Incoming Connection Mode Description Never Accept Incoming Rejects all external connection attempts. Accept with active Modem Control In Accepts external connecti...
Page 48 - CF
8: Setup Mode: Channel Configuration d) Datagram Type Datagram Type Description Directed UDP When selecting this option, you are prompted for the Datagram type. Enter 01 for directed or broadcast UDP. Datagrams of type 01 can be sent as a broadcast by enabling the Send as Broadcast option. The defau...
Page 51 - Auto Increment Source Port; Remote IP Address; Remote Port; DisConnMode
8: Setup Mode: Channel Configuration Show IP addr after 'RING' Show IP addr after ‘RING’ (Y) ? Disable or enable the Micro125's ability to show the IP address after RING in Modem Mode. The default is Y (Yes), to show the IP address. Auto Increment Source Port Auto increment source port (N) ? _ Y (Ye...
Page 54 - Packing Interval; -Byte Send Character Sequence; Send Immediately After Characters
8: Setup Mode: Channel Configuration Option 7 6 5 4 3 2 1 0 Interval: 12ms 0 0 Interval: 52ms 0 1 Interval: 250ms 1 0 Interval: 5sec 1 1 Trailing Characters None 0 0 One 0 1 Two 1 0 Send Characters 2-Byte Send Character Sequence 1 Send Immediately After Send chars 1 Packing Interval Packing Interval...
Page 55 - Send Characters; Telnet Terminal Type
8: Setup Mode: Channel Configuration DisConnTime (00:00) ?: To disable the inactivity timeout, enter 00:00 . Range is 0 (disabled) to 5999 seconds (99 minutes, 59 seconds). Default is 0 . Send Characters Enter up to two characters in hexadecimal representation in sendchar. SendChar 1 (00) ? _ SendCh...
Page 56 - TCP Keepalive Time in Seconds
9. Setup Mode: Advanced Settings Expert Settings (Option 5) Note: You can change the Enable alternate MAC setting using telnet or serial connections only. It is not available through the Web-Manager. CAUTION: Only an expert should change these parameters. You must definitely know the consequences th...
Page 58 - Disable SNMP; public; Disable Telnet Setup
9: Setup Mode: Advanced Settings Security Settings (Option 6) Note: You can change security settings by means of Telnet or serial connections only, not on the Web-Manager. We recommend that you set security over the dedicated network or over the serial setup to prevent eavesdropping. CAUTION: Disabl...
Page 59 - Disable TFTP Firmware Upgrade; Disable Web Server; Disable Web Setup; Disable ECHO Ports
9: Setup Mode: Advanced Settings Disable TFTP Firmware Upgrade This setting defaults to the N (No) option. The Y (Yes) option disables the use of TFTP to perform network firmware upgrades. W ith this option, you can download firmware upgrades over the serial port using DeviceInstaller’s Recover Firm...
Page 60 - Enable Enhanced Password
9: Setup Mode: Advanced Settings To configure AES encryption on the Micro125: Enable Encryption (N) Y Key length in bits (0): 128 Change Keys (N) Y Enter Keys: **-**-**-**-**-**-**-**-**-**-**-**-**-**-**-**- 1. When prompted to enable encryption, select Y . 2. When prompted, enter the encryption ke...
Page 61 - Channel 1 and Channel 2 Configuration Defaults; Expert Settings Defaults
9: Setup Mode: Advanced Settings Default Settings (Option 7) Select 7 to reset the unit’s channel configuration and expert settings to the default settings. The server configuration settings for IP address, gateway IP address, and netmask remain unchanged. The specific settings that this option chan...
Page 62 - Security Settings Defaults
9: Setup Mode: Advanced Settings Security Settings Defaults Security Setting Default Configuration Disable SNMP No SNMP community name public Disable Telnet setup No Disable TFTP Firmware Update No Disable Port 77FEh No Disable Web Server No Disable Web Setup No Disable ECHO ports Yes Enable Encrypt...
Page 63 - Firmware Upgrades; Obtaining Firmware; Reloading Firmware; Using TFTP: Graphical User Interface; To download new firmware from a computer:
10. Firmware Upgrades Obtaining Firmware You can obtain the most up-to-date firmware and release notes for the unit from the Lantronix web site ( www.lantronix.com/support/downloads ) or by using anonymous FTP ( ftp.lantronix.com/pub ). Reloading Firmware There are several ways to update the unit's ...
Page 64 - Upload Now; Using TFTP: Command Line Interface
10: Firmware Upgrades Figure 10-1. TFTP Window 6. Click the Upload Now button to transfer the file to the unit. The unit performs a power reset after the firmware has been loaded and stored. Using TFTP: Command Line Interface To download new firmware from a computer: 1. Enter the following from a TF...
Page 66 - Entering Monitor Mode Using the Serial Port; To enter Monitor Mode locally:; zzz; yyy; Entering Monitor Mode Using the Network Port; To enter Monitor Mode using a Telnet connection:; Monitor Mode Commands
11. Monitor Mode Monitor Mode is a command-line interface used for diagnostic purposes. There are two ways to enter Monitor Mode: locally using the serial port or remotely using the network. Entering Monitor Mode Using the Serial Port To enter Monitor Mode locally: 1. Follow the same steps used for ...
Page 69 - Problems and Error Messages
12. Troubleshooting This chapter discusses how you can diagnose and fix errors quickly without having to contact a dealer or Lantronix. It helps to connect a terminal to the serial port while diagnosing an error to view summary messages that may display. When troubleshooting, always ensure that the ...
Page 72 - Technical Support; Technical Support US
12: Troubleshooting Technical Support If you are experiencing an error that is not described in this chapter, or if you are unable to fix the error, you have the following options: Technical Support US Check our online knowledge base or send a question to Technical Support at http://www.lantronix.co...
Page 73 - Converting Binary to Hexadecimal; Conversion Table
A: Binary to Hexadecimal Conversions Many of the unit’s configuration procedures require assembling a series of options (represented as bits) into a complete command (represented as a byte). Convert the resulting binary value to a hexadecimal representation. Converting Binary to Hexadecimal Followin...
Page 74 - Scientific Calculator
A: Binary to Hexadecimal Conversions Scientific Calculator Another simple way to convert binary to hexadecimals is to use a scientific calculator, such as the one available on W indows’ operating systems. For example: 1. On the W indows’ Start menu, click Programs Accessories Calculator . 2. On ...