Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: How to monitor Atmega128 SRAM usage at runtime?

2004-08-20 by Dave VanHorn

At 06:06 PM 8/20/2004, Yang Wang wrote:

>I am using C. I am not using any dynamic memory allocation for the 
>time being, so all the internal SRAM consumption should be for the 
>stack.

The only way I know of, to check in that condition, is to clear the memory to zeroes at the start (in simulation) run the program for a while, and re-check the memory. 

> By the way, what kind of buffers are you refering to?

Any buffers that you create for serial I/O or whatever.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.