28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

JTAG Test Access Port and OnCE<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

21.13.4 Debug Mode Select (TMS). . . . . . . . . . . . . . . . . . . . . . . .556<br />

21.13.5 Test Reset (TRST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .556<br />

21.13.6 Debug Event (DE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .556<br />

21.14 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . .556<br />

21.14.1 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .557<br />

21.14.2 OnCE Controller and Serial Interface. . . . . . . . . . . . . . . .558<br />

21.14.3 OnCE Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . .559<br />

21.14.3.1 Internal Debug Request Input (IDR) . . . . . . . . . . . . . .559<br />

21.14.3.2 CPU Debug Request (DBGRQ). . . . . . . . . . . . . . . . . .560<br />

21.14.3.3 CPU Debug Acknowledge (DBGACK). . . . . . . . . . . . .560<br />

21.14.3.4 CPU Breakpoint Request (BRKRQ). . . . . . . . . . . . . . .560<br />

21.14.3.5 CPU Address, Attributes (ADDR, ATTR) . . . . . . . . . . .560<br />

21.14.3.6 CPU Status (PSTAT) . . . . . . . . . . . . . . . . . . . . . . . . . .560<br />

21.14.3.7 OnCE Debug Output (DEBUG) . . . . . . . . . . . . . . . . . .560<br />

21.14.4 OnCE Controller Registers. . . . . . . . . . . . . . . . . . . . . . . .561<br />

21.14.4.1 OnCE Command Register . . . . . . . . . . . . . . . . . . . . . .561<br />

21.14.4.2 OnCE Control Register . . . . . . . . . . . . . . . . . . . . . . . .564<br />

21.14.4.3 OnCE Status Register . . . . . . . . . . . . . . . . . . . . . . . . .568<br />

21.14.5 OnCE Decoder (ODEC) . . . . . . . . . . . . . . . . . . . . . . . . . .570<br />

21.14.6 Memory Breakpoint Logic . . . . . . . . . . . . . . . . . . . . . . . .570<br />

21.14.6.1 Memory Address Latch (MAL) . . . . . . . . . . . . . . . . . . .571<br />

21.14.6.2 Breakpoint Address Base Registers . . . . . . . . . . . . . .571<br />

21.14.7 Breakpoint Address Mask Registers . . . . . . . . . . . . . . . .571<br />

21.14.7.1 Breakpoint Address Comparators . . . . . . . . . . . . . . . .572<br />

21.14.7.2 Memory Breakpoint Counters . . . . . . . . . . . . . . . . . . .572<br />

21.14.8 OnCE Trace Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .572<br />

21.14.8.1 OnCE Trace Counter . . . . . . . . . . . . . . . . . . . . . . . . . .573<br />

21.14.8.2 Trace Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .574<br />

21.14.9 Methods of Entering Debug Mode . . . . . . . . . . . . . . . . . .574<br />

21.14.9.1 Debug Request During RESET . . . . . . . . . . . . . . . . . .574<br />

21.14.9.2 Debug Request During Normal Activity . . . . . . . . . . . .575<br />

21.14.9.3 Debug Request During Stop, Doze, or Wait Mode . . .575<br />

21.14.9.4 Software Request During Normal Activity . . . . . . . . . .575<br />

21.14.10 Enabling OnCE Trace Mode . . . . . . . . . . . . . . . . . . . . . .575<br />

21.14.11 Enabling OnCE Memory Breakpoints . . . . . . . . . . . . . . .576<br />

21.14.12 Pipeline Information and Write-Back Bus Register . . . . .576<br />

21.14.12.1 Program Counter Register. . . . . . . . . . . . . . . . . . . . . .577<br />

21.14.12.2 Instruction Register . . . . . . . . . . . . . . . . . . . . . . . . . . .577<br />

Technical Data <strong>MMC2107</strong> – Rev. 2.0<br />

534 JTAG Test Access Port and OnCE MOTOROLA<br />

For More Information On This Product,<br />

Go to: www.freescale.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!