Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Read/Write AVR Flash ROM during runtime

2004-05-05 by Kathy Quinlan

Zheng Anding wrote:

> But EEPROM is only 4K even for Mega128. I need larger space to store my 
> data. The flash rom comes with Mega128 is 128K and far more than enough 
> for my program. That's why I'm looking for a way to store these data 
> into flash rom.
> 
> */David VanHorn <dvanhorn@cedar.net>/* wrote:
> 
>     At 10:44 AM 5/4/2004 -0700, Zheng Anding wrote:
> 
>      >Hi,
>      >
>      >Anybody has experience with AVR Read/Write Flash ROM during
>     runtime? I want to store some data on some kind of media without
>     power supply during runtime and load them when power's up.
> 
> 
>     I'm not sure exactly what you're looking for here.
> 
>     EEPROM is generally where you would store variables that you want
>     retained without power.
>     Set the EEPROM address pointer to zero when you aren't using it, and
>     don't use EEPROM address zero for any real data.  Other than that,
>     use as per the data sheet.

Well then you will have to add external EEPROM. If you use an SPI one 
you only need 3 port pins on the AVR.

Regards,

Kat.

-- 
---------------------------------------------------------------
K.A.Q. Electronics	Website: www.kaqelectronics.dyndns.org
IM: Yahoo: PinkyDwaggy  MSN: katinka@kaqelectronics.dyndns.org
For Everything Electronics     Phone: 0419 923 731
---------------------------------------------------------------

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.