Program Correlation Messages - STMicroelectronics SPC572L series Reference Manual

Table of Contents

Advertisement

RM0400
(1–32 bits)
RDATA
Max length = 46 bits; Min length = 15 bits
Table 1102
Messages.
RCODE
Program Trace Instruction counter reached 255 and
0000
was reset.
Program Trace, Branch / Predicate Instruction
0001
History full.
66.12.5

Program Correlation Messages

Program Correlation Messages (PCMs) are used to correlate events to the program flow
that may or may not be associated with the instruction stream. The following events will
result in a PCM when program trace is enabled:
When the CPU enters debug mode, a PCM is generated. The instruction count and
history information provided by the PCM can be used to determine the last sequence of
instructions executed prior to debug mode entry.
When the CPU first enters a low power mode in which instructions are no longer
executed, a PCM is generated. The instruction count and history information provided
by the PCM can be used to determine the last sequence of instructions executed prior
to low power mode entry.
Whenever program trace is disabled by any means, a PCM is generated. The
instruction count and history information provided by the PCM can be used to
determine the last sequence of instructions executed prior to disabling program trace.
When a "Branch and Link" instruction executes (direct branch function call —
bl/bcl/bla/bcla-type instructions)
When program trace becomes masked due to MSR
When a write to the process ID register selected by DC1
via a mtspr PID0 or mtspr NPIDR.
Refer to
code masking is available via the EVCDM field of the DC4 register to allow for control over
generation of Program Correlation messages for each event type.
Program Correlation is messaged out in the following formats:
Figure 1166. Resource Full Message format
(4 bits)
RCODE
shows the RCODE encodings and RDATA information used for Resource Full
Table 1102. RCODE encoding
Description
Table 1075
for the event codes that are supported in this implementation. Event
(4 bits)
Src. Proc.
0xFF
Branch HIstory.
This type of packet is terminated by a stop bit set to
1 after the last history bit.
DocID027809 Rev 4
e200z215An3 Nexus 3 Module
(6 bits)
TCODE (011011)
RDATA field
='0' and DC4
PMM
PTMARK
(PID0 or NPIDR) is made
OTS
='1'.
1955/2058
1982

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Table of Contents