u32 wm_apmCustomStack[60000];
const u16 wm_apmCustomStackSize = sizeof(wm_apmCustomStack);
I input this number “60000”,how max is this number ???
but now ,my Q24PLUS001 is not run!!!
who can help me!!!
help!!!
u32 wm_apmCustomStack[60000];
const u16 wm_apmCustomStackSize = sizeof(wm_apmCustomStack);
I input this number “60000”,how max is this number ???
but now ,my Q24PLUS001 is not run!!!
who can help me!!!
help!!!
Hiya,
You’ve just done two things:
You have now requested approx 468k or RAM be set aside for your application. Now I’m not sure about the Q24 - but if you tried doing this on the Q26 you would have just allocated almost 50% of the available ram to the application stack - and then used up all that stack space by filling it with a giant array…
I’m not surprised. Don’t forget that your OpenAT application is only 1 of a number of tasks running inside the Wavecom module - and that all the radio/GSM firmware takes priority over you application.
Try winding back your stack size back to 4096 or 8192 bytes, and don’t fill it with giant arrays. Instead, use heap memory (i.e. adl_memGet() & adl_memRelease()) to allocate pointers to large data structures.
ciao, Dave