Chapter 5 Background Debug Controller (S12ZBDCV2)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
158
Freescale Semiconductor
DUMP_MEM{_WS} is used with the READ_MEM{_WS} command to access large blocks of memory.
An initial READ_MEM{_WS} is executed to set-up the starting address of the block and to retrieve the
first result. The DUMP_MEM{_WS} 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_MEM{_WS} commands use this address, perform the memory read, increment it by the current
operand size, and store the updated address in the temporary register. If the with-status option is specified,
the BDCCSRL status byte is returned before the read data. This status byte reflects the state after the
memory read was performed. If enabled, an ACK pulse is driven before the data bytes are transmitted. The
effect of the access size and alignment on the next address to be accessed is explained in more detail in
host
target
D
A
C
K
target
host
0x36
Data[15-8]
Data[7-0]
host
target
D
A
C
K
target
host
target
host
0x3A
Data[31-24]
Data[23-16]
Data[15-8]
Data[7-0]
host
target
D
A
C
K
target
host
target
host
target
host
target
host
DUMP_MEM.sz_WS
Read memory specified by debug address register with status,
then increment address
Non-intrusive
0x33
BDCCSRL
Data[7-0]
host
target
D
L
Y
target
host
target
host
0x37
BDCCSRL
Data[15-8]
Data[7-0]
host
target
D
L
Y
target
host
target
host
target
host
0x3B
BDCCSRL
Data[31-24]
Data23-16]
Data[15-8]
Data[7-0]
host
target
D
L
Y
target
host
target
host
target
host
target
host
target
host
DUMP_MEM.sz