Download TC1167 Errata Sheet QS-AD

Transcript
Errata Sheet
Functional Deviations
immediately following the RFM be submitted to inadequate protection rules (as
defined by the old PSW.PRS field).
•
•
•
•
•
•
•
Problem sequence:
instr (monitor)
instr (monitor)
instr (monitor)
RFM (monitor)
Instruction1 // Uses debug monitor’s PSW.PRS field as opposed to newly
restored one.
instruction2
Workaround
To fix this the user needs to do the following before exiting the monitor using
RFM:
.
•
•
•
•
> Retrieve the old value of PSW from location DCX+4
> Do a MFCR and a MTCR to copy the old value of PSW.PRS into PSW
without changing other PSW fields.
> DSYNC
> RFM
This sequence will guarantee that all instructions fetched subsequently to the
RFM will be submitted to the new PSW.PRS field.
OCDS_TC.027 BAM breakpoints with associated halt action can potentially corrupt the PC.
BAM breakpoints can be programmed to trigger a halt action. When such a
breakpoint is taken the CPU will go into HALT mode immediately after the
instruction is executed. This mechanism is broken in the case of conditional
jumps. When a BAM breakpoint with halt action is triggered on a conditional
jump, the PC for the next instruction will potentially be corrupted before the CPU
goes into HALT mode. On exiting HALT mode the CPU will see the corrupted
value of the PC and hence resume code execution from an erroneous location.
Reading the PC CSFR whilst in HALT mode will also yield a faulty value.
TC1167, QS-AD
45/72
Rel. 1.4, 12.11.2009