Datasheet

Chapter 5. Debug Support 5-37
Background Debug Mode (BDM)
5.5.3.3.6 Fill Memory Block (FILL)
A
FILL command is used with the WRITE command to access large blocks of memory. An
initial
WRITE is executed to set up the starting address of the block and to supply the rst
operand. The
FILL command writes subsequent operands. The initial address is incremented
by the operand size (1, 2, or 4) and saved in a temporary register after the memory write.
Subsequent
FILL commands use this address, perform the write, increment it by the current
operand size, and store the updated address in the temporary register.
If an initial
WRITE is not executed preceding the rst FILL command, the illegal command
response is returned.
NOTE:
The
FILL command does not check for a valid address—FILL is
a valid command only when preceded by another
FILL, a NOP,
or a
WRITE command. Otherwise, an illegal command response
is returned. The
NOP command can be used for intercommand
padding without corrupting the address pointer.
The size eld is examined each time a
FILL command is processed, allowing the operand
size to be altered dynamically.
Command Formats:
15 12 11 8 7 4 3 0
Byte 0x1 0xC 0x0 0x0
XXXXXXXX D[7:0]
Word 0x1 0xC 0x4 0x0
D[15:0]
Longword 0x1 0xC 0x8 0x0
D[31:16]
D[15:0]
Figure 5-30. FILL Command Format