Arm Community
Site
Search
User
Site
Search
User
Support forums
Architectures and Processors forum
Problem: SRAM region is full
State
Accepted Answer
+1
person also asked this
people also asked this
Locked
Locked
Replies
3 replies
Subscribers
350 subscribers
Views
5244 views
Users
0 members are here
Arm7
compiler
SRAM
Memory
Options
Share
More actions
Related
How was your experience today?
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
civil777
over 12 years ago
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!
Top replies
Peter Harris
over 12 years ago
+1
verified
Note: This was originally posted on 12th December 2008 at http://forums.arm.com Being honest, if you have a 64KB SRAM, and a 50KB scratch buffer in it, it is likely you running out of memory for other...
0
Quote