
M5253EVBE Users Manual, Rev. 1
Freescale Semiconductor
2-15
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 0x0004_0000 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.l 40000 50000
2.4.19
MM (Memory Modify)
Usage: MM <width> addr <data>
The MM command modifies memory at the address addr. The value for addr may be an absolute address
specified as a hexadecimal value, or a symbol name. Width specifies the size of the data that is modified.
If no <width> is specified, the default of word sized data is used. The value for data may be a symbol name,
or a number converted according to the user-defined radix, normally hexadecimal.
If a value for data is provided, then the MM command immediately sets the contents of addr to data. If no
value for data is provided, then the MM command enters into a loop. The loop obtains a value for data,
sets the contents of the current address to data, increments the address according to the data size, and
repeats. The loop terminates when an invalid entry for the data value is entered; i.e., a period.
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 set the byte at location 0x0001_0000 to be 0xFF, the command is:
mm.b 10000 FF
To interactively modify memory beginning at 0x0001_0000, the command is:
mm 10000
2.4.20
MMAP (Memory Map Display)
Usage: mmap
This command displays the memory map information for the M5253EVBE evaluation board. The
information displayed includes the type of memory, the start and end address of the memory, and the port
size of the memory. The display also includes information on how the chip-selects are used on the board.
Here is an example of the output from this command:
Type Start End Port Size
---------------------------------------------------
SDRAM 0x00000000 0x003FFFFF 32-bit
Vector Table 0x00000000 0x000003FF 32-bit
USER SPACE 0x00020000 0x003FFFFF 32-bit
MBAR 0x10000000 0x100003FF 32-bit