|ARM Technical Support Knowledge Articles|
Applies to: LX51 Linker/Locator
Information in this article applies to:
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?
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.
Article last edited on: 2006-08-17 19:58:45
Did you find this article helpful? Yes No
How can we improve this article?