Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Usage of the Flash as Data EEPROM

2004-12-28 by varuzhandanielyan

There are cases, when some data, like node address or hardware 
dependent constants, should be reprogrammed only several times during 
the whole system life.  And if there is a free flash, why do not use 
it, instead of an external EEPROM?  My question is just about such a 
case.
Except the flash programming examples, which I still need, maybe one 
can reference me to a document, where is a detailed description of 
commands, needed for it. 

Varuzhan

--- In lpc2000@yahoogroups.com, "Gus" <gus_is_working@y...> wrote:
> 
> that doesn't mean you can use it as EEPROM!!! on an EEPROM you can 
> rewrite one byte, but on flash, you have to erase a full sector in 
> order to rewritre a byte. so, if you are changing full sectors of 
> data then yes you can use it but if you are changing multiple bytes 
> an deverytime you change a byte you arase a sector you can ware it 
> out quickly.
> 
> I guess the answer would depends on how many times you need to 
erase 
> a sector in your product life cycle
> 
> Gus
> --- In lpc2000@yahoogroups.com, "varuzhandanielyan" <dan@x> wrote:
> > 
> > In the new data sheet for LPC2129 one can see, that minimal
> > write cycles is 100,000 as many as of the data EEPROM of many
> > microcontrollers.
> > 
> > Varuzhan
> > 
> > 
> > --- In lpc2000@yahoogroups.com, "acetoel" <acetoel@y...> wrote:
> > > 
> > > Hello...
> > > 
> > > I also though about that, never implement ir becuase the Flash 
> has a
> > > limited cycles of life. So It's better to use an SPI, unless 
you 
> > only
> > > need to write it once (when programming), and read it when
> > > running...but it's no sense....
> > > 
> > > Bye
> > > Ezequiel
> > > 
> > > --- In lpc2000@yahoogroups.com, "varuzhandanielyan" <dan@x> 
> wrote:
> > > > 
> > > > Dear All,
> > > > 
> > > > Is there somewhere availabe an example for LPC2100 how to
> > > > use the flash for data storage? 
> > > > 
> > > > Thank you,
> > > > Varuzhan

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.