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 lpc2100_fan

Hello Varuzhan,

the document you are looking for is the Users Manual of the device you
are working with. As an example the UM for the LPC2114/2124/2212/2214
can be found here:  (big file)
http://www.semiconductors.philips.com/acrobat_download/usermanuals/UM_LPC2114_2124_2212_2214_2.pdf
IN chapter 19 you can find all the commands used by either ISP or IAP
programming. ISP (In System Programming) is used at startup of the
device, IAP (In Application Programming) is called by your application
code. Pages 224-239 provide a detailed list of options for programming
the flash. 

I would highly recommend to use existing utilities that you can
download from Philips for programming your initial program into the
flash. 

Cheers, Bob


--- In lpc2000@yahoogroups.com, "varuzhandanielyan" <dan@x> wrote:
> 
> 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.