Freescale Semiconductor MCF51QE128RM Answering Machine User Manual


 
Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)
MCF51QE128 MCU Series Reference Manual, Rev. 3
362 Freescale Semiconductor
Get the latest version from freescale.com
DRc[4:0]: 0x00 (CSR) Access: Supervisor write-only
BDM read/write
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R BSTAT FOF TRG HALT BKPT HRL 0
BKD
0
IPW
W
Reset0000000010010 00 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R0
TRC
0
DDC UHE BTB
0
NPL IPI SSM
00
FID DDH
W
Reset0000000000000 00 0
Figure 18-3. Configuration/Status Register (CSR)
Table 18-5. CSR Field Descriptions
Field Description
31–28
BSTAT
Breakpoint status. Provides read-only status (from the BDM port only) information concerning hardware
breakpoints. BSTAT is cleared by a TDR write or by a CSR read when either a level-2 breakpoint is triggered or
a level-1 breakpoint is triggered and the level-2 breakpoint is disabled.
0000 No breakpoints enabled
0001 Waiting for level-1 breakpoint
0010 Level-1 breakpoint triggered
0101 Waiting for level-2 breakpoint
0110 Level-2 breakpoint triggered
27
FOF
Fault-on-fault. Indicates a catastrophic halt occurred and forced entry into BDM. FOF is cleared by reset or when
CSR is read (from the BDM port only).
26
TRG
Hardware breakpoint trigger. Indicates a hardware breakpoint halted the processor core and forced entry into
BDM. Reset, the debug GO command, or reading CSR (from the BDM port only) clears TRG.
25
HALT
Processor halt. Indicates the processor executed a HALT and forced entry into BDM. Reset, the debug
GO
command, or reading CSR (from the BDM port only) clears HALT.
24
BKPT
Breakpoint assert. Indicates the BKPT
input was asserted or a BDM BACKGROUND command received, forcing
the processor into a BDM halt. Reset, the debug GO command, or reading CSR (from the BDM port only) clears
BKPT.
23–20
HRL
Hardware revision level. Indicates, from the BDM port only, the level of debug module functionality. An emulator
can use this information to identify the level of functionality supported.
0000 Revision A
0001 Revision B
0010 Revision C
0011 Revision D
1001 Revision B+ (The value used for this device)
1011 Revision D+
19 Reserved, must be cleared.