Freescale Semiconductor MCF51QE128RM manual Data Breakpoint and Mask Registers DBR, Dbmr

Models: MCF51QE128RM

1 424
Download 424 pages 63.71 Kb
Page 379
Image 379

Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)

 

Table 18-19. ABHR Field Description

 

 

Field

Description

 

 

31–0

High address. Holds the 32-bit address marking the upper bound of the address breakpoint range.

Address

 

 

 

18.3.10 Data Breakpoint and Mask Registers (DBR, DBMR)

DBR specifies data patterns used as part of the trigger into debug mode. DBR bits are masked by setting corresponding DBMR bits, as defined in TDR.

DBR and DBMR are accessible in supervisor mode using the WDEBUG instruction and through the BDM port using the WRITE_DREG commands.

DRc[4:0]: 0x0E (DBR)

Access: Supervisor write-only

0x0F (DBMR)

BDM write-only

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7 6 5 4

3 2 1 0

 

 

R

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

W

 

 

 

 

 

 

 

 

 

 

 

 

 

Data (DBR); Mask (DBMR)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset

0

0

0

0

 

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

 

0

 

0

0

0

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

Figure 18-14. Data Breakpoint & Mask Registers (DBR, DBMR)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 18-20. DBR Field Descriptions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Field

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31–0

Data breakpoint value. Contains the value to be compared with the data value from the processor’s local bus as a

Data

 

breakpoint trigger.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 18-21. DBMR Field Descriptions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Field

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31–0

 

Data breakpoint mask. The 32-bit mask for the data breakpoint trigger.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mask

 

0 The corresponding DBR bit is compared to the appropriate bit of the processor’s local data bus

 

 

 

 

 

 

1 The corresponding DBR bit is ignored

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The DBR supports aligned and misaligned references. Table 18-22shows the relationships between processor address, access size, and location within the 32-bit data bus.

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

379

Get the latest version from freescale.com

Page 379
Image 379
Freescale Semiconductor MCF51QE128RM manual Data Breakpoint and Mask Registers DBR, Dbmr, Abhr Field Description