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