Research on the NAND Flash File System of the Embedded System

Author
ZhangXiaoPing
Advisor
WangQingSheng
School
Taiyuan University of Technology
Major
Computer Software and Theory
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2010
Downloads
183
Citations
1

Request the full text

Abstract

Embedded systems because of its own particularity requirements of embedded storage devices must be small size, and low power consumption, energy shock, obviously the traditional storage media such as disk does not have these features, so they are not suitable for use in embedded system. Low cost Flash memory, large storage capacity, small size, low power consumption characteristics, compared to the same disk, it is more suitable for the storage of data in embedded systems, has become the preferred storage medium for embedded mobile storage platform. With embedded technology continues to evolve and increasingly wide range of applications, embedded systems, data storage and data management requirements increasing in recent years, emerging embedded file system for Flash memory, roughly divided into three categories: First, based block device embedded file system, such as FAT32 and Ext2 second is the a generic embedded file system, such as JFFS series, Third dedicated embedded Flash file system, such as YAFFS series. First class of embedded file system is actually a disk block device file system ported to Flash memory; embedded file system abandoned this idea, designed specifically for Flash memory file system, either in NOR Flash to run on the same time you can run in the NAND Flash; third type of file system is designed specifically for NAND Flash File System. The three types of file systems on behalf of the three stages of the development of embedded file system, each stage than the first stage With no small progress, but there are still many inadequacies embedded NAND Flash-based file system, such as load time too long, consider wear leveling inadequate. For the inadequacies of the NAND Flash File System, this paper proposes ways to improve. (1) existing NAND Flash File System, a flash erase block at the same time save the file attribute information and data information, load to block-by-block scan, to determine those attributes block load time with storage capacity increases. Change management settled point of this thesis, the file attribute information and data are stored in different erase block, erase block attribute information is stored either in, or the data stored in information, loading scan only store attribute information erase block, thereby reducing the load time of the file system; (2) existing NAND Flash File System for static data is not good wear leveling, this thesis, the idea of ??hot and cold data erase block classification management, frequently modify the attribute node and read-only or rarely modified data (static data) while achieving wear leveling. According to the above-mentioned method, based on existing YAFFS file system, designed a new file system MFFS (Modified Flash File System). Tested and theoretical analysis showed, MFFS performance in load time and wear leveling than YAFFS improved to varying degrees. The theoretical analysis, after all, have to consider comprehensive the MFFS file system is actually able to achieve the desired effect, it further experimental verification that this article do lack. Realization of MFFS paper to reduce the loading time of the file system and extend the life of NAND flash memory has a certain significance.

Table of contents

Abstract 3-5 ABSTRACT 5-10 first chapter 10-14 the 1.1 research background and significance 10 1.2 Research 10-12 1.2.1 free embedded file system 11-12 the the 1.2.2 commercial embedded file system 1.3 This paper studies and organizational structure 12-14 1.3.1 The main research work 12-13 1.3.2 papers structure 13-14 embedded file system overview 14-34 2.1 flash memory 14-19 2.1.1 NOR technology 14-15 2.1.2 NAND technology 15-16 2.1.3 AND technology 16 2.1.4 EEPROM derived technology 16-17 2.1.5 NOR and NAND technology 17-18 2.1.6 Flash hardware features 18-19 2.2 flash file system development 19-30 2.2.1 block device file system based on the translation layer 19-21 Flash File System 2.2.2 generic 21-25 2.2.3 dedicated NAND Flash File System 25-30 2.3 NAND Flash-based file system lack 30-32 2.3.1 load time 30-32 2.3.2 loss balanced 32 2.4 This chapter Summary 32-34 Chapter NAND Flash file system optimization 34-44 3.1 to reduce load time 34-37 3.1.1 file system node 34-35 3.1.2 node management improvements 35-37 3.2 optimized wear leveling algorithm 37-43 3.2.1 garbage collection and wear leveling 37-38 3.2.2 MFFS in loss the balanced design ideas 38-42 3.2.3 read-only data loss balanced 42-43 3.2.4 algorithm threshold selection analysis 43 3.3 This chapter Summary 43-44 the fourth chapter MFFS file system design 44-54 4.1 MFFS the overall structure 44-45 4.2 node design 45-52 the of 4.2.1 MFFS in the three nodes constitute 45-48 the the 4.2.2 MFFS memory data structure 48-52 4.3 MFFS API interface and NAND Flash drive interface 52-53 4.3.1 MFFS API interface 52-53 4.3.2 MFFS NAND Flash driver interface 53 4.4 This chapter Summary 53-54 Chapter of experimental design and performance testing 54-64 5.1 test platform 54-56 5.1.1 the S3C2440A chip introduced 54-56 5.1.2 FL2440 development board configuration parameters 56 the YAFFS 5.2 performance testing and MFFS of theoretical analysis 56-63 5.2.1 YAFFS load time test 56-60 5.2.2 MFFS load time theoretical analysis 60-61 5.2.3 YAFFS loss balancing test 61-63 5.3 This chapter Summary 63-64 Chapter VI Conclusion 64-66 6.1 Conclusion 64-65 6.2 Looking 65-66 the References 66-68 Acknowledgements 68-70 the pursuing degree during the academic catalog 70

Related dissertations

  1. Design and Implementation of Embedded File System Based on NAND Flash
    WangJian ·Beijing Jiaotong University ·2008 ·Master's thesis
  2. Study on Nand Flash File System of the On-board Data Recorder
    MengJun ·Beijing Jiaotong University ·2008 ·Master's thesis
  3. The Design of NJFS: A Journaling NAND Flash System Optimized for Embedded GIS System
    XuZuo ·Zhejiang University ·2004 ·Master's thesis
  4. Research and Implementation of Embedded File System Based on NAND Flash
  5. Encryption U disk storage management Research and Implementation
    ZhuNianHao ·Shanghai Jiaotong University ·2009 ·Master's thesis
  6. Research on Storage Management and Error Control Technology of Solid-state Disk
  7. The Research of NAND Flash Memory-based Embedded File System
    HuJun ·Zhengzhou University ·2011 ·Master's thesis
  8. Research on Wear Leveling Strategy of Satellite Multi-Chip Flash Memory
    DaiZuo ·Zhejiang University of Technology ·2011 ·Master's thesis
  9. Design of fuze data acquisition system based on ARM microprocessor
  10. The design of file system for embedded data acquisition device
  11. Design and Implementation of High-speed Mass Data Storage Systems
  12. Research and Implementation of Parallel Storage System Based on NAND Flash
    PengJun ·Hunan University ·2013 ·Master's thesis
  13. Memory Data Management Algorithm Research of Embedded System Based on NAND Flash
    XiaoZuo ·Central South University ·2013 ·Master's thesis
  14. Implementation and Optimization of Solid State Storage System via PCIe Interface
  15. Research and Design of NAND Flash Controller Based on BCH Codec
  16. Research on Key Technology for Solid State Drive Design
  17. Design and Fabrication of Missile-borne Image Recorder and Unit Test Device
    MengZuo ·University of North ·2014 ·Master's thesis
  18. The Research of Key Technology in the Dual-channel High Speed Data Recorder
    YanShuai ·University of North ·2012 ·Master's thesis
  19. 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
  20. Design of Imaging Sonar Data Acquisition and Storage System Based on NAND Flash
    LiuZuo ·Harbin Engineering University ·2012 ·Master's thesis