Chapter 6 S12Z Debug (S12ZDBGV2) Module
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
189
6.3.2.4
Debug Trace Control Register Low (DBGTCRL)
Read: Anytime.
Write: Anytime the module is disarmed and PTACT is clear.
This register configures the profiling and timestamp features
10
Detail
11
Pure PC
Table 6-11. TALIGN Trace Alignment Encoding
TALIGN
Description
00
Trigger ends data trace
01
Trigger starts data trace
10
32 lines of data trace follow trigger
11
(1)
1. Tracing/Profiling disabled.
Reserved
Address: 0x0103
7
6
5
4
3
2
1
0
R
0
0
0
0
DSTAMP
PDOE
PROFILE
STAMP
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 6-6. Debug Trace Control Register Low (DBGTCRL)
Table 6-12. DBGTCRL Field Descriptions
Field
Description
3
DSTAMP
Comparator D Timestamp Enable
— This bit, when set, enables Comparator D matches to generate
timestamps in Detail, Normal and Loop1 trace modes.
0 Comparator D match does not generate timestamp
1 Comparator D match generates timestamp if timestamp function is enabled
2
PDOE
Profile Data Out Enable
— This bit, when set, configures the device profiling pins for profiling.
0 Device pins not configured for profiling
1 Device pins configured for profiling
1
PROFILE
Profile Enable
— This bit, when set, enables the profile function, whereby a subsequent arming of the DBG
activates profiling.
When PROFILE is set, the TRCMOD bits are ignored.
0 Profile function disabled
1 Profile function enabled
Table 6-10. TRCMOD Trace Mode Bit Encoding
TRCMOD
Description