Datasheet
Chapter 5. Debug Support 5-13
Programming Model
Table 5-10 describes BAAR fields.
5.4.4 Configuration/Status Register (CSR)
The configuration/status register (CSR) defines the debug configuration for the processor
and memory subsystem and contains status information from the breakpoint logic.
76543210
Field R SZ TT TM
Reset 0000_0101
R/W BAAR[R,SZ] are loaded directly from the BDM command; BAAR[TT,TM] can be programmed as debug
control register 0x05 from the external development system. For compatibility with Rev. A, BAAR is loaded
each time AATR is written.
DRc[4–0] 0x05
Figure 5-8. BDM Address Attribute Register (BAAR)
Table 5-10. BAAR Field Descriptions
Bits Name Description
7 R Read/write
0 Write
1 Read
6–5 SZ Size
00 Longword
01 Byte
10 Word
11 Reserved
4–3 TT Transfer type. See the TT definition in Table 5-7.
2–0 TM Transfer modifier. See the TM definition in Table 5-7.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Field BSTAT FOF TRG HALT BKPT HRL — BKD PCD IPW
Reset 0000 0 0 0 0 0010 — — — 0
R/W
1
R RRRR R ———R/W
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Field MAP TRC EMU DDC UHE BTB —
2
NPL — SSM —
Reset 0 0 0 00 0 00 0 0 — 0 —
R/W R/W R/W R/W R/W R/W R/W R R/W — R/W —
DRc[4–0] 0x00
1
CSR is write-only from the programming model. It can be read from and written to through the BDM port. CSR
is accessible in supervisor mode as debug control register 0x00 using the WDEBUG instruction and through
the BDM port using the
RDMREG and WDMREG commands.
2
Bit 7 is reserved for Motorola use and must be written as a zero.
Figure 5-9. Configuration/Status Register (CSR)
