LFDAS12XSDT Freescale Semiconductor, LFDAS12XSDT Datasheet - Page 202

no-image

LFDAS12XSDT

Manufacturer Part Number
LFDAS12XSDT
Description
HARDWARE MC9S12XS 52-PIN
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of LFDAS12XSDT

Module/board Type
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
-
S12X Debug (S12XDBGV3) Module
6.3.2.5
Read: Only when unlocked AND not secured AND not armed AND with the TSOURCE bit set.
Write: Aligned word writes when disarmed unlock the trace buffer for reading but do not affect trace buffer
contents.
202
Address: 0x0024, 0x0025
Resets
Bit[15:0]
Other
POR
Field
15–0
1
1
W
R
Currently defaults to Match2 mapped to comparator C : Match3 mapped to comparator D
Currently defaults to Match0 mapped to comparator A : Match1 mapped to comparator B
CDCM
ABCM
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9
00
01
10
11
00
01
10
11
15
X
Trace Buffer Data Bits — The Trace Buffer Register is a window through which the 64-bit wide data lines of the
Trace Buffer may be read 16 bits at a time. Each valid read of DBGTB increments an internal trace buffer pointer
which points to the next address to be read. When the ARM bit is written to 1 the trace buffer is locked to prevent
reading. The trace buffer can only be unlocked for reading by writing to DBGTB with an aligned word write when
the module is disarmed. The DBGTB register can be read only as an aligned word, any byte reads or misaligned
access of these registers will return 0 and will not cause the trace buffer pointer to increment to the next trace
buffer address. The same is true for word reads while the debugger is armed. The POR state is undefined Other
resets do not affect the trace buffer contents. .
Debug Trace Buffer Register (DBGTBH:DBGTBL)
14
X
13
Match2 mapped to comparator C match....... Match3 mapped to comparator D match.
X
Match0 mapped to comparator A match....... Match1 mapped to comparator B match.
Figure 6-7. Debug Trace Buffer Register (DBGTB)
Match 0 mapped to comparator A/B outside range....... Match1 disabled.
Match2 mapped to comparator C/D outside range....... Match3 disabled.
12
Match 0 mapped to comparator A/B inside range....... Match1 disabled.
X
Match2 mapped to comparator C/D inside range....... Match3 disabled.
S12XS Family Reference Manual, Rev. 1.11
Table 6-15. DBGTB Field Descriptions
11
X
Table 6-13. CDCM Encoding
Table 6-14. ABCM Encoding
10
X
X
9
Bit 8
Description
Description
X
8
Description
Reserved
Reserved
Bit 7
X
7
1
1
Bit 6
X
6
Bit 5
X
5
Bit 4
X
4
Bit 3
X
3
Freescale Semiconductor
Bit 2
X
2
Bit 1
X
1
Bit 0
X
0

Related parts for LFDAS12XSDT