
GRMON3-UM
June 2019, Version 3.1.0
165
www.cobham.com/gaisler
65. memh - syntax
NAME
memh - AMBA bus 16-bit memory read access, list a range of addresses
SYNOPSIS
memh ?
options
?
address
?
length
?
DESCRIPTION
memh ?
options
?
address
?
length
?
Do an AMBA bus 16-bit read access at
address
and print the the data. The optional length parameter
should specified in bytes and the default size is 64bytes (32 words).
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 memh returns a list of the requested 16-bit words. Some options changes the result
value, see options for more information.
EXAMPLE
Read 4 words (8 bytes) from address 0x40000000:
grmon3> memh 0x40000000 8
TCL returns:
16384 0 0 0
SEE ALSO
Содержание GRMON3
Страница 56: ...GRMON3 UM June 2019 Version 3 1 0 56 www cobham com gaisler...
Страница 114: ...GRMON3 UM June 2019 Version 3 1 0 114 www cobham com gaisler...
Страница 123: ...GRMON3 UM June 2019 Version 3 1 0 123 www cobham com gaisler dcache...
Страница 156: ...GRMON3 UM June 2019 Version 3 1 0 156 www cobham com gaisler SEE ALSO Section 6 13 On chip logic analyzer driver...
Страница 208: ...GRMON3 UM June 2019 Version 3 1 0 208 www cobham com gaisler SEE ALSO Section 3 5 Tcl integration...