CN101908066A - File system management module based on FRAM and Flash - Google Patents

File system management module based on FRAM and Flash Download PDF

Info

Publication number
CN101908066A
CN101908066A CN2010102401431A CN201010240143A CN101908066A CN 101908066 A CN101908066 A CN 101908066A CN 2010102401431 A CN2010102401431 A CN 2010102401431A CN 201010240143 A CN201010240143 A CN 201010240143A CN 101908066 A CN101908066 A CN 101908066A
Authority
CN
China
Prior art keywords
fram
file system
flash
file
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010102401431A
Other languages
Chinese (zh)
Inventor
傅常顺
秦天福
张进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Brand-New Cap Electronics Co Ltd
Original Assignee
Zhengzhou Brand-New Cap Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Brand-New Cap Electronics Co Ltd filed Critical Zhengzhou Brand-New Cap Electronics Co Ltd
Priority to CN2010102401431A priority Critical patent/CN101908066A/en
Publication of CN101908066A publication Critical patent/CN101908066A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a file system management module based on FRAM and Flash, which comprises an FRAM memory, a Flash memory and an SPI interface, wherein the FRAM memory and the Flash memory are respectively connected to the SPI interface in communication through data buses. The file system management module has the advantages that a storage mechanism of storing catalogue files of a file system in the FRAM and contents of the file in the Flash is greatly convenient for users and saves data space, and the users can conveniently access the data only through calling a plurality of simple functions. Because the FRAM has the infinite erasing and writing service life, can not lose data after power-off, and can reliably store data for more than ten years, the method of storing the catalogue file of the file system in the FRAM memory simplifies the management of the catalogue file. Meanwhile, the file system management module can realize related verification and increase backups to the catalogue of the file system, and can restore data from a backup region when a main region fails to work.

Description

File system management module based on FRAM and Flash
Technical field
The present invention relates to the embedded file system administration module, especially relate to file system management module based on FRAM and Flash.
Background technology
In the embedding field, traditional file system needs to use the file management system of operating systems such as linux or Wince that file system is managed fully based on the Flash storage.Because the intrinsic characteristics of FLASH (need sector erasing and use to receive a mandate very short, have only 100,000 times), when file is managed, Flash is caused damage, just needing a large amount of storage space circulation memory mechanisms to store the file directory of each file (comprising: the relevant descriptors of file such as read-write pointer, file physical address), make file system management complexity and troublesome maintenance be easy to make mistakes; The reading speed of file reduces simultaneously, and causes the FLASH storage space to waste greatly.
Summary of the invention
The object of the invention is to provide a kind of and is user-friendly to, saves the file system management module based on FRAM and Flash of data space.
For achieving the above object, the present invention can take following technical proposals:
File system management module based on FRAM and Flash of the present invention, it comprises FRAM storer, Flash storer, SPI interface; Described FRAM storer, Flash storer are connected with described SPI interface communication by data bus respectively.
The invention has the advantages that employing with the catalogue file of file system be kept among the FRAM, the content of file leaves this memory mechanism among the Flash in, greatly facilitate user's use and saved data space, the user only need call several simple functions promptly can carry out accessing operation to logarithmic data easily.Because FRAM has unlimited erasing and writing life, and the power down data do not lose, and can reliably preserve the characteristics more than 10 years, adopt catalogue file with file system to be kept at method among the FRAM, have simplified the management of catalogue file.Simultaneously, the user can create a plurality of files, and the function of file has been carried out relevant differentiation, for the user provides very big convenience.The content of file leaves among the Flash, and the data of Flash are also preserving under the situation of power down more than 10 years, and are consistent with the data holding time of FRAM, has guaranteed the reliability of data.While can do relevant verification to file system directories, increase backup functionality in order further to improve the reliability of file system, therefore can get the data of backup area and recover under the situation of primary area inefficacy.The present invention also has following substantive distinguishing features:
1, catalogue file reads 0 time-delay, directly reads from physical address, need not search search;
2,, do not lose because of the intrinsic characteristic of these two kinds of chips (the power down data can effectively be preserved more than 10 years) has guaranteed the data power down, thereby improved the reliability of data owing to adopted FRAM and Flash technology.
3, for the write data mistake, adopted related data to increase the function of verification, prevented that data from makeing mistakes;
4, separately corresponding catalogue of each file can read the data of specified file fast;
5, the management of file uses file ID number to carry out, comprise operations such as establishment, reading and writing;
6, quantity of documents and file size are not limited;
7, simplify the storage of file directory, under the situation of equal data capacity, can increase the valid data amount of user storage effectively, reduced user's cost of products;
8, because what adopt is two kinds of chips that existed at present, thereby produce simple and conveniently, have very big promotional value.
Description of drawings
Fig. 1 is a schematic block circuit diagram of the present invention.
Fig. 2 is the circuit theory of Fig. 1.
Embodiment
As shown in Figure 1, 2, the file system management module based on FRAM and Flash of the present invention, it comprises FRAM storer (FM25CL64), Flash storer (AT45DB321), SPI interface (Header8); Described FRAM storer (FM25CL64), Flash storer (AT45DB321) communicate to connect by data bus and described SPI interface (Header8) respectively.Between the supply voltage pin (VCC) of Flash storer (AT45DB321) and common port pin (GND), be electrically connected with the parallel circuit that constitutes by capacitor C 1, C2; Between the operating voltage pin (VDD) of FRAM storer (FM25CL64) and ground voltage pin (VSS), be electrically connected with capacitor C 3.

