Method and system for NAND-flash identification without reading device ID table
AssigneeMediatek Inc.
InventorsHuey-Tyug Chua, Yann-Chang Lin, Ching-Lin Hsu
Life of this patent
Estimating the term…
Abstract
A method and system for identifying a NAND-Flash without reading a device ID. The method includes: executing an identification flow for setting a first page of a block as a target block, utilizing a combinations table to query a target block, evaluating a result by comparing a identifying information in the target block with the combinations table, trying all combinations in the combinations table until correctly identifying the NAND-Flash by having a positive match result or returning an error if none of the combinations match.
Claims27
A method for identifying a configuration type of a NAND-Flash, the method comprising:
- (a) storing a header having a predetermined pattern into the NAND-Flash;
- (b) utilizing at least a test attribute to read contents in the NAND-Flash for outputting a result, and to read at least a data segment beyond a test page boundary;
- (c) checking if the result includes the predetermined pattern;
- and
- (d) if the result includes the predetermined pattern, identifying the configuration type of the NAND-Flash according to the utilized test attribute.
A method for identifying a configuration type of a NAND-Flash, the method comprising:
- (a) storing a header having a NAND-Flash identification information into the NAND-Flash;
- (b) utilizing at least a test attribute to read contents within a test page boundary of the NAND-Flash for outputting a result, and to read at least a data segment beyond the test page boundary;
- (c) checking if the result and the data segment include the NAND-Flash identification information;
- and
- (d) if the result includes the NAND-Flash identification information and the data segment does not include the NAND-Flash identification information, determining a page size of the NAND-Flash according to the test page boundary.
A method for identifying a configuration type of a NAND-Flash, the method comprising:
- (a) storing a header having a NAND-Flash identification information into the NAND-Flash, wherein the NAND-Flash identification information includes a predetermined pattern;
- (b) utilizing a plurality of test attributes including settings of I/O interface bits and address bytes to read contents in the NAND-Flash for outputting a result and to read at least a data segment beyond a test page boundary;
- (c) checking if the result includes the predetermined pattern and the data segment includes the NAND-Flash identification information;
- and
- (d) if the result includes the predetermined pattern and the data segment does not include the NAND-Flash identification information, determining a page size of the NAND-Flash according to the test page boundary, and identifying the configuration type of the NAND-Flash according to the utilized test attribute and the page size.
A system capable of identifying a configuration type of a NAND-Flash, the system comprising:
- a NAND-Flash having a header with a predetermined pattern;
- and
- a controller coupled to the NAND-Flash, the controller comprising:
- an accessing unit for utilizing at least a test attribute to read contents in the NAND-Flash and outputting a result accordingly, and to read at least a data segment beyond a test page boundary;
- and
- a checking unit coupled to the accessing unit for checking if the result includes the predetermined pattern, wherein if the result includes the predetermined pattern, the checking units utilizes the utilized test attribute to identify the configuration type of the NAND-Flash.
A system capable of identifying a configuration type of a NAND-Flash, the system comprising:
- a NAND-Flash having a page filled with NAND-Flash identification information;
- and
- a controller coupled to the NAND-Flash, the controller comprising:
- an accessing unit for reading contents within a test page boundary of the NAND-flash for outputting a result, and reading at least a data segment beyond the test page boundary;
- a checking unit coupled to the accessing unit for checking if the result and—the data segment include the NAND-Flash identification information, wherein if the result includes the NAND-Flash identification information and the data segment does not include the NAND-Flash identification information, the checking unit determines a page size of the NAND-Flash according to the test page boundary.
A system capable of identifying a configuration type of a NAND-Flash, the system comprising:
- a NAND-Flash having a page filled with NAND-Flash identification information including a predetermined pattern;
- a controller coupled to the NAND-Flash, the controller comprising:
- an accessing unit for utilizing a plurality of test attributes including settings of I/O interface bits and address bytes to read contents in the NAND-Flash for outputting a result and to read at least a data segment beyond a test page boundary;
- and
- a checking unit coupled to the accessing unit for checking if the result includes the predetermined pattern, and the data segment includes the NAND-Flash identification information, wherein if the checking unit finds that the result includes the predetermined pattern, and the data segment does not include the NAND-Flash identification information, the checking unit determines a page size of the NAND-Flash according to the test page boundary, and identifies the configuration type of the NAND-Flash according to the utilized test attributes and the page size.
Dependencies are inferred from the claim text.