Yahoo Groups archive

AVR-Chat

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

Message

Question about types of uController memory

2008-04-27 by davec

Hi,
The Atmel AVRs I plan on programming have 3 types of memory: SRAM, 
Flash, and EEPROM.

I understand that SRAM contents goes away with power, so flash and 
EEPROM are preferable for "permanent" storage. And I presume when 
development time ends it's advisable to load the program into flash?

When and why is it advisable to make use of these different types of 
memory? Is one better to keep constants in (EEPROM)?

Some ideas, please, to best utilize all memory at my disposal.

Specifically, I'm looking at the ATmega8, ATmega816, and ATtiny13 as 
targets for my development.

Thanks,
Dave

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.