Motorola MCF5282 Trigger Definition Register TDR, 12describes PBR fields, 13describes Pbmr fields

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 686
Image 686

Programming Model

Field

Reset

R/W

DRc[4–0]

31

0

Program Counter

Write. PC breakpoint register is accessible in supervisor mode using the WDEBUG instruction and through the BDM port using the RDMREG and WDMREG commands using values shown in Section 29.5.3.3, “Command Set Descriptions.”

0x08

Figure 29-9. Program Counter Breakpoint Register (PBR)

Table 29-12describes PBR fields.

 

 

Table 29-12. PBR Field Descriptions

 

 

 

Bits

Name

Description

 

 

 

31–0

Address

PC breakpoint address. The 32-bit address to be compared with the PC as a breakpoint trigger.

 

 

 

Figure 29-9shows PBMR.

Field

Reset

R/W

DRc[4–0]

31

0

Mask

Write. PBMR is accessible in supervisor mode as debug control register 0x09 using the WDEBUG instruction and

via the BDM port using the wdmreg command.

0x09

Figure 29-10. Program Counter Breakpoint Mask Register (PBMR)

Table 29-13describes PBMR fields.

 

 

Table 29-13. PBMR Field Descriptions

 

 

 

Bits

Name

Description

 

 

 

31–0

Mask

PC breakpoint mask. A zero in a bit position causes the corresponding PBR bit to be compared to the

 

 

appropriate PC bit. Set PBMR bits cause PBR bits to be ignored.

 

 

 

29.4.7 Trigger Definition Register (TDR)

The TDR, shown in Table 29-11,configures the operation of the hardware breakpoint logic that corresponds with the ABHR/ABLR/AATR, PBR/PBMR, and DBR/DBMR registers within the debug module. The TDR controls the actions taken under the defined conditions. Breakpoint logic may be configured as a one- or two-level trigger. TDR[31–16] define the second-level trigger and bits 15–0 define the first-level trigger.

29-14

MCF5282 User’s Manual

MOTOROLA

Page 686
Image 686
Motorola MCF5282 Trigger Definition Register TDR, 12describes PBR fields, 13describes Pbmr fields, PBR Field Descriptions