Memory Commands
8-13
10003794-05
EXAMPLE
In this example, the
mw
command is used to write the value 0xabba three times
starting at the physical address 0x80000.
=> mw.w 80000 abba 3
=> md 80000
00080000: abbaabba abbaffff ffffffff ffffffff
................
00080010: ffffffff ffffffff ffffffff ffffffff
................
00080020: ffffffff ffffffff ffffffff ffffffff
................
00080030: ffffffff ffffffff ffffffff ffffffff
................
00080040: ffffffff ffffffff ffffffff ffffffff
................
00080050: ffffffff ffffffff ffffffff ffffffff
................
00080060: ffffffff ffffffff ffffffff ffffffff
................
00080070: ffffffff ffffffff ffffffff ffffffff
................
8.7.3 mm (memory modify – incrementing address)
The
mm
command modifies memory one object at a time. Once started, the
command line prompts for a new value at the starting address. After a new value
is entered, pressing ENTER auto-increments the address to the next location.
Pressing ENTER without entering a new value leaves the original value for that
address unchanged. To exit the
mm
command, enter a non-valid hexadecimal
value (such as x) followed by ENTER.
DEFINITION
mm [.b, .w, .l]
address
EXAMPLE
In this example, the
mm
command is used to write random 8-bit data starting at
the physical address 0x80000.
=> mm.b 80000
00080000: ff ? 12
00080001: ff ? 23
00080002: ff ? 34
00080003: ff ? 45
00080004: ff ?
00080005: ff ? x
=> md.b 80000 6
00080000: 12 23 34 45 ff ff
.#4E
=>
8.7.4 nm (memory modify – constant address)
The
nm
command modifies a single object repeatedly. Once started, the com-
mand line prompts for a new value at the selected address. After a new value is
entered, pressing ENTER modifies the value in memory and then the new value is
displayed. The command line then prompts for a new value to be written at the
Summary of Contents for PmPPC440
Page 1: ...PmPPC440 PowerPC Based Processor PMC Module User s Manual April 2005 ...
Page 3: ...PmPPC440 PowerPC Based Processor PMC Module User s Manual April 2005 ...
Page 14: ...viii PmPPC440 Contents ...
Page 34: ...2 14 PmPPC440 Setup April 2005 ...
Page 42: ...3 8 PmPPC440 PPC440GP Processor April 2005 ...
Page 56: ...6 4 PmPPC440 Ethernet Interface April 2005 ...