ARM Technical Support Knowledge Articles

8K LIMIT ON MEMORY ALLOCATION

Applies to: C51 C Compiler

Answer

QUESTION

I'm using the C51 compiler. When I define a structure allocating more than 8K in XDATA, I get an error (#249) saying that the limit on allocating memory is 8K. Why?

QUESTION

C51 Version 5.02 imposes an 8K limit on memory allocated during the definition of a structure. This has been corrected in C51 V5.10. You may download the update for this release from the following URL:

http://www.keil.com/update/

Article last edited on: 2004-05-10 21:32:53

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