Hello


On Thu, Dec 21, 2017 at 11:22 PM, Bettega Stefano <stefano.bettega@tiscali.it> wrote:
Hello,
we have a system with a 512 bytes NAND page.
This NAND has to be exchanged with another one, becausa it's obsolete.
The new NAND has a 2kb page size.

I would strongly recommend switching to Yaffs2 because that is likely to perform better. The Yaffs2 codebase still supports the Yaffs1 mode of operation if you want to try that.

Is it possible to only adapt the low level driver and still use yaffs1 instead of switching to yaffs2? Does yaffs1 support 2kb page, ecc and 64byte spare area?

You're going to hate this, but it depends.... What flah part are you using? Some can work with yaffs1 mode and some not.

If the flash supports it (eg. partial page writing) then you can just treat 2k pages like 4x512-byte pages.

If you give me a part number I can give you some further indications.

Regards

Charles