avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Problem reading from EEPROM


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Problem reading from EEPROM
Date: Tue, 15 Jul 2003 09:53:40 +0200 (MET DST)

"Jack Valmadre" <address@hidden> wrote:

> I am thinking of using EEPROM variables later in my program, if you
> could tell me how you prevented the EEPROM erasing when you loaded
> the program on to the chip, that'd be a great help [...]

For the older AT90Sxxx (and ATmega130, IMHO) chips, you're at a loss.
You have to reprogram your EEPROM after each chip erase.

For the newer ATmega chips, there's a fuse that says whether a chip
erase should also erase the EEPROM (EESAVE).  The default is so that
it's backwards compatible (EESAVE is not set).
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]