[go: up one dir, main page]

JPH04310698A - memory IC - Google Patents

memory IC

Info

Publication number
JPH04310698A
JPH04310698A JP3075439A JP7543991A JPH04310698A JP H04310698 A JPH04310698 A JP H04310698A JP 3075439 A JP3075439 A JP 3075439A JP 7543991 A JP7543991 A JP 7543991A JP H04310698 A JPH04310698 A JP H04310698A
Authority
JP
Japan
Prior art keywords
signal
write
cpu
level
circuit
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.)
Pending
Application number
JP3075439A
Other languages
Japanese (ja)
Inventor
Kazuhiko Toda
戸田 和彦
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3075439A priority Critical patent/JPH04310698A/en
Publication of JPH04310698A publication Critical patent/JPH04310698A/en
Pending legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、例えばカードIC等
に用いられるようなフラッシュEEPROM(一括消去
可能なPROM)等のメモリICに関し、特にコントロ
ール信号の誤動作によるデータ書込及び消去を防止でき
るメモリICに関するものである。
[Field of Industrial Application] This invention relates to memory ICs such as flash EEPROMs (batch erasable PROMs) used in card ICs, etc., and particularly to memory ICs that can prevent data writing and erasing due to malfunction of control signals. It is related to IC.

【0002】0002

【従来の技術】図2は従来のメモリIC例えばフラッシ
ュEEPROMを示すブロック図である。図において、
1はチップイネーブル信号CE、出力イネーブル信号O
E及び書込イネーブル信号WE等のコントロール信号を
出力するCPU、2はデータバス11、アドレスバス1
2及びコントロールバス13を介してCPU1に結合さ
れたフラッシュEEPROMである。
2. Description of the Related Art FIG. 2 is a block diagram showing a conventional memory IC, such as a flash EEPROM. In the figure,
1 is chip enable signal CE, output enable signal O
2 is a data bus 11, and an address bus 1 is a CPU that outputs control signals such as E and write enable signal WE.
2 and a flash EEPROM coupled to the CPU 1 via a control bus 13.

【0003】データバス11はフラッシュEEPROM
2からの読出データ並びにCPU1からの書込データを
伝送し、アドレスバス12はCPU1からフラッシュE
EPROM2に対するアドレス信号を伝送し、コントロ
ールバス13はCPU1からフラッシュEEPROM2
に対するコントロール信号CE、OE及びWEを伝送す
るようになっている。通常、各コントロール信号CE、
OE及びWEは、Lレベルでアクティブとなるため、そ
れぞれ、図示したように反転を示す「バー」が付されて
いる。
[0003] The data bus 11 is a flash EEPROM.
Address bus 12 transmits read data from CPU 2 and write data from CPU 1, and address bus 12 transmits read data from CPU 1 to flash E
The control bus 13 transmits an address signal to the EPROM 2, and the control bus 13 is used to connect the CPU 1 to the flash EEPROM 2.
Control signals CE, OE, and WE are transmitted to the terminal. Usually, each control signal CE,
Since OE and WE are active at L level, each is marked with a "bar" indicating inversion as shown.

【0004】次に、図2に示した従来のメモリICの動
作について説明する。CPU1は、コントロールバス1
3を介して、コントロール信号CE、OE及びWEを選
択的に出力すると共に、アドレスバス12を介したアド
レス信号により、フラッシュEEPROM2内のアドレ
ス位置を指定し、データバス11を介して所定アドレス
位置のデータの書込及び消去(以下、消去を含めて、単
に書込という)又は読出を行う。
Next, the operation of the conventional memory IC shown in FIG. 2 will be explained. CPU1 is control bus 1
3, control signals CE, OE, and WE are selectively output, and an address signal via the address bus 12 specifies an address position in the flash EEPROM 2, and a predetermined address position is output via the data bus 11. Writing and erasing data (hereinafter simply referred to as writing, including erasing) or reading data.

【0005】例えば、データ読出の場合は、チップイネ
ーブル信号CEによりICチップを指定すると共に、出
力イネーブル信号OEにより指定アドレスからのデータ
読出を行う。又、データ書込の場合は、チップイネーブ
ル信号CEによりICチップを指定すると共に、書込イ
ネーブル信号WEにより指定アドレスに対して書込を行
う。このように、CPU1からフラッシュEEPROM
2に対し、各バス11〜13を介して各種コマンドを入
力することにより、データの読出及び書込が行われる。
For example, in the case of data reading, an IC chip is specified using a chip enable signal CE, and data is read from a specified address using an output enable signal OE. In the case of data writing, the IC chip is specified by the chip enable signal CE, and writing is performed to the specified address by the write enable signal WE. In this way, from CPU1 to flash EEPROM
2, data is read and written by inputting various commands via the buses 11 to 13.

