28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JTAG Test Access Port and OnCE<br />

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

21.14.7.1 Breakpoint Address Comparators<br />

The breakpoint address comparators are not externally accessible. Each<br />

compares the memory address stored in MAL with the contents of BABx,<br />

as masked by BAMx, and signals the control logic when a match occurs.<br />

21.14.7.2 Memory Breakpoint Counters<br />

nc...<br />

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

21.14.8 OnCE Trace Logic<br />

The 16-bit memory breakpoint counter registers (MBCA and MBCB) are<br />

loaded with a value equal to the number of times, minus one, that a<br />

memory access event should occur before a memory breakpoint is<br />

declared. The memory access event is specified by the RCx4–RCx0 and<br />

BCx4–BCx0 bits in the OCR and by the memory base and mask<br />

registers. On each occurrence of the memory access event, the<br />

breakpoint counter, if currently non-zero, is decremented. When the<br />

counter has reached the value of zero and a new occurrence takes<br />

place, the ISBKPTx signal is asserted and causes the CPU’s BRKRQ<br />

input to be asserted. The MBCx can be read or written through the OnCE<br />

serial interface.<br />

Anytime the breakpoint registers are changed, or a different breakpoint<br />

event is selected in the OCR, the breakpoint counter must be written<br />

afterward. This assures that the OnCE breakpoint logic is reset and that<br />

no previous events will affect the new breakpoint event selected.<br />

The OnCE trace logic allows the user to execute instructions in single or<br />

multiple steps before the device returns to debug mode and awaits<br />

OnCE commands from the debug serial port. The OnCE trace logic is<br />

independent of the M•CORE trace facility, which is controlled through<br />

the trace mode bits in the M•CORE processor status register. The OnCE<br />

trace logic block diagram is shown in Figure 21-12.<br />

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

572 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!