| CPC G11C 16/22 (2013.01) [G11C 16/14 (2013.01)] | 20 Claims |

|
1. A control method applied a write protection logic circuit to adjust at least one of an enable-set value stored in a storage circuit, a mode-set value stored in the storage circuit, and a first protection-set value stored in a first register which is independent of the storage circuit, comprising:
receiving and decoding an input command;
reading the mode-set value in response to the input command being a write command;
determining whether the mode-set value matches a first pre-determined value;
changing the mode-set value according to data information of the write command in response to the mode-set value matching the first pre-determined value and address information of the write command corresponding to the mode-set value;
replacing the first protection-set value with the data information of the write command in response to the mode-set value matching the first pre-determined value, the address information of the write command corresponding to the first register, and a second protection-set value not matching a second specific value; and
maintaining the enable-set value and the mode-set value in response to the mode-set value not matching the first pre-determined value,
wherein the second protection-set value is stored in a second register which is independent of the storage circuit.
|