English
Language : 

MC9S12HY64 Datasheet, PDF (215/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Field2 Bits in Normal and Loop1 Modes
Bit 3
Bit 2
Bit 1
Bit 0
CSD
CVA
PC17
PC16
Figure 6-26. Information Bits PCH
S12S Debug Module (S12SDBGV2)
Bit
3
CSD
2
CVA
1
PC17
0
PC16
Table 6-39. PCH Field Descriptions
Description
Source Destination Indicator — In Normal and Loop1 mode this bit indicates if the corresponding stored
address is a source or destination address. This bit has no meaning in Compressed Pure PC mode.
0 Source Address
1 Destination Address
Vector Indicator — In Normal and Loop1 mode this bit indicates if the corresponding stored address is a vector
address. Vector addresses are destination addresses, thus if CVA is set, then the corresponding CSD is also set.
This bit has no meaning in Compressed Pure PC mode.
0 Non-Vector Destination Address
1 Vector Destination Address
Program Counter bit 17— In Normal and Loop1 mode this bit corresponds to program counter bit 17.
Program Counter bit 16— In Normal and Loop1 mode this bit corresponds to program counter bit 16.
6.4.5.4
Trace Buffer Organization (Compressed Pure PC mode)
Table 6-40. Trace Buffer Organization Example (Compressed PurePC mode)
Mode
Line 2-bits
Number Field 3
Line 1 00
Line 2 11
Compressed Line 3 01
Pure PC Mode Line 4 00
Line 5 10
Line 6 00
6-bits
Field 2
PC4
0
0
6-bits
Field 1
PC1 (Initial 18-bit PC Base Address)
PC3
0
PC6 (New 18-bit PC Base Address)
PC8
PC9 (New 18-bit PC Base Address)
6-bits
Field 0
PC2
PC5
PC7
NOTE
Configured for end aligned triggering in compressed PurePC mode, then
after rollover it is possible that the oldest base address is overwritten. In this
case all entries between the pointer and the next base address have lost their
base address following rollover. For example in Table 6-40 if one line of
rollover has occurred, Line 1, PC1, is overwritten with a new entry. Thus the
entries on Lines 2 and 3 have lost their base address. For reconstruction of
program flow the first base address following the pointer must be used, in
the example, Line 4. The pointer points to the oldest entry, Line 2.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Freescale Semiconductor
215