【0006】[0006]

【発明が解決しようとする課題】従来のメモリICは以
上のように、CPU1からの各コントロール信号CE、
OE及びWE並びにデータ信号によりデータ書込が行わ
れるので、CPU1が誤動作した場合、コントロール信
号が誤動作となり、誤ったデータの書込(誤消去)が行
われてしまうという問題点があった。
[Problems to be Solved by the Invention] As described above, the conventional memory IC receives each control signal CE from the CPU 1,
Since data writing is performed using the OE, WE, and data signals, there is a problem in that if the CPU 1 malfunctions, the control signal malfunctions and erroneous data is written (erroneously erased).

【0007】この発明は上記のような問題点を解決する
ためになされたもので、コントロール信号の誤動作によ
るデータ書込を防止することができるメモリICを得る
ことを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a memory IC that can prevent data writing due to malfunction of a control signal.

【0008】[0008]

【課題を解決するための手段】この発明に係るメモリI
Cは、コントロール信号の誤動作を示すエラー信号に応
答してコントロール信号を無効にする書込保護回路を設
けたものである。
[Means for solving the problems] Memory I according to the present invention
C is provided with a write protection circuit that invalidates the control signal in response to an error signal indicating malfunction of the control signal.

【0009】[0009]

【作用】この発明においては、コントロール信号(書込
イネーブル信号)を無効にして、誤動作に基づくデータ
書込を防止する。
In the present invention, the control signal (write enable signal) is disabled to prevent data writing due to malfunction.

【0010】0010

【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明の一実施例を示すブロック図であ
り、1AはCPU1に対応しており、2、11及び12
は前述と同様のものである。この場合、CPU1Aは、
自身の誤動作によるコントロール信号(書込イネーブル
信号)CEの誤動作を示すエラー信号ERを出力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention, in which 1A corresponds to CPU 1, 2, 11 and 12.
is the same as above. In this case, CPU1A is
It outputs an error signal ER indicating a malfunction of the control signal (write enable signal) CE due to its own malfunction.

【0011】5はエラー信号ERがHレベル(アクティ
ブ)になるとHレベルの書込防止信号WP及びリセット
信号RSTを出力する書込防止信号制御回路である。リ
セット信号RSTは、CPU1Aのリセット入力端子R
ESETに印加されており、エラー信号ERをLレベル
に復帰させる。
A write prevention signal control circuit 5 outputs a write prevention signal WP and a reset signal RST at H level when the error signal ER becomes H level (active). The reset signal RST is connected to the reset input terminal R of the CPU1A.
It is applied to ESET and returns the error signal ER to L level.

【0012】20は書込防止信号WPに応答して書込イ
ネーブル信号WEを無効にする書込保護回路であり、フ
ラッシュEEPROM2と一体構成となってフラッシュ
EEPROM2に含まれている。書込保護回路20は、
書込防止信号WPに応答してHレベルのトリガ信号Aを
発生するトリガ発生器21と、トリガ信号Aをラッチす
るラッチ回路22と、ラッチ回路22からのラッチ信号
と書込イネーブル信号WEとの論理和をとってフラッシ
ュEEPROM2に対する最終的な書込イネーブル信号
WEを出力するオア回路23とから構成されている。
A write protection circuit 20 disables the write enable signal WE in response to the write prevention signal WP, and is included in the flash EEPROM 2 integrally with the flash EEPROM 2. The write protection circuit 20 is
A trigger generator 21 that generates an H-level trigger signal A in response to the write prevention signal WP, a latch circuit 22 that latches the trigger signal A, and a latch signal from the latch circuit 22 and a write enable signal WE. It is composed of an OR circuit 23 which calculates a logical sum and outputs a final write enable signal WE for the flash EEPROM 2.

