Page 1 of 1

Support for 1Gbit NAND Flash

Posted: Mon Sep 16, 2019 7:51 am
by railbox
Hi Community,

Im considering now to write chip driver for SPI FLash component to be able to support external W25N01 SPI NAND Flash chip. The biggest problem I see now that this chip doesn't support sector erase command but only block erase command for 128KB.
At the end I want to setup FAT FS on it.

Will the next approach work:
1. Set wear leveling size for WL component for 128KB. Will it result for 128KB RAM usage while updating Flash?
2. In the chip driver replace sector erase command by block erase command. Unfortunately It looks like there is no way to change CMD id as they stored in HAL.

If not how else I can connect 1GBit NAND Flash?

Re: Support for 1Gbit NAND Flash

Posted: Tue Dec 10, 2019 9:54 pm
by Palonso
Hi railbox,

I'm on the same situation as you, trying to save data on an external NAND Flash SPI chip, did you manage to go further in your development?

Thanks,
P

Re: Support for 1Gbit NAND Flash

Posted: Wed Dec 11, 2019 2:52 am
by ESP_Sprite
NAND would need more work in general, as NAND flash sectors are expected to fail during the lifetime of the chip, and the flash translation layer needs to do checking and remapping. NOR needs no such thing.