ARM Technical Support Knowledge Articles

LINKER CODE PACKING PROBLEM

Applies to: LX51 Linker/Locator

Answer


Information in this article applies to:


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

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2002-05-17 00:00:00

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