This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem: SRAM region is full

Note: This was originally posted on 12th December 2008 at http://forums.arm.com

Hello!

I am getting the compiler error that "sram region is full", and I am trying to identify the possible causes. I know this is basic problem, but I am a newbie!

I am using the AT91SAM7S256 (ARM7), which has 256K flash and 64K SRAM. I know that flash hold the program memory initially. What data is then transferred to SRAM? Is it all global data? If so, then that might be my problem.

I am using a couple large global buffer arrays that take up 50K. I am using these buffer arrays to hold audio data before I write to an external flash (and since writes to external flash take a long time, I have a lot of data to hold). Is there an alternative solution that someone can think of, other than having a large global buffer array?

Thanks for the help!
0