ARM Technical Support Knowledge Articles

FUNCTIONAL PROBLEM CPU.12

Applies to: C166 C Compiler

Answer


Information in this article applies to:


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.

Article last edited on: 2004-06-17 15:05:08

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential