
Chapter 11. Debug Support
For More Information On This Product,
Go to: www.freescale.com
11-41
Background Debug Mode (BDM)
11.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:
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 11-30.
DUMP
Command/Result Formats
F
Freescale Semiconductor, Inc.
n
.