background image

Part Number 900-468 

Revision C  August 2007 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DeviceLinx™ 
XPort Direct/XChip Direct SoC  
User Guide 

 
 
 

 

  

Summary of Contents for DeviceLinx XPort Direct

Page 1: ...Part Number 900 468 Revision C August 2007 DeviceLinx XPort Direct XChip Direct SoC User Guide...

Page 2: ...ented technology is a trademark of Lantronix Ethernet is a trademark of XEROX Corporation UNIX is a registered trademark of The Open Group Windows 95 Windows 98 Windows 2000 Windows NT and Windows XP...

Page 3: ...or her own expense will be required to take whatever measures may be required to correct the interference Changes or modifications to this device not explicitly approved by Lantronix will void the us...

Page 4: ...ions thereof to any country person or entity subject to U S export restrictions Recipient specifically agrees not to export or re export the Software or portions thereof i to any country subject to a...

Page 5: ...is acquired in the United States this FLA is governed by the laws of the State of California without reference to any conflict of laws principles All disputes arising out of this FLA in the United St...

Page 6: ...______________________________________ 13 IP Address_____________________________________________________________ 13 Port Numbers __________________________________________________________ 13 Assignin...

Page 7: ...________ 34 Show IP addr after RING ____________________________________________ 34 Auto Increment Source Port __________________________________________ 34 Remote IP Address _________________________...

Page 8: ..._______________ 44 Control Protocol____________________________________________________ 45 Guidelines _____________________________________________________________ 45 Commands ________________________...

Page 9: ..._______________________________ 59 B Binary to Hexadecimal Conversions 60 Converting Binary to Hexadecimal _____________________________________ 60 Conversion Table ___________________________________...

Page 10: ...include Chapter Description 2 Introduction Describes the main features of the XPort Direct and the protocols it supports 3 Using DeviceInstaller Provides information for getting your unit up and runn...

Page 11: ...ity to create a virtual com port The Com Port Redirector User Guide explains how to use it DeviceInstaller A utility to configure IP addresses and locate Lantronix devices on the local network DeviceI...

Page 12: ...on to computers or other devices The XPort Direct also supports UDP datagrams Applications The XPort Direct connects serial devices such as those listed below to Ethernet networks using the IP protoco...

Page 13: ...e Address The hardware address on the label on the bottom of the unit is also referred to as the Ethernet address or the MAC address The first three bytes of the Ethernet address are fixed and read 00...

Page 14: ...allows a DHCP server to assign an IP address automatically to the XPort Direct If you use DHCP the XPort Direct is assigned a new IP address each time it boots Serial Port Login With this method you c...

Page 15: ...formation about DeviceInstaller see the DeviceInstaller online Help To install DeviceInstaller from the Lantronix web site 1 Download DeviceInstaller for your product from the Lantronix website www la...

Page 16: ...onds until a confirmation message displays Click Finish 7 Select the device from the main window list and select Ping from the Tools menu The Ping Device dialog box shows the IP address of the selecte...

Page 17: ...rdware Address Non configurable field Displays the XPort Direct s hardware or MAC address Firmware Version Non configurable field Displays the firmware currently installed on the XPort Direct Extended...

Page 18: ...igurable field Displays 1 65s the XPort Direct s TCP keepalive The default setting is 45 Supports Configurable Pins Non configurable field Displays True Supports Email Triggers Non configurable field...

Page 19: ...ge the configuration at any time The unit performs a reset after the configuration has been changed and stored This chapter tells you how to access Setup Mode and the general procedure for using it To...

Page 20: ...e unit reboots Serial Port Connection To configure the unit through a serial connection 1 Connect a console terminal or PC running a terminal emulation program to your unit s serial port The default s...

Page 21: ...Mode To exit setup mode You have two options To save all changes and reboot the device select option 9 Save and exit from the Change Setup menu All values are stored in nonvolatile memory To exit the...

Page 22: ...set to a unique value in the network Enter each octet and press Enter between each section The current value displays in parentheses IP Address 000 000 000 000 _ If DHCP is used the third octet of the...

Page 23: ...sk Number of Bits for Host Part 0 default 0 _ Note Class A 24 bits Class B 16 bits Class C 8 bits The unit prompts for the number of host bits to be entered then calculates the netmask which appears i...

Page 24: ...he last 6 digits of the MAC hardware address shown on the label on the bottom side of the unit For example if the MAC address is 00 20 4A 12 34 56 then the default DHCP name is C123456 Custom DHCP Nam...

Page 25: ...hannel 1 option 1 from the Change Setup menu to define how the serial port responds to network and serial communications The following sections describe the configurable parameters within the Channel...

Page 26: ...n Parity 1 1 Odd Parity 0 1 1 stop bit 0 1 2 stop bits 1 1 1 1 2 stop bits are implemented by the software This might influence performance 2 The RTS pin is used for RS485 transmitter control The foll...

Page 27: ...ion may result Use Port 0 for the outgoing local port to change with each connection The port range is 50 000 to 59 999 Each subsequent connection increments the number by 1 it wraps back around to 50...

Page 28: ...pecific start character 0 0 1 1 Manual connection 0 1 0 0 Autostart 0 1 0 1 Hostlist 0 0 1 0 d Datagram Type Directed UDP 1 1 0 0 e Modem Mode No Echo 0 0 1 1 Data Echo Modem Response Numeric 0 1 1 1...

Page 29: ...rriage return ASCII 0x0D or a line feed 0x0A No blanks or space characters may be in the command string Between the first and last command string characters must be a full or partial destination IP ad...

Page 30: ...te IP address and remote port specified when the firmware starts Hostlist If you enable this option the XPort Direct scrolls through the hostlist until it connects to a device listed in the hostlist t...

Page 31: ...because it uses UDP datagrams to send and receive data e Modem Mode In Modem Emulation Mode the unit presents a modem interface to the attached serial device It accepts AT style modem commands and ha...

Page 32: ...cted 2 Ring 3 No Carrier 4 Error Received commands must begin with the two character sequence AT and be terminated with a carriage return character The unit ignores any character sequence received not...

Page 33: ...ction to an IP address x x x x and the remote port number defined within the unit ATD0 0 0 0 Forces the unit into Monitor Mode if a remote IP address and port number are defined within the unit ATD Fo...

Page 34: ...stination IP address used with an outgoing connection Remote IP Address 000 000 000 000 _ Note This option does not display when Hostlist is enabled from the ConnectMode prompt see Connect Mode on pag...

Page 35: ...ction 2 A password is required for a connection to the serial port from the network 3 The TCP connection closes even if the remote site does not acknowledge the disconnection 4 When there is a network...

Page 36: ...sconnected 1 Alternate Packing Algorithm Pack Control Enable 1 Pack Control The packing algorithms define how and when packets are sent to the network The standard algorithm is optimized for applicati...

Page 37: ...fault interval is 12 msec Trailing Characters In some applications CRC Checksum or other trailing characters follow the end of sequence character this option helps to adapt frame transmission to the f...

Page 38: ...he character immediately along with any awaiting characters to the TCP connection This action minimizes the response time for specific protocol characters on the serial line for example ETX EOT Settin...

Page 39: ...nate MAC Disabled OEM use only Ethernet connection type 0 resulting in auto negotiation TCP Keepalive time in seconds This option allows you to change how many seconds the unit waits during a silent c...

Page 40: ...on type The XPort Direct allows for the Ethernet speed and duplex to be manually configured Enter 0 for auto negotiation default To select the speed and duplex enter one of the following 2 10Mbit half...

Page 41: ...rform network firmware upgrades With this option you can download firmware upgrades over the serial port using DeviceInstaller s Recover Firmware procedure Disable TFTP Firmware Update N _ Disable Por...

