GRMON3-UM
June 2019, Version 3.1.0
210 www.cobham.com/gaisler
101. verify - syntax
NAME
verify - Verify that a file has been uploaded correctly.
SYNOPSIS
verify ?options...? filename ?address?
DESCRIPTION
verify ?options...? filename ?address?
Verify that the file filename has been uploaded correctly. If the address argument is present, then
binary files will be compared against data at this address, if left out then they will be compared to data at
the base address of the detected RAM.
RETURN VALUE
Upon successful completion verify returns the number of error detected. If the -errors has been given, it returns
a list of errors instead.
OPTIONS
-binary
The -binary option can be used to force GRMON to interpret the file as a binary file.
-max num
The -max option can be used to force GRMON to stop verifying when num errors have been found.
-bsize bytes
The -bsize option may be used to specify the size of blocks of data in bytes that will be read. Sizes that
are not even words may require a JTAG based debug link to work properly. See Chapter 5, Debug link
more information.
-errors
When the -errors option is specified, the verify returns a list of all errors instead of number of errors.
Each element of the list is a sublist whose format depends on the first item if the sublist. Possible errors
can be detected are memory verify error (MEM), read error (READ) or an unknown error (UNKNOWN).
The formats of the sublists are: MEM address read-value expected-value , READ address
num-failed-addresses , UNKNOWN address
EXAMPLE
Load and then verify a hello_world application
grmon3> load ../hello_world/hello_world
grmon3> verify ../hello_world/hello_world
SEE ALSO
Section 3.4.2, “Uploading application and data to target memory”
bload
eeload
load