Application and Research of NandFlash in Embedded System

Author
HuJinXia
Advisor
FuXiuFen
School
Guangdong University of Technology
Major
Applied Computer Technology
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2008
Downloads
244
Citations
3

Request the full text

Abstract

With the broad application of intelligent electronic devices, mobile pocketable devices and various special devices, and the development of the embedded CPUs and the embedded hardware/software technologies, the technologies of embedded system has became a heating research topic. Especially, as the technology of the embedded system has been applied in all kinds of consumed electronic products, the restoring and management of data in the embedded system has become an important research subject. The Flash memorizer is of higher speed, huge capacity, small size, tiny power consumption and lower cost, so it’s widely used as assistant memory in the embedded system.The paper analyzes the currents study of NandFlash memory, discuss function characteristic of NandFlash and study the technology of data storage and management in embedded system. NorFlash and NandFlash are two prime non-volatile memorizers in the market now. At first, NandFlash is designed to store data and NorFlash is designed to boot the system and to load read only codes which are accessed with high speed. The paper researched the current bootloader based on embedded system, put forward multi-step booting technique which completes loading from NandFlash. We have also solved the problem of bad block management of storing booting codes on NandFlash and the problem of remapping interrupt vector of multi-step booting.Secondly, this dissertation will discuss the standard reliable FS which is used in the embedded system based on the technique of NandFlash MTD. After pointing out the problems of wear levelling, bad block management and recovery after crash, I will introduce the architecture and the design of the traditional MTD method, and analyze in particular the theory and limitation of the traditional method. At last, I shall provide an improved Banked-Sets MTD method, and explain the theory and improved points of the new Banked-Sets MTD method.According to the characteristics of NandFlash, this article puts forward the strategy of wear leveling based on the heap-sort method, bad block management of remapping address based on block, and recovery after crash of double mapping at writing. The improved method is able to largely reduce the operation of erasing blocks and moving the insignificant data between two different blocks, the two operations requiring a long time to take, especially for MLC NandFlash. Therefore, the improved MTD method will obviously increase the efficiency of accessing data by FS.At last, after completing the designing, implementing, testing, analyzing and comparing the result, we can determine that the improved MTD method is nearly the same as the traditional MTD method in terms of its capacity of accessing big files. However, in the case of writing a large number of small files, the improved MTD method will have an accessing speed about 4 times to 10 times quicker than the traditional MTD method according to the size of the small file. The new MTD method even has a better effect than traditional MTD method in terms of the reading speed.At last there is a summary of this paper, and the future work that will be done is pointed out.

Table of contents

