
Debug Support
MCF5272 ColdFire
®
Integrated Microprocessor User’s Manual, Rev. 3
Freescale Semiconductor
5-27
5.5.3.3.5
Dump Memory Block (
DUMP
)
DUMP
is used with the
READ
command to access large blocks of memory. An initial
READ
is executed to
set up the starting address of the block and to retrieve the first result. If an initial
READ
is not executed
before the first
DUMP
, an illegal command response is returned. The
DUMP
command retrieves subsequent
operands. The initial address is incremented by the operand size (1, 2, or 4) and saved in a temporary
register. Subsequent
DUMP
commands use this address, perform the memory read, increment it by the
current operand size, and store the updated address in the temporary register.
NOTE
DUMP
does not check for a valid address; it is a valid command only when
preceded by
NOP
,
READ
, or another
DUMP
command. Otherwise, an illegal
command response is returned.
NOP
can be used for intercommand padding
without corrupting the address pointer.
The size field is examined each time a
DUMP
command is processed, allowing the operand size to be
dynamically altered.
Command/Result Formats:
Command Sequence:
Figure 5-26.
DUMP
Command Sequence
15
12
11
8
7
4
3
0
Byte
Command
0x1
0xD
0x0
0x0
Result
X
X
X
X
X
X
X
X
D[7:0]
Word
Command
0x1
0xD
0x4
0x0
Result
D[15:0]
Longword
Command
0x1
0xD
0x8
0x0
Result
D[31:16]
D[15:0]
Figure 5-25.
DUMP
Command/Result Formats
XXX
"NOT READY"
NEXT CMD
RESULT
XXX
BERR
XXX
"ILLEGAL"
NEXT CMD
"NOT READY"
NEXT CMD
"NOT READY"
READ
MEMORY
LOCATION
DUMP (B/W)
???
XXX
"NOT READY"
NEXT CMD
MS RESULT
XXX
BERR
XXX
"ILLEGAL"
NEXT CMD
"NOT READY"
NEXT CMD
"NOT READY"
READ
MEMORY
LOCATION
DUMP (LONG)
???
NEXT CMD
LS RESULT