Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Question about types of uController memory

2008-04-27 by David Kelly

On Apr 27, 2008, at 10:14 AM, Graham Davies wrote:

> If you have data that you need to preserve when power goes away, a  
> good
> place for it is EEPROM.  Reading and writing EEPROM is fairly
> complicated, but there is existing software to help.  If you have more
> data of this sort than will fit in EEPROM, then you can try storing it
> in Flash along with the program, but this is really quite difficult.


IIRC FLASH is EEPROM arranged for faster bulk writes in sectors while  
classic EEPROM is writable at the byte or word level, or sometimes at  
the bit level.

In the AVR the only storage available in program space is FLASH. The  
only storage available in variable space is SRAM. EEPROM has to be  
accessed indirectly through CPU registers.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

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.