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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

443 Views
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,

Labels (1)
0 Kudos
1 Reply

289 Views
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 Kudos