Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)

DRc: 0x01 (XCSR)

31 30 29 28

27 26 25 24

Access: Supervisor write-only

BDM read/write

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

R

CPU

CPU

CSTAT

 

HALT

STOP

 

 

 

 

 

 

W

 

 

ESEQC

 

 

 

 

CLKSW

SEC

ERASE

ENBDM

0

0

0

0

0

0

0

0

Reset 0

0

0

0

0 0 0 0

0 0 0 0

0 0 0 0

15 14 13 12

11 10 9 8

7 6 5 4

3

2

1

0

R

W

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

APCSC

APCE

 

 

 

 

 

 

 

 

 

 

 

 

 

NB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 18-4. Extended Configuration/Status Register (XCSR)

Table 18-7. XCSR Field Descriptions

Field

 

 

Description

 

 

 

 

 

 

31

Indicates that the CPU is in the halt state. The CPU state may be running, stopped, or halted, which is determined

CPUHALT

by the CPUHALT and CPUSTOP bits as shown below.

 

 

 

 

 

 

 

 

 

 

XCSR

XCSR

CPU State

 

 

 

[CPUHALT]

[CPUSTOP]

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

Running

 

 

 

 

 

 

 

 

 

0

1

Stopped

 

 

 

 

 

 

 

 

 

1

0

Halted

 

 

 

 

 

 

 

 

 

 

 

 

 

30

Indicates that the CPU is in the stop state. The CPU state may be running, stopped, or halted, which is determined

CPUSTOP

by the CPUHALT and CPUSTOP bits as shown in the CPUHALT bit description.

 

 

 

 

 

 

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

365

Get the latest version from freescale.com

Page 365
Image 365
Freescale Semiconductor MCF51QE128RM manual CPU Cstat Halt Stop Eseqc Clksw SEC Erase Enbdm, Apcsc Apce, Xcsr, CPU State