Research and Implementation of the File System Based on NAND Flash

Author
HuBen
Advisor
HuXiuLin
School
Huazhong University of Science and Technology
Major
Communication and Information System
Classification
TP333 Memory
Degree
Master's thesis
Year
2011
Downloads
24
Citations
0

Request the full text

Abstract

This paper focuses on designation and implementation of NAND Flash memory management software, which is more commonly called NAND Flash file system. This software packets a NAND Flash device, and provides a standard block device interface to the upper file system based on block devices.As one of the most advanced semiconductor non-volatile memory, NAND Flash shares common manufacturing technologies and erase/write specifics with EPROM. Compared with traditional memories based on blocks, NAND Flash’s program operation must follow an erase operation to the target block; and every block’s erase/program validity is not guaranteed if the erase/program time exceeds a certain limit. So there must be a middle layer between the NAND Flash device and the file system, to take the job of memory management and interface transformation, and that is NAND Flash file system.NAND Flash file system has to provide functions such as: Flash driver, logic memory blocks mapping and remapping, block recycling, wear-leveling, data recovery. This paper mainly analysis the requirements of these functions, and the algorithms to realize them; and then, a realization of these analysis and designation, based on a practical application environment, will be made and introduced; at last, this software realization will be tested and evaluated.This NAND Flash file system runs on the platform of VxWorks embedded operational system. It provides standard VxWorks block device interface to upper DOS file system; and contains inner modules to complete the NAND Flash memory block management and block recycling. As the test result shows, the NAND Flash File System software occupies no more than 15KB ROM memories after compressed, and consumes no more than 36KB dynamic memories in running. It supports writing speed up to 1MBps, and reading speed up to 2MBps, which fully satisfies the application requirements.

Table of contents

Summary 4-5 Abstract 5-8 1 Introduction to 8-14 1.1 Flash Memory Overview 8-11 <br / > 1.2 Flash storage management software 11-13 1.3 This article Summary 13-14 Flash file system functional requirements 14-24 2.1 operating platform Overview 15-17 2.2 Flash file system external interfaces 17-18 2.3 Flash device driver 18-20 2.4 storage block management 20-23 2.5 error Recovery 23 2.6 software running scheduling 23-24 the basic algorithms analyze 24 - 30 the 3.1 management data buffer mechanism 24-27 3.2 block collection algorithm 27 3.3 shared resource scheduling 27-30 4 software Design and Implementation 30-46 4.1 NAND Flash -driven design 30-34 4.2 master boot record design 34-36 4.3 storage the management table maintenance 36-38 4.4 memory block management 38-40 4.5 blocks recycling 40-41 4.6 block device interface converter on 41-43 initialized 4.7 NFFS 43-46 5 system operation and testing 46-50 5.1 software compiled 46 -47 5.2 dynamic memory usage statistics 47-48 5.3 to read and write data efficiency test 48-50 6 Summary and Outlook 50-51 the Acknowledgements 51-52 reference 52-54

Related dissertations

  1. Flash memory card file system
    YanHang ·Beijing Jiaotong University ·2007 ·Master's thesis
  2. The Research and Implementation of Flash File System & Flash Storage Management Issues
  3. Design of fuze data acquisition system based on ARM microprocessor
  4. Design and Implementation of High-speed Mass Data Storage Systems
  5. Research and Implementation of Parallel Storage System Based on NAND Flash
    PengJun ·Hunan University ·2013 ·Master's thesis
  6. Memory Data Management Algorithm Research of Embedded System Based on NAND Flash
    XiaoZuo ·Central South University ·2013 ·Master's thesis
  7. Implementation and Optimization of Solid State Storage System via PCIe Interface
  8. Research and Design of NAND Flash Controller Based on BCH Codec
  9. Energy-Efficient Management for Memory System Based on Access Patterns of Applications
    ZhangTieFei ·Zhejiang University ·2013 ·Doctoral dissertation
  10. Reliability Consideration of Resistive Randomaccess Memory Based on ZnO Films
  11. Research on Key Technology for Solid State Drive Design
  12. Design and Fabrication of Missile-borne Image Recorder and Unit Test Device
    MengZuo ·University of North ·2014 ·Master's thesis
  13. Research on the Materials of AlxGa1-xN and AlN/GaN Grown by MOCVD and Their Devices
    ChenYiRen ·Graduate Schoo,Chinese Academy of Sciences ·2014 ·Doctoral dissertation
  14. The Research of Key Technology in the Dual-channel High Speed Data Recorder
    YanShuai ·University of North ·2012 ·Master's thesis
  15. The Research and Realization of Jacquard System and the Control Technology in the Computerized Hosiery Machine
    ZhuJianJiang ·Zhejiang University of Technology ·2012 ·Master's thesis
  16. Design of Imaging Sonar Data Acquisition and Storage System Based on NAND Flash
    LiuZuo ·Harbin Engineering University ·2012 ·Master's thesis
  17. A Research on the Sanitization Technology for Data in NAND Flash
  18. Research on Reconstructing YAFFS2Files from NAND Flash Images
    ZhuNing ·Zhejiang University ·2012 ·Master's thesis
  19. The Design of Encryption System Based on Electronic SMT Virtual Manufacturing Software
    ZhanMingTao ·Southwest Jiaotong University ·2012 ·Master's thesis
  20. Based on the C~*Core~ (TM) FLASH controller design for RISC CPU
    ZhuChunTao ·Fudan University ·2011 ·Master's thesis