sc9s12hy64j0vllr Freescale Semiconductor, Inc, sc9s12hy64j0vllr Datasheet - Page 193

no-image

sc9s12hy64j0vllr

Manufacturer Part Number
sc9s12hy64j0vllr
Description
S12 Microcontrollers Mcu 16-bit Hcs12 Cisc 32kb Flash 5v Tray
Manufacturer
Freescale Semiconductor, Inc
Datasheet
6.3.2.6
Read: Anytime
Write: Never
Freescale Semiconductor
Address: 0x0026
CNT[5:0]
Reset
Field
POR
TBF
5–0
7
W
R
Trace Buffer Full — The TBF bit indicates that the trace buffer has stored 64 or more lines of data since it was
last armed. If this bit is set, then all 64 lines will be valid data, regardless of the value of DBGCNT bits. The TBF
bit is cleared when ARM in DBGC1 is written to a one. The TBF is cleared by the power on reset initialization.
Other system generated resets have no affect on this bit
This bit is also visible at DBGSR[7]
Count Value — The CNT bits indicate the number of valid data 20-bit data lines stored in the Trace Buffer.
Table 6-13
When the CNT rolls over to zero, the TBF bit in DBGSR is set and incrementing of CNT will continue in
end-trigger mode. The DBGCNT register is cleared when ARM in DBGC1 is written to a one. The DBGCNT
register is cleared by power-on-reset initialization but is not cleared by other system resets. Thus should a reset
occur during a debug session, the DBGCNT register still indicates after the reset, the number of valid trace buffer
entries stored before the reset occurred. The DBGCNT register is not decremented when reading from the trace
buffer.
TBF
Debug Count Register (DBGCNT)
0
7
TBF
0
0
1
1
= Unimplemented or Reserved
shows the correlation between the CNT bits and the number of valid data lines in the Trace Buffer.
0
0
6
CNT[5:0]
000000
000001
000010
000100
000110
111111
000000
000001
111110
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Figure 6-8. Debug Count Register (DBGCNT)
..
..
..
Table 6-12. DBGCNT Field Descriptions
Table 6-13. CNT Decoding Table
0
5
oldest data has been overwritten by most recent data
ARM bit will be cleared and the tracing session ends.
64 lines valid; if using Begin trigger alignment,
0
4
Description
64 lines valid,
No data valid
63 lines valid
0
3
Description
2 lines valid
4 lines valid
6 lines valid
1 line valid
CNT
..
0
2
S12S Debug Module (S12SDBGV2)
0
1
0
0
193

Related parts for sc9s12hy64j0vllr