fatfs works on Nand Flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fatfs works on Nand Flash

4,682 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by e135193 on Sun Sep 30 05:18:45 MST 2012
Hello

   Does someone have the code example for LPC17xx with fatfs works on Nand Flash device ?

   Or is there a document which shows how to integrate a device driver to fatfs ?

   I want to use Nand Flash device along with File System.


Regards.
Labels (1)
0 Kudos
Reply
7 Replies

3,400 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by madD7 on Fri Jun 14 04:38:19 MST 2013

I am trying to implement the drivers for the same. Can any one provide some guidance??

0 Kudos
Reply

3,400 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yraeisi on Sun May 19 08:20:22 MST 2013

HI all


I want to use keil Rl-Flash file system for nand flash(K9F1G08U0C).


have any one a sample for nand flash and RL-FlashFS?

0 Kudos
Reply

3,400 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by e135193 on Mon Oct 01 03:49:54 MST 2012
Isn't there a way to implement paralell NOR device driver in the fatfs ?


Regards.
0 Kudos
Reply

3,400 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wmues on Mon Oct 01 02:27:55 MST 2012
Using fatfs on NOR flash will not work.

a) fatfs has no wear leveling.

b) fatfs lacks the concept of erase blocks. The SST39VF3201 has an erase block size of 4KBytes, which is more than the 512 Bytes FAT sector size.

0 Kudos
Reply

3,400 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by e135193 on Sun Sep 30 11:23:11 MST 2012
Hello

  Then, does someone have the fatfs works on paralell NOR flash device like SST39VF3201. I will use EMC of LPC1788.
0 Kudos
Reply

3,400 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wmues on Sun Sep 30 07:15:09 MST 2012
If you use NAND flash, you have to use a NAND flash file system. YAFFS or JFFS2. Or UBI/UBIFS. Or UFFS.

A FAT file system is not usable on NAND because of lack of wear leveling and bad block handling.

Using a bare NAND flash is a complex, error-prone and time-consuming task.

You may look into serial NOR flash and a NOR flash file system (Spansion FFS).

Or if you have a lot of data to store: use a SD card.
0 Kudos
Reply

3,400 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by e135193 on Sun Sep 30 05:47:07 MST 2012

I will use LPC1788 and It's External Memory Controller (EMC).
0 Kudos
Reply