Freescale Semiconductor MCF51QE128RM manual Resulting Set of Possible Trigger Combinations

Models: MCF51QE128RM

1 424
Download 424 pages 63.71 Kb
Page 380
Image 380

Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)

Table 18-22. Access Size and Operand Data Location

Address[10]

Access Size

Operand Location

 

 

 

00

Byte

D[3124]

 

 

 

01

Byte

D[2316]

 

 

 

10

Byte

D[158]

 

 

 

11

Byte

D[70]

 

 

 

0x

Word

D[3116]

 

 

 

1x

Word

D[150]

 

 

 

xx

Longword

D[310]

 

 

 

18.3.11 Resulting Set of Possible Trigger Combinations

The resulting set of possible breakpoint trigger combinations consists of the following options where denotes logical OR, && denotes logical AND, and {} denotes an optional additional trigger term:

One-level triggers of the form:

if

(PC_breakpoint)

if

(PC_breakpoint Address_breakpoint{&& Data_breakpoint})

if

(Address_breakpoint {&& Data_breakpoint})

Two-level triggers of the form:

if

(PC_breakpoint)

 

then

if

(Address_breakpoint{&& Data_breakpoint})

if

(Address_breakpoint {&& Data_breakpoint})

 

then

if

(PC_breakpoint)

In these examples, PC_breakpoint is the logical summation of the PBR0/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. In all cases, the data breakpoints can be included with an address breakpoint to further qualify a trigger event as an option.

The breakpoint registers can also be used to define the start and stop recording conditions for the PST trace buffer. For information on this functionality, see Section 18.3.3, “Configuration/Status Register 2 (CSR2)”.

18.4Functional Description

18.4.1Background Debug Mode (BDM)

This section provides details on the background debug serial interface controller (BDC) and the BDM command set.

MCF51QE128 MCU Series Reference Manual, Rev. 3

380

Freescale Semiconductor

Get the latest version from freescale.com

Page 380
Image 380
Freescale Semiconductor MCF51QE128RM manual Resulting Set of Possible Trigger Combinations, Background Debug Mode BDM