GRMON3-UM
June 2019, Version 3.1.0
164 www.cobham.com/gaisler
64. memb - syntax
NAME
memb - AMBA bus 8-bit memory read access, list a range of addresses
SYNOPSIS
memb ?options? address ?length?
DESCRIPTION
memb ?options? address ?length?
Do an AMBA bus 8-bit read access at address and print the the data. The optional length parameter
should specified in bytes and the default size is 64 bytes.
NOTE: Only JTAG debug links supports byte accesses. Other debug links will do a 32-bit read and then
parse out the unaligned data.
OPTIONS
-ascii
If the -ascii flag has been given, then a single ASCII string is returned instead of a list of values.
-cstr
If the -cstr flag has been given, then a single ASCII string, up to the first null character, is returned
instead of a list of values.
RETURN VALUE
Upon successful completion memb returns a list of the requested 8-bit words. Some options changes the result
value, see options for more information.
EXAMPLE
Read 4 bytes from address 0x40000000:
grmon3> memb 0x40000000 4
TCL returns:
64 0 0 0
SEE ALSO
Section 3.4.7, “Displaying memory contents”