ARM Technical Support Knowledge Articles

SETTING XDATA MEMORY LIMIT FOR C51 PROGRAMS

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

How do I set a limit so that my program does not access off-chip xdata memory beyond 32k?

ANSWER

In uVision...

  1. Open the Options for Target dialog.
  2. Select the Target Tab.
  3. Set the start address of the off-chip xdata memory to 0x0000 and the size to 0x8000.

When you compile and link your program, the link check to see if you have exceeded the XDATA size. If so, an error message is output indicating a memory space overflow.

Article last edited on: 2005-07-09 10:57:20

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