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

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

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

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

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