Yahoo Groups archive

Lpc2000

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

Message

Writing to FLASH from RAM

2004-11-23 by firegenie1980

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.