The text of a manual · part 2 of 2
LL 500 Programming Flash Guide, pages 7 to 12
Pages 7 to 12 of 12
The original document is the PDF (74 KB). 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 Symbol OmniLink LL500
Page 7
F l a s h
P r o g r a m m i n g
G u i d e
Operations Permissible Flash operations are listed below. Replace the launch script parameter <operation> with one from the first column of the list. Note: These must be uppercase. Depending on the intended Flash operation, specific files must be included in the launch script (see Flash Operation Examples on page 6). DL
Download product code & EEParams
DL-CODE
Download product code only
DL-EEPARAMS
Download EEParameters only
UL
Upload (entire/partial Flash)
UL-CODE
Upload product code only
UL-EEPARAMS
Upload EEParameters
Options Following are the options [-P1 -P2...] supported (* indicates defaults, ** are not supported by the LL 500): -Cd
Specifies the PC comport to use (i.e., -C1=com1, *-C2=com2, etc.)
-Bd
Specifies the max baud rate (-B0=9600, -B1=19200, -B2=38400, **-B3=57600, -B4=76800, **-B5=115200, *-B6=153600)
-Ps
Specifies a path for all files (all files following in script)
-Axxxx,xxxx
Start address and length (used for UL command only)
-Wd
Add wait time between packets (use if communication errors occur)
-X
Enable continuous mode (queries user to perform the operation again)
-L
Log results to file log.dat in local directory 5
Page 8
L
L
5
0
0
C o n t r o l l e
Files The following are allowable launch script files ([f1 f2...]): <prod.fdl>
The LL 500’s operational software (i.e., AKDBAH.FDL)
<eeps.fdl>
The LL 500’s power-up operating parameters (i.e., EEPS.FDL)
<loader.fdl>
The LL 500’s specific Flash-Loader software (should be NULL)
<anyfile>
Any file name, this file captures uploaded code (i.e., capture.dat)
Flash Operation Examples Following are examples of launch scripts for various configurations and operations. Note: Examples assume the .FDL files are stored in the local directory c:\symbol\ll500.
Download Launch Script Examples 1. To program (or download) the LL 500 with operational software, use the following launch script: Flash
DL-CODE
NULL c:\symbol\ll500\AKDBAH.FDL
2. To eliminate the path, use the launch script below to perform the same operation as example #1. This script uses the optional path identifier, which is used for the remaining examples. Flash
DL-CODE
-Pc:\symbol\ll500\ NULL AKDBAH.FDL
3. To program the LL 500 with operational software and load the EEParameters, use the following launch script: Flash
DL
-Pc:\symbol\ll500\ NULL AKDBAH.fdl EEPS.FDL
4. To program several LL 500s with operational software and load the EEParameters at the “max-baud-rate” in continuous mode (-X), use the launch script below. Flash DL -Pc:\symbol\ll500\ -X NULL AKDBAH.FDL EEPS.FDL
6 r
Page 9
F l a s h
P r o g r a m m i n g
G u i d e
5. To program the LL 500 with operational software for a PC which only supports baud rates up to 9600, use the “baudrate” option to specify 9600 (-B0) as shown below. (The Flash-Utility program expects the PC to support higher baud rates; running the Flash-Utility program will fail without the baud command below). Flash
DL-CODE
-B0
-Pc:\symbol\ll500\ NULL AKDBAH.FDL
Upload Launch Script Examples 1. To read (or Upload) and store the LL 500’s operational software into the file code.dat, use the launch script: Flash
UL-CODE
-Pc:\symbol\ll500\ NULL code.dat
2. To read and store the LL 500’s entire Flash memory into the file entire.dat, use the launch script: Flash
UL
-Pc:\symbol\ll500\ NULL entire.dat
3. To read and store a portion of the LL 500’s Flash memory into the file partial.dat, use the launch script below. The optional parameter -A8000,10000 specifies the start address and length for the partial data. Flash
UL
-A8000,10000
-Pc:\symbol\ll500\ NULL partial.dat
4. To read and store the LL 500’s EEParameters into the file EEPS.DAT use the launch script: Flash
UL-EEPARAMS
-Pc:\symbol\ll500\ NULL
7
EEPS.DAT
Page 10
L
L
5
0
0
C o n t r o l l e
Flash-Operation Errors Using this Flash utility program can produce two types of errors: Script-Syntax errors, and Flash Programming errors. When a Flash operation is completed, an error code is produced. This error code is a hex number; the tables that follow translate this error code. An error code of zero indicates the operation was successful.
Error Log The launch script and results (error code) of each Flash operation are logged to the file log.dat in your local directory. This file provides a history of the Flash operation. To enable the error logging, include a -L in the launch script.
Launch Script Syntax Errors Most of these are displayed on the output screen as they are encountered. These are typically syntax errors in the launch script (invalid operations, options, etc.) or incorrect or missing file names. Most of these errors can be corrected by fixing the launch script or ensuring the specified files exist. Error
Cause of Error
0x21
Error opening file
0x22
Error reading file
0x23
Error writing file
0x31
Error opening comm port
0x32
Error configuring comm port (may be invalid baud)
0x41
Command specified in launch script is invalid
0x42
Option specified in launch script is invalid
0x43
Launch script syntax is invalid
0x44
The Flash command is not supported
0x50-0x5F
Internal error (defect if this error occurs)
8 r
Page 11
F l a s h
P r o g r a m m i n g
G u i d e
Flash Programming Errors These are errors in the actual Flash-Utility operation, and are only displayed as an error code at completion of the Flash operation. The LL 500’s LED continually blinks the error code that is displayed. Error
Cause of Error
0x01
Receive time-out error
0x02
STX not found
0x03
Packet “len” too long
0x04
Packet chksum failed
0x05
Code chksum failed
0x06
Received block > Block-Size
0x07
General command error
0x08
Illegal command ID
0x09
Unsupported command ID
0x0A
Out-Of-Range Addr
0x0B
Blk# received out-of-sequence
0x0C
Command received out-of-sequence
0x0D
Final download check
0x0E
Specified baud not supported
9
Page 12
70-35780-01 Revision A - July 1998 Symbol Technologies, Inc. One Symbol Plaza Holtsville, NY 11742-1300