×

Memory data protection circuit

  • US 5,826,007 A
  • Filed: 01/21/1997
  • Issued: 10/20/1998
  • Est. Priority Date: 01/22/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A memory data protection circuit provided in a one-chip microcomputer having a CPU, a ROM, a volatile memory, and a nonvolatile memory formed on a single chip, said memory data protection circuit comprising:

  • a first bus line connected to said CPU, said volatile memory, said nonvolatile memory, and an input/output control circuit;

    a second bus line connected to a ROM storing a system program;

    a third bus line connected to a test-only memory storing a memory test program;

    a security flag storage circuit to which a security flag consisting of a plurality of bits is inputted, into which said security flag is written on receipt of a control signal so that the logic level of said flag may change in one direction, and which stores the security flag in a state where the flag cannot be rewritten once the flag has been written;

    a power-on reset circuit that outputs a power-on reset signal when the power supply for the one-chip microcomputer has been turned on;

    a security flag monitor circuit that reads the security flag stored in said security flag storage circuit when receiving said power-on reset signal and recognizes the contents of the flag; and

    a bus line control circuit which controls the connection of said first bus line, said second bus line and said third bus line according to the recognition result of said security flag monitor circuit, and which controls their connection so that a shift to the test mode may be possible, when said security flag indicates the test mode before shipment, controls their connection so that a shift to the test mode may be impossible, when said security flag indicates the normal operation mode after shipment, and controls their connection so that a shift to the test mode may be possible with said ROM being disconnected from said second bus line, when said security flag indicates the test mode after shipment.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×