Keil Logo

BL51: ERROR L107 (ADDRESS SPACE OVERFLOW)


Information in this article applies to:

  • C51 Version 6.01

SYMPTOMS

I keep receiving the following error message (or one similar to it):

*** ERROR L107: ADDRESS SPACE OVERFLOW
    SPACE:   CODE
    SEGMENT: ?CO?MAIN
    LENGTH:  8000H

CAUSE

This error message indicates that a segment named ?CO?MAIN, which is a COnstant in the MAIN segment, is 8000h bytes long and will not fit in the remaining CODE memory space. This may be an indication that your program is growing too large or it may indicate that you need to increase the amount of ROM or RAM space available to your target hardware.

RESOLUTION

To resolve this problem:

  • Reduce the size of your code and data segments by hand optimizing and/or using smaller data types where possible.
  • Increase the size of the XDATA and/or CODE space. Refer to BL51: SPECIFYING CODE AND XDATA RANGES for more information.

MORE INFORMATION

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Tuesday, July 19, 2005


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.