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

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

Re: [avr-gcc-list] Reading block from EEPROM ?


From: Vincent Trouilliez
Subject: Re: [avr-gcc-list] Reading block from EEPROM ?
Date: Mon, 10 Oct 2005 21:48:58 +0200

On Mon, 2005-10-10 at 08:50 -0500, Andy Warner wrote:
> Bernard Fouché wrote:
> > [...]
> > Check that avrdude is told not to erase the eeprom before reflashing 
> > (the default value for flash/eeprom for unset memory is 0xFF). I guess 
> > your problem is coming from that and not single byte/block read. I don't 
> > remember the correct avrdude option at the moment however.
> 
> This may not be an avrdude problem, per se - but double
> check the value of bit 3 of the high fuse byte. This
> controls whether eeprom contents are preserved/cleared
> during a chip erase. Default value says erase the eeprom.
> See page 255 of the Mega32 manual.


Thanks chaps, I modified the high fuse byte appropriately, and all seems
well now, my EEPROM data is not lost every time I program the chip
anymore, yahoo... :-)



--
Vince





reply via email to

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