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: Andy Warner
Subject: Re: [avr-gcc-list] Reading block from EEPROM ?
Date: Mon, 10 Oct 2005 08:50:16 -0500
User-agent: Mutt/1.2.5i

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.
-- 
address@hidden

Andy Warner             Voice: (612) 801-8549   Fax: (208) 575-5634




reply via email to

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