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 />

21.14.4.3 OnCE Status Register<br />

The 16-bit OnCE status register (OSR) indicates the reason(s) that<br />

debug mode was entered and the current operating mode of the CPU.<br />

nc...<br />

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

Bit 15 14 13 12 11 10 9 Bit 8<br />

Read: 0 0 0 0 0 0 HDRO DRO<br />

Write:<br />

Reset: 0 0<br />

Bit 7 6 5 4 3 2 1 Bit 0<br />

Read: MBO SWO TO FRZO SQB SQA PM1 PM0<br />

Write:<br />

Reset: 0 0 0 0 0 0 0 0<br />

= Unimplemented or reserved<br />

Figure 21-10. OnCE Status Register (OSR)<br />

HDRO — Hardware Debug Request Occurrence Flag<br />

HDRO is set when the processor enters debug mode as a result of a<br />

hardware debug request from the IDR signal or the DE pin. This bit is<br />

cleared on test logic reset or when debug mode is exited with the GO<br />

and EX bits set.<br />

DRO — Debug Request Occurrence Flag<br />

DRO is set when the processor enters debug mode and the debug<br />

request (DR) control bit in the OnCE control register is set. This bit is<br />

cleared on test logic reset or when debug mode is exited with the GO<br />

and EX bits set.<br />

MBO — Memory Breakpoint Occurrence Flag<br />

MBO is set when a memory breakpoint request has been issued to<br />

the CPU via the BRKRQ input and the CPU enters debug mode. In<br />

some situations involving breakpoint requests on instruction<br />

prefetches, the CPU may discard the request along with the prefetch.<br />

In this case, this bit may become set due to the CPU entering debug<br />

mode for another reason. This bit is cleared on test logic reset or<br />

when debug mode is exited with the GO and EX bits set.<br />

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

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