Pages: [1]   Go Down
Author Topic: Available ram  (Read 333 times)
0 Members and 1 Guest are viewing this topic.
Sydney, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quick question, I am sure it is obvious for the officianardos.
In the standard IDE, version 0022, how do I know if I am using too much ram, or if I am about to run out ?
The compiler output tells you how much code is used and the avaialble size, I would assume the ram is as important.
Is there a way to see the memory map ?

Thanks
Tim
Logged

Leeds, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 134
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It requires things to be done at runtime I believe - try this link.

When you use too much RAM I have found that random things happen - sometimes it will work, sometimes it won't, sometimes it will just reset itself back to the beginning. Seeing the actual memory in use might be possible win a debugger/simulator, maybe the one within the AVRStudio?


Edit: also check out this post on JeeLabs for a more concise rundown.
« Last Edit: August 28, 2011, 03:46:29 am by a.d » Logged

Sydney, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

a.d.
Love your work, very handy tool, works well.
Many thanks
Logged

Leeds, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 134
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If only it was my work!

Can't take the credit unfortunately smiley
Logged

Pages: [1]   Go Up
Jump to: