Lantronix 900-618 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Lantronix 900-618. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Lantronix 900-618 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Lantronix 900-618 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Lantronix 900-618 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Lantronix 900-618
- nom du fabricant et année de fabrication Lantronix 900-618
- instructions d'utilisation, de réglage et d’entretien de l'équipement Lantronix 900-618
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Lantronix 900-618 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Lantronix 900-618 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Lantronix en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Lantronix 900-618, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Lantronix 900-618, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Lantronix 900-618. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    xPico User Guide Part Num ber 900 - 618 Revis ion B J anu ar y 2013[...]

  • Page 2

    Copyright and Trademark © 2013 Lantr onix. All r ights res erved. No part of the contents of this bo ok ma y be transm itted or repro duced in an y form or by an y m eans without the written perm ission of Lantron ix. DeviceL inx ® , xPico ™ and DeviceIns ta ll er™ ar e trade mark s of Lan tronix. Ethernet is a tradem ark of XEROX Corporation[...]

  • Page 3

    Disclaimer Operation of th is equipm ent in a resid ential area is likely to caus e interf erence, in which case the user, at his or her o wn expense, will be requir ed to tak e whatever meas ures ma y be required to correct the interferenc e. Note: This produc t has been desi gned to comp ly with the l imits for a Cl ass B digit al device pur suan[...]

  • Page 4

    Table of Conte nts Cop y right a nd Tradem ark ............................................................................................. 2 W arranty ....................................................................................................................... 2 Contacts ..................................................................[...]

  • Page 5

    Table of C ontents Server Co nfiguration ................................................................................................... 22 Server Co nfiguration ............................................................................................ 23 Advance d ..............................................................................[...]

  • Page 6

    Table of C ontents c) Activ e Startup ................................................................................................... 44 d) Data gram T y pe ................................................................................................ 47 e) Modem Mode ...........................................................................[...]

  • Page 7

    Table of C ontents Disable ECHO Ports ............................................................................................ 58 Enable E ncrypt ion ................................................................................................ 59 Enable E nhanced Pass word .....................................................................[...]

  • Page 8

    List of Tab les and Figur es List of T a bles Table 6 - 1. BootP/DHCP/Au toIP Options ____________________________________________ 37 Table 6 - 2. Standard I P Network N et m asks __________________________________________ 38 Table 7 - 1. Interf ace Mode Options ________________________________________________ 41 Table 7 - 2. RS232 Interf ace Mode [...]

  • Page 9

    1. Using This Guide Purpose and Audie nc e This guid e covers xPico Device Ser ver Modu le . It provi des the inform ation needed to configure, use , and u pdate the xPico firm ware and is intend ed for OEMs a nd syste m integrators who are em bedding the x Pico i n their end product desig ns. Chapte r Summary The rem aining chapter s in this gu id[...]

  • Page 10

    1 : Using Th is Guide Additi ona l Document ation Visit the Lantronix W eb site at www.lantronix .com/s upport/documentat ion for th e latest docum entation and the foll o wing add it ion al doc um entation . Document Descriptio n xPico Quick Start Provides the steps f or gettin g the xPic o evaluation board up and runni ng. xPico Integr ation Guid[...]

  • Page 11

    2. Introduction This c hapter summ arizes the xPico device ser ver’s features and the bas ic inform ation needed to get started. Capabi l itie s The xPico device ser ver has the f ollowing capab ilities:  Connects devices thr ough a T CP data channe l or through a Telnet conn ection to computer s or to another device ser ver. The xPico als o s[...]

  • Page 12

    2: Introduct ion Protoc ol Support The xPico device ser ver uses the I nternet Protoc ol (IP) f or network c o mmunication s. It uses th e Transm ission Control Protocol (T CP) to as sure that no data is lost or duplicat ed, and that e verything s ent to the con nection ar rives correctl y at the tar get. S upporte d protocols inclu d e:  ARP, T[...]

  • Page 13

    2: Introduct ion IP Address Every de vice connecte d to an IP network mus t have a unique IP address . T his address is used to ref erence the s pecific unit . T he xPico is autom atic al l y assigned an IP add r ess on DHC P - enabled net works, as it is DHC P - enabled b y def ault. Port Numbers Every T CP connection and ever y UDP data gram is d[...]

  • Page 14

    3. Using D evi ceInstal l er This c hapter covers the s teps f or getting the xPico dev ice server on line and vie wing its curr ent configurat ion . Note: DeviceInst aller is a fr ee utility pro gram provid ed by Lantro nix that discover s, configures, upgrades, a nd manages Lantronix Device Ser vers. It can be dow nloaded fro m the Lantron ix web[...]

  • Page 15

    3: Using Dev iceInstall er 2. Click the A ssign IP ic on . 3. If prom pted, enter the h ardware ad dress (on t he product label) and clic k Next . 4. Select A ssign a specifi c IP addr ess and c lick Next . 5. Enter the IP add re ss . T he Subnet mask displays aut omaticall y based on the IP address; if desired, you may cha nge it. On a local netw [...]

  • Page 16

    3: Using Dev iceInstall er DHCP Device Nam e Non - config urable fi eld. Display s the name associ ated w ith xPic o ’s curr ent IP addr ess, if the IP a ddress w as obtained dynamical ly. To change the DHCP device n ame, see Conf iguration Using Web Manager or Configur ation vi a Telnet or Serial P ort (Set up Mode) . Group Configu rabl e field.[...]

  • Page 17

    3: Using Dev iceInstall er Telnet Support ed Non - config urable fi eld. Indic ates if Telnet sessi ons are permitted . Telnet Port Non - config urable fi eld. Display s the xPi co ’s port fo r Telnet sessio ns. Web Port Non - config urable fi eld. Display s the xPi co ’s port for W eb - Manager conf iguration. Maximum Ba ud Rate Supported Non [...]

  • Page 18

    4. Configur atio n Usi ng W eb Manager You mus t configure the unit so that it can com municate on a network w ith your serial device. For exam ple, you must set the way the unit will respo nd t o seria l and net work traff ic, how it will h andle serial pac kets, and when to star t or close a con nection. The unit ’s configurat ion is stored in [...]

  • Page 19

    4: Configur ation Usin g Web Manager Figure 4-1 . Web - Manager Lo gin Window 7. Perform one of the fol lowing:  If no T elnet password h as been defin ed (default), leave both f ields blank and click OK .  If a T elnet password has been define d, leave the usernam e blank, type in th e passwor d, and then c lick OK . The W eb - Manager displ[...]

  • Page 20

    4: Configur ation Usin g Web Manager Figure 4-3 . Net w ork Sett ings Network M ode 1. Click Network from the m ain menu. 2. Note the f ollowing: Networ k Mode Wired Onl y is the only ch oice. It enables t he Ether net netw ork connectiv ity. Automatic IP Address Confi guration A n IP addr ess can be assig ned autom aticall y. Y ou then ent er rela[...]

  • Page 21

    4: Configur ation Usin g Web Manager Protocol (DHCP) to assign a l eased I P address t o the xP ic o unit auto matically . E nable is th e default. AutoIP Select Ena ble to pe rmit the xPi co to generat e an IP i n the 169.254.x . x address ran ge with a Cla ss B subnet . Enable is the defau lt. DHCP Host Name Enter the de sired h ost name f or the[...]

  • Page 22

    4: Configur ation Usin g Web Manager Auto Negot iate With this option, the E thernet port au to - negotiate s the speed and duplex with the har dware endpoint t o which it i s connected. T his is the default. If this opti on is no t selec ted, t he compl ete the f ields that become availa ble:  Speed: T he speed of data transmission. T he defaul[...]

  • Page 23

    4: Configur ation Usin g Web Manager Server Configuration Advanced P assword Select w hether to ena ble adva nc ed password:  Enable : selectin g this optio n enabl es adv an ced passwor d creation, allowing y ou to create pa sswords up to 16 bytes in length.  Disable : selec ting thi s option disables a dvanced passwor d creation, allowing y[...]

  • Page 24

    4: Configur ation Usin g Web Manager The hos t list supports a minim um of 1 and a m aximum of 12 entr ies. Each e ntry contains an IP address and a port number. Note: The host l ist is disabl ed for Manua l and Modem Mode. The un it does not accept a data connec tion from a r emote device w hen the h ostlist opt ion is enable d. To configure the x[...]

  • Page 25

    4: Configur ation Usin g Web Manager Note: Directions for config uring Channe l 1 serial sett ings and c onnection apply for C hannel 2 conf iguration , except wher e indicat ed . Serial Settings To configure the channel’s serial settings: 1. On the m ain menu, cl ick Serial Settings (under Chan nel 1 ) to disp lay the Seri al Settings wi ndow . [...]

  • Page 26

    4: Configur ation Usin g Web Manager device is prepared to mana ge it causes lost or retran smi tted data. None is th e default .  Channel 1: None, Xon/Xoff, Xon/X off P ass Char s to Host or CTS/RTS (hardware).  Channel 2: None, Xon/Xoff or Xon/X off Pass Char s to Host Baud Rate The unit a nd attached serial device, such as a modem, mu st a[...]

  • Page 27

    4: Configur ation Usin g Web Manager from the n etwork to t he dev ice. The default is No . At Time o f Disconnect Select Yes to clear the input buf fer w hen the netw ork connection to or from the device is disconn ected. T he defau lt is No . Flush Output Buffer (Network to S e rial) With Activ e Connect Select Yes to c lear the output buffer wit[...]

  • Page 28

    4: C onfigur ation Using W eb Manager Figure 4-7 . TCP Conn ectio n S ettings xPico User Guide 28[...]

  • Page 29

    4: Configur ation Usin g Web Manager 2. In the a vailable fiel ds, enter or modif y t he following inform ation: Connect Protocol Protocol From the dr op - dow n menu, s elect TCP . Connect Mode: Pass ive Co nnectio n Accept In coming Select Yes to a ccept inc oming con nections. T he default is Yes. Required Determine s whether a passw ord is requ[...]

  • Page 30

    4: Configur ation Usin g Web Manager Connect i s set to N one . Se lec t Enable t o permit Te lnet communic atio n to the unit. The Telnet Com Port Cn trl feature is used in c onjunction with th e Com Por t Redire ctor (CPR) utility. (See the CPR online H elp for details.) Terminal N ame This field i s availab le for c onfig uration only when T eln[...]

  • Page 31

    4: Configur ation Usin g Web Manager Figure 4-8 . UDP Conne ctio n Settings Connect Protocol Protocol Select UDP from the drop - dow n menu. Datagram Mode Datagram Ty pe Configures the remo te IP or n etwor k broadcast a ddress and the remote port. Enter 01 for directe d or broad cast UDP . The default set ting is 00 . Accept In coming Select Yes t[...]

  • Page 32

    4: Configur ation Usin g Web Manager 3. W hen y ou are finished, click the OK button. 4. On the m ain menu, cl ick Apply Settings . Configur a ble Pin Se t tings There ar e eight conf igurable hard ware pins on th e xPico unit. For eac h pin, conf igure the pin func tion, com munication d irection, and activity level . For m ore information, see 9 [...]

  • Page 33

    4: Configur ation Usin g Web Manager 2- wire and 4 - w ire mode on OEM hard ware design. Serial Chan nel 1 St atus LED Indicates c hannel 1 status an d ex tended diagno stics. Serial Chan nel 2 St atus LED Indicates chan nel 2 st atus an d ex tended diagno stics. 3. W hen y ou are finished, click the OK button. 4. On the m ain menu, cl ick Apply Se[...]

  • Page 34

    5. Configuration via T elnet or Serial Port (Setup Mode) You mus t configure the unit so that it can com municate on a network w ith your serial device. As an alternat ive to using a web bro wser, as desc ribed in the prev io us chapter , you can use th e following pr ocedures rem otely or locall y :  Use a T elnet connectio n to conf igure the [...]

  • Page 35

    5: Configur ation via Te lnet or Seri al Port (Setup Mode ) To est ablish a Telnet conn ection: 1. From the W indows Start menu, click Run and type the f ollowing com mand, where x.x .x.x is the I P address, and 9999 is the u nit’s fixed n etwork c onfiguration port num ber: W indows: telnet x.x.x.x 9999 UNIX: telnet x.x.x.x:9999 2. Click OK . Th[...]

  • Page 36

    5: Configur ation via Te lnet or Seri al Port (Setup Mode) Note: The easiest w ay to enter S etup Mode is to hold down the x key at the termi nal (or emulat ion) while res etting the u nit. You must do this withi n three seconds of resetti ng the xPico . At this po int, the sc reen displa y is the sam e as when you use a Telne t connection . To con[...]

  • Page 37

    6. Setup Mode : S erver Confi guration This c hapter explains how to conf igure the net work sett ing s. Note: Current va lues appear in parentheses. Ser v e r Configura tion (Opt i on 0) The unit ’s basic net work param eters displa y when you select Server configuration (option 0 ). T he IP A ddr ess , Set Gatewa y IP A ddress , and Netma sk fi[...]

  • Page 38

    6: Setup Mode: Serv er Con figur a tio n Set Ga te w a y I P Addres s Th e gateway address , or router, a llows comm unication to ot her LAN se gments. T he gatewa y addr ess should b e the IP addr ess of the ro uter connect ed to the sam e LAN segm ent as the unit. T he gatewa y address m ust be within the local net work. The default is N (No), me[...]

  • Page 39

    6: Setup Mode: Serv er Con figur a tio n An enhanc ed pass w ord set ting (for T elnet access onl y) of 16 char acters is a vailable under Secur ity Settings (Option 6) o n page 56 . Note: You do not need a passwor d to access th e Setup Mode w indow by a s erial connecti on. DHCP Name If a DHCP s erver has autom atically assigned t he IP addres s [...]

  • Page 40

    7. Setup Mode : Channel C o nf igura tion This c hapter explains how to conf igure the ser ial port. Channel 1 (Option 1) or Channel 2 (Opt ion 2) Select Channel 1 (opti on 1 ) or Channel 2 (option 2 ) f rom the Chan ge Setup m enu to define ho w the serial port responds t o network and serial com municatio ns. The following s ections des cribe the[...]

  • Page 41

    7: Setup Mode: Cha nne l Configuratio n I/F (I nterface) Mode The Inter face (I/F) Mod e is a bit - c oded b yte entered in hexadec imal notat ion. I/F Mode (4C) ? _ The f ollowing table d isplays avai lable I/F Mode options: Note: All bit posit ions in the table that ar e blank repr esent “don’t c are” bits for t hat particular option, whic [...]

  • Page 42

    7: Setup Mode: Cha nne l Configuratio n Table 7-3 . F low Control Op tions Flow Control Option Hex No flow contr ol 00 XON/XO FF flow control 01 Hardw are handshake w ith RTS/CTS lines 02 XON/XO FF pass charac ters to host 05 Port Numbe r The s etting represen ts the sourc e port num ber in TCP connect ions. It is t he number that identif ies the c[...]

  • Page 43

    7: Setup Mode: Cha nne l Configuratio n Table 7-5 . Con nect Mode Options Connect Mode Option 7 6 5 4 3 2 1 0 a) Incoming Con nection Never accept incom ing 0 0 0 Accept with activ e M odem Control I n 0 1 0 Alway s Accept 1 1 0 b) Response Nothing (qu iet) 0 Character r esponse (C= connect, D=discon nect, N=unr eachable ) 1 c) Active Startup No ac[...]

  • Page 44

    7: Setup Mode: Cha nne l Configuratio n b) Response Character R esponse A single char ac ter is trans mitted to t he serial p ort w hen there is a change in c onnection s tat e: C = connected, D = disconnected, N = host unreachab le. The IP addre ss of t he host con necting t o the CoBo s device w ill b e provided w hen you use ver bose mode. This [...]

  • Page 45

    7: Setup Mode: Cha nne l Configuratio n Manual Conne ction Attempts t o connect w hen directed by a command str ing received fr om the se rial port . The fir st chara cter of t he comm and string must be a C (AS CII 0x 43), and the last chara cter mu st be either a c arriage re turn (ASCI I 0x 0D) or a line feed (0x 0A). No blanks o r spac e charac[...]

  • Page 46

    7: Setup Mode: Cha nne l Configuratio n Command String Result if r emote IP is 129.1.2.3 and remote po rt is 1234 Once it co nnects, the unit st ops trying to conn ect to any others. If this conn ec tion fails, t he unit cont inues t o scroll thr ough the table unt il it is ab le to conne ct to ano ther IP in the hos tlist. Hostlist supports a mini[...]

  • Page 47

    7: Setup Mode: Cha nne l Configuratio n d) Datagram T y pe Directed UDP When select ing thi s option, y ou are p rompted for the Dat agram ty pe. Enter 01 for directed or broad cast UDP . Datagra ms of type 01 can be sent as a bro adcast by enabli ng the S end as Br oadcast o ption. The default i s not to broa dc ast. When the UD P option i s in ef[...]

  • Page 48

    7: Setup Mode: Cha nne l Configuratio n Messag e Meaning Numeric Response 0 OK 1 Connected 2 Ring 3 No Carrier 4 Error Received com m ands must begin with the two - charac ter sequenc e AT and b e term inated with a carr iage return c haracter. The unit ignores an y char acter sequenc e receive d not star ting with AT , and onl y recognizes and pro[...]

  • Page 49

    7: Setup Mode: Cha nne l Configuratio n Modem Mode Command Function ATD0.0. 0.0 Forces th e unit i nto Monitor Mode i f a remot e IP addre ss and port number are defined w ithin the unit. ATD or ATDT Forces the unit i nto Monitor M ode if a remote I P addre ss and port number are not def ined wit hin the unit. AT Dx. x. x. x Makes a co nnection t o[...]

  • Page 50

    7: Setup Mode: Cha nne l Configuratio n Y ( Yes ) auto inc rement the source port. T he xPico increm ents the port number used with eac h new connec tion . Remo te IP A ddress This is the destination I P address used with an outgoing connec tion . Remote IP Address : (000) (000) (000) (000)_ Note: This option d oes not dis play when Hos tlist is en[...]

  • Page 51

    7: Setu p Mode: Cha nne l Configuratio n Disconne ct Mode Option 7 6 5 4 3 2 1 0 State LED off with c onnection (4 ) 1 Disconnect with EOT (^D) (5) 1 (1) The Telnet Com Port C ontrol feature is used in conjunct ion w i th Com Port Redi rector. The unit sends the Terminal Ty pe upon an outgoing connecti on. (2) A password is required for a connectio[...]

  • Page 52

    7: Setup Mode: Cha nne l Configuratio n Pack control settings ar e enabled in Flush Mo de. Set this value to 00 if you do no t need spec ific functions . Note: All bit posit ions in the table that ar e blank repr esent “don’t c are” bits, for t hat particular option, whic h can be set t o either a 0 or 1 value. Table 7- 11 . Pack Co ntrol Opt[...]

  • Page 53

    7: Setup Mode: Cha nne l Configuratio n DisConn Time (Inac tivity Timeout ) Use this parameter to s et an inac tivity tim eout. The uni t drops the T CP connec tion to the local port if there is no activit y on th e serial line b efore the s et time ex pires. Enter time in the format m m:ss , where m is the n umber of minutes and s is the num ber o[...]

  • Page 54

    8. Setup Mode : A dvan ced S ettin g s Exper t Settings (Option 5 ) Note: You can cha nge the Ena ble alterna te MAC setti ng using telnet or serial connecti ons only. It is not availabl e through the Web - Manager . CAUTION : Only an expert shoul d change these paramete rs. You must definitel y know the conseq uences the chan ges migh t have. Figu[...]

  • Page 55

    8: Setup Mode: Adv a nced Sett ings ARP Cache timeout in seco nds W henev er the u nit comm unicates with another devic e on the net work, it adds an entry int o its ARP tabl e. The ARP C ache tim eout option allo w s y ou to define ho w man y s econds (1 - 600) the unit will wait before t iming out th is table. ARP Cache timeout in s (1s - 600s) :[...]

  • Page 56

    8: Setup Mode: Adv a nced Sett ings TCP Re-Transmissi on Timeout The T CP Re - Transm ission Tim eout is the interv al to wait for acknowledgem ent of transm itted TCP segm ents befor e re - transm itting them. Enter between 500 and 4000 ms. T he default is 500 m s . TCP Re-transmission Timeout (500 - 4000) (ms): (500) ? Enable a lternate MAC If ne[...]

  • Page 57

    8: Setup Mode: Adv a nced Sett ings Disable Port 77F0h (N) ? Disable SNMP This s etting allows you to disable the SNMP pr otocol on the unit for sec urity reasons . Disable SNMP (N) ? _ SNMP Communit y Name The SNM P Communit y Na me is a require d field for NMS to read or write to a device . Enter a s tring of 1 to 13 c haracters . SNMP Community [...]

  • Page 58

    8: Setup Mode: Adv a nced Sett ings Disable TFTP Firmw are Upgrade This s etting defaults to the N (No) option. The Y ( Yes) option disables the us e of TFT P to perform networ k firm ware upgrades. W ith this opti on, you can download firm ware upgrades ov er the serial port using Device Installer ’s Recover F irmware procedure. (See 10 Firmware[...]

  • Page 59

    8: Setup Mode: Adv a nced S et tings Enable Encr y ption Rijndael is the block cipher algorithm chosen b y the Nation al Institute of Science a nd Tec hnology (NIST) as the Advance d Encryptio n Standard (A ES) to be use d by the US gover nment. T he xP ico supports 128 - , 1 92 - , and 2 56 - bit encryption k ey length s . Note: Configuring encryp[...]

  • Page 60

    8: Setup Mode: Adv a nced Sett ings  Lantronix Secure Com Port Redirec tor provide s an encr y pted conn ection fr om W indows - based applicat ions to the x Pico . Inform ation about SCPR is at www.lantr onix.com /device - networking/ utilities - tools/scp r A 30 - da y trial ver sion of SCPR is available . Note: Developers can lice n s e the L[...]

  • Page 61

    8: Setup Mode: Adv a nced Sett ings Hostlist ret ry timeout 250 (mse c) Start charact er for serial ch annel 1 (or channe l 2) 0x0D (CR) All ot her parameter s 0 Expert Settings Def aults TCP Keepaliv e time in s 45 ARP Cache timeout i n s 600 CPU Performa n ce 0 ( Regular) Monitor Mode @ b ootup Enabled HTTP Port Number (1- 65535) 80 MTU Size (51 [...]

  • Page 62

    9. GPIO I n terf ace Configur a ble Pins The xPico has eight pins ( CP 1-8 ) that y ou can c onfigure f or General Pur pose I/O (GPIO). Note: You can also c onfigur e the pins for s erial port c ontrol lines, s uch as har dware control, modem contro l ( CTS, RTS, DTR, an d DCD ) , and diag nosti c outputs to LED, using DeviceI ns tal ler. You can u[...]

  • Page 63

    9: GPIO Inter face Control Pr otocol The GPIO control prot ocol is a s imple, propr ietary prot ocol . Guidelines The GPIO control prot ocol is des cribed from the PC side. Send m eans from PC to xPico . Respons e com es from xP ico to PC. The protoc ol allows f or control of up to 32 GPIOs . How m any are actuall y available depends o n the produc[...]

  • Page 64

    9: GPIO Inter face Command 10h, Get Functions Send: No parameter s Response: 1 paramet er Bytes 1 - 4: Functions Bit X 1 means general purp ose I/O available t o the us er. 0 means ded icated f unction (e .g., seria l flow control, di agnostics ) for configura ble pin X . Command 11h, Get Directions Send: No parameter s Response: 1 paramet er Bytes[...]

  • Page 65

    9: GPIO Inter face Command 19h, Set Direct ions Send: 2 paramet ers Bytes 1 - 4: Mask Bit X 1 means the directi on for GP IO X w ill be updated w ith the value in t he second parameter . 0 means the directi on for tha t GPI O will not ch ange. Bytes 5 - 8: New Directions Bit X 1 means GPIO X w ill become an output. 0 means it will become an input. [...]

  • Page 66

    9: GPIO Inter face 10h = com mand 10h 00h, 00h, 00h, 00h = ignor e d 00h, 00h, 00h, 00h = ignor e d Response d etails: 10h = respo nse to com mand 10h 03h, 00h , 00h, 00h = bits 0 and 1 are 1 → CP1 a nd CP2 are conf igured as GPIOs. bit 2 is 0 → CP3 is configur ed as either s erial control or diagnost ics. The other b its are ig nored because t[...]

  • Page 67

    10. Firmware Upgrades Obtai ning Firmwar e You can o btain the m ost up - to - date f irmware and r elease notes for the un it from th e Lantronix web site ( w ww.lantronix.com/s upport/downl oads ) or by us ing anon y m ous FT P ( ftp.lantronix.com /pub ). Reloa ding Firmwar e There ar e several wa y s to update the u nit's interna l operatio[...]

  • Page 68

    10 : Firmwar e Upgr a des Figure 10 -1 . TFTP Windo w 6. Click the Put b utton to tran sfer the f ile to the unit. T he unit perf orms a po wer reset af ter the firm ware has been l oaded and st ored. After the f irmware has been loaded a nd stored, which tak es approxim ately 8 seconds to com plete, the unit per forms a power reset. Using TFTP: Co[...]

  • Page 69

    10 : Firmwar e Upgr a des Recovering the Fir mware Using the Serial Po rt and DeviceInstall er If f or some reason t he firmware is d amaged, you can rec over the firm ware file by using De viceInstaller t o download t he *.ROM fi le over the seri al port. To reco ver firmware: 1. Start Dev iceInstaller . If your PC h as mor e than one netw ork ada[...]

  • Page 70

    11. Monitor Mode Monitor M ode is a com mand - line interf ace used f or diagnostic purposes. There ar e two wa y s to enter Monitor Mode: l ocally us ing the ser ial port or rem otely using the networ k . Enter ing Monitor Mode Using the Serial Port To enter Monitor M ode locally: 1. Follow th e same st eps used for setting the s erial configur at[...]

  • Page 71

    11 : Monitor Mod e Table 11 -1 . Monit or Mod e Com mands Command Command N ame Function VS x.x.x. x Version Queries sof tware head er record (16 byte s) of un it with IP addr ess x .x.x.x . GC x.x.x.x Get Config uration Gets configuration of unit w ith IP addre ss x .x.x .x as hex recor ds (120 by tes). SC x.x.x. x Send Configur ation Sets conf ig[...]

  • Page 72

    11 : Monitor Mod e Table 11 -2 . Comma nd Response Codes Response Meaning 0> OK; no error 1> No answer f rom remote device 2> Cannot reac h remote device o r no answ er 8> Wrong parameter( s ) 9> Invalid comma nd xPico User Guide 72[...]

  • Page 73

    12. T roubleshooting This c hapter discus ses how you can diagnose a nd fix errors quickly witho ut having to contact a dealer or Lan tronix. It helps to conn ect a term inal to the seri al port whi le diagnosi ng an error t o view sum mary mess ages that m ay displa y . W hen troublesho oting, alwa y s en sure that the physical conn ections (po we[...]

  • Page 74

    12 : Troubl eshooting Problem/ Message Reason Solution When you Tel net to port 1 to assign an IP address to t he device serv er, the T elnet window does not res pond for a long time. You may hav e entered the Ethernet address incorrect ly with t he ARP command. Confirm that the Ether net address that you ent ered with the ARP com mand is corr ect.[...]

  • Page 75

    12 : Troubl eshoot ing Problem/ Message Reason Solution You can p ing the dev ice serve r, but not T elnet to t he device server on port 9999. There may be an IP address con flict o n your network You are not T elneti ng to port 9999. The T elnet configurat ion port (9999) is disabl ed within the device serv er security s ettings. Turn the dev ice [...]

  • Page 76

    12 : Troubl eshooting Technica l Support If y o u are exper iencing an er ror that is not described in this chapt er, or if you are unable to f ix the error , y ou have th e following options : Technical S upport US C heck our online k nowledge base or send a ques tion to T echnical Support at http://www .lantronix .com/s u pport . Phone: ( 800) 42[...]

  • Page 77

    A: Binary to He xadecimal C onversion s Many of the unit’s co nfiguration pr ocedures requ ire assem bling a series of options (repres ented as bits) into a com plete comm and (represented as a byte). C onvert the resulting bin ar y v alu e to a hexadecim al represe ntation. Conv erting Bin ary to H exadecima l Following are two sim ple ways to c[...]

  • Page 78

    A : Binary to H exadecima l Conversions 4. Click Hex . T he hexadecim a l value d isplays. xPico User Guide 78[...]

  • Page 79

    B: Compliance RoHS Not i ce All Lantronix products in the foll owing famil i es are China RoHS - com pliant and free of the following hazardous s ubstances and elements: • Lead (P b) • Mercu ry (Hg) • Polybrom inated bip henyls (PBB) • Cadmium (Cd) • Hexaval ent Chrom ium (Cr (V I)) • Polybrom inated diphe nyl ethers (PB DE ) Product Fa[...]