Claims (1)

1. file system management module based on FRAM and Flash, it is characterized in that: it comprises FRAM storer, Flash storer, SPI interface; Described FRAM storer, Flash storer are connected with described SPI interface communication by data bus respectively.
CN2010102401431A 2010-07-29 2010-07-29 File system management module based on FRAM and Flash Pending CN101908066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102401431A CN101908066A (en) 2010-07-29 2010-07-29 File system management module based on FRAM and Flash

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102401431A CN101908066A (en) 2010-07-29 2010-07-29 File system management module based on FRAM and Flash

Publications (1)

Publication Number Publication Date
CN101908066A true CN101908066A (en) 2010-12-08

Family

ID=43263526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102401431A Pending CN101908066A (en) 2010-07-29 2010-07-29 File system management module based on FRAM and Flash

Country Status (1)

Country Link
CN (1) CN101908066A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902748A (en) * 2012-09-18 2013-01-30 上海移远通信技术有限公司 Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems
WO2013159621A1 (en) * 2012-04-25 2013-10-31 Tencent Technology (Shenzhen) Company Limited Method and system for speeding up computer program
CN104484289A (en) * 2014-12-19 2015-04-01 武汉长江通信智联技术有限公司 Sector-based embedded system write protection device and method
CN104881257A (en) * 2015-06-09 2015-09-02 北京世纪铭辰科技有限公司 Real-time massive data storage system and method
CN111694503A (en) * 2019-03-14 2020-09-22 成都易联智通信息技术有限公司 Self-defined file system based on SPI Flash memory

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013159621A1 (en) * 2012-04-25 2013-10-31 Tencent Technology (Shenzhen) Company Limited Method and system for speeding up computer program
CN102902748A (en) * 2012-09-18 2013-01-30 上海移远通信技术有限公司 Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems
CN104484289A (en) * 2014-12-19 2015-04-01 武汉长江通信智联技术有限公司 Sector-based embedded system write protection device and method
CN104484289B (en) * 2014-12-19 2017-11-14 武汉长江通信智联技术有限公司 A kind of device and method of the embedded system write-protect based on sector
CN104881257A (en) * 2015-06-09 2015-09-02 北京世纪铭辰科技有限公司 Real-time massive data storage system and method
CN111694503A (en) * 2019-03-14 2020-09-22 成都易联智通信息技术有限公司 Self-defined file system based on SPI Flash memory

Similar Documents

Publication Publication Date Title
CN107632939B (en) Mapping table for storage device
CN105556416B (en) The power-failure protecting of low power state and recovery are utilized in data storage device/system
US9164848B2 (en) Variable partitioning in a hybrid memory subsystem
US10824344B2 (en) Solid-state drive with non-volatile random access memory
TWI451435B (en) Non-volatile memory storage apparatus, memory controller and data storage method
US8914608B2 (en) Data storage device and computing system including the same
CN101604548B (en) Method for storing solid state hard disc and data
CN104461964A (en) Memory device
US9501130B2 (en) Data storage device and data processing system including the same
CN104699413B (en) Data managing method, memory storage apparatus and memorizer control circuit unit
CN102902637B (en) Solid-state hard disk data power-off protection method
CN109144899B (en) Method for managing table recovery
US20170206170A1 (en) Reducing a size of a logical to physical data address translation table
CN101908066A (en) File system management module based on FRAM and Flash
US8954692B2 (en) File protecting method and system, and memory controller and memory storage apparatus thereof
CN105550127A (en) SSD controller based on read-write cache separation of STT-MRAM
CN102456404A (en) NVM (nonvolatile memory) storage device, memory controller and data storage method
CN103309619A (en) NAND Flash memory data storage method
CN103064800A (en) Power failure protection system and implementation method thereof
CN201698426U (en) File system management module based on FRAM and Flash
US20100115319A1 (en) Storing device and electronic device having the same
CN102521077B (en) Anti-plug read-in method and system for file
TW201430852A (en) Non-volatile memory storage apparatus, memory controller and data storage method
CN103106159B (en) A kind of method setting up channel access intelligent storage equipment
US20200387493A1 (en) Offloading file-indexing to memory card firmware

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101208