Keil™, An ARM® Company

Technical Support

LX51: LINKER CODE PACKING PROBLEM


Information in this article applies to:

  • C51 Version 6.23

QUESTION

I'm working on a project that has CODE memory available and defined (Target Dialog) as follows:

ROM #1 ( 0200h - 1FFFh )
ROM #2 ( 8000h - AFFFh )

After analyzing my MAP file, I've noticed that Code is being placed on addresses outside this CODE segment range, and no error message is being generated. Since I only have CODE memory available on that defined area, my program will not work on my hardware. I'm using LX51, Linker Code Packing optimization, and I checked the Use Memory Layout from Target Dialog box. Is there any option or any detail that I might be missing?

CAUSE

You are following the correct procedures. LX51 Version 3.23 has a problem with the Linker Code Packing optimization.

RESOLUTION

LX51 Version 3.23a and later correct this problem. You may download the latest updates from the Keil Website.

SEE ALSO

FORUM THREADS

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

Last Reviewed: Friday, May 17, 2002


Did this article provide the answer you needed?
 
Yes
No
Not Sure