GRMON3-UM
June 2019, Version 3.1.0
213 www.cobham.com/gaisler
104. vmem - syntax
NAME
vmem - AMBA bus 32-bit virtual memory read access, list a range of addresses
SYNOPSIS
vmem ?-ascii? address ?length?
DESCRIPTION
vmem ?-ascii? address ?length?
GRMON will translate address to a physical address, do an AMBA bus read 32-bit read access and print
the data. The optional length parameter should specified in bytes and the default size is 64 bytes (16 words).
If no MMU exists or if it is turned off, this command will behave like the command vwmem
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 vmem returns a list of the requested 32-bit words. Some options changes the result
value, see options for more information.
EXAMPLE
Read 4 words from address 0x40000000:
grmon3> vmem 0x40000000 16
TCL returns:
1073741824 0 0 0
SEE ALSO
Section 3.4.7, “Displaying memory contents”
Section 3.4.14, “Memory Management Unit (MMU) support”