Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for applying Yaffs file system to NorFlash

A technology of file system and application method, which is applied in the direction of storage system, special data processing application, instrument, etc., can solve the problems of dosFS file system damage, file information table damage, file loss, etc., and achieve the effect of ensuring normal operation

Active Publication Date: 2015-04-22
NINGBO SANXING MEDICAL & ELECTRIC CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the actual operation of the product, because the dosFS file system itself is relatively fragile, it is easily affected by factors such as static electricity interference and frequent power-on and off, which will cause the file information table of the dosFS file system of VxWorks to be damaged, resulting in damage to the entire dosFS file system. The file is lost, which affects the normal operation of the VxWorks operating system

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] The present invention will be further described below in conjunction with specific examples.

[0012] Apply the Yaffs file system specially developed for NandFlash to NorFlash.

[0013] The biggest difference between NandFlash and NorFlash is: NandFlash allows bad blocks; the smallest data unit of NandFlash is a page, and each page includes a data field and a free field, the data field is actual data, and the free field contains bad block information, check information, etc. , for bad block management. NandFlash data operations are read by page, written by page, and erased by block. The smallest data unit of NorFlash is a block, and data operations support random reading, random writing, and erasing data by block. Therefore, the key to applying the Yaffs file system to NorFlash is that NorFlash improves the data unit structure of NandFlash.

[0014] A kind of application method of Yaffs file system in NorFlash of the present invention, comprises the following steps: ...

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 method for applying a Yaffs file system to NorFlash. The method includes the following steps: (1) each block in the NorFlash is divided into a plurality of pages; (2) an underlying data random reading program, an underlying data random writing program and an underlying data block-based erasure interface program of the NorFlash are written out through programming languages according to a storage equipment data sheet of the NorFlash; (3) the programs are packaged on an underlying data interface according to the size of a data field and the size of the blocks; (4) a structure body of the Yaffs file system is filled with parameters such as the size of the data field, the size of the blocks, a data page-based reading interface, a data page-based writing interface and a block-based erasure interface of the pages in the NorFlash. By means of the method, the Yaffs file system which cannot be easily disturbed by factors such as static electricity, frequent electrification and frequent electricity breaking can be applied to NorFlash storage equipment.

Description

technical field [0001] The invention relates to a file system that can be applied to a NorFlash storage device, in particular to an application method of a Yaffs file system in the NorFlash. Background technique [0002] VxWorks operating system equipped with NorFlash storage device is a common product development solution. The most widely used in the existing VxWorks kernel is the dosFS file system. However, in the actual operation of the product, because the dosFS file system itself is relatively fragile, it is easily affected by factors such as static electricity interference and frequent power-on and off, which will cause the file information table of the dosFS file system of VxWorks to be damaged, resulting in damage to the entire dosFS file system. The file is lost, which in turn affects the normal operation of the VxWorks operating system. Therefore, based on the above reasons, there is an urgent need for an application method of a Yaffs file system in NorFlash, whi...

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/30G06F3/06
CPCG06F12/0246G06F16/1847
Inventor 郑坚江庄克成吕斌刘杰戴旭毅朱春意袁志民
Owner NINGBO SANXING MEDICAL & ELECTRIC CO LTD