Yahoo Groups archive

AVR-Chat

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

Message

Re: Question about types of uController memory

2008-04-28 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, David Kelly <dkelly@...> wrote:
> On AVR one doesn't have that control, the entire byte is  
> erased as part of the write.
On some new AVRs (e.g. ATmega644) you can separate the erase and write
process.  This allows you to code your EEPROM writing routine to erase
if the value is being set to 0xff, perform only the write function if
the bits that are changing are being cleared, or perform both the
erase and write.  The advantage of this tactic is that the operations
take varying amounts of time.

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

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.