Yahoo Groups archive

Lpc2000

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

Message

Re: Writing to FLASH from RAM

2004-11-23 by Gus

ops I was thinking .1S... you mean .1mS!!! therefore (even if flash 
was fast enough. IT IS NOT) you will basically kill the chip in 10 
seconds.

How much data are you saving? you can use 512 MB MMC card and save 
the new data without deleting the old ones till needed! Again, it 
depends on how much data is going there.

--- In lpc2000@yahoogroups.com, "firegenie1980" <firegenie1980@y...> 
wrote:
> 
> I take 10000 readings a seconds... therefore writing time for each 
> int has to be <0.1ms, hopefully <0.05ms.
> 
> --- In lpc2000@yahoogroups.com, "Gus" <gus_is_working@y...> wrote:
> > 
> > a quick comment! You are saving to flash 10 times every second; 
> > therefore, you can do 10,000 seconds (FLASH life is 100,000 
> erases, 
> > I think). 10,000 seconds = about 3 hours!!!
> > 
> > Is that right or I didn't really understand it?
> > 
> > --- In lpc2000@yahoogroups.com, "firegenie1980" 
> <firegenie1980@y...> 
> > wrote:
> > > 
> > > Hi,
> > > 
> > > Im trying to write a value, actually a large array of 8-bit 
> > > integers, from RAM to FLASH so that I can access this array 
> after 
> > > the power has been removed and re-applied at a later date.
> > > 
> > > The values from the array will be either:
> > > 
> > > A: Wrote to RAM then copied straight into FLASH during each 
> pass. 
> > > This will require the process to take less than 0.05ms as the 
> > > function that produces the values is called every 0.1ms.
> > > 
> > > B: Totally filled up, then copied over to FLASH some other way 
> if 
> > a 
> > > speed of 0.05ms is unobtainable. Probably over-running my tick 
> > > interval.
> > > 
> > > If anyone has any useful information on this it would be very 
> much 
> > > appreciated. This is my first time using the FLASH memory 
> directly 
> > > and so I'm very much in the dark on this one! I know I need to 
> set 
> > > up an area of FLASH for this array, but how to do this and how 
> to 
> > > access it is a mystery to me, and I am finding it hard to find 
> > > examples on the internet that might help me.
> > > 
> > > Thanks,
> > > 
> > > FG

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.