MOTOROLA
OnCE™ DEBUG MODULE
MMC2001
16-2
REFERENCE MANUAL
For accesses to the CPU internal state, the OnCE controller requests the CPU to
enter debug mode via the CPU DBGRQ input. Once CPU debug mode has been
entered, as indicated by the OnCE status register, the processor state may be
accessed through the CPU scan register.
The OnCE controller is implemented as a 16-state FSM, with a one-to-one corre-
spondence to the states defined for the JTAG TAP controller.
CPU registers and the contents of memory locations are accessed by scanning
instructions and data into and out of the CPU scan chain. Required data is accessed
by executing the scanned instructions. Memory locations may be read by scanning in
a load instruction to the CPU that references the desired memory location, executing
the load instruction, and then scanning out the result of the load. Other resources are
accessed in a similar manner.
Figure 16-2 OnCE Controller
Capture - DR
Shift - DR
Exit1 - DR
Pause - DR
Exit2 - DR
Update - DR
Select - IR
Scan
Capture - IR
Shift - IR
Exit1 - IR
Pause - IR
Exit2 - IR
Update - IR
Select DR-
Scan
Run-Test/Idle
Test-Logic-Reset
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..