Patent ID: 7116582

Claim:
A nonvolatile semiconductor memory operating method comprising: a first step of setting a start address in an address counter; a second step of reading a data from a memory cell, which has an address that is set in the address counter, under a first write deciding condition to decide pass/fail; a third step of applying a write pulse to the memory cell when the data is decided as fail in the second step; a fourth step of deciding whether or not an address that is set in the address counter is an end address when the data is decided as pass in the second step or when the third step is ended; a fifth step of changing a value in the address counter when it is decided as no in the fourth step, and then shifting a process to the second step; a sixth step of setting a start address in the address counter when it is decided as yes in the fourth step; a seventh step of reading the data from the memory cell, which has the address that is set in the address counter, under a second write deciding condition, which is relaxed rather than the first write deciding condition, to decide pass/fail; an eighth step of deciding whether or not the address that is set in the address counter is the end address; a ninth step of changing the value in the address counter when it is decided as no in the eighth step, and then shifting the process to the seventh step; and a tenth step of being executed when it is decided as yes in the eighth step, and putting the process back in the first step when it is decided as fail in the seventh step.