Link error- L1102

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

Link error- L1102

1,422 Views
poppy2008
Contributor II

Dear friends , need one help, 

 

while compile the program it shows

 

Link error : L1102: out of allocation space in segment RAM at address 0x160

Link error : link failed

what is this,what should i do?

 

i am using code warrior 5.9.0,HCS08 mcu

 

Thanks in advance

Message Edited by poppy2008 on 2009-03-08 08:34 PM
Labels (1)
0 Kudos
1 Reply

165 Views
bigmac
Specialist III

Hello,

 

I would assume that the upper limit of RAM for the device you are using is 0x015F.  Is this correct?  It would appear that the RAM required for your global and static variables, plus the stack, may exceed the available RAM capacity.

 

It is also possible that the linker is attempting to use only the range 0x0100 to 0x015F (96 bytes), corresponding to the DEFAULT_RAM placement.  If this is so, some or all of the variables may need to be explicitly allocated to page zero RAM, which is usually defined as a separate segment (MY_ZEROPAGE placement).

 

Refer to the PRM file for the RAM placements, and to the map file for the project to see where the variables are located.

 

Regards,

Mac

 

0 Kudos