Patent ID: 8397139

Claim:
A memory device comprising: a memory including a plurality of nonvolatile memory cells for storing data to provide stored data, wherein the memory cells are addressable for reading and writing the stored data where the stored data includes (i) user stored data and (ii) nuisance stored data; and a memory controller including a transmitter for transmitting write data for storage as the stored data in the memory, wherein the transmitter includes a selector for (i) selection of user write data for storage as the user stored data in the memory and (ii) selection of nuisance write data for storage as the nuisance stored data in the memory, and a receiver for receiving the stored data from the memory as read data, wherein the read data includes (i) the user stored data and (ii) the nuisance stored data, wherein the receiver includes a Hamming weight detector for detecting Hamming weights of the read data, and wherein the Hamming weights are used to distinguish the user stored data from the nuisance stored data in accordance with stored Hamming weight threshold data, wherein the Hamming weight threshold data is selected such that a probability of erroneously identifying nuisance data or user data is minimized.