Menu

Tree [r1] /
 History

HTTPS access


File Date Author Commit
 LICENSE 2013-06-25 laizhefeng [r1] head version
 NOTICE 2013-06-25 laizhefeng [r1] head version
 README 2013-06-25 laizhefeng [r1] head version
 drv.c 2013-06-25 laizhefeng [r1] head version
 drv.h 2013-06-25 laizhefeng [r1] head version
 ecount.c 2013-06-25 laizhefeng [r1] head version
 ecount.h 2013-06-25 laizhefeng [r1] head version
 hcache.c 2013-06-25 laizhefeng [r1] head version
 lpmap.c 2013-06-25 laizhefeng [r1] head version
 lpmap.h 2013-06-25 laizhefeng [r1] head version
 main.c 2013-06-25 laizhefeng [r1] head version
 nio.c 2013-06-25 laizhefeng [r1] head version
 nio.h 2013-06-25 laizhefeng [r1] head version
 partition.txt 2013-06-25 laizhefeng [r1] head version
 scache.c 2013-06-25 laizhefeng [r1] head version
 yanftl.h 2013-06-25 laizhefeng [r1] head version
 yanftl.vcproj 2013-06-25 laizhefeng [r1] head version

Read Me

yanftl, yet another nand flash translation layer.

I write this code couple years ago, now I cut it out for an independent project,
hopping it will help people to understand what a FTL is and how to design it.

This project is not test enough, if you want to use it in you onw project,
I am glad to help, please feel free to contact LaiZhefeng@gmail.com.

main.c: file system called api and test code.
scache.c: software cache.
hcache.c: hardware cache, nandflash block is handle as data-block and cache-block.
lpmap.c: logical-physical mapping.
ecount.c: erase-counter table, this is for static wear-leveling.
nio.c: middle driver layer.
drv.c: driver layer(only win32 simulation is provided).

More informatin see partition.txt.

yanftl.vcproj is the project file build with Microsoft Visual Studio 2005.
It will create a 1G bytes file to simulate the nand flash.