|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
The Errata Sheets for XC161, XC164, and XC167 Infineon document a FCPUR X.162832 Flash Read Performance problem. This Flash problem is indicated by a Class B Trap with PACER=1 (bit 4 set in TFR). The problem depends on the operating temperature and the CPU frequency. To avoid this problem, Infineon recommends that you increase the wait states for Flash ROM (WSFLASH) in the IMBCTR control register as shown below:
For Ambient Temperatures -40 to 85 degrees Celsius the setting of WSFLASH should be:
For Ambient Temperatures above 85 degrees Celsius the setting of WSFLASH should be:
To set the wait states in your application, you must use startup code (START_V2.A66) version 5.05 or higher. This file may be downloaded (see the Attachments section below) or you may download the latest updates from the Keil Website. The waitstates for on-chip Flash ROM can be configured under CPU Configuration - Definitions for Internal Memory Block Control Register IBMCTR - WSFLASH: Wait States for the Flash Memory. Select the number of waitstates as required for your application.
Article last edited on: 2005-05-28 22:55:44
Did you find this article helpful? Yes No
How can we improve this article?