mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 724

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 19 Debug (S12XDBGV2)
information (R/W, S/D etc.). The numerical suffix indicates which tracing step. The information format
for loop1 mode is the same as that of normal mode. Whilst tracing from XGATE or CPU only, in normal
or loop1 modes each array line contains data from entries made at 2 separate times, thus in this case the
DBGCNT[0] is incremented after each separate entry. In all other modes, DBGCNT[0] remains cleared
while the other DBGCNT bits are incremented on each trace buffer entry.
XGATE and S12X_CPU COFs occur independently of each other and the profile of COFs for the 2 sources
is totally different. When both sources are being traced in Normal or Loop1 mode, for each single entry
from one source, there may be many entries from the other source and vice versa, depending on user code.
COF events could occur far from each other in the time domain, on consecutive cycles or simultaneously.
If a COF occurs in one source only in a particular cycle, then the trace buffer bytes that are mapped to the
other source are redundant. Info byte bit CDV/XDV indicates that no useful information is stored in these
bytes. This is the typical case. Only in the rare event that both XGATE and S12X_CPU COF cycles
coincide is a valid trace buffer entry for both made, corresponding to the first line for mode "Both
Normal/Loop1" in
Single byte data accesses in detail mode are always stored to the low byte of the trace buffer (CDATAL or
XDATAL) and the high byte is cleared. When tracing word accesses, the byte at the lower address is always
stored to trace buffer byte3 and the byte at the higher address is stored to byte2
1
2
724
COF in CPU only. XGATE trace buffer entries in this tracing step are invalid
COF in XGATE only. CPU trace buffer entries in this tracing step are invalid
XGATE DETAIL
NORMAL
NORMAL
NORMAL
/ LOOP1
/ LOOP1
/ LOOP1
DETAIL
XGATE
Mode
CPU
CPU
Both
Table
CXINF1
CXINF2
CXINF1
CXINF2
1
2
CINF1
CINF3
XINF0
XINF1
XINF3
XINF1
XINF2
7
19-39.
CADRH1
CADRH2
CADRH1
CADRH2
CADRH1
CADRH3
6
Table 19-39. Trace Buffer Organization
MC9S12XDP512 Data Sheet, Rev. 2.17
CADRM1
CADRM2
CADRM1
CADRM2
CADRM1
CADRM3
XADRM0
XADRM2
XADRM1
XADRM3
5
8-Byte Wide Word Buffer
CADRL1
CADRL2
CADRL1
CADRL2
CADRL1
CADRL3
XADRL0
XADRL2
XADRL1
XADRL3
4
XDATAH1
XDATAH2
CDATAH1
CDATAH2
CINF0
CINF1
CINF2
CINF0
CINF2
XINF0
XINF2
3
XDATAL1
XDATAL2
CDATAL1
CDATAL2
CADRH0
CADRH1
CADRH0
CADRH2
2
Freescale Semiconductor
XADRM1
XADRM2
XADRM1
XADRM2
CADRM0
CADRM1
XADRM0
XADRM2
CADRM0
CADRM2
1
XADRL1
XADRL2
XADRL1
XADRL2
CADRL0
CADRL1
XADRL0
XADRL2
CADRL0
CADRL2
0

Related parts for mc9s12xd256