![background image](http://html.mh-extra.com/html/emerson/pm8560/pm8560_user-manual_101424123.webp)
Monitor:
Memory Commands
10006609-03
Pm8560
User’s Manual
11-11
Definition :
cmp [ .b, .w, .l]
addr1 addr2 count
cp
The cp command copies
count
objects located at the
source
address to the
target
address. If
the target address is located in the range of the flash device, it will program the flash with
count objects from the source address. The cp command does not erase the flash region
prior to copying the data. The flash region must be manually erased using the erase com-
mand prior to using the cp command.
Definition:
cp [ .b, .w, .l ]
source target count
Example:
In this example, the cp command is used to copy 0x1000, 32-bit values from address
0x100000 to address 0x80000.
=> cp 100000 80000 1000
find
The find command searches from
base_addr
to
top_add
r looking for
pattern
. For the find
command to work properly, the size of
pattern
must match the size of the object flag. The
-a
option searches for the absence of the specified pattern.
Definition:
find [ .b, .w, .l ] [ -a ]
base_addr top_addr pattern
Example:
In this example, the find command is used to search for the 32-bit pattern 0x12345678 in
the address range starting at 0x40000, and ending at 0x80000.
=> find.1 40000 80000 12345678
Searching from 0x00040000 to 0x00080000
Match found: data = 0x12345678 Adrs = 0x00050a6c
=>
md
The command md displays the contents of memory starting at
address
. The number of
objects displayed can be defined by an optional third argument,
# of objects
. The memory’s
numerical value and its ASCII equivalent is displayed.
Definition:
md [ .b, .w, .l ]
address
[ # of objects ]
Example:
In this example, the md command is used to display thirty-two 16-bit words starting at the
physical address 0x80000.
=> md.w 80000 20
00080000: ffff ffff ffff ffff ffff ffff ffff ffff
................
00080010: ffff ffff ffff ffff ffff ffff ffff ffff
................
00080020: ffff ffff ffff ffff ffff ffff ffff ffff
................
00080030: ffff ffff ffff ffff ffff ffff ffff ffff
................
Summary of Contents for Pm8560
Page 8: ...Contents continued Pm8560 User s Manual 10006609 03 vi ...
Page 10: ...Pm8560 User s Manual 10006609 03 viii blank page ...
Page 12: ...Pm8560 User s Manual 10006609 03 x blank page ...
Page 14: ...Pm8560 User s Manual 10006609 03 ii blank page ...
Page 36: ...Setup Troubleshooting Pm8560 User s Manual 10006609 03 2 12 ...
Page 54: ...Serial I O Baud Rate Selection Pm8560 User s Manual 10006609 03 5 4 ...
Page 62: ...TDM Interface Rear Panel I O Connector P14 Pm8560 User s Manual 10006609 03 6 8 ...
Page 72: ...PCI Bus Interface PMC Connector Pin Assignments Pm8560 User s Manual 10006609 03 7 10 ...
Page 112: ...Development Mezzanine Card Troubleshooting Pm8560 User s Manual 10006609 03 10 12 ...
Page 138: ...Monitor Download Formats Pm8560 User s Manual 10006609 03 11 26 ...
Page 144: ...Index continued Pm8560 User s Manual 10006609 03 i 4 ...