| |||||
Technical Support Support Resources
Product Information | LX51: CANNOT LOCATE SEGMENTSInformation in this article applies to:
QUESTIONI 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? ANSWERThe 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 INFORMATIONSEE ALSO
Last Reviewed: Thursday, August 17, 2006 | ||||