05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Breakpoint enable, bit [0]<br />

0b11 Match in any mode.<br />

Debug Registers <strong>Reference</strong><br />

This field must be programmed to 0b11 if the DBGBVR meaning field, bits [22:20], is<br />

programmed for Linked Context ID match.<br />

This bit enables the BRP. The meaning of this bit is:<br />

0 Breakpoint disabled<br />

1 Breakpoint enabled.<br />

A BRP never generates Breakpoint debug events when its DBGBCR is disabled.<br />

The debug logic reset values of all bits of the DBGBCR are UNKNOWN.<br />

Note<br />

In v6 Debug <strong>and</strong> v6.1 Debug, the Breakpoint enable bit of the DBGBCR is set to 0 on a debug logic<br />

reset, disabling the breakpoint.<br />

In v7 Debug, a debugger must ensure that DBGBCR[0] has a defined state before it programs<br />

DBGDSCR[15:14] to enable debug.<br />

Byte address selection behavior on IVA match or mismatch<br />

The DBGBVR is programmed with a word address. If you have programmed the BRP for Linked or<br />

Unlinked IVA match or mismatch, you can program the Byte address select field, DBGBCR[8:5], so that<br />

the breakpoint hits only if certain byte addresses are accessed. The exact interpretation depends on the<br />

processor instruction set state, as indicated by the CPSR.J <strong>and</strong> CPSR.T bits, <strong>and</strong> on the bottom two bits of<br />

the IVA. Table C10-11 on page C10-56 shows the operation of byte address masking using the<br />

DBGBCR[8:5] field.<br />

Note<br />

In the following cases, you must program DBGBCR[8:5] to 0b1111:<br />

if you program the BRP for Linked or Unlinked Context ID match<br />

in v7 Debug, if you program the BRP for linked or unlinked IVA match or mismatch with a nonzero<br />

Address range mask.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. C10-55

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

Saved successfully!

Ooh no, something went wrong!