06.02.2013 Views

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6−26<br />

CONTROLS<br />

CHECKCPU21<br />

Control:<br />

Chapter 6<br />

From the Project menu, select Project Options...<br />

Expand the Application entry, expand the Processor entry and select<br />

CPU Problem Bypasses and Checks. Enable the CPU.21 −− Incorrect<br />

result of BFLDL/BFLDH after a write to internal RAM check box.<br />

CHECKCPU21 / NOCHECKCPU21<br />

Abbreviation:<br />

CPU21 / NOCPU21<br />

Class:<br />

General<br />

Default:<br />

NOCHECKCPU21<br />

Description:<br />

Infineon regularly publishes microcontroller errata sheets for reporting<br />

CPU functional problems. With the CHECKCPU21 control the assembler<br />

checks for the CPU.21 silicon problem and issues warnings and errors:<br />

• an error when the previous operation writes to a register (including<br />

post increment, pre increment, post decrement and pre decrement)<br />

whose 8 bit address equals the appropiate field in the BFLDx<br />

operation.<br />

• a warning if the previous operation writes to a register and the BFLDx<br />

instruction has a relocatable value in the concerned field.<br />

• a warning if the previous instruction uses indirect addressing or<br />

executes an implicit stack write a warning if the previous instruction<br />

writes to IRAM and the BFLDx field is relocatable or larger than 0xEF.<br />

• a warning if the previous instruction writes to bit addressable IRAM<br />

(including writing to a register) and the BFLDx field is relocatable or<br />

smaller than 0xF0.<br />

• a warning if the BFLDx instruction is not protected by ATOMIC, EXTR,<br />

EXTP, EXTPR, EXTS or EXTSR, which means a PEC transfer may occur<br />

just before the execution of BFLDx. If the NOPEC control is effective<br />

for this BFLDx instruction, no warning will be given.

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

Saved successfully!

Ooh no, something went wrong!