Linker error: Out of allocation space in segment PAGE_0E at address 0xEBEF9

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linker error: Out of allocation space in segment PAGE_0E at address 0xEBEF9

1,021 Views
bastih84
Contributor I

Hi,

 

I have a problem with my linker:

 

I use an S9S12G64 with codewarrior 5.1. I add some routines to my software and I see following error message: "Link Error : L1102: Out of allocation space in segment PAGE_0E at address 0xEBEF9".

 

When I remove a few lines of new code, linker (and my software) runs well.

 

What is the reason for this error message?

 

I think only 50% of flash is used...

 

Attached you can find my *.prm-file.

Original Attachment has been moved to: Project.prm.zip

Labels (1)
0 Kudos
1 Reply

622 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

hi Bastian.

it seems your DEFAULT_ROM is not big enough to load your code.

try to add ROM_4000 to DEFAULT_ROM  and see how it work

change

DEFAULT_ROM   INTO  PAGE_0C, PAGE_0C_8C00, PAGE_0C_B000, PAGE_0E;

to

DEFAULT_ROM  

INTO  PAGE_0C, PAGE_0C_8C00, PAGE_0C_B000, PAGE_0E,ROM_4000;

meanwhile add -OnB=b to the compiler commandline.

can this solve your problem? if not, please create a SR to support@freescale.com with your project attached.

we will look into it.

================================================

this answer is for you, if it helps, please click on "Correct answer " button. thanks!

Best Regards,

ZhangJun

0 Kudos