Stack and heap problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2007-04-27 4:57 AM
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-17 12:42 AM
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...