11-26
ColdFire CF4e Core User’s Manual
For More Information On This Product,
Go to: www.freescale.com
Programming Model
||
Address1_breakpoint{&& Data1_breakpoint})
if
(Address1_breakpoint
then if
||
{&& Data1_breakpoint})
(PC_breakpoint
Address_breakpoint{&& Data_breakpoint})
In this example, PC_breakpoint is the logical summation of the PBR/PBMR, PBR1,
PBR2, and PBR3 breakpoint registers; Address_breakpoint is a function of ABHR, ABLR,
and AATR; Data_breakpoint is a function of DBR and DBMR; Address1_breakpoint is a
function of ABHR1, ABLR1, and AATR1; and Data1_breakpoint is a function of DBR1
and DBMR1. In all cases, the data breakpoints can be included with an address breakpoint
to further qualify a trigger event as an option.
11.4.10 PC Breakpoint ASID Control Register (PBAC)
The PBAC configures the breakpoint qualification for each PC breakpoint register (PBR,
PBR1, PBR2, and PBR3). Four bits are dedicated for each breakpoint register and specify
how the ASID is used in PC breakpoint qualification.
PBR3AC, PBR2AC, PBR1AC, and PBRAC apply to PBR3, PBR2, PBR1, and PBR,
respectively, and are functionally identical. They enable or disable ASID, supervisor
mode, and user mode breakpoint qualification. Reset clears these fields, disabling
qualifications and defaulting to the Revision C debug module functionality.
11.4.11 PC Breakpoint ASID Register (PBASID)
Each PC breakpoint register (PBR, PBR1, PBR2, or PBR3) specifies an instruction
address that can be used to trigger a breakpoint. To support debugging in a virtual
15
12
11
8
7
4
3
0
Field
PBR3AC
PBR2AC
PBR1AC
PBRAC
Reset
All zeros
R/W
W
DRc[4–0]
0x0A
Figure 11-15. PC Breakpoint ASID Control Register (PBAC)
Table 11-20. PBAC Field Descriptions
Bits
Name
Description
15–12
PBR3AC
PBR
n
ASID control. Corresponds to the ASID control associated with PBR
n
. Determines
whether the ASID is included in the PC breakpoint comparison and whether the operating mode
(supervisor or user) is included in the comparison logic.
x00x No ASID qualification; no mode qualification
x010 No ASID qualification; user mode qualification enabled
x011 No ASID qualification; supervisor mode qualification enabled
x10x ASID qualification enabled; no mode qualification
x110 ASID qualification enabled; user mode qualification enabled
x111 ASID qualification enabled; supervisor mode qualification enabled
11–8
PBR2AC
7–4
PBR1AC
3–0
PBRAC
F
Freescale Semiconductor, Inc.
n
.