Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)

 

 

DRc: 0x07 (TDR)

 

Access: Supervisor write-only

 

 

 

BDM write-only

 

 

Second Level Trigger

 

 

 

 

 

 

 

 

R

W Reset

31

30

29

28

27

26

25

24

 

23

22

 

21

20

19

18

17

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TRC

L2EBL

 

 

 

L2ED

 

 

 

 

 

L2DI

 

L2EA

 

L2EPC

L2PCI

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

 

0

0

 

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

First Level Trigger

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15 14 13 12

11

10

9

8

7 6 5 4

3 2 1 0

R

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

W

 

L2T

 

L1T

L1EBL

 

 

 

 

 

 

L1ED

 

 

 

 

 

 

L1DI

 

 

L1EA

 

L1EPC

L1PCI

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset

0

0

0

 

0

 

0

0

0

0

 

0

 

0

 

0

 

0

0

0

0

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 18-9. Trigger Definition Register (TDR)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 18-14. TDR Field Descriptions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Field

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31–30

 

Trigger response control. Determines how the processor responds to a completed trigger condition. The trigger

 

 

TRC

 

response is displayed on PST.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00 Display on PST only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

01 Processor halt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10 Debug interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11 Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

29

 

 

Enable level 2 breakpoint. Global enable for the breakpoint trigger.

 

 

 

 

 

 

 

 

 

 

 

L2EBL

 

0 Disables all level 2 breakpoints

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Enables all level 2 breakpoint triggers

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

28–22

 

Enable level 2 data breakpoint. Setting an L2ED bit enables the corresponding data breakpoint condition based on

 

L2ED

 

the size and placement on the processor’s local data bus. Clearing all ED bits disables data breakpoints.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TDR Bit

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

28

 

 

Data longword. Entire processor’s local data bus.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

27

 

 

Lower data word.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

26

 

 

Upper data word.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

25

 

 

Lower lower data byte. Low-order byte of the low-order word.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

24

 

 

Lower middle data byte. High-order byte of the low-order word.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

23

 

 

Upper middle data byte. Low-order byte of the high-order word.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

22

 

 

Upper upper data byte. High-order byte of the high-order word.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

21

 

 

Level 2 data breakpoint invert. Inverts the logical sense of all the data breakpoint comparators. This can develop a

 

L2DI

 

trigger based on the occurrence of a data value other than the DBR contents.

 

 

 

 

 

 

 

 

 

 

0

No inversion

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Invert data breakpoint comparators.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MCF51QE128 MCU Series Reference Manual, Rev. 3

374

Freescale Semiconductor

Get the latest version from freescale.com

Page 374
Image 374
Freescale Semiconductor MCF51QE128RM manual L2ED, L2EA, L2T L1T, L1EA, TDR Bit Description