Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Saving configuration in internal EPROM!

2005-12-26 by Dave Hylands

Hi,

> Now i'm confused, what's the difference between EPROM and FLASH?
> FLASH is used for to store the program, and EPROM is used for data,
> is that correct?
> If I need to store a string of 9 bytes (configuration), what is
> better to use?

Your program exectes out of flash and can't execute out of eeprom

flash is erased in pages. In order to rewrite a single byte, you need
to read te page into RAM, modify your byte, erase the page, and then
write the whole page back out

eeprom can be reprogrammed one byte at a time.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

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.