Read/Write AVR Flash ROM during runtime
2004-05-04 by Zheng Anding
Yahoo Groups archive
Index last updated: 2026-04-28 22:41 UTC
Thread
2004-05-04 by Zheng Anding
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
2004-05-04 by David VanHorn
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.
2004-05-05 by Zheng Anding
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. Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AVR-Chat/ To unsubscribe from this group, send an email to: AVR-Chat-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs
2004-05-05 by David VanHorn
At 05:32 PM 5/4/2004 -0700, 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. Ok, you didn't mention the size issue, or that you were using a mega128. Another key question might be how fast you need to write the data.
>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. > > > > >Do you Yahoo!? ><http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/hotjobs_mail_signature_footer_textlink/evt=23983/*http://hotjobs.sweepstakes.yahoo.com/careermakeover>Win a $20,000 Career Makeover at Yahoo! HotJobs >Yahoo! Groups Sponsor >ADVERTISEMENT > > >---------- >Yahoo! Groups Links > * To visit your group on the web, go to: > * <http://groups.yahoo.com/group/AVR-Chat/>http://groups.yahoo.com/group/AVR-Chat/ > * > * To unsubscribe from this group, send an email to: > * <mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=Unsubscribe>AVR-Chat-unsubscribe@yahoogroups.com > * > * Your use of Yahoo! Groups is subject to the <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
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 ---------------------------------------------------------------
2004-05-05 by Zheng Anding
Actually I did some research and found out this doc could be helpful for me. http://www.atmel.com/dyn/resources/prod_documents/doc2546.pdf Kathy Quinlan <kat-yahoo@kaqelectronics.dyndns.org> wrote: 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 --------------------------------------------------------------- Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/AVR-Chat/ To unsubscribe from this group, send an email to: AVR-Chat-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs