cancel
Showing results for 
Search instead for 
Did you mean: 

Stack and heap problem

aled
Associate II
Posted on April 27, 2007 at 13:57

Stack and heap problem

1 REPLY 1
aled
Associate II
Posted on May 17, 2011 at 09:42

Hello,

I have a problem in my application where temporary variables are being allocated by the ARM9 over into the range 0x4017BEE -> 0x4017513. This is a problem since in the 91x_Init.s the stack pointers for the different modes are also allocated into this range and therefore pushing data onto the stack during interrupts corrupts these variables. I've tried setting in my linker file to

-DRAMSTART=0x4000000

-DRAMEND=0x4015FFF

but the temporary variables are still using memory in the range 0x4015FFF -> 0x4017FFF.

Please help as I need this to work urgently, any suggestions are welcome...