IP Library Granted Patent US 7,174,435
Granted Patent B2
US 7,174,435 · App. 10/715,366 · Granted Feb 6, 2007

Memory control circuit, memory device, and microcomputer

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,174,435
App. No.
10/715,366
Granted
Feb 6, 2007
Kind
B2
Abstract

First and second latch circuits store “0” and “1”, respectively, by reset. An output signal from the first latch circuit is input to the second latch circuit. Register setting data is input to the first latch circuit via a first gate that allows an input signal to pass through when the output signal from the second latch circuit is “1”, and outputs “0” when the output signal from the second latch circuit is “0”. A write signal is supplied to a memory via a second gate that allows the input signal to pass through only when the output signal from the first latch circuit is “1”. When the register setting data indicates “0”, the output signals from both the first and the second latch circuits become “0”, and until being reset, the write error protect state is maintained.

Claims (37)

1. A memory control circuit comprising:

a write error protect circuit, including

a register,

a first gate that sets one of a first data and a second data supplied from the outside into the register, and

a second gate that disables output of a write signal supplied from the outside to a memory when the register is reset, outputs the write signal to the memory when the first data is set into the register, and prevents the output of the write signal to the memory when the second data is set into the register.

2. The memory control circuit according to claim 1 , wherein the register comprises:

a first latch circuit that stores “0” by reset; and

a second latch circuit that stores “1” by reset, to which an output signal from the first latch circuit is input,

wherein the first gate outputs one of the first data and the second data to the first latch circuit when an output signal from the second latch circuit is “1”, and outputs “0” to the first latch circuit when the output signal from the second latch circuit is “0”, and the second gate outputs the write signal to the memory only when the output signal from the first latch circuit is “1”.

3. A memory device comprising:

a memory that is rewritable by an input of a write signal from outside to the memory; and

a memory control circuit that includes a write error protect circuit including

a register,

a first pate that sets one of a first data and a second data supplied from outside into the register, and

a second pate that disables output of the write signal to the memory when the register is reset, outputs the write signal to the memory when the first data is set into the register, and prevents the output of the write signal to the memory when the second data is set into the register.

4. The memory device according to claim 3 , wherein the register comprises:

a first latch circuit that stores “0” by reset; and

a second latch circuit that stores “1” by reset, to which an output signal from the first latch circuit is input,

wherein the first gate outputs one of the first data and the second data to the first latch circuit when an output signal from the second latch circuit is “1”, and outputs “0” to the first latch circuit when the output signal from the second latch circuit is “0”, and the second gate outputs the write signal to the memory only when the output signal from the first latch circuit is “1”.

5. The memory device according to claim 3 , wherein the memory is divided into a plurality of areas in which write disable, write enable, and write error protect are set independently, and the memory includes the write error protect circuit for each area.

6. The memory device according to claim 3 , wherein the memory is a nonvolatile memory.

7. The memory device according to claim 6 , wherein the nonvolatile memory is a flash memory.

8. A microcomputer comprising:

a central processing unit;

a memory that is rewritable by an input of a write signal from the central processing unit to the memory; and

a memory control circuit that includes a write error protect circuit including

a register,

a first gate that sets one of a first data and a second data supplied from outside into the register, and

a second gate that disables output of the write signal to the memory when the register is reset, outputs the write signal to the memory when the first data is set into the register, and prevents the output of the write signal to the memory when the second data is set into the register.

9. The microcomputer according to claim 8 , wherein the register comprises:

a first latch circuit that stores “0” by reset; and

a second latch circuit that stores “1” by reset, to which an output signal from the first latch circuit is input,

wherein the first gate outputs one of the first data and the second data to the first latch circuit when an output signal from the second latch circuit is “1”, and outputs “0” to the first latch circuit when the output signal from the second latch circuit is “0”, and the second gate outputs the write signal to the memory only when the output signal from the first latch circuit is “1”.

10. The microcomputer according to claim 8 , wherein the memory is divided into a plurality of areas in which write disable, write enable, and write error protect are set independently, and the memory includes the write error protect circuit for each area.

11. The microcomputer according to claim 8 , wherein the memory is a nonvolatile memory.

12. The microcomputer according to claim 11 , wherein the nonvolatile memory is a flash memory.

13. The microcomputer according to claim 8 , wherein the central processing unit, the memory, and the memory control circuit are integrated in a same semiconductor chip.