High-reliability linear file access method based on nand flash

2013 
The invention discloses a high-reliability linear file access method based on a nand flash. The nand flash comprises an sdram memory, an nvram nonvolatile memory and a nand flash memory array. The access method comprises the following steps: initializing a partition table; initializing file information which comprises beginning and end addresses of a file, an open mode, a filename and file size information; creating a new file according to initialized file information; adopting an address order mode to transfer data from a buffer area in the sdram memory of the nand flash to a memory area pointed by a file pointer in the partition area, and completing file write; and reading the data from the partition area to the sdram memory of the nand flash, then taking the data from the sdram memory, and finishing file read. The high-reliability linear file access method based on the nand flash realizes file access management of equipment based on the nand flash, and has the characteristics of high efficiency and capability of realizing data access in a file mode.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []