ARM Technical Support Knowledge Articles

INITIALIZING FAR DATA

Applies to: C51 C Compiler

Answer


Information in this article applies to:


SYMPTOM

I have a data object in far memory, that I initalize in the declaration. When I reach "main" in my program, this data object is blank.

CAUSE

Initialization of far data is disabled by default. You must explicitly turn it on.

RESOLUTION

To activate far data initialization, do the following:

You should now see the data in far memory initialized, once your program executes to Main.

MORE INFORMATION

SEE ALSO

Article last edited on: 2007-01-16 11:35:21

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