C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0
0 6 / 2 2 / 0 5
34
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, for instance 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
MMAP - Memory Map Display
Usage: mmap
This command displays the memory map information for the 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
SRAM (int)
0x00000000
0x003FFFFF 32-bit
ISPBAR
0x40000000
0x7FFFFFFF
32-bit
FLASH (int)
0xF0000000
0xF007FFFF
32-bit
FLASH (ext)
0xFFE00000
0xFFFFFFFF
16-bit