Freescale Semiconductor MCF51QE128RM manual PBR0 Field Descriptions, DRc 0x08 PBR0, DRc 0x09 Pbmr

Models: MCF51QE128RM

1 424
Download 424 pages 63.71 Kb
Page 377
Image 377

Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)

DRc: 0x08 (PBR0)

Access: Supervisor write-only

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset – – – –

– – –

– – – –

– – – –

– – – –

– – – –

– – – –

– – – –

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 18-10. Program Counter Breakpoint Register 0 (PBR0)

 

 

 

 

 

 

 

 

 

 

Table 18-15. PBR0 Field Descriptions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Field

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

31–0

 

PC breakpoint address. The address to be compared with the PC as a breakpoint trigger. Since all instruction sizes

Address

 

are multiples of 2 bytes, bit 0 of the address should always be zero.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DRc:

0x18 (PBR1)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Access: Supervisor write-only

 

 

 

0x1A (PBR2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BDM write-only

 

 

 

0x1C (PBR3)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

Address

V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset – – – –

– – – –

– – – –

– – – –

– – – –

– – – –

– – – –

– – – 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 18-11. Program Counter Breakpoint Register n (PBRn, n = 1,2,3)

 

 

 

 

 

 

Table 18-16. PBRn Field Descriptions

 

 

 

 

 

 

 

 

 

 

Field

 

 

 

 

 

 

Description

 

 

 

 

 

31–1

 

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

 

Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Valid bit. This bit must be set for the PC breakpoint to occur at the address specified in the Address field.

 

V

 

0

PBR is disabled.

 

 

 

1

PBR is enabled.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 18-12shows PBMR. PBMR is accessible in supervisor mode using the WDEBUG instruction and via the BDM port using the WRITE_DREG command. PBMR only masks PBR0.

DRc: 0x09 (PBMR)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Access: Supervisor write-only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BDM write-only

31

30

29

28

 

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

27

 

 

 

 

 

 

R

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mask

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset –

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 18-12. Program Counter Breakpoint Mask Register (PBMR)

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

377

Get the latest version from freescale.com

Page 377
Image 377
Freescale Semiconductor MCF51QE128RM manual PBR0 Field Descriptions, DRc 0x08 PBR0, DRc 0x09 Pbmr, Mask Reset