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
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