Novel memory-based embedded file system and realization method thereof

A technology of embedded files and memory, applied in instruments, input/output to record carrier, electrical digital data processing, etc., can solve the problems of small chip size, large chip size, and increased complexity

Active Publication Date: 2017-02-22
SANECHIPS TECH CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when implementing a file system based on Nand flash memory, due to the use of complex I/O interfaces to access data serially, the complexity of software system-level implementation (including the implementation of related...

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
  • Novel memory-based embedded file system and realization method thereof
  • Novel memory-based embedded file system and realization method thereof
  • Novel memory-based embedded file system and realization method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In an embodiment of the present invention, the system is provided with a serial peripheral interface and a non-flash memory (SPI Nandflash) chip; the method includes: after the system is initialized, it is determined that the system supports the SPI Nandflash chip; setting Corresponding memory technology device (MTD) layer interface during file processing; Described MTD layer interface, is called when being used for accessing described SPI Nand flash chip; Identify the bad block of described SPI Nand flash chip and mark, store; The stored bad block marks are used to check the marked bad blocks when the file system accesses the SPI Nandflash chip; according to the preset conditions, the SPI Nand flash chip is partitioned; during file processing, in the specified partition The SPI Nand flash chip is accessed to complete the access operation to the file.

[0044] The present invention will be described in further detail below in conjunction with the accompanying drawings a...

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 discloses a novel memory-based embedded file system and a realization method thereof. A serial peripheral interface Nand flash (SPI Nand flash) chip is arranged in the system. The method comprises the steps of determining that the system supports the SPI Nand flash chip after the system is initialized; setting a corresponding memory technology device (MTD) layer interface during file processing, wherein the MTD layer interface is called when the SPI Nand flash chip is accessed; identifying bad blocks of the SPI Nand flash chip and performing marking and storage, wherein the stored bad block marks are used for troubleshooting the marked bad blocks when the file system accesses the SPI Nand flash chip; performing partitioning processing on the SPI Nand flash chip according to a preset condition; and in a file processing process, accessing the SPI Nand flash chip in a specified partition, thereby finishing file access operation.

Description

technical field [0001] The invention relates to the field of computer storage, in particular to an embedded file system based on a novel memory and its realization method. Background technique [0002] In the field of embedded product development, the size of the entire chip is required to be smaller and smaller, the external interface is less and less, and at the same time, the storage requirements for data must be met. To meet the above requirements, there are many restrictions on the selection of Flash memory. The pin design and layout of the usual Flash memory are very complicated, so a new type of memory is integrated on such a chip to realize the file system at the same time. Method is a very meaningful thing. [0003] In the data storage system, the file system is implemented based on the NAND (Not AND, Nand) Flash memory, which has the characteristics of no loss of data after power failure, fast data access speed, electrical erasability, large capacity, and online p...

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
IPC IPC(8): G06F3/06
CPCG06F11/00
Inventor 闫栓
Owner SANECHIPS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products