Sorry I missed one point...
On Tuesday 12 September 2006 11:17, Andre Renaud wrote:
> I assume that a similar method has to be taken when people use YAFFS
> with NOR flash (as has been mentioned in the list).
People using YAFFS on NOR do this by keeping power-of-2 page sizes.
For example, take a 64k block uses as pages of 512 data bytes + 16 oob bytes
(528 in total). We can configure yaffs to see this as 64k/528 = 124 pages of
512+16.
The above can be done in two ways:
1) Keep the all data pages in one area of the block (ie. on 512byte
boundaries) and all "oob" in another.
2) Co-locate the data and "oob" in chunks of 528 bytes.
These stretegies work fine for most NOR, but this won't work for memory where
you can only write whole pages.
YAFFS handles non-power-of-2 numbers of pages fine, but currently expects the
data page to be power-of-2 in size.
-- Charles