ARM Technical Support Knowledge Articles

MEMORY RANGE OUT OF BOUNDS

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

In uVision, when I specify a starting address of 0x8000 and an ending address of 0xFFFF for my XDATA memory (in the target options dialog), I receive an error message that states:

Xdata memory range out of bounds

Why am I getting this error message?

ANSWER

In uVision, you must specify the starting address and the length of the ROM or RAM area -- not the ending address. This is different when specifying the segment ranges on the linker command line where the ending address is used.

When you specify a starting address of 0x8000 and a size of 0xFFFF, uVision displays the error message to indicate that the XDATA memory is not that large.

To correct this problem, specify a size of 0x8000 for your XDATA memory. Then, the space used will be from 0x8000-0xFFFF.

Note that this also applies to the CODE memory areas.

Article last edited on: 2004-06-29 14:42:32

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