56800E Flash Programmer User Guide, Rev. 0
10
Freescale Semiconductor
Examples:
fflash flash.cfg –vX0x0:0x1000
fflash flash.cfg –vP0x0:0x1000
2.1.1.20 –verify
This option does not load the data onto the device. A 32-bit CRC check is used to compare the Flash
contents of the device to the specified files with a PASS or FAIL result of this comparison. The 32-bit CRC
will also be displayed when the erase mode is set to
unit
or
all
for each unit being verified. The first failing
unit
or
page
will cause the 56800E Flash Programmer to stop performing the verification routine.
Example:
fflash flash.cfg my_appl.S –verify
2.1.1.21 –verifyprog
This option only verifies words actually programmed and not the entire unit/page, and depending on the
setting of the
-erase=X
option.
Example:
fflash flash.cfg my_appl.S –verifyprog
2.1.1.22 –w
This option forces the 56800E Flash Programmer to wait until the DSC comes out of a Reset state. This
option is useful in situations where there is external circuitry on the proprietary target hardware,
prolonging the duration of a Reset. This option is also useful when the DSC is powered down. It is
necessary to make sure it will be programmed as soon as the target hardware is powered up.
Example:
fflash flash.cfg my_appl.S –w
2.1.2
Operation
The 56800E Flash Programmer outputs progress and status messages to standard output. Where the
56800E Flash Programmer is called from a script, or another program, the output messages can be
redirected to a file for later inspection by the operator. For easy integration into scripts, the final status of
the programming operation is also provided through an error level. Please see
Section 2.1.4
for details.
When the amount of code and data in the S-Record file is large, programming and verification may take
longer. Typical error-free output of the 56800E Flash Programmer is illustrated in
Figure 2-1.