【0013】次に、図1に示したこの発明の一実施例の
動作について説明する。通常は、CPU1Aは健全であ
り、エラー信号ERがLレベルであるため、書込防止信
号WPはアクティブとなっておらず、トリガ信号A即ち
ラッチ信号はLレベルである。従って、CPU1Aから
の書込イネーブル信号WEは、オア回路23を介して、
フラッシュEEPROM2の書込イネーブル信号入力端
子に印加され、所定のデータ書込が行われる。
Next, the operation of the embodiment of the present invention shown in FIG. 1 will be explained. Normally, the CPU 1A is healthy and the error signal ER is at L level, so the write prevention signal WP is not active and the trigger signal A, that is, the latch signal is at L level. Therefore, the write enable signal WE from the CPU 1A is transmitted via the OR circuit 23 to
A write enable signal is applied to the input terminal of the flash EEPROM 2, and predetermined data is written.

【0014】一方、CPU1Aに故障が発生した場合、
CPU1Aは、エラー信号出力端子ERRORからHレ
ベルのエラー信号ERを出力する。このエラー信号ER
により、書込防止信号制御回路5は、書込保護回路20
内のトリガ発生器21にHレベルの書込防止信号WPを
出力すると共に、CPU1Aのリセット信号入力端子R
ESETにHレベルのリセット信号RSTを出力する。
On the other hand, if a failure occurs in the CPU 1A,
The CPU 1A outputs an H level error signal ER from the error signal output terminal ERROR. This error signal ER
As a result, the write protection signal control circuit 5 is controlled by the write protection circuit 20.
The write prevention signal WP at H level is output to the trigger generator 21 in the CPU 1A, and the reset signal input terminal R of the CPU 1A is
Outputs an H level reset signal RST to ESET.

【0015】トリガ発生器21は、A入力にHレベルの
書込防止信号WPが入力されると、Hレベルのパルスか
らなるトリガ信号Aをラッチ回路22のA入力に出力す
る。 これにより、ラッチ回路22は、Hレベルのラッチ信号
をオア回路23の一方の入力端子に印加し続け、オア回
路23の出力信号をHレベルに保持する。
When the write prevention signal WP at the H level is input to the A input, the trigger generator 21 outputs a trigger signal A consisting of an H level pulse to the A input of the latch circuit 22 . Thereby, the latch circuit 22 continues to apply the H level latch signal to one input terminal of the OR circuit 23, and holds the output signal of the OR circuit 23 at the H level.

【0016】このとき、CPU1AからLレベルアクテ
ィブの書込イネーブル信号WEがオア回路23の他方の
入力端子に印加されるが、オア回路23の出力信号がH
レベル状態を維持し続けるので、フラッシュEEPRO
M2は書込状態にはならない。
At this time, an L level active write enable signal WE is applied from the CPU 1A to the other input terminal of the OR circuit 23, but the output signal of the OR circuit 23 becomes H.
Since it continues to maintain the level status, the flash EEPRO
M2 does not enter the write state.

【0017】又、CPU1Aは、書込防止信号制御回路
5からのリセット信号RSTにより、故障状態がリセッ
トされて正常状態に復帰する。この結果、エラー信号E
RがLレベルに復帰して書込防止信号WPがLレベルと
なり、トリガ発生器21のトリガ信号AがLレベルとな
るため、ラッチ回路22は、オア回路23にLレベルの
ラッチ信号を印加し、CPU1Aからの書込イネーブル
信号WEがオア回路23を通過できるようにする。
Further, the CPU 1A is reset from the failure state by the reset signal RST from the write prevention signal control circuit 5 and returns to the normal state. As a result, the error signal E
R returns to the L level, the write prevention signal WP goes to the L level, and the trigger signal A of the trigger generator 21 goes to the L level, so the latch circuit 22 applies an L level latch signal to the OR circuit 23. , the write enable signal WE from the CPU 1A is allowed to pass through the OR circuit 23.

【0018】このように、CPU1Aからの書込イネー
ブル信号WEが故障を示す場合には、エラー信号ERに
基づいて書込防止信号WPをHレベル(アクティブ)と
し、書込保護回路20により書込イネーブル信号WEを
無効にすることができる。従って、フラッシュEEPR
OM2が書込状態に入ることがなく、誤動作に基づくデ
ータの書込(誤消去)を防止することができる。
As described above, when the write enable signal WE from the CPU 1A indicates a failure, the write protection signal WP is set to H level (active) based on the error signal ER, and the write protection circuit 20 prevents writing. Enable signal WE can be disabled. Therefore, flash EEPR
OM2 does not enter the write state, and data writing (erroneous erasing) due to malfunction can be prevented.

