System-level test method for flash memory
OwnerYuegui Heinventor
Life of this patent
Estimating the term…
Abstract
The present invention relates to the technical field of integrated chips, and more particularly, to a system-level test method for a flash memory. The method comprises: step S1, providing a test flag file, and storing a test number parameter in the test flag file; step S2, determining whether a value of the test number parameter reaches a pre-set value; if not, turning to step S3; if yes, ending and counting a verification result; step S3, performing one partition mirror data check on all partitions of the flash memory, and performing one file data check on a current system file of the flash memory; and step S4, restarting a test device, subtracting one from the value of the test number parameter, and returning to step S2.
Claims10
A system-level test method for a flash memory, applied to a flash memory, wherein a test device is used, and the test device comprises a partition mirror storage system and a file storage system;
- an original mirror is pre-stored in the partition storage system;
- verification files having a plurality of pre-set characters pre-stored in the file storage system;
- the method comprises:
- step S1, providing a test flag file, and storing a test number parameter in the test flag file;
- step S2, determining whether a value of the test number parameter reaches a pre-set value;
- if not, turning to step S3;
- if yes, ending and counting a verification result;
- step S3, performing one partition mirror data check on all partitions of the flash memory, and performing one file data check on a current system file of the flash memory;
- and
- step S4, restarting the test device, subtracting one from the value of the test number parameter, and returning to step S2;
- wherein in step S3, the partition mirror data check comprises:
- comparing current mirrors of all of the partitions in the flash memory to the original mirror;
- in step S3, the file data check comprises:
- comparing a current system file of the flash memory to the verification file.
Dependencies are inferred from the claim text.