Quote:
Originally Posted by twobob
excellent thoughts.
|
I added an edit to the quoted post to clarify the erase block misalignment problem. It is worth reposting here too:
Quote:
EDIT: What I did not make clear is that each block gets erased and rewritten TWICE when misaligned. Each erase block gets a read/erase/write for the tail end of an overlapped data block, plus ANOTHER read/erase/write for the beginning of the next overlapped data block. Alignment can eliminate not only ALL reads, but also a much slower extra erase and write. It can more than double the speed even when rewriting ALL blocks, compared to misaligned writes.
|
Of course, it is better to read and compare first, and NOT write blocks that already contain the desired contents.