Support for 1Gbit NAND Flash

railbox
Posts: 1
Joined: Mon Sep 16, 2019 7:43 am

Support for 1Gbit NAND Flash

Postby railbox » Mon Sep 16, 2019 7:51 am

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?

Palonso
Posts: 95
Joined: Tue Sep 24, 2019 8:43 pm

Re: Support for 1Gbit NAND Flash

Postby Palonso » Tue Dec 10, 2019 9:54 pm

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

ESP_Sprite
Posts: 9022
Joined: Thu Nov 26, 2015 4:08 am

Re: Support for 1Gbit NAND Flash

Postby ESP_Sprite » Wed Dec 11, 2019 2:52 am

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.

Who is online

Users browsing this forum: No registered users and 193 guests