Microcontroller having an EPROM with a low voltage program inhibit circuit
First Claim
1. In a data processing system having a processor, an electrically alterable memory, and a communications bus for communicating therebetween, protection means included in said memory for inhibiting the alteration of said memory when a supply voltage falls below a specified voltage level, said protection means comprising:
- first means for providing a reference voltage;
second means coupled to said first means for comparing a second voltage generated from said supply voltage to said reference voltage, and for providing an output signal, said output signal having a first logic value when said second voltage is larger in magnitude than said reference voltage, and a second logic value when said second voltage is smaller in magnitude that said reference voltage;
third means coupled to said second means for supplying said second voltage to said second means, said third means operating to insure that when said supply voltage remains above the specified voltage level, said second voltage supplied to said second means is larger in magnitude than said reference voltage, and when said supply voltage falls below the specified voltage level, said second voltage supplied to said second means is smaller in magnitude that said reference voltage; and
fourth means coupled to said second means for storing a plurality of control bits for controlling programming of said memory, said fourth means inhibiting the alteration of said memory when said output signal is said second logic value, without disabling said processor from accessing information stored in said memory during performance by said processor of other data processing operations, and enabling the programming of said memory when said output signal is said first logic value, said fourth means controlling programming of said memory by manipulating said control bits based upon the logic value of said output signal.
7 Assignments
0 Petitions
Accused Products
Abstract
A microcontroller is provided having an on-chip electrically erasable programmable read-only-memory (EEPROM), which is user programmable via a programming register. The microcontroller includes a low voltage program inhibit (LVPI) circuit which is combined with the existing EEPROM design. By integrating the LVPI circuit into the EEPROM, the EEPROM may be protected without disabling the entire data processing system. If the supply voltage (VDD) falls below a predetermined voltage level, the LVPI circuit inhibits the use of the EEPROM programming register, thereby preventing the CPU from programming or erasing the EEPROM. A comparator in the LVPI circuit compares a precision reference voltage to a voltage divided off of the power supply (VDD), and provides a output signal to the EEPROM programming register. During normal operation, the comparator output signal is a logic low, which enables the user to program or erase the EEPROM, via the programming register. When the supply voltage is below the predetermined safe level, the comparator output signal is a logic high signal, which sets a control bit in the programming register. When set, the control bit clears the remaining bits in the programming register, thereby disabling a charge pump, and preventing any further EEPROM programming.
54 Citations
10 Claims
-
1. In a data processing system having a processor, an electrically alterable memory, and a communications bus for communicating therebetween, protection means included in said memory for inhibiting the alteration of said memory when a supply voltage falls below a specified voltage level, said protection means comprising:
-
first means for providing a reference voltage; second means coupled to said first means for comparing a second voltage generated from said supply voltage to said reference voltage, and for providing an output signal, said output signal having a first logic value when said second voltage is larger in magnitude than said reference voltage, and a second logic value when said second voltage is smaller in magnitude that said reference voltage; third means coupled to said second means for supplying said second voltage to said second means, said third means operating to insure that when said supply voltage remains above the specified voltage level, said second voltage supplied to said second means is larger in magnitude than said reference voltage, and when said supply voltage falls below the specified voltage level, said second voltage supplied to said second means is smaller in magnitude that said reference voltage; and fourth means coupled to said second means for storing a plurality of control bits for controlling programming of said memory, said fourth means inhibiting the alteration of said memory when said output signal is said second logic value, without disabling said processor from accessing information stored in said memory during performance by said processor of other data processing operations, and enabling the programming of said memory when said output signal is said first logic value, said fourth means controlling programming of said memory by manipulating said control bits based upon the logic value of said output signal. - View Dependent Claims (2, 3, 4, 5)
-
-
6. In a data processing system having a processor, an electrically alterable memory, and a communications bus for communicating therebetween, protection means in said memory for inhibiting alteration of said memory when a supply voltage falls below a specified voltage level, said protection means comprising:
-
detection means for detecting when said supply voltage falls below said specified voltage level, and for providing an output control signal, in response thereto; and programming means, coupled to said detection means, for storing a plurality of control bits for controlling alteration of said memory, and for inhibiting manipulation of said control bits, said programming means preventing said processor from altering said memory, in response to said output signal having a first logic value, without disabling said processor from accessing information stored in said memory during performance by said processor of other data processing operations, said programming means comprising; register means for storing said plurality of control bits for programming and erasing a plurality of data bytes stored in said memory; logic means coupled to said register means, said logic means having a first input for receiving said output signal, a second input for receiving an internal reset signal provided by said processor, and an output for clearing said control bits stored in said register means, when said supply voltage falls below said specified voltage level. - View Dependent Claims (7, 8, 9, 10)
-
Specification