Chapter 3. Using the Monitor/Debug Firmware
3-27
Commands
MD
Memory Display
Usage:
MD<width> <begin> <end>
The MD command displays a contiguous block of memory starting at address begin and stopping
at address end. The values for addresses begin and end may be absolute addresses specified as
hexadecimal values, or symbol names. Width modifies the size of the data that is displayed. If no
<width> is specified, the default of word sized data is used.
Memory display starts at the address begin. If no beginning address is provided, the MD command
uses the last address that was displayed. If no ending address is provided, then MD will display
memory up to an address that is 128 beyond the starting address.
This command first aligns the starting address for the data access size, and then increments the
address accordingly during the operation. Thus, for the duration of the operation, this command
performs properly-aligned memory accesses.
Examples:
To display memory at address 0x0040_0000, the command is:
md 400000
To display memory in the data section (defined by the symbols data_start and data_end), the
command is:
md data_start
To display a range of bytes from 0x00040000 to 0x0005_0000, the command is:
md.b
40000 50000
To display a range of 32-bit values starting at 0x0004_0000 and ending at 0x0005_0000:
md
40000 50000
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..