![NXP Semiconductors freescale semiconductor ColdFire MCF51CN128 Series Reference Manual Download Page 461](http://html1.mh-extra.com/html/nxp-semiconductors/freescale-semiconductor-coldfire-mcf51cn128-series/freescale-semiconductor-coldfire-mcf51cn128-series_reference-manual_1721790461.webp)
Version 1 ColdFire Debug (CF1_DEBUG)
MCF51CN128 Reference Manual
,
Rev. 6
20-42
Freescale Semiconductor
20.4.1.5.6
FILL_MEM.sz, FILL_MEM.sz_WS
FILL_MEM{_WS} is used with the WRITE_MEM{_WS} command to access large blocks of memory.
An initial WRITE_MEM{_WS} is executed to set up the starting address of the block and write the first
datum. If an initial WRITE_MEM{_WS} is not executed before the first FILL_MEM{_WS}, an illegal
command response is returned. The FILL_MEM{_WS} command stores subsequent operands. The initial
address is incremented by the operand size (1, 2, or 4) and saved in a temporary register. Subsequent
WRITE_MEM{_WS} commands use this address, perform the memory write, increment it by the current
operand size, and store the updated address in the temporary register. If the with-status option is specified,
FILL_MEM.sz
Write memory specified by debug address register, then
increment address
Non-intrusive
0x12
Memory
data[7-0]
host
→
target
host
→
target
D
L
Y
0x16
Memory
data[15-8]
Memory
data[7-0]
host
→
target
host
→
target
host
→
target
D
L
Y
0x1A
Memory
data[31-24]
Memory
data[23-16]
Memory
data[15-8]
Memory
data[7-0]
host
→
target
host
→
target
host
→
target
host
→
target
host
→
target
D
L
Y
FILL_MEM.sz_WS
Write memory specified by debug address register with
status, then increment address
Non-intrusive
0x13
Memory
data[7-0]
XCSR_SB
host
→
target
host
→
target
D
L
Y
target
→
host
0x17
Memory
data[15-8]
Memory
data[7-0]
XCSR_SB
host
→
target
host
→
target
host
→
target
D
L
Y
target
→
host
0x1B
Memory
data[31-24]
Memory
data[23-16]
Memory
data[15-8]
Memory
data[7-0]
XCSR_SB
host
→
target
host
→
target
host
→
target
host
→
target
host
→
target
D
L
Y
target
→
host