Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0789440B2 - Write protect circuit - Google Patents
[go: Go Back, main page]

JPH0789440B2 - Write protect circuit - Google Patents

Write protect circuit

Info

Publication number
JPH0789440B2
JPH0789440B2 JP28819486A JP28819486A JPH0789440B2 JP H0789440 B2 JPH0789440 B2 JP H0789440B2 JP 28819486 A JP28819486 A JP 28819486A JP 28819486 A JP28819486 A JP 28819486A JP H0789440 B2 JPH0789440 B2 JP H0789440B2
Authority
JP
Japan
Prior art keywords
write
terminal
eeprom
signal
output enable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP28819486A
Other languages
Japanese (ja)
Other versions
JPS63140495A (en
Inventor
治子 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP28819486A priority Critical patent/JPH0789440B2/en
Publication of JPS63140495A publication Critical patent/JPS63140495A/en
Publication of JPH0789440B2 publication Critical patent/JPH0789440B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)
  • Storage Device Security (AREA)

Description

【発明の詳細な説明】 技術分野 本発明は書込み禁止回路に関し、特にTTL(トランジス
タトランジスタ論理)レベルで書込み自由なEEPROM(el
ctrically erasable programmable read only memory)
の書込み禁止回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a write inhibit circuit, and more particularly to a write-free EEPROM (el
ctrically erasable programmable read only memory)
Write protection circuit.

従来技術 従来、この種のEEPROMの書込み禁止回路においては、チ
ップイネーブル(CE)端子を制御することによりEEPROM
への書込みを禁止していた。
2. Description of the Related Art Conventionally, in this type of EEPROM write inhibit circuit, the EEPROM is controlled by controlling the chip enable (CE) terminal.
Writing to was prohibited.

このような従来のEEPROMの書込み禁止回路では、チップ
イネーブル端子を制御してEEPROMへの書込み禁止を行っ
ていたので、電源オン時に書込み禁止状態とすることで
EEPROMへの書込み禁止すると、同時にEEPROMの読出しも
禁止されてしまい、EEPROMの全内容を読出して行うサム
チェックやパリティチェックなどのチェックを行うこと
ができなくなってしまうため、EEPROMの正常/異常を判
断できなくなってしまうという欠点がある。
In such a conventional EEPROM write inhibit circuit, the chip enable pin was controlled to inhibit writing to the EEPROM.
If writing to the EEPROM is prohibited, reading of the EEPROM is also prohibited at the same time, and it will not be possible to perform checks such as sum check and parity check by reading the entire contents of the EEPROM. Therefore, determine whether the EEPROM is normal or abnormal. There is a drawback that you can not do it.

また、チップイネーブル端子はローレベルでイネーブル
となるのが一般的であり、電源オフ時にはチップイネー
ブル端子が必ずしもハイレベルに固定されるとは限らな
いので、EEPROMへの書込みが行われる危険があるという
欠点がある。
Also, the chip enable terminal is generally enabled at a low level, and the chip enable terminal is not always fixed at a high level when the power is off, so there is a risk of writing to the EEPROM. There are drawbacks.

一方、ライトイネーブル端子を制御することで書込み禁
止をなすことが考えられる。しかし、この方法では、電
源オン時にはライトイネーブル端子を制御することによ
ってEEPROMり読出しを禁止することなく、EEPROMへの書
込みを禁止することができるが、ライトイネーブル端子
はチップイネーブル端子と同様にローレベルでイネーブ
ルとなるのが一般的であり、電源オフ時には必ずしもハ
イレベルに固定されるとは限らないので、EEPROMへの書
込みが行われる危険があるという欠点がある。
On the other hand, it is conceivable that writing is prohibited by controlling the write enable terminal. However, with this method, writing to the EEPROM can be prohibited without prohibiting reading from or writing to the EEPROM by controlling the write enable pin when the power is turned on, but the write enable pin is at the low level like the chip enable pin. Since it is generally enabled at, and it is not always fixed at the high level when the power is off, there is a disadvantage that writing to the EEPROM is risky.

発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、電源オン時にEEPROMへの書込みを禁止し
ても、EEPROMから読出しを行ってEEPROMの正常/異常の
判断を行うことができ、電源オフ時にEEPROMを書込み禁
止状態とすることでEEPROMへの誤ったデータの書込みを
防止することができる書込み禁止回路の提供を目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to eliminate the above-mentioned drawbacks of the conventional one. Even if writing to the EEPROM is prohibited when the power is turned on, reading from the EEPROM is performed to judge whether the EEPROM is normal or abnormal. It is an object of the present invention to provide a write inhibit circuit that can be performed and that can prevent erroneous data writing to the EEPROM by putting the EEPROM in a write inhibit state when the power is turned off.

