Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 13 of 24

6710 Mobile Bridge User's Guide, pages 121 to 130

Pages 121 to 130 of 236

The original document is the PDF (1.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Norand 6710

Page 121

SECTION 5

"

Software Download

Script File Command Summary Following is a description of the commands you can include in a download script file. You can issue these commands manually from the 6710 Mobile Bridge from the “>” prompt on the command line. Most script file commands are executed from within the file command submenu. You or the script file can issue these commands in either of two ways: Use the File command to descend into the file submenu level where you can execute file system commands, until you use the Exit command to return to the “>” prompt. " You can preface any file level command with the word “File,” which causes the command processor to execute one command in the file command level and return to the “>” prompt. For example, the command sequences in the following two charts are equivalent: "

Command Sequence 1

Description file

Descend to the “File>” command prompt.

fe ib:

Erase the inactive boot segment.

fe id:

Erase the inactive data segment.

exit

Return to the “>” prompt.

Command Sequence 2

Description file fe ib:

Erase the inactive boot segment.

file fe id:

Erase the inactive data segment.

6710 Mobile Bridge User’s Guide

5-15

Page 122

SECTION 5

"

Software Download

In addition, all commands are case insensitive, so: FILE FE ID: is the same as: file fe id:

TFTP Client Command Retry When executing a script file, the 6710 Mobile Bridge retries TFTP client commands GET and PUT until the command completes successfully. If the first attempt to transfer the file fails, the 6710 Mobile Bridge retries after a one-minute delay. With each successive failure, the retry time doubles until it reaches 8 minutes. Once this limit is reached, it remains at 8 minutes until the command completes.

Reboot Command The Reboot command (located on the Main Menu) forces the 6710 Mobile Bridge to restart immediately. If it is issued within a script file, commands following it are not executed. If used, Reboot should always be the last command in the file. Because Reboot causes an immediate reboot before the script file processing is completed, the software download status is not updated to accurately reflect the result of the software download. While this has no adverse effect on 6710 Mobile Bridge operation, you can not tell whether the download completed successfully without examining the version numbers of the active boot and data files after the 6710 Mobile Bridge has rebooted. The preferred method of rebooting after a script file has completed is to set the next power up time variable. This should be the last thing the script file does, to allow the script file processing to complete and the software download status variable to be updated before the reboot occurs. 5-16

6710 Mobile Bridge User’s Guide

Page 123

SECTION 5

"

Software Download

SDVars Command Use the SDVars command to display the following arguments: Argument Get Set ?

Description Get <software download object> Set <software download object> <value> Display this help

File>

Use the Set argument with a range of software download variables. To display the variables, type: File>sdvars set The following variables are supported: Argument Description ServerIpAddress serveripaddress <ip address> ScriptFilename scriptfilename <filename> - filename can include path StartTime starttime <dd:hh:mm:ss> - days:hours:minutes:seconds Status status is read-only CheckPoint checkpoint <value> Terminate terminate - stop the current software download SetActivePointers setactivepointers (none | boot | data | both) NextPowerUpTime nextpoweruptime <dd:hh:mm:ss> - days:hours:minutes:second ? Display this help File>

Use the Get argument to display the value you enter for a variable.

6710 Mobile Bridge User’s Guide

5-17

Page 124

SECTION 5

"

Software Download

ServerIpAddress ServerIpAddress contains the IP address of the TFTP server to use to retrieve the download script file. This address is also used when you specify an asterisk as the IP address of the tftp get or tftp put command. The format of the ServerIpAddress variable is: File>sdvars set serveripaddress <ip address> EXAMPLE:

This command line sets the IP address of the server to 1.2.3.4: File>sdvars set serveripaddress 1.2.3.4

ScriptFilename ScriptFilename contains the file name of the script to be retrieved from the TFTP server. The file name can contain directory path information and must be in the format required by the operating system running on the server. The format of the ScriptFilename variable is: File>sdvars set scriptfilename <foreign file name> EXAMPLE:

This command line sets the script name to SCRIPT.DAT: File>sdvars set scriptfilename script.dat

StartTime StartTime is a relative time at which to begin the software download process. The value of this variable is how long into the future the 6710 Mobile Bridge will begin the software download process by downloading the script file. If you do not want to start the software download process after setting this variable, you can set this variable to zero.

5-18

6710 Mobile Bridge User’s Guide

Page 125

SECTION 5

"

Software Download

As long as the StartTime has not counted to zero on its own, the timer stops and the software download process halts. When the timer does count down to zero, it uses the ServerIpAddress value and the ScriptFilename value to get the script file. If either of these is not set, an error is noted in the status variable and the software download process is aborted. The variable’s format is: File>sdvars set starttime <dd:hh:mm:ss> EXAMPLE:

This command line sets the download start time to begin in 5 minutes: File>sdvars set starttime 00:00:05:00

Status Status is a read-only variable set by the software download mechanism to indicate whether the download completed successfully.

CheckPoint CheckPoint is a numeric variable that checks on the progress of an active download in a 6710 Mobile Bridge. By setting CheckPoint to a different value after each command in the script file, you can read the value to determine how far the 6710 Mobile Bridge progressed through the script file. You can also test for failure if a script file aborts. The variable’s format is: File>sdvars set checkpoint <value> For example, consider the following script file commands:

6710 Mobile Bridge User’s Guide

5-19

Page 126

SECTION 5

"

Software Download file sdvars set checkpoint 1 file fe ab: file sdvars set checkpoint 2 file tftp get * MSD29.BIN ab: file sdvars set checkpoint 3 reboot When the software download is started, you can use SNMP to query its progress by reading the checkpoint variable. If the variable has a value of 2, for example, you know that the 6710 Mobile Bridge is trying to execute the tftp get statement. If the value is 3, you know the script has completed and the reboot statement was executed.

Terminate Use Terminate to stop the download process in a 6710 Mobile Bridge. The variable’s format is: File>sdvars set terminate <value> If StartTime is counting down, setting this variable stops the timer, halting the software download process. Use caution with this variable. If the script file is being downloaded, or the commands in the script file are being executed, setting this variable interrupts the processing at its current location, halting the software download process. This can leave the 6710 Mobile Bridge in an unknown state. It is your responsibility to determine this state and take any corrective action necessary. If the NextPowerUpTime variable is counting down, setting this variable stops the timer, halting the reboot process.

5-20

6710 Mobile Bridge User’s Guide

Page 127

SECTION 5

"

Software Download

SetActivePointers Use SetActivePointers to make inactive 6710 Mobile Bridge segments active, but only immediately before rebooting. The variable’s format is: File>sdvars set setactivepointers <none|boot|data|both> The default value is “none.” Setting the value to “boot” or “data” affects only the given segment. Setting the value to “both” changes both segments. When the NextPowerUpTime variable counts down to zero, this field is checked to see if any inactive segments should be made active. This value resets to its default of “none” whenever the 6710 Mobile Bridge reboots.

NextPowerUpTime NextPowerUpTime is a relative time at which to reboot the 6710 Mobile Bridge. The variable’s format is: File>sdvars set nextpoweruptime <dd:hh:mm:ss> The value of this variable is how long into the future the 6710 Mobile Bridge should reboot itself. If you do not want to reboot the 6710 Mobile Bridge after setting this variable, you can set this variable to zero. As long as the NextPowerUpTime variable has not counted to zero on its own, the 6710 Mobile Bridge does not reboot. When the timer does count down to zero, it checks the value of the SetActivePointers variable, takes the appropriate action as described previously, and then reboots the 6710 Mobile Bridge.

6710 Mobile Bridge User’s Guide

5-21

Page 128

SECTION 5

"

Software Download

ROM Command Monitor Certain functions available through the ROM command monitor can erase your configuration information. Intermec STRONGLY RECOMMENDS that you only use this option when absolutely necessary (for example, to upgrade your FLASH software or when instructed to do so, and under the supervision or direction of qualified Intermec personnel).

Starting the Command Monitor You can access the ROM command monitor only through the DIAG port. Start the command monitor by turning the 6710 Mobile Bridge off, then back on. After the 6710 Mobile Bridge has completed its power-up self tests, you have about 5 seconds to open the ROM command monitor by pressing any key on the PC keyboard. See “Creating a Local DIAG Port Session” in Section 4 for more information on how to access ROM mode. " NOTE:

You cannot invoke the command monitor once the 6710 Mobile Bridge has started the FLASH program. If the 6710 Mobile Bridge enters its boot sequence, you have to reboot it to open the ROM command monitor.

When the ROM command monitor opens, the following displays on the PC: QXS6700K Vx.xx ap>

MMM DD YYYY

QXS6700K is the program name of the ROM. " x.xx is the version of the ROM command monitor. " MMM DD YYYY is the month, day, and year the version was released. " ap> is the command prompt. "

5-22

6710 Mobile Bridge User’s Guide

Page 129

SECTION 5

"

Software Download

Viewing ROM Commands To view ROM commands, type any invalid command (such as “?”) to display the command monitor’s Main Menu: B FX s FC s FD

- Reboot - Ymodem File Download - Move file to Flash - File System Directory

FR PWD NPWD SR z

- Run Flash Boot File - Password Menu - Norand Password Menu - Serial Baud Rate ap>

The following paragraphs describe each option. " NOTE:

When executing a command that has an option (for example FX s) separate the option from the command by a space.

B Reboot resets the 6710 Mobile Bridge’s system software. Reboot is similar to turning the 6710 Mobile Bridge off (removing power), and then starting it up again (reapplying power).

FX s FX s performs a Ymodem batch protocol download of a file into the specified s FLASH segment. Typing FX 1, 2, 3, or 4 (depending upon which FLASH segment you want the file loaded to) automatically copies the file to the specified FLASH segment.

FD FD displays the FLASH file system directory, including information about the boot file. See “Fd Command” on page 5-6 for more information. 6710 Mobile Bridge User’s Guide

5-23

Page 130

SECTION 5

"

Software Download

FR " NOTE:

The first executable file in the 6710 Mobile Bridge boot segment must be the 6710 Mobile Bridge boot file.

FR finds the first executable file in the 6710 Mobile Bridge’s boot segment, and tries to run the file.

NPWD NPWD is for internal use by service personnel only.

SR z Serial baud rate command SR z sets the baud rate of the 6710 Mobile Bridge. The format is: ap>sr <baud rate>

Baud rates are: 2400 4800 9600 (default) 14400 19200 28800 38400 57600

Type the desired baud rate as a whole number, with no commas. For example, to enter a baud rate of 19,200, type 19200, not 19.2 or 19,200.

5-24

6710 Mobile Bridge User’s Guide