Datasheet

Chapter 16 Debug Module (DBGV1)
MC9S12E128 Data Sheet, Rev. 1.07
478 Freescale Semiconductor
16.3 Memory Map and Register Deļ¬nition
A summary of the registers associated with the DBG sub-block is shown in Figure 16-3. Detailed
descriptions of the registers and bits are given in the subsections that follow.
16.3.1 Module Memory Map
16.3.2 Register Descriptions
This section consists of the DBG register descriptions in address order. Most of the register bits can be
written to in either BKP or DBG mode, although they may not have any effect in one of the modes.
However, the only bits in the DBG module that can be written while the debugger is armed (ARM = 1) are
DBGEN and ARM
Table 16-2. DBGV1 Memory Map
Address
Offset
Use Access
Debug Control Register (DBGC1) R/W
Debug Status and Control Register (DBGSC) R/W
Debug Trace Buffer Register High (DBGTBH) R
Debug Trace Buffer Register Low (DBGTBL) R
4 Debug Count Register (DBGCNT) R
5 Debug Comparator C Extended Register (DBGCCX) R/W
6 Debug Comparator C Register High (DBGCCH) R/W
Debug Comparator C Register Low (DBGCCL) R/W
8 Debug Control Register 2 (DBGC2) / (BKPCT0) R/W
9 Debug Control Register 3 (DBGC3) / (BKPCT1) R/W
A Debug Comparator A Extended Register (DBGCAX) / (/BKP0X) R/W
B Debug Comparator A Register High (DBGCAH) / (BKP0H) R/W
Debug Comparator A Register Low (DBGCAL) / (BKP0L) R/W
Debug Comparator B Extended Register (DBGCBX) / (BKP1X) R/W
E Debug Comparator B Register High (DBGCBH) / (BKP1H) R/W
F Debug Comparator B Register Low (DBGCBL) / (BKP1L) R/W
Name
1
Bit 7 6 5 4 3 2 1 Bit 0
DBGC1
R
DBGEN ARM TRGSEL BEGIN DBGBRK
0
CAPMOD
W
DBGSC
RAF BF CF 0
TRG
W
= Unimplemented or Reserved
Figure 16-3. DBG Register Summary