Declaration of Conformity (According to ISO/IEC Guide 22 and EN 45014) Manufacturer’s Name & Address: Lantronix 15353 Barranca Parkway, Irvine, CA 92618 USA Declares that the following product: Product Name Model: XPort™ Embedded Device Server Conforms to the following standards or other normative documents:...
-- repair or replace the product and return it to the customer freight prepaid. If the product is not under warranty, the customer may have Lantronix repair the unit on a fee basis or return it. No services are handled at the customer's site under this warranty. This warranty is voided if the customer uses the product in an unauthorized or improper way, or in an environment for which it was not designed.
The XPort™ contains a web [http] server that allows presentation of custom content and can be easily configured through the server. The XPort™ has 3 programmable IO pins that can be used to monitor or control attached devices. 1.1 Features The XPort™...
IP for addressing, routing, and data block handling over the network. User Datagram Protocol (UDP) for typical datagram applications in which devices interact with other devices without maintaining a point-to-point connection. SMTP for e-mail transmission. 1.3 XPort™ Block Diagram 2.5V Power +2.5V Supply +3.3V...
UART. For prototype and evaluation work, where an external cable running with RS-232 voltage levels is required, the XPort™ must be interfaced to a serial transceiver chip. An RS-232 transceiver is supplied on the XPort™ Evaluation board for this purpose.
Blinking Amber 10BASE-T Half Duplex; Activity Solid Green 10BASE-T Full Duplex Link Blinking Green 10BASE-T Full Duplex; Activity 1.7 Dimensions The XPort™ dimensions are shown in the following drawing. 18.25 [0.719] FRONT VIEW 16.25 [0.640] DIMS = mm (in) 11.55 [0.455] 7.15 [0.281]...
6.35 [0.250] .XX+/-0.20[0.008] DIMS = mm (in) 11.90 [0.468] 1.8 Recommended PCB Layout The hole pattern and mounting dimensions for the XPort™ device server are shown in the following drawing. SHIELD TAB O 0.90 [ 0.035] 1.60[ 0.063] O 3.25 [ 0.128] 1.27 [0.050]...
6. CD with software utilities, and documentation in PDF format. 7. Serial Adaptor, 25-pin to 9-pin 2.1 Introduction The XPort™ Evaluation Board provides a test or evaluation platform for the Lantronix XPort™ device server. The XPort™ Evaluation Board supplies an RS232 serial interface to 3.3V CMOS level interface connection for the XPort™...
Development Kit In addition to the status LEDs on the XPort™, the evaluation board contains multiple LEDs. A red LED is driven by the power supply. The remaining LEDs are driven by the PLD and in the basic mode of operation, indicate whether the RS232 interface is valid, the serial interface transmit data is active, the serial interface receive data is active, and the state of the three configurable pins CP1, CP2, and CP3.
(M/F) is all that is required to connect to a DTE device such as a PC. The table below lists the RS232 Signals. Note that XPort™ signal pins 6, 7, and 8 are configurable pins and can be set for functions other than RS-232 control. A configuration DIP switch determines if the XPort™...
Switch module SW1 contains 6 independent switches. It is used to configure the PLD on the evaluation board. The PLD controls how the signals from the XPort™ are routed on the evaluation board. Positions 1 and 6 are for self-test. Positions 2 through 5 are for configuring XPort™...
SW1-2 controls the routing of the CP1 (Configurable Pin 1) signal from the XPort™. CP1 is connected to pin 6 of the XPort™ and can be software configured as CTS, IN1, OUT1, or LED1. SW1-2 is an input to the PLD which does the actual switching. The drawings represent the logical switching function.
SW1-3 controls the routing of the CP2 (Configurable Pin 2) signal from the XPort™. CP2 is connected to pin 7 of the XPort™ and can be software configured as DCD, IN2, or OUT2. SW1-3 is an input to the PLD which does the actual switching. The drawings represent the logical switching function.
SW1-5 controls the routing of the CP3 (Configurable Pin 3) signal from the XPort™. CP3 is connected to pin 8 of the XPort™ and can be software configured as RTS, LED3, DTR, IN3, or OUT3. With SW1-5 in the OFF position, the CP3 signal is routed to SW1-4.
Development Kit 2.6.4 Configurable Pins Interface Header JP4 JP4 can be used to monitor XPort™ pins 6 (CP1), 7 (CP2), and 8 (CP3). It can also be used to connect external circuitry or LEDs to the evaluation board. JP4 Pin # Connects To 3.3V...
Getting Started 3. Getting Started This chapter covers the required steps to get the XPort™ device server on-line and working. There are two basic methods used to log into the Device Server and setup the IP address: Network Port Login: Make a Telnet connection to the network port (9999).
3.3 Methods of Assigning the IP Address The unit's IP address must be configured before a network connection is available. You have several options for assigning an IP to your unit, however, we recommend XPort™ Installer on page 3-5. Method...
You can use the XPort™ Installer software to search the network for the IP address your unit has been assigned by the DHCP server and add it to the managed list. See XPort™...
If a DHCP server is found, but it denies the request for an IP address, the unit does not attach to the network, but waits and retries. AutoIP can be disabled by setting the unit’s IP address to 0.0.1.0. This setting enables DHCP but disables AutoIP. XPort™ User Manual and Development Kit...
Getting Started 3.4 XPort™ Installer You can manually assign the IP address using XPort™ Installer software, which is on the product CD. If you want to use a serial connection instead of an Ethernet connection to configure the device, go to Serial Port Login on page 3-9.
Getting Started 3.4.2 RUN XPort™ Installer Click the Start button on the Task Bar and select Programs\XPort Installer\XPort Installer. The XPort™ Installer main dialog box displays. Figure 3-3 - XPort™ Installer Dialog Box To search for devices, click the Search icon or select Search Network from the Action menu.
Status window. Use the Clear Status button to clear the window so you can Ping the device again. Click the Close button to close the dialog box and return to the main window. XPort™ User Manual and Development Kit...
To configure the unit via a Web browser, first click on one of the devices listed in the window, then click the Web icon . The Lantronix Web-Manager window displays in your browser. For Web Configuration, see Web Manager Page on page 4-2.
3. At this point, the screen display is the same as when you use a Telnet connection. To continue with a serial port login, go to Using a Telnet Connection on page 4-7. XPort™ User Manual and Development Kit...
This section uses the utility to demonstrate the various methods of configuring a device. To use XPort™ Installer, follow the instructions in RUN XPort™ Installer on page 3-6 to search the network and verify your device is active. 1. To configure the unit via a Web browser, select the device from the main window list, then click the Web icon or select Web Pages from the Device menu..
4.3 Web Manager Page You can start a web browser for configuration by opening your JAVA enabled web browser and entering the IP address or by clicking the Web button on the XPort™ Installer toolbar. The Lantronix Web Manager page will display.
Server Configuration and the Port Configuration settings. These are static settings read from the device. Note: The following screen shots represent typical web pages. See the Lantronix web page for the latest version. The following two pictures show the information available in the above screen shot.
No password is required to access the Setup Mode window via a serial connection. 4.3.4 Port Properties Serial Protocol: RS232 Note: RS-232 is the only available option for XPort™. Speed: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 XPort™ User Manual and Development Kit...
Page 43
Connection, Autostart, Modem Mode, With Active DTR Remote IP Address: (user selectable) Remote Port: (user selectable) Local Port: 10001 (default 10001, user selectable) On Active Connection: Enable, Disable On Passive Connection: Enable, Disable At Time To Disconnect: Enable, Disable XPort™ User Manual and Development Kit...
Port Password: (User Selectable. Port Password must be enabled) 4.3.5 Factory Settings1 Click this button to set Channel1 to the factory default settings. 4.3.6 Update Settings Click the Update Settings button to send all changed settings to the device. XPort™ User Manual and Development Kit...
To configure the unit over the network, establish a Telnet connection to port 9999. Note: If you use the Telnet icon on the XPort™ Installer toolbar OR a serial port login to establish the connection, skip steps 1and 2. 1. From the Windows 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.
Min. notification interval: 1 s Re-notification interval : 0 s *** Trigger 2 Serial Sequence: 00,00 CP1: X CP2: X CP3: X Message : Priority: L Min. notification interval: 1 s Re-notification interval : 0 s XPort™ User Manual and Development Kit...
Netmask: Number of Bits for Host Part (0=default) (0) Change telnet config password (N) 4.5.1 IP Address The IP address must be set to a unique value in your network. See IP Addresses on page 11-1 for more information about IP addressing. XPort™ User Manual and Development Kit...
Telnet connection to port 9999 or via Web pages. The password is limited to 4 characters. An enhanced password setting of 16 characters is available under Security Settings for Telnet access only. Note: No password is required to access the Setup Mode window via a serial connection. XPort™ 4-10 User Manual and Development Kit...
The unit and attached serial device, such as a modem, must agree on a speed or baud rate to use for the serial connection. Valid baud rates are 300, 600, 1200, 2400, 4800, 9600 (default), 19200, 38400, 57600, 115200, and 230400 bits per second. XPort™ User Manual and Development Kit 4-11...
The setting represents the source port number in TCP connections, and is the number used to identify the channel for remote initiating connections. Default setting for Port 1 is 10001. Range: 1-65535 except for the following reserved port numbers: XPort™ 4-12 User Manual and Development Kit...
Page 51
The automatic port increment feature must only be used when this device is the one initiating a connection using TCP. The port must be set to a non-zero value when this is a passive device or when UDP is being used instead of TCP. XPort™ User Manual and Development Kit 4-13...
C = connected, D = disconnected, N = host unreachable. This option is overridden when the Active Start Modem Mode or Active Start Host List is in effect. Default setting is Nothing (quiet). XPort™ 4-14 User Manual and Development Kit...
Connect to 129.1.2.5, port 1234 C28.10/12 Connect to 129.1.28.10, port 12 Autostart (Automatic Connection): If autostart is enabled, the unit automatically connects to the remote IP address and remote port specified when the firmware starts. XPort™ User Manual and Development Kit 4-15...
Page 54
3. After completing the hostlist, repeat the previous step if necessary to edit the hostlist again. 4. For Retrycounter, enter the number of times the Lantronix unit should try to make a good network connection to a hostlist entry that it has successfully ARPed. The range is 1-15, with the default set to 3.
Page 55
A user must dial from the local PC to the remote machine, accumulating phone charges for each connection. Modem Mode allows you to replace modems with XPort™s, and to use an Ethernet connection instead of a phone call, without having to change communications applications and make potentially expensive phone calls.
Page 56
The serial interface will revert to accepting command strings. If the above sequence is not followed as described, the unit will remain in data transfer mode. XPort™ 4-18 User Manual and Development Kit...
Note: To connect an ASCII terminal to a host using the unit for login purposes, use the remote port number 23 (Internet standard port number for Telnet services). XPort™ User Manual and Development Kit 4-19...
State LED off with connection Disconnect with EOT (^D) 1. The XPort™ will send the "Terminal Type" upon an outgoing connection. 2. A password is required for a connection to the serial port from the network. 3. The TCP connection will close even if the remote site does not acknowledge the disconnection.
"transmit" condition is found. If set, the unit sends immediately after recognizing the transmit condition (sendchar or timeout). Note: A transmission might occur if status information needs to be exchanged or an acknowledgment needs to be sent. XPort™ User Manual and Development Kit 4-21...
(PIO) when selected as user I/O functions. A two-byte serial string can also be used to initiate a trigger. To configure e-mail settings via XPort™ Installer, see E-mail Notification on page 6-10. XPort™...
E-mail setup requires you to set up the e-mail server location as follows: Mail server: The IP address in decimal-dot notation. Unit : The user name used by the XPort™ to send e-mail messages Domain : The Domain name of your e-mail server Recipient 1: Full e-mail address of the recipient.
The configurable pins can be set to A = active, I = Inactive, or X = Don’t Care. Active can mean Active Low or Active High. The configurable pins’ setting can only be changed using XPort™ Installer. Message : Enter the subject line of the e-mail.
XPort™ Installer’s Recover Firmware procedure. 4.9.5 Disable Port 77FE (Hex) Port 77FE is a setting that allows XPort™ Installer, Web Pages, and custom programs to configure the unit remotely. You may wish to disable this capability for security purposes.
Controls whether the serial port will echo characters it receives. 4.9.8 Enable Encryption This option displays only if you purchased the encrypted version of the Lantronix XPort Device Server. You can enable or disable (default) Rijndael encryption (described below). If you enable encryption, you must select the key length (128, 192 or 256 bits) and enter the encryption key in hexadecimals.
Installer (the preferred way), via TFTP, or via the serial port. You can also update the unit's internal Web interface (*.COB) via TFTP or XPort™ Installer. Here is a list of typical names for those files. Check the Lantronix web site for the latest versions and release notes.
4. Enter the full path of the firmware file in the Local file name field. 5. In the Remote file name field, enter the current internal operational code or WEB6 for the internal Web interface. (For XPort™, X1 = Standard Tunnel) 6. Click the Upload Now button to transfer the file to the unit.
If for some reason the firmware is damaged, you can recover the firmware file by using the serial port to download the *.ROM file. Start XPort™ Installer, select the device, click Action and select Advanced/Recover Firmware. The Recover Firmware dialog box appears.
Note: Information presented in this section is available in the XPort™ Installer help file. The user interface is split into several areas. The List on the left contains devices on the network. The Property Grid on the right displays various settings that can be changed for items selected in the List.
Enter the Hardware Address in the first field (also known as Ethernet Address, Network Address, or Physical Address). The hardware address may be found on the Lantronix product label, and takes the form of six hexadecimal numbers separated by dashes.
Selection fields allow selection of an option from a list. Click the down-arrow button on the right of the field to present a list of options. Then click on the option from the drop-down list to select it. XPort™ User Manual and Development Kit...
Page 72
Using XPort™Installer Collection fields consist of one or more items that are configured in a separate dialog box. Click the browse button to the right of the field to display a dialog box. The Collection Editor dialog box allows selection of an item from a list on the left, and editing of fields using a Property Grid on the right.
Property Grid become limited to those that are common to all selected devices and support multiple device editing. The Upgrade, Telnet, and Web commands are not available for multiple selections. XPort™ User Manual and Development Kit...
The file system of a Lantronix device is similar in function to that of a PC, but is divided into several partitions to accommodate the layout of the flash memory. The number of partitions varies depending on the device model.
For detailed information, refer to Configuring via Web Browser on page 4-1. If you have designed your own web page and want to load it to the XPort™, use the Upgrade feature to transfer the files. Click Upgrade, click the Format field and select Directory from the list box on the right.
Using XPort™Installer 6.7 Recovering Firmware In the event that a device is no longer operational, due to corruption or accidental replacement of the firmware, the firmware may be restored by using a serial port connection from the PC to the device.
Click the Close button to close the Print Preview window. In the event there are multiple pages, you can specify which page to view by adjusting the Page edit box on the right side of the toolbar. XPort™ User Manual and Development Kit...
6.10.1 E-mail Notification E-mail notification setup can be done via Telnet, serial port, or XPort™ Installer. See E-mail Settings on page 4-22 for additional information and other methods of e-mail setup. Domain Name: Domain name of your e-mail server. Example: Lantronix.com MailServer: The IP address of the mail server.
Example: A two byte sequence of 12 would be entered as 31 in Serial Compare 1 and 32 in Serial Compare 2. If the configurable pins are all set to None then they are disabled. If both the serial sequence and the configurable pins are disabled, the trigger is disabled. XPort™ User Manual and Development Kit 6-11...
See Connect Mode on page 4-14 for additional hostlist information. The XPort™ scrolls through the hostlist until it connects to a device listed in the hostlist table. Once it connects, the unit stops trying to connect to any others. If this connection fails, the unit continues to scroll through the table until it is able to connect to another IP in the hostlist.
XPort™, the property grid will disappear. Three of the XPort™ serial pins are under software control and may be configured to support different customer requirements. Configurable pin number 1 provides a choice of the following functions: CTS, IN1, OUT1 and LED1.
The UserIO option is used to select the Active state of the pins as Active Low or Active High. The default setting is Active Low. By setting SW1 switches to route XPort™ signals to the LEDs, an active low signal will light the LED.
Use the Load Config option to reload the saved configuration. 6.10.9 Ports The Ports section is used to configure the XPort™ serial port parameters. When you click on the Ports field, a browse button appears. Click the button to display the Port Collection Editor dialog box.
Page 84
Using XPort™Installer For Port 1 options, see Channel 1 Configuration (Serial Port Parameters) on page 4-11. XPort™ 6-16 User Manual and Development Kit...
Make sure that your unit's IP address is unique. When troubleshooting the following problems, make sure that the XPort™ is powered up. Confirm that you are using a good network connection. See Table 3 - XPort™ LED Functions on page 1-4 for a description of the LEDs.
When you try to assign an IP The cause is most likely one of Double-check the parameters that with XPort™ Installer, you get the following: you specified. Tip: You cannot the following message: The Hardware address you assign an IP address to a server specified is incorrect.
Page 87
“No Connection With on the server. router that you are using on the The server” displays. network. Also make sure that port 77FEh is not disabled within the Security settings of the server. XPort™ User Manual and Development Kit...
When you report a problem, please provide the following information: Your name, and your company name, address, and phone number Lantronix model number Lantronix MAC number Software version (on the first screen shown when you Telnet to port 9999) ...
Monitor Mode 8. Monitor Mode 8.1 Monitor Mode Monitor Mode is a command-line interface used for diagnostic purposes (see XPort™ User Manual and Development Kit...
(xxx.xxx.xxx.xxx). If the IP address is given, the command is applied to another Device Server with that IP address. If no IP address is given, the command is executed locally. Note: All commands must be given in capital letters. XPort™ User Manual and Development Kit...
Table 23 -Command Response Codes Response Meaning 0> OK; no error 1> No answer from remote device 2> Cannot reach remote device or no answer 8> Wrong parameter(s) 9> Invalid command XPort™ User Manual and Development Kit...
Node Reset 2 bytes, software type These 2 bytes are used to prevent accidental reset of the Device Server. (Value for standard XPort™ firmware: 58 31 [Hex], X1) Query for None The Device Server responds with the F7 block Firmware below.
To copy the setup record of a properly configured Device Server: 1. Configure a “master” Device Server with the desired parameters. 2. Enter Monitor Mode on the master Device Server (see Monitor Mode on page B-1). XPort™ User Manual and Development Kit...
2. Place another Device Server (the “target”) on the network. 3. Enter Monitor Mode (with network support enabled) on the master Device Server (see Monitor Mode on page B-1) 4. At the prompt, enter SC x.x.x.x, followed by a carriage return. XPort™ User Manual and Development Kit...
Do not include the leading colon or the checksum byte in the sum. Example: 0300300002337A1E Record length: 03 (3 bytes of data) Address: 0030 (the 3 bytes will be stored at 0030, 0031, and 0032) Record Type: 00 (normal data) XPort™ User Manual and Development Kit...
Terminal name for Telnet terminal type option (15 characters max), 0-terminated. If set and Bit 6 in Disconnect Mode is set, Telnet connection will be assumed. b) Password for Passworded Socket Connection (Bit 4 in Disconnect Mode Set). XPort™ User Manual and Development Kit...
Use the following table to select Baud Rate settings: Table 28 - Baud Rate Settings Speed (bps) 38400 19200 9600 4800 2400 1200 115200 57600 230400 Note: See Table 29 - Binary to Hexadecimal Conversion Table. XPort™ User Manual and Development Kit...
Never None (quiet) No active startup Never None (quiet) Any character Never None (quiet) Active DTR Never None (quiet) CR (0x0D) Never None (quiet) Manual connection Never None (quiet) Autostart Never None (quiet) XPort™ User Manual and Development Kit 10-1...
Page 102
Never Character No active startup Hostlist Never Character Any character Hostlist Never Character Active DTR Hostlist Never Character CR (0x0D) Hostlist Never Character Manual connection Hostlist Never Character Autostart Hostlist Never Character Hostlist XPort™ 10-2 User Manual and Development Kit...
Table 31 - Connect Mode Options for Modem Emulation Accept Incoming Response Connections Never Echo Never Without echo Never 1-character response With DTR Echo With DTR Without echo With DTR 1-character response Unconditionally Echo Unconditionally Without echo Unconditionally 1-character response XPort™ User Manual and Development Kit 10-3...
Active connection Enable Active connection Active connection Enable Passive connection Disconnect Active connection Enable Active connection Active connection Enable Disconnect Passive connection Active connection Enable Disconnect Active connection Active connection Enable Passive connection Disconnect XPort™ 10-6 User Manual and Development Kit...
Page 107
Active connection Active connection Active connection Enable Passive connection Passive connection Disconnect Active connection Enable Passive connection Active connection Active connection Enable Disconnect Passive connection Passive connection Active connection Enable Disconnect Passive connection XPort™ User Manual and Development Kit 10-7...
Page 108
Disconnect Active connection Active connection Enable Disconnect Passive connection Active connection Enable Disconnect Active connection Active connection Enable Passive connection Disconnect Disconnect Active connection Enable Disconnect Active connection Active connection Enable Disconnect Disconnect XPort™ 10-8 User Manual and Development Kit...
Page 109
Passive connection Disconnect Active connection Active connection Passive connection Passive connection Disconnect Disconnect Active connection Passive connection Disconnect Active connection Active connection Disconnect Passive connection Disconnect Passive connection Active connection Disconnect Passive connection Disconnect XPort™ User Manual and Development Kit 10-9...
Page 110
Enable Passive connection Disconnect Active connection Active connection Enable Disconnect Passive connection Disconnect Passive connection Active connection Enable Disconnect Passive connection Disconnect Active connection Active connection Enable Passive connection Passive connection Disconnect Disconnect XPort™ 10-10 User Manual and Development Kit...
All packets destined for other subnets are sent to a router on the local network. 11.3 Host Portion The host portion of the IP address is a unique number assigned to identify the host. XPort™ User Manual and Development Kit 11-1...
If your network is connected or will be connected to the Internet, or if you intend to operate the Device Server on an intranet, you should use one of the reserved sub-networks. Consult your network administrator with questions about IP address assignment. XPort™ 11-2 User Manual and Development Kit...
World Wide Web using one of the following directories or indices: RFC 950 Internet Standard Subnetting Procedure RFC 1700 Assigned Numbers RFC 1117 Internet Numbers RFC 1597 Address Allocation for Private Networks XPort™ User Manual and Development Kit 11-3...
Bus: A LAN topology in which all the nodes are connected to a single cable. All nodes are considered equal and receive all transmissions on the medium. XPort™ User Manual and Development Kit 12-1...
Page 118
A device for interconnecting two or more dissimilar networks. It can translate all protocol levels from the Physical layer up through the Applications layer of the OSI model, and can therefore interconnect entities that differ in all details. Hardware Address: See Network Address. XPort™ 12-2 User Manual and Development Kit...
Page 119
The delay incurred by a switching or bridging device between receiving the frame and forwarding the frame. Layer: In networks, layers refer to software protocol levels comprising the architecture, with each layer performing functions for the layers above it. XPort™ User Manual and Development Kit 12-3...
Page 120
"hardware address." Open System Interconnect (OSI): See "ISO." Packet: A series of bits containing data and control information, including source and destination node addresses, formatted for transmission from one node to another. XPort™ 12-4 User Manual and Development Kit...
Page 121
The other hosts, which provide SNMP agents, respond to these queries and allow a single host to gather network statistics from many other network nodes. XPort™ User Manual and Development Kit 12-5...
Page 122
It is used only in baseband networks because of its narrow bandwidth. UTP: Unshielded twisted pair, one or more cable pairs surrounded by insulation. UTP is commonly used as telephone wire. XPort™ 12-6 User Manual and Development Kit...
Page 123
Glossary Wide Area Network (WAN): A network using common carrier transmission services for transmission of data over a large geographical area. XPort™ User Manual and Development Kit 12-7...
Need help?
Do you have a question about the XPort and is the answer not in the manual?
Questions and answers