Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Partial Flash Programming (ctd)

2004-12-09 by Bill Knight

Maybe I was sleeping when this changed so please let me know if
I am wrong.  For the LPC, shouldn't the block size be 512 bytes
and the sector size either 8K or 64K bytes instead of a block size
of 128 bits and a ??? size of 4K???

Confused a bit
-Bill Knight
http://www.theARMPatch.com



On Thu, 09 Dec 2004 07:25:17 -0000, philips_apps wrote:



Hi Al,

even changing some bits from 1 to 0 would generate a wrong reading.
The LPC2000 devices have an error correction  ECC mechanism build in.
 This is part of the flash and will be written the first time (after
erasing) the block of 128-bits is programmed. Any changes thereafter
will result in reading garbage because the ECC mechanism will try to
correct anything changed after the initial write.

The idea was to write one 128-bit block after the other, NOT writing
the same 128-bit block several times. This is possible 16 times within
a 4k block. So 16 writes to 16 different sections of 128-bit each
within a 4k block, then erase the 4k block.

Hopefully this clarifies this issue a little more.

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.