Abstract 4-5 ABSTRACT 5-7 directory 7-10 CONTENTS 10-13 first chapter 13-17 the research 1.1 Background 13 1.2 research significance 13-14 1.3 research 14-15 1.4 of this article organizational structure 15-16 1.5 This chapter Summary 16-17 Embedded System Overview 17-23 2.1 embedded systems defined 17 2.2 embedded system hardware and software features 17-18 2.3 embedded operating system 18 2.4 Embedded Processor 18-20 2.4.1 embedded processor classification 19 2.4.2 ARM processor 19-20 2.5, embedded applications 20-21 2.6 This topic research platform 21-22 2.6.1 hardware platforms 21-22 2.6.2 software platforms 22 2.7 This chapter Summary 22-23 the embedded memory system of Chapter III and NANDFLASH 23-31 the the 3.1 embedded memory system 23-24 3.2 embedded volatile memory 24 3.2.1 SRAM 24 3.2.2 SDRAM 24 the the 3.3 embedded non-volatile memory 24-25 3.4 NorFlash and the NandFlash comparative analysis 25-27 3.5 NandFlash memory works 27-29 3.5.1 NandFlash composition 27-28 3.5.2 NandFlash operating instructions 28-29 3.6 MLC and SLC-type NandFlash and 29-30 3.7 This chapter Summary 30-31 Chapter NANDBOOT technology improvement 31-39 4.1 bootloader foundation 31 4.2 bootloader mode of operation 31-32 a 4.3 NorFlash the boot process 32-33 4.4 NandBoot design 33-38 4.4.1 NandBoot overall design 33 4.4.2 NandBoot address planning and design 33-34 4.4.3 three boot process 34-35 4.4.4 to interrupt remapping 35-36 4.4.5 bad block management 36-38 4.5 of this chapter Summary 38-39 Chapter of the MTD research and improvement of NANDFLASH 39-56 5.1 MTD basic architecture analysis 39-40 5.2 traditional MTD algorithm 40-46 5.2.1 address remapping blocks 41-42 5.2.2 write double mapping 42-43 5.2.3 writing process analysis 43-45 5.2.4 reading process analysis 45-46 5.2.5 startup process analysis 46 5.2.6 traditional MTD algorithm Summary 46 5.3 FATFS characteristics and its to NandFlash impact 46-49 5.3.1 FAT file system structure 46-47 5.3.2 FAT file system access characteristics 47-48 the 5.3.3 FATFS problems faced in traditional MTD 48-49 5.4 improved the MTD algorithm is designed 49-54 5.4.1 MTD grouping stack algorithm 49-51 5.4.2 writing process analysis 51-52 5.4.3 reading process analysis 52-53 the the 5.4.4 blocks merger process analysis 53 5.4.5 startup process analysis 53-54 5.4.6 Improved MTD algorithm Summary 54 5.5 This chapter Summary 54-56 Chapter VI the MTD improved results and analysis 56-64 6.1 module is divided 56-58 a 6.2 associated data structure 58-60 6.2.1 OOB structure 58-59 6.2.2 mapping table, group and layer structure 59-60 6.3 test data 60-62 6.4 improved results 62-63 6.5 This chapter Summary 63-64 Summary and Outlook 64-65 the References 65-67 during the degree to participate in the research projects and published papers 67-69 Acknowledgements 69

Related dissertations

  1. Effect of MTD on the steel market price changes and the Countermeasures
    GuoMei ·Nanjing University ·2012 ·Master's thesis
  2. High-speed Data Non-volatile Storage Technology Research Based on FPGA
  3. Design and implementation of FPGA radar clutter suppression technology based on
  4. Research on signal processing of MIMO radar based on the phase coding
  5. Research on the reliability of high speed mass image data storage
  6. Design and Implementation of a Surface Surveillance Radar Signal Processor
  7. Technology research on adaptive processing of MIMO radar non
  8. Research on Target Detection Technique in Clutter Environment
  9. Research on Long-strip Multi-gap Resistive Plate Chamber
    ChenHuangShan ·Tsinghua University ·2012 ·Master's thesis
  10. Phase Ⅰ Clinical Trial of Rh-Apo2L and Apo2L-Related Experimental Study
    ZhouShengYu ·Peking Union Medical College , China ·2006 ·Doctoral dissertation
  11. Study on the Preparations and Applications of Several Important Zeolite Materials
    WangJing ·Fudan University ·2008 ·Doctoral dissertation
  12. Clinical Evaluation of the Safety and Efficacy of Hv for the Treatment of Patients with SCA3/MJD
    LeiLiFang ·Central South University ·2011 ·Doctoral dissertation
  13. Radar signal processing system design and FPGA implementation
  14. Research on File System of Multifunctional Information Interaction Terminal in Networked Manufacturing
    LiJie ·Chongqing University ·2007 ·Master's thesis
  15. The Design and Practice of Embedded Linux File System
    WuZuo ·Suzhou University ·2003 ·Master's thesis
  16. The Implementation of Log-Structure File System on Embedded System
    SuHuaLong ·Shanghai Jiaotong University ·2007 ·Master's thesis
  17. The Design and Implementation of Block Device in Personal Mobile Terminal Base on Embedded Linux
    ZongZhiGang ·Southeast University ·2005 ·Master's thesis
  18. The Reserch and Development of the Embeded Linux Based on ARM9
  19. The Study of Moving Target Detection Methods for Single Channel SAR Data
    NiuXiaoFeng ·Institute of Electronics ·2006 ·Master's thesis
  20. FPGA-based radar signal processing system design