Keil Logo

µVISION: Setting XDATA Memory Limit for C51 Programs


Information in this article applies to:

  • µVision Version 2.12 and later

QUESTION

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

ANSWER

In µVision...

  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.

Last Reviewed: Thursday, October 29, 2020


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.