Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File system FAT (file allocation table) partition table management method based on NOR FLASH

A file system and management method technology, applied in the management field based on the NOR Flash file system FAT partition table, can solve the problems of inflexible data expansion, waste of Flash space, and non-recoverable, etc., to achieve enhanced security and reliability, and broad development space, prolonging the service life

Inactive Publication Date: 2013-02-27
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The method of specifying the start address and length of Flash has two disadvantages: first, data expansion is not flexible, if a new application appears, the data of the new application needs to be saved, and an area must be re-allocated for the new data in the program; second , a waste of Flash space, NOR Flash erase blocks are generally 64K, for a class of data with only a few bytes, it is also necessary to allocate 64K space, which will cause a waste of Flash space
However, the traditional file system only has a single FAT partition table, and the partition table modification is directly modified on the basis of the original partition table. This method is not suitable for NOR FLASH storage media, because the characteristics of NOR FLASH need to erase the entire block first, and then Write, if the system is powered off during the erasing process, the entire partition table data will be lost and cannot be recovered

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File system FAT (file allocation table) partition table management method based on NOR FLASH
  • File system FAT (file allocation table) partition table management method based on NOR FLASH

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] The method of the present invention is described in detail with reference to the accompanying drawings:

[0012] As described in the summary of the invention, the management method of the NOR FLASH file system FAT partition table mentioned in the present invention is to allocate a zone FAT partition table management area in NOR FLASH, which is divided into two parts again in this zone: the FAT partition table index area and FAT partition table area, among which the FAT partition table area can store multiple FAT partition tables, see the attached figure 1 And attached figure 2 . First, create an initial file system partition table at position 0 of the FAT partition table, and at the same time write 4 bytes 0xaaaa0000 at the start position of the index area to identify that FAT partition table 0 is a valid partition table. Secondly, when there is a file operation, the content of the FAT partition table changes and needs to be written to the NOR FLASH storage medium. T...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a file system FAT (file allocation table) partition table management method based on NOR FLASH, which is characterized in that a region in NOR FLASH is allocated and is used as an FAT partition table management region, the region is further divided into two parts, i.e. an FAT partition table index region and an FAT partition table region, wherein the FAT partition table region can be used for storing a plurality of FAT partition tables, firstly the region in the NOR FLASH is allocated and is used as the FAT partition table management region, the FAT partition table management region comprises the FAT partition table index region and a plurality of FAT partition tables, a current valid FAT partition table is obtained according to an index number in the FAT partition table index region, the FAT partition table next to the current valid FAT partition table is only required to be erased when the FAT partition table is required to be modified for file operation, and index numbers in the FAT partition table index region are cyclically increased.

Description

technical field [0001] The invention relates to the field of embedded terminals, in particular to a management method based on a NOR Flash file system FAT partition table. technical background [0002] With the development of embedded terminal technology, a variety of applications continue to appear, and most of the applications are accompanied by the processing and storage of a large amount of data. NOR Flash is generally used as the storage medium for embedded storage. The traditional data storage method is to specify Flash as the storage medium. The starting address and length, and the specified length must be a multiple of the size of the Flash erasing block, so as to avoid multiple data appearing on a Flash erasing block, thereby avoiding the risk of data being destroyed. The method of specifying the start address and length of Flash has two disadvantages: first, data expansion is not flexible, if a new application appears, the data of the new application needs to be sa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 刘宝阳班华堂
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products