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.

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

JTAG Test Access Port and OnCE<br />

Functional Description<br />

Address comparators can be used to determine where a program may<br />

be getting lost or when data is being written to areas which should not<br />

be written. They are also useful in halting a program at a specific point<br />

to examine or change registers or memory. Using address comparators<br />

to set breakpoints enables the user to set breakpoints in RAM or ROM<br />

in any operating mode. Memory accesses are monitored according to<br />

the contents of the OCR.<br />

nc...<br />

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

21.14.6.1 Memory Address Latch (MAL)<br />

21.14.6.2 Breakpoint Address Base Registers<br />

The address comparator generates a match signal when the address on<br />

the bus matches the address stored in the breakpoint address base<br />

register, as masked with individual bit masking capability provided by the<br />

breakpoint address mask register. The address match signal and the<br />

access attributes are further qualified with the RCx4–RCx0 and<br />

BCx4–BCx0 control bits. This qualification is used to decrement the<br />

breakpoint counter conditionally if its contents are non-zero. If the<br />

contents are zero, the counter is not decremented and the breakpoint<br />

event occurs (ISBKPTx asserted).<br />

The MAL is a 32-bit register that latches the address bus on every<br />

access.<br />

The 32-bit breakpoint address base registers (BABA and BABB) store<br />

memory breakpoint base addresses. BABA and BABB can be read or<br />

written through the OnCE serial interface. Before enabling breakpoints,<br />

the external command controller should load these registers.<br />

21.14.7 Breakpoint Address Mask Registers<br />

The 32-bit breakpoint address mask registers (BAMA and BAMB)<br />

registers store memory breakpoint base address masks. BAMA and<br />

BAMB can be read or written through the OnCE serial interface. Before<br />

enabling breakpoints, the external command controller should load<br />

these registers.<br />

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

Technical Data<br />

MOTOROLA JTAG Test Access Port and OnCE 571<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!