【0019】尚、上記実施例では、メモリICがフラッ
シュEEPROM2の場合について説明したが、他のメ
モリICに適用しても同等の効果を奏することは言うま
でもない。
In the above embodiment, the case where the memory IC is a flash EEPROM 2 has been described, but it goes without saying that the same effect can be obtained even if the present invention is applied to other memory ICs.

【0020】[0020]

【発明の効果】以上のようにこの発明によれば、コント
ロール信号の誤動作を示すエラー信号に応答してコント
ロール信号を無効にする書込保護回路を設け、コントロ
ール信号を無効にするようにしたので、コントロール信
号の誤動作によるデータ書込及び誤消去を防止すること
ができるメモリICが得られる効果がある。
[Effects of the Invention] As described above, according to the present invention, a write protection circuit is provided to invalidate the control signal in response to an error signal indicating malfunction of the control signal, and the control signal is invalidated. This has the effect of providing a memory IC that can prevent data writing and erasing due to malfunction of control signals.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】この発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】従来のメモリICを示すブロック図である。FIG. 2 is a block diagram showing a conventional memory IC.

【符号の説明】[Explanation of symbols]

1A    CPU 2    フラッシュEEPROM(メモリIC)5 
   書込防止信号制御回路 11    データバス 20    書込保護回路 21    トリガ発生器 22    ラッチ回路 23    オア回路 WE    書込イネーブル信号(コントロール信号)
ER    エラー信号 WP    書込防止信号
1A CPU 2 Flash EEPROM (memory IC) 5
Write protection signal control circuit 11 Data bus 20 Write protection circuit 21 Trigger generator 22 Latch circuit 23 OR circuit WE Write enable signal (control signal)
ER Error signal WP Write protection signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  コントロール信号によりデータの書込
が行われるメモリICにおいて、前記コントロール信号
の誤動作を示すエラー信号に応答して前記コントロール
信号を無効にするための書込保護回路を設け、誤動作に
基づくデータ書込を防止したことを特徴とするメモリI
C。
1. A memory IC in which data is written in response to a control signal is provided with a write protection circuit for disabling the control signal in response to an error signal indicating a malfunction of the control signal. Memory I characterized by preventing data writing based on
C.
JP3075439A 1991-04-09 1991-04-09 memory IC Pending JPH04310698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3075439A JPH04310698A (en) 1991-04-09 1991-04-09 memory IC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3075439A JPH04310698A (en) 1991-04-09 1991-04-09 memory IC

Publications (1)

Publication Number Publication Date
JPH04310698A true JPH04310698A (en) 1992-11-02

Family

ID=13576271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3075439A Pending JPH04310698A (en) 1991-04-09 1991-04-09 memory IC

Country Status (1)

Country Link
JP (1) JPH04310698A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7254060B2 (en) 2002-10-30 2007-08-07 Kabushiki Kaisha Toshiba Nonvolatile semiconductor memory device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7254060B2 (en) 2002-10-30 2007-08-07 Kabushiki Kaisha Toshiba Nonvolatile semiconductor memory device

Similar Documents

Publication Publication Date Title
US5991849A (en) Rewriting protection of a size varying first region of a reprogrammable non-volatile memory
KR940005784B1 (en) Security circuit
US5089951A (en) Microcomputer incorporating memory
GB2070821A (en) Memory protection
US6581146B1 (en) Serial command port method, circuit, and system including main and command clock generators to filter signals of less than a predetermined duration
US6119211A (en) Circuit for controlling writing data into memory and allowing concurrent reset generation and writing data operation
JPH01108653A (en) Memory content protection circuit
JP3025842B2 (en) Apparatus for protecting a memory area of an electronic system with a microprocessor
JPH04310698A (en) memory IC
US4651323A (en) Fault protection flip flop
CA2067458C (en) Method and apparatus for accessing non-volatile memory
JPS61249156A (en) semiconductor storage device
JPH05266681A (en) Eeprom
JPS59231800A (en) Preventing device for foul writing to main memory
JPS6012660B2 (en) memory device
JP2854610B2 (en) Portable electronic devices
JP2854609B2 (en) Portable electronic devices
JPH0335381A (en) Portable electronic device
JPS6325899A (en) semiconductor memory device
JPH08292915A (en) Integrated circuit device with non-volatile memory
JPS63158682A (en) IC card
JPH0335383A (en) Portable electronic device
JPH01131941A (en) Memory write protection method
JPH0552794B2 (en)
JPS63122098A (en) Memory element