Yahoo Groups archive

AVR-Chat

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

Message

Noob question re. various on-chip memory use

2013-01-10 by Dave C

New member here. New to AVR but experienced (long ago) in Mot' 68K assembler, and all things electronic.

The AVRs come with 3 basic different types of memory: Flash, EEPROM, and SRAM. I'm familiar with the technical differences between these, but not clear on what each of these is used for when writing a program for the AVR. 

I presume (because of the largest size) FLASH is where the program code is (downloaded to and) stored. But what, typically, is the EEPROM (ie, 512 bytes) is used for? I presume the SRAM is used for storing temporary parameters, data, etc. 

Looking forward to getting the hands "dirty" in asm again! 

Cheers,
Dave
San Jose, CA USA

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.