Which may not be a desirable thing for those with external memory?

One of my systems has a mega128 on board, with 32k external RAM; one of the 
problems I guess with this is that the stack must reside in internal RAM, so I 
am constantly looking for ways to utilise the XRAM. I suspect, without doing 
any real metrics, that I am severely under-utilisiing the XRAM at the moment.

Cheers,
--
Matt van de Werken
Electronics Engineer
Mining Geoscience, CSIRO Earth Science and Resource Engineering
1 Technology Ct   Pullenvale   QLD   4069
P: 07 3327 4142  F: 07 3327 4455  M: 0400 538 608
E: [email protected]
"You can't solve your problems with the same mind that created them." - Albert 
Einstein
-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Tobias Schneider
Sent: Monday, 15 March 2010 8:37 AM
To: [email protected]
Subject: Re: [avr-chat] measuring stack/heap usage

On Sun, 2010-03-14 at 23:29 +0100, Daniel Otte wrote:
> So in turn the question appears "how far does the heap go?"

Well, do you use the heap at all? I would think twice before
implementing a library which uses the heap.

I don't think that any avr-libc library functions use the heap.

So if you don't use any malloc's in your code your heap will always be 0
bytes big.

Greetings,
Tobias



_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to