ARM Technical Support Knowledge Articles

CANNOT LOCATE SEGMENTS

Applies to: LX51 Linker/Locator

Answer


Information in this article applies to:


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 uVision dialog Project - Options - LX51 Locate or to the addresses in the SEGMENTS/CLASSES directive.

MORE INFORMATION

SEE ALSO

Article last edited on: 2006-08-17 19:58:45

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