Posted: Fri Jul 11, 2014 11:11 am Post subject: Problem with SRAM space
Hi,
I haven't worked with bascom from long time and now the back is with little difficult.
I use ATTINY13A with this application and when compiling I get this error message:
Error 22: Line XXX Out of SRAM Space in File D:\qsd..........................
I've tried different combination with $Framesize and have always the same problem.
Can someone please help.
(BASCOM-AVR version : 2.0.7.1 , Latest : 2.0.7.7 )
Joined: 15 Dec 2007 Posts: 584 Location: Cleveland, OH
Posted: Fri Jul 11, 2014 2:24 pm Post subject:
Perhaps your program is too long.
You can try shortening your program to see if the shorter program fits in the micro.
If you use floating point math, you might see if you can redo your program without floating point, to free up some memory.
You can switch to a micro with more memory, (this is the easiest solution).
It is generally easiest to develop a new program on a larger micro, and then when it all works port it to a smaller micro, if it is worth the time and effort to do so.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum