Mehmet Fide

What should the stack size be for my application?

Discussion created by Mehmet Fide on Jan 8, 2007
Latest reply on Jan 16, 2007 by CompilerGuru
I'm come here from pic world and new at freescale.
How can I indicate stack size that my application needs?
My application start exhibiting some interesting behaviours and I'm doubting that it needs more stack. But I don't know what it exactly should be.
Here is my actual prm file.
    ROM                      =  READ_ONLY    0x1870 TO 0xFFAF;    Z_RAM                    =  READ_WRITE   0x0060 TO 0x00FF;    RAM                      =  READ_WRITE   0x0100 TO 0x0C5F;    NO_INIT_RAM_SEG          =  NO_INIT      0x0C60 TO 0x105F;    ROM1                     =  READ_ONLY    0x1060 TO 0x17FF;    ROM2                     =  READ_ONLY    0xFFC0 TO 0xFFD1;ENDPLACEMENT
    DEFAULT_RAM                         INTO  RAM;    NO_INIT_RAM                         INTO  NO_INIT_RAM_SEG;    DEFAULT_ROM, ROM_VAR, STRINGS       INTO  ROM;    _DATA_ZEROPAGE, MY_ZEROPAGE         INTO  Z_RAM;ENDSTACKSIZE 0x50