Yahoo Groups archive

Lpc2000

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

Message

Re: user data storage

2005-11-22 by gen_4p

Thanks a lot Joel,

well, I missed those 400ms for sector erase - bad news for me.
Then, may be I can use another way:
- on power-up load user data to RAM (also duplicating in external
  serial flash ?)
- erase user data sectors in on-chip flash. At this point time to
  erase is not that critical
- during operation update user data in RAM only
- on power-down use VDD delay to store RAM user data array in on-chip
  flash

Gennady

> > 2. Update data only in RAM. On power-down create sufficient VDD 
delay
> > and store the whole RAM user data array to the on-chip flash. Not
> > sure how long storing of 2K of data will take. And I believe that
> > according to one of the previous discussions I can write data to 
the
> > on-chip flash providing interrupts are disabled (?)
> 
> There are some notes when using IAP on page 294 of the LPC214x user 
manual.
>  
> > 3. Update data in RAM and in on-chip flash on a fly. As far as I
> > understand, there is no byte-write provision for flash in lpc, so 
I
> > will need to save a page - 256 bytes. The question here is, of
> > coarse, time to store a page, and, second - flash endurance. How 
many
> > times can I write to the flash (I couldn't find information on 
that)?
> 
> Page 6 of the LPC214x user manual:
> " The LPC2141/2/4/6/8 Flash memory provides minimum of 100,000 
erase/write
> cycles and 20 years of data-retention."
> 
> This is a demo posted by Phillips apps that you might be interested 
in:
> http://groups.yahoo.com/group/lpc2000/files/EE_demo.zip 
> 
> 
> Joel
>

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.