|
|||||||||||
Technical Support Support Resources
Product Information |
C166: Access Problem with XC16X On-Chip FlashInformation in this article applies to:
SYMPTOMThe 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 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:
RESOLUTIONTo 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 wait-states 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 wait-states as required for your application. MORE INFORMATION
SEE ALSOATTACHED FILESRequest the files attached to this knowledgebase article. Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.