Looking for the latest version? Download yanftl-0.0.1.rar (45.3 kB)
Home
Name Modified Size Downloads / Week Status
Totals: 2 Items   46.2 kB 6
yanftl-0.0.1.rar 2013-06-25 45.3 kB 55 weekly downloads
README 2013-06-25 886 Bytes 11 weekly downloads
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.
Source: README, updated 2013-06-25