Keil Logo

LX51: CANNOT LOCATE SEGMENTS


Information in this article applies to:

  • LX51 any Version

QUESTION

I am porting an 8051 project from the BL51 Linker/Locater to the LX51 Linker/Locater. But I'm getting now:

*** ERROR L108: SEGMENT IN LOCATING CONTROL CANNOT BE ALLOCATED
    SPACE:   CONST
    SEGMENT: ?CO?EXAMPLE
    LENGTH:  000005H

What is wrong in my invocation?

ANSWER

The LX51 Linker/Locater provides two generic directives to locate CLASSES and SEGMENTS. These directives are able to process any kind of segments (CODE, DATA, IDATA, BIT, XDATA, ect.). However, it is required to provide a memory prefix in address specification (C: for CODE, I: for DATA/IDATA, X: for XDATA, ect.). So you just need to add the memory prefix to the address specifications in the µVision dialog Project - Options - LX51 Locate or to the addresses in the SEGMENTS/CLASSES directive.

MORE INFORMATION

  • Refer to SEGMENTS in the LX51 User's Guide.
  • Refer to CLASSES in the LX51 User's Guide.

SEE ALSO

Last Reviewed: Thursday, August 17, 2006


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.