Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Writing to FLASH from RAM

2004-11-23 by Robert Adsett

At 08:42 PM 11/23/04 +0000, you wrote:
>I take 10000 readings a seconds... therefore writing time for each
>int has to be <0.1ms, hopefully <0.05ms.

Well flash won't do it, too slow and as Gus pointed out it wears out too 
quickly.

A couple of options

- Don't store everything, either detect power down and just save then or 
save periodically at a slower rate.
- Use an external non-volatile memory.  Three I can think of that might 
meet you speed and endurance requirements
     + eeprom backed SRAM (Xicor I think), Acts as sram until power down 
and then writes the RAM contents to ee
     + battery backed SRAM (A number of suppliers of integrated (tophat) 
and support chips)
     + FRAM (Ramtron)

That all assumes you are doing this continually.  The original post implies 
that but it's not entirely clear.  If this is some sort of calibration 
setup then the obvious thing to do is collect the data and store it as 
separate steps.

The real keys to this is how often do you need to do it and how much are 
you storing, not how long does it take.  The how long feeds into other, 
more subtle, considerations like how long must you have power after it has 
been switched off.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

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.