67
8.31 Verify Erase VE
Format:
VE StartAddress [EndAddress|+Length]
Command to verify that MCU memory is erased (bytes = $FF). If no arguments are supplied then the
whole of FLASH memory will be checked. If StartAddress only is specified, then only that one address
will be checked. Specifying both StartAddress and EndAddress will check the given range. The
command works by loading a utility file to RAM, not by reading in MCU memory, so it works fast.
Verification always begins at StartAddress, but the Verify Erase command is the only one which allows
EndAddress to be less than StartAddress; so memory may be verified in a downward direction.
If both arguments are omitted, VE checks the whole of FLASH memory. If any memory is found to
contain code, then the output window returns information on the occupied blocks. A block is here
taken to mean a range that is an exact multiple of the erase page size.
For example, if the command:
ve F7f0 F7FF
were issued, then the program might reply with the following message in the Output window, showing
that memory over this range is fully erased:
Memory erased over range F7F0 to F7FF
While the command:
VE F7F0 F800
might produce:
Memory NOT fully erased. At F800 MCU memory = 59
The command without any arguments thus:
VE
might produce
Memory NOT fully erased.
Blocks occupied at:
EE00..EE3F
F800..F8BF
FFC0..FFFF
Comentários a estes Manuais