Patent ID: 7962824

Claim:
A memory controller for writing data from outside to a nonvolatile memory composed of a plurality of pages in which each memory cell holds data in a plurality of pages constituting a group, and for reading data in said nonvolatile memory comprising: an error corrector for correcting an error that has occurred to data stored in other pages of the same group of a writing error occurrence page; a reading/writing controller for writing data into said nonvolatile memory and for reading data in said nonvolatile memory; and an error page identification part for identifying a page having an error occurrence, when an error has occurred during writing into a certain page of said nonvolatile memory; wherein said error corrector comprises: a page information indication unit for outputting page information relating to pages constituting a same group; a restoration page identification part for identifying a page in the same group as the error occurrence page as a restoration page, based on said error occurrence page and said page information; and a substitution/restoration processor for executing restoration of data including the restoration page identified by said restoration page identification part.