The text of a manual · part 3 of 3
Symbol Scanners Flash Programming, pages 8 to 12
Pages 8 to 12 of 12: Flash Operation Examples; Flash-Operation Errors
The original document is the PDF (112 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 LS-6004
Page 8
S y m b o l
S c a n n e r
Flash Operation Examples Following are examples of launch scripts for various configurations and operations. The LS 6004 is used for these examples. Note: Examples assume the .FLD files are stored in the local directory c:\symbol\ls6004.
Download Launch Script Examples 1. To program (or download) a scanner with operational software, use the following launch script: Flash
DL-CODE
NULL c:\symbol\ls6004\nbrwnaca.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\ls6004\ NULL nbrwnaca.fdl
3. To program a scanner with operational software and load the EEParameters, use the following launch script: Flash
DL
-Pc:\symbol\ls6004\ NULL nbrwnaca.fdl nbrwnpaa.fdl
4. To program several scanners 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\ls6004\
-X
NULL nbrwnaca.fdl nbrwnpaa.fdl
5. To program a scanner 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 baudrates; running the Flash-Utility program will fail without the baud command below). Flash
DL-CODE
-B0
-Pc:\symbol\ls6004\ NULL nbrwnaca.fdl
Upload Launch Script Examples 1. To read (or Upload) and store a scanner’s operational software into the file code.dat, use the launch script: Flash
UL-CODE
-Pc:\symbol\ls6004\ NULL code.dat
6
Page 9
F l a s h
P r o g r a m m i n g
2. To read and store a scanner’s entire Flash memory into the file entire.dat, use the launch script: Flash
UL
-Pc:\symbol\ls6004\ NULL entire.dat
3. To read and store a portion of the scanner’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\ls6004\ NULL partial.dat
4. To read and store a scanner’s EEParameters into the file eeps.dat use the launch script: Flash
UL-EEPARAMS
-Pc:\symbol\ls6004\ NULL
7 eeps.dat
Page 10
S y m b o l
S c a n n e r
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
Page 11
F l a s h
P r o g r a m m i n g
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 scanner’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-19963-02 Revision B, March 2001 Symbol Technologies, Inc. One Symbol Plaza Holtsville, NY 11742-1300