Memory Control Circuit, Nonvolatile Storage Apparatus, and Memory Control Method
First Claim
Patent Images
1. A memory control circuit for a rewritable nonvolatile memory comprising:
- a first management table for storing data writing conditions of said nonvolatile memory in every data writing as management data;
a second management table for copying management data of said first management table in every completion of data writing in predetermined units;
a write part for writing new data in block units to said nonvolatile memory based on management data of said first management table;
a management table update part for updating management data of said first management table so that rewriting to said written block is forbidden;
a determination part for determining whether said data writing is normally executed or not;
an error address registration part for registering addresses of blocks which are determined as said data writing is not normally executed by said determination part;
an error correction part for sequentially reading data of address registered in said error address registration part after completion of writing in predetermined units, and for detecting and correcting error; and
a termination control part for normally terminating after copying management data of said first management table to said second management table when writing in predetermined unit is set to be valid based on a data error state of address registered in said error address register, and for abnormally terminating after copying management data of said second management table to said first management table when writing in predetermined unit is set to be invalid based on a data error state of address registered in said error address register.
2 Assignments
0 Petitions
Accused Products
Abstract
An address at which a writing error occurs is held, and after a completion of a series of writings, the data of the held address is read. Then, a faulty-block processing is performed only for the addresses, for which it is determined that retry of writing is required, thereby preventing an increase of faulty-blocks. This can suppress the problem that when a writing is performed in a particular flash memory, a writing error frequently occurs and a large number of faulty blocks occur.
141 Citations
15 Claims
-
1. A memory control circuit for a rewritable nonvolatile memory comprising:
-
a first management table for storing data writing conditions of said nonvolatile memory in every data writing as management data;
a second management table for copying management data of said first management table in every completion of data writing in predetermined units;
a write part for writing new data in block units to said nonvolatile memory based on management data of said first management table;
a management table update part for updating management data of said first management table so that rewriting to said written block is forbidden;
a determination part for determining whether said data writing is normally executed or not;
an error address registration part for registering addresses of blocks which are determined as said data writing is not normally executed by said determination part;
an error correction part for sequentially reading data of address registered in said error address registration part after completion of writing in predetermined units, and for detecting and correcting error; and
a termination control part for normally terminating after copying management data of said first management table to said second management table when writing in predetermined unit is set to be valid based on a data error state of address registered in said error address register, and for abnormally terminating after copying management data of said second management table to said first management table when writing in predetermined unit is set to be invalid based on a data error state of address registered in said error address register. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A nonvolatile storage apparatus comprising:
-
a rewritable nonvolatile memory;
a first management table for storing data writing conditions of said nonvolatile memory in every data writing as management data;
a second management table for copying management data of said first management table in every completion of data writing in predetermined units;
a write part for writing new data in block units to said nonvolatile memory based on management data of said first management table;
a management table update part for updating management data of said first management table so that rewriting to said written block is forbidden;
a determination part for determining whether said data writing is normally executed or not;
an error address registration part for registering addresses of blocks which are determined as said data writing is not normally executed by said determination part;
an error correction part for sequentially reading data of address registered in said error address registration part after completion of writing in predetermined units, and for detecting and correcting error; and
a termination control part for normally terminating after copying management data of said first management table to said second management table when writing in predetermined unit is set to be valid based on a data error state of address registered in said error address register, and for abnormally terminating after copying management data of said second management table to said first management table when writing in predetermined unit is set to be invalid based on a data error state of address registered in said error address register. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A memory control method for rewritable nonvolatile memory comprising steps of:
-
storing data writing conditions of said nonvolatile memory in every data writing in a first management table as management data;
copying management data of said first management table in every completion of data writing in predetermined units to a second management table;
writing new data in block units to said nonvolatile memory based on management data of said first management table;
updating management data of said first management table so that rewriting to said written block is forbidden;
determining whether said data writing is normally executed or not by a determination part;
registering addresses of blocks which is determined as said data writing is not normally executed by said determination part to an error address registration part;
sequentially reading data of address registered in said error address registration part after completion of writing in predetermined units, and for detecting and correcting error by an error correction part; and
normally terminating after copying management data of said first management table to said second management table when writing in predetermined unit is set to be valid based on a data error state of address registered in said error address register, and abnormally terminating after copying management data of said second management table to said first management table when writing in predetermined unit is set to be invalid based on a data error state of address registered in said error address register. - View Dependent Claims (12, 13, 14, 15)
-
Specification