Page 42: ...No option enables GPIO control The Y Yes option disables the GPIO control interface Default Settings Option 7 Select 7 to reset the unit s Channel 1 configuration and expert settings to the default s...

Page 43: ...U Size 512 1400 0 resulting in an operational value of 1400 Alternate MAC Disabled for OEM use only Ethernet Connection Type 0 auto negotiate Security Settings Defaults Disable Telnet setup No Disable...

Page 44: ...d in any combination The initial directions input output and active levels active low or high at boot up can also be configured through 77FE The configurable pins default configuration is Function Gen...

Page 45: ...2 3 4 5 6 7 8 On some commands one or all parameters are ignored For UDP command type and parameters need to be in the same datagram Responses to valid commands are always five bytes long consisting...

Page 46: ...rameters Response 1 parameter Bytes 1 4 Active levels Bit X 1 means GPIO X is active low 0V when active 3 3V when inactive 0 means it is active high 3 3V when active 0V when inactive Command 13h Get C...

Page 47: ...for that GPIO will not change Bytes 5 8 New States Bit X 1 means GPIO X will become active 0 means it will become inactive Response 1 parameter Bytes 1 4 Updated states Examples Example 1 PC sends com...

Page 48: ...is 1 GPIO0 will be changed bit 1 is 0 GPIO1 will remain the same 00h 00h 00h 00h the new states bit 0 is 0 GPIO0 will become 0 bit 1 is ignored since it is masked out Response details 1Bh response to...

Page 49: ...r to the DeviceInstaller online Help for information about reloading firmware using DeviceInstaller The other methods are discussed below Using TFTP Graphical User Interface To download new firmware f...

Page 50: ...303 rom X7 2 In the Remote file name field enter the current internal operational code Recovering the Firmware Using the Serial Port and DeviceInstaller If for some reason the firmware is damaged you...

Page 51: ...re is connected to this selected port on your PC 6 Click OK to download the file 7 When prompted reset the device Status messages and a progress bar at the bottom of the screen show the progress of th...

Page 52: ...1 to enter Monitor Mode without network connections A 0 prompt indicates that you have successfully entered Monitor Mode Entering Monitor Mode Using the Network Port To enter Monitor Mode using a Teln...

Page 53: ...ion information from the device S0 S1 Se Sf Set configuration to memory page Sets a memory page of configuration information on the device GM Get MAC address Shows the unit s 6 byte MAC address SS Set...

Page 54: ...te Entering any of the commands listed above generates one of the following command response codes Table 7 2 Command Response Codes Response Meaning 0 OK no error 1 No answer from remote device 2 Cann...

Page 55: ...currently logged in user does not have the correct rights to use this command on this PC Have someone from your IT department log you in with sufficient rights When you attempt to assign an IP address...

Page 56: ...ot properly plugged into the network When you try to assign an IP with DeviceInstaller you get the following No response from device Verify the IP Hardware Address and Network Class Please try again T...

Page 57: ...disabled Technical Support If you experience an error that is not described in this chapter or if you are unable to fix the error you have the following options To check our online knowledge base or...

Page 58: ...les Auto IP within the unit AutoIP is an alternative to DHCP that allows hosts to obtain an IP address automatically in smaller networks that may not have a DHCP server A range of IP addresses from 16...

Page 59: ...s defined other than its own 2 If you are using Windows 95 type ARP A at the DOS command prompt to verify that there is at least one entry in the ARP table If the local machine is the only entry ping...

Page 60: ...ample 0100 1100 to a hexadecimal representation the upper and lower four bits are treated separately resulting in a two digit hexadecimal number in this case 4C Use the following table to convert valu...

Page 61: ...B Binary to Hexadecimal Conversions DeviceLinx XPort Direct XChip Direct SoC User Guide 61 4 Click Hex The hexadecimal value displays...

Page 62: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Lantronix XD100100K 01...

Reviews: