link error"L1102: Out of allocation space in segment TINY RAM

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

link error"L1102: Out of allocation space in segment TINY RAM

912 次查看
karunanithiprat
Contributor II

Hi,

 

when i compile the code i am getting the link error"L1102: Out of allocation space in segment TINY RAM at address 0x0E

 

void New_display(signed long Value,char sign1)

{

   unsigned char temp_chr1=0;//temp_chr2=0,temp_chr3=0,temp_chr4=0;

 

   signed long valx=Value;

        

    if(Value<0) {

       valx*= -1;

        LCDWF13_temp=0;

     LCDWF12_temp=0x20;

    }

          temp_chr1= (unsigned char) (valx%100u);

          valx=valx/100u;

          NumToAscii(temp_chr1);

          lcd8_34();

          temp_chr1= (unsigned char) (valx%100u);

          valx=valx/100u;

          NumToAscii(temp_chr1);//when i call this function the link error is occurring else no problem.

-----

----

-----

}

 

why it is happening? how to solve this?

Thanks,

标签 (1)
0 项奖励
回复
1 回复

758 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

the on chip RAM resources of LA8 is quite limit, please check both of your prm and map files to confirm if all the RAM is used up.

you can also upload your project here, I can help you check.


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复