Debug Module
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
31-32
Freescale Semiconductor
Operand Data:
None
Result Data:
The command-complete response (0xFFFF) is returned during the next shift
operation.
31.4.1.5.8
No Operation (
NOP
)
NOP
performs no operation and may be used as a null command where required.
Command Formats:
Command Sequence:
Figure 31-32.
NOP
Command Sequence
Operand Data:
None
Result Data:
The command-complete response, 0xFFFF (with S cleared), is returned during the
next shift operation.
31.4.1.5.9
Synchronize PC to the PST/DDATA Lines (
SYNC
_
PC
)
The
SYNC
_
PC
command captures the current PC and displays it on the PST
/
DDATA outputs. After the
debug module receives the command, it sends a signal to the ColdFire processor that the current PC must
be displayed. The processor then forces an instruction fetch at the next PC with the address being captured
in the DDATA logic under control of the CSR[BTB] bits. The specific sequence of PST and DDATA
values is defined below:
1. Debug signals a
SYNC
_
PC
command is pending.
2. CPU completes the current instruction.
3. CPU forces an instruction fetch to the next PC, generates a PST equaling 0x5 value indicating a
taken branch and signals the capture of DDATA.
4. The instruction address corresponding to the PC is captured.
5. The PST marker (0x9–0xB) is generated and displayed as defined by the CSR[BTB] bit followed
by the captured PC address.
The
SYNC
_
PC
command can be used to dynamically access the PC for performance monitoring. The
execution of this command is considerably less obtrusive to the real-time operation of an application than
a
HALT
-
CPU
/
READ
-
PC
/
RESUME
command sequence.
Command Formats:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0
0x0
0x0
0x0
Figure 31-31.
NOP
Command Format
NOP
???
NEXT CMD
’CMD COMPLETE’
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60