Link error- L1102

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Link error- L1102

1,428 次查看
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
标签 (1)
0 项奖励
1 回复

171 次查看
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 项奖励