ARM Technical Support Knowledge Articles

MISPLACED FCODE SECTIONS WHEN USING XLARGE MODEL

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

When I try to use the new XLARGE memory model I cannot program my application into flash or the application does not work as expected. When I looked into the *.M66 map file, I saw that some FCODE sections are located into on-chip RAM and SFR area. How can I avoid this?

ANSWER

uVision version 3.02 which comes with C166 version 5.01 does not generate FCODE class definitions for the L166 linker. The linker then locates FCODE sections into unused memory areas which might be RAM.

This problem is solved in uVision version 3.04 which comes with C166 version 5.03 or higher. Download and install C166 version 5.03 or later. You may download the latest updates from the Keil Website.

Article last edited on: 2005-07-19 09:51:40

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