dhakeparag81
Full Member level 2

Hello there,
When i am try to use array of char after compilation it gives me error,"stack frame too large.
i am declare it in function,
so i used static rom unsigned char compiled successfully:smile:
But when i debug it i come to know the value of static rom..... not passed correctly to unsigned char array.:bang:
Any help?
compilation is successful.
pseudo code
When i am try to use array of char after compilation it gives me error,"stack frame too large.
i am declare it in function,
so i used static rom unsigned char compiled successfully:smile:
But when i debug it i come to know the value of static rom..... not passed correctly to unsigned char array.:bang:
Any help?
compilation is successful.
pseudo code
Code:
void gsm_msg(unsigned char var)
{
rom static unsigned char gsm_msg4[20]={"Date Halt"};
switch(var)
{
case 1:
for(i=0;i<20;i++)
serial_out[i]=gsm_msg1[i];
break;
case 2:
for(i=0;i<20;i++)
serial_out[i]=gsm_msg2[i];
break;
}