Keil Logo

C166: FUNCTIONAL PROBLEM CPU.12


Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.05
  • µVision Version 2.05

QUESTION

We are using the ST10F167. The C initialization code I have uses EXTS. I believe that it is not initializing my variables correctly because of functional problem CPU.12. Do you have C initialization code that works around this problem?

ANSWER

Modify the START167.A66 and move the following section...

;------------------------------------------------------------------------------
;
; The following code is necessary to set RAM variables to 0 at start-up
; (RESET) of the C application program.
;

$IF (CLR_MEMORY = 1)

to the end of the file with the corresponding section from the STARTUP.A66 file. STARTUP.A66 does not use the EXTS sequences but performs the same function as START167.A66.

Last Reviewed: Thursday, June 17, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.