Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Partial Flash Programming (ctd)

2004-12-08 by Robert Adsett

At 05:59 PM 12/8/04 +0000, you wrote:
>Concerning Philips Apps' post on Partial Flash Programming I
>understand lpc flash memory can be updated 128 bits (minimum) at a
>time, and that a each 4K area can be written 16 times (max).
>
>(http://groups.yahoo.com/group/lpc2000/message/2681)
>
>However, I'm currently having trouble updating 128-bit (quadword
>aligned) locations in flash memory. The first write always
>show up OK (as long as the location has all 1's), but on the 2nd
>write (on the same location) results in some bit(s) not displaying
>correctly.
>
>Is it possible for me to re-write a 128-bit (quadword aligned) flash
>locations? Or must I erase the flash location first? I can do the
>second question, but I'm a little confused about how often flash
>bits can change without an erase.

As I read that each 128 bit section can only be written once since a 
rewrite to change any bits would also change the ECC and since in that case 
some of the ECC bits are very likely to need to change back to a 1 state 
you are rather out of luck.

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.