発明の構成 本発明による書込み禁止回路は、電気的にデータの書込
みと消去とが可能で、かつアウトプットイネーブル端子
に所定レベルの信号を印加することにより書込み禁止と
なるようなリードオンメモリの書込み禁止回路であっ
て、 前記データの読出し信号を入力し、アース電位の制御信
号が入力されたときに前記読出し信号を前記アウトプッ
トイネーブル端子に出力するゲートと、 一方の端子が前記アウトプットイネーブル端子に接続さ
れ、他方の端子が前記ゲートの制御信号入力端子に接続
され、書込み禁止時に前記アウトプットイネーブル端子
にアース電位の信号を与えるスイッチと、 前記スイッチの前記他方の端子がアース電位以外のとき
に前記アウトプットイネーブル端子にアース電位の信号
を与える回路とから構成されることを特徴とする。
The write-inhibit circuit according to the present invention is capable of electrically writing and erasing data, and writing in a read-on memory in which write-inhibition is performed by applying a signal of a predetermined level to the output enable terminal. A gate which outputs the read signal to the output enable terminal when a read signal of the data is input and a control signal of the ground potential is input, and one terminal is the output enable terminal. A switch which is connected to the control signal input terminal of the gate and which supplies a signal of ground potential to the output enable terminal when write is prohibited; and the other terminal of the switch is other than ground potential. And a circuit for applying a signal of earth potential to the output enable terminal It is characterized by

実施例 次に、本発明の一実施例について図面を参照して説明す
る。
Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す回路図である。図にお
いて、マイクロプロセッサ1からのアドレスバス4はEE
PROM2のアドレス端子ABに接続され、マイクロプロセッ
サ1からのデータバス5はEEPROM2のデータ端子DBに接
続されている。また、マイクロプロセッサ1から出力さ
れるライト信号6は、制御端子がアース電位に固定され
ているバッファ9を介してEEPROM2のライトイネーブル
端子▲▼に入力されている。
FIG. 1 is a circuit diagram showing an embodiment of the present invention. In the figure, the address bus 4 from the microprocessor 1 is EE
The data bus 5 from the microprocessor 1 is connected to the address terminal AB of the PROM2 and the data terminal DB of the EEPROM2. The write signal 6 output from the microprocessor 1 is input to the write enable terminal ▲ ▼ of the EEPROM 2 via the buffer 9 whose control terminal is fixed to the ground potential.

EEPROM2のチップイネーブル端子▲▼には、マイク
ロプロセッサ1からアドレスバス4を介して出力される
アドレス信号のうち上位のアドレス信号がデコーダ3で
デコードされて入力され、このデコードされたアドレス
信号によりEEPROM2をアクセスできるような構成となっ
ている。
A higher-order address signal of the address signals output from the microprocessor 1 via the address bus 4 is decoded by the decoder 3 and input to the chip enable terminal ▲ ▼ of the EEPROM 2, and the EEPROM 2 is read by the decoded address signal. It is configured to be accessible.

マイクロプロセッサ1から出力されるリード信号7は、
3ステート出力のバッファ10を介してEEPROM2のアウト
プットイネーブル端子▲▼に入力される。バッファ
10は書込み禁止選択スイッチ8の書込み端子aからの信
号により制御される。
The read signal 7 output from the microprocessor 1 is
It is input to the output enable terminal ▲ ▼ of the EEPROM 2 via the buffer 10 of 3-state output. buffer
Reference numeral 10 is controlled by a signal from the write terminal a of the write inhibit selection switch 8.

書込み禁止選択スイッチ8の書込み端子aと書込み禁止
端子bとは夫々プルアップ抵抗12,13を介して電源(+5
V)に接続されている。書込み禁止選択スイッチ8にお
いて、書込み端子aが選択されて書込み可能となったと
きに、書込み端子aがアース電位に固定され、書込み禁
止端子bが選択されて書込み禁止となったときに、書込
み禁止端子bがアース電位に固定される。
The write terminal a and the write inhibit terminal b of the write inhibit selection switch 8 are connected to the power supply (+5
Connected to V). In the write inhibit selection switch 8, when the write terminal a is selected and becomes writable, the write terminal a is fixed to the ground potential, and when the write inhibit terminal b is selected and the write is prohibited, write inhibit is performed. The terminal b is fixed to the ground potential.

