23.12.2013 Views

Errata Sheet - Infineon

Errata Sheet - Infineon

Errata Sheet - Infineon

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Errata</strong> <strong>Sheet</strong><br />

Functional Deviations<br />

In the first case, if all the PSW[31:26] bits are cleared by UPDFL, no CAE trap<br />

will be generated.<br />

In the second case, UPDFL may still be used to set the FPU rounding mode,<br />

but in this case the remaining PSW bits, [31:26], must be cleared by UPDFL in<br />

order to avoid generation of an unexpected CAE trap.<br />

In all other cases, where FPU traps are enabled, some other method of<br />

manipulating the PSW user status bits must be used in order to avoid<br />

extraneous CAE trap generation. For instance, if in Supervisor mode the PSW<br />

may be read using the MFCR instruction, the high order PSW bits modified and<br />

written back using the MTCR instruction.<br />

CPU_TC.115 Interrupt may be taken on exit from Halt mode with Interrupts<br />

disabled<br />

A problem exists whereby an interrupt may be taken by the TriCore CPU upon<br />

exiting Halt mode, even if interrupts are disabled at that point.<br />

The problem occurs when an interrupt request is received by the TriCore CPU,<br />

with the pending interrupt priority number (PIPN) higher than the current CPU<br />

priority number (CCPN), and interrupts are enabled. In this case, where only the<br />

CPU pipeline status is preventing the interrupt from being taken immediately,<br />

the interrupt is latched and taken as soon as the pipeline can accept an<br />

interrupt. This may cause unexpected behavior whilst debugging, where<br />

interrupts are enabled before entry to Halt mode, or where interrupts are<br />

temporarily enabled during Halt mode. In this case an interrupt may be latched<br />

whilst the CPU is in Halt mode, and subsequently disabling interrupts during<br />

Halt mode, by setting ICR.IE = 0 B , will not prevent the interrupt from being<br />

serviced immediately upon exit from Halt mode.<br />

It should be noted that no corruption of the program flow is associated with this<br />

issue and that it affects debugging only, primarily the debugger single-stepping<br />

functionality. The problem may or may not be visible whilst debugging,<br />

dependent upon the implementation of single-stepping by the debugger. If<br />

single-stepping is implemented by the debugger setting Break-Before-Make<br />

(BBM) breakpoints on all instructions except the next to be executed, then if this<br />

problem occurs the next instruction when single-stepping will be the first<br />

instruction of the interrupt handler. However, if single-stepping is implemented<br />

TC1767, EES-AD, ES-AD, AD 26/73 Rel. 1.4, 11.12.2009

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!