Keil Logo

µVISION: MEMORY RANGE OUT OF BOUNDS


Information in this article applies to:

  • µVision Version 2.20a

QUESTION

In µVision, 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 µVision, 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, µVision 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.

Last Reviewed: Tuesday, June 29, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.