書込み端子aからの信号は、バッファ10の出力を制御す
るとともに、オープンコレクタ出力のインバータ11を介
してEEPROM2のアウトプットイネーブル端子▲▼に
入力される。また、書込み禁止端子bからの信号はEEPR
OM2のアウトプットイネーブル端子▲▼に入力され
る。
The signal from the write terminal a controls the output of the buffer 10 and is input to the output enable terminal ▲ ▼ of the EEPROM 2 via the inverter 11 having an open collector output. Also, the signal from the write inhibit terminal b is EEPR
It is input to the output enable terminal ▲ ▼ of OM2.

この回路は電源オン時の書込み禁止状態には、アウトプ
ットイネーブル端子▲▼がアース電位に固定され、
EEPROM2は読出しが可能で、書込みが禁止の状態に固定
される。
In this circuit, the output enable terminal ▲ ▼ is fixed to the ground potential in the write-protected state when the power is turned on.
EEPROM2 can be read, and writing is fixed to the prohibited state.

また、書込み禁止選択スイッチ8の切替え時に書込み禁
止選択スイッチ8の接点が浮いている状態においても、
インバータ11の出力がアース電位となるため、読出し可
能で書込み禁止の状態が保持される。
Further, even when the contacts of the write-protect selection switch 8 are floating when the write-protect selection switch 8 is switched,
Since the output of the inverter 11 becomes the ground potential, the readable state and the write-protected state are maintained.

書込み禁止選択スイッチ8が書込み可能状態になって、
バッファ10がイネーブルとなり、アウトプットイネーブ
ル端子▲▼にリード信号7が入力されるため、EEPR
OM2への書込みが可能となる。
When the write-protect selection switch 8 is in the write-enabled state,
Since the buffer 10 is enabled and the read signal 7 is input to the output enable terminal ▲ ▼, EEPR
Writing to OM2 is possible.

さらに、書込み禁止選択スイッチ8を書込み禁止状態に
して電源をオフにすると、アウトプットイネーブル端子
▲▼がアース電位のまま電源がオフになるので、電
源オンからオフへの変動時に書込まれることはない。
Further, when the write-prohibit selection switch 8 is set to the write-prohibited state and the power is turned off, the power is turned off with the output enable terminal ▲ ▼ kept at the ground potential. Therefore, it is not written when the power is turned on. Absent.

このように、書込み禁止選択スイッチ8で書込み禁止状
態を選択したときに、EEPROM2のアウトプットイネーブ
ル端子▲▼をアース電位に固定することにより、電
源オン時にはEEPROM2への書込みは禁止されるが、読出
しは可能とすることができ、EEPROM2への書込み禁止状
態でもEEPROM2のデータを読出して行うサムチェックや
パリティチェックなどのチェックを行うことができ、EE
PROM2の正常/異常の判断を行うことができる。また、
電源をオフにしたときにも、書込み禁止状態にしておけ
ばEEPROM2に誤ったデータが書込まれることはない。
As described above, when the write-prohibited state is selected by the write-prohibit selection switch 8, by fixing the output enable terminal ▲ ▼ of the EEPROM2 to the ground potential, writing to the EEPROM2 is prohibited when the power is turned on, but reading is performed. Even if writing to EEPROM2 is prohibited, it is possible to perform checks such as sum check and parity check by reading data from EEPROM2.
It is possible to judge whether PROM2 is normal or abnormal. Also,
Even if the power is turned off, erroneous data will not be written to EEPROM2 if the write-protection state is set.

