Link error- L1102

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Link error- L1102

1,821件の閲覧回数
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 返信

564件の閲覧回数
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 件の賞賛
返信