発明の効果 以上説明したように本発明によれば、アウトプットイネ
ーブル端子をデータの書込み時以外は常にアース電位に
固定しておくようにすることによって、電源オン時にEE
PROMへの書込みを禁止しても、EEPROMから読出しを行っ
てEEPROMの正常/異常の判断を行うことができ、電源オ
フ時にEEPROMを書込み禁止状態とすることでEEPROMへの
誤ったデータの書込みを防止することができるという効
果がある。
As described above, according to the present invention, the output enable terminal is always fixed to the ground potential except when writing data, so that the EE is generated when the power is turned on.
Even if writing to the PROM is prohibited, it is possible to read from the EEPROM to judge whether the EEPROM is normal or abnormal. By writing the EEPROM to the write-disabled state when the power is off, you can write incorrect data to the EEPROM. The effect is that it can be prevented.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例を示す回路図である。 主要部分の符号の説明 2……EEPROM 3……デコーダ 7……リード信号 8……書込み禁止選択スイッチ 9……バッファ 10……インバータ ▲▼……アウトプットイネーブル端子 a……書込み端子 b……書込み禁止端子 FIG. 1 is a circuit diagram showing an embodiment of the present invention. Explanation of main part code 2 …… EEPROM 3 …… Decoder 7 …… Read signal 8 …… Write prohibition selection switch 9 …… Buffer 10 …… Inverter ▲ ▼ …… Output enable terminal a …… Write terminal b …… Write protect terminal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】電気的にデータの書込みと消去とが可能
で、かつアウトプットイネーブル端子に所定レベルの信
号を印加することにより書込み禁止となるようなリード
オンリメモリの書込み禁止回路であって、 前記データの読出し信号を入力し、アース電位の制御信
号が入力されたときに前記読出し信号を前記アウトプッ
トイネーブル端子に出力するゲートと、 一方の端子が前記アウトプットイネーブル端子に接続さ
れ、他方の端子が前記ゲートの制御信号入力端子に接続
され、書込み禁止時に前記アウトプットイネーブル端子
にアース電位の信号を与えるスイッチと、 前記スイッチの前記他方の端子がアース電位以外のとき
に前記アウトプットイネーブル端子にアース電位の信号
を与える回路とから構成されることを特徴とする書込み
禁止回路。
1. A write-inhibit circuit for a read-only memory, which is capable of electrically writing and erasing data and which is write-inhibited by applying a signal of a predetermined level to an output enable terminal, A gate for inputting the data read signal and outputting the read signal to the output enable terminal when a ground potential control signal is input, and one terminal connected to the output enable terminal and the other terminal A switch whose terminal is connected to the control signal input terminal of the gate and which gives a signal of the ground potential to the output enable terminal when write is prohibited; and the output enable terminal when the other terminal of the switch is other than the ground potential. Write-protection characterized by being configured with a circuit for applying a signal of ground potential to Road.
JP28819486A 1986-12-03 1986-12-03 Write protect circuit Expired - Lifetime JPH0789440B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28819486A JPH0789440B2 (en) 1986-12-03 1986-12-03 Write protect circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28819486A JPH0789440B2 (en) 1986-12-03 1986-12-03 Write protect circuit

Publications (2)

Publication Number Publication Date
JPS63140495A JPS63140495A (en) 1988-06-13
JPH0789440B2 true JPH0789440B2 (en) 1995-09-27

Family

ID=17727031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28819486A Expired - Lifetime JPH0789440B2 (en) 1986-12-03 1986-12-03 Write protect circuit

Country Status (1)

Country Link
JP (1) JPH0789440B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4727327B2 (en) * 2005-07-14 2011-07-20 新明和エンジニアリング株式会社 Movable galleries and fire extinguishing systems for fire extinguishing target zones having the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5512567A (en) * 1978-07-14 1980-01-29 Hitachi Ltd Memory protection circuit

Also Published As

Publication number Publication date
JPS63140495A (en) 1988-06-13

Similar Documents

Publication Publication Date Title
KR100375217B1 (en) Microcontroller incorporating an electrically rewritable non-volatile memory
US7178067B2 (en) Secure EEPROM memory comprising an error correction circuit
KR100305490B1 (en) Nonvolatile memory control circuit
US6108235A (en) Memory device
EP0483978B1 (en) I.C. card
JP3073748B2 (en) Erasable and rewritable ROM protection device
US6215717B1 (en) Semiconductor memory device for reducing a time needed for performing a protecting operation
JP2002015584A (en) Read/protect circuit for non-volatile memory
US20020184458A1 (en) Semiconductor memory device
JPH0789440B2 (en) Write protect circuit
KR100310486B1 (en) Microcumputer
KR100341424B1 (en) Microcomputer
JPS6128144B2 (en)
JP3028567B2 (en) Microcomputer with built-in EEPROM
US6744665B2 (en) Memory cell configuration
KR100309463B1 (en) Specific address memory block protection circuit
JPH022435A (en) Semiconductor non-volatile memory device
EP0508829A1 (en) IC card
JPH0697442B2 (en) Micro computer
JPS62165253A (en) LSI with built-in non-volatile memory
JP3755626B2 (en) Method for writing data in nonvolatile storage medium
JPS6012660B2 (en) memory device
JPS63316400A (en) Read-only memory having copy inhibiting function
KR0170716B1 (en) Electrically erasable rom
JPH04267448A (en) Microcomputer

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term