JPH06150680A - Nonvolatile semiconductor memory device - Google Patents

Nonvolatile semiconductor memory device

Info

Publication number
JPH06150680A
JPH06150680A JP29297292A JP29297292A JPH06150680A JP H06150680 A JPH06150680 A JP H06150680A JP 29297292 A JP29297292 A JP 29297292A JP 29297292 A JP29297292 A JP 29297292A JP H06150680 A JPH06150680 A JP H06150680A
Authority
JP
Japan
Prior art keywords
automatic
counter
write
repetitions
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
JP29297292A
Other languages
Japanese (ja)
Inventor
Nobuaki Ando
伸朗 安藤
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 JP29297292A priority Critical patent/JPH06150680A/en
Publication of JPH06150680A publication Critical patent/JPH06150680A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten inspection time by making the maximum repeating number of times of an automatic write-in operation/automatic erasure operation smaller than that of a normal operation at the time of an inspection in a nonvolatile semiconductor memory device capable of performing a write-in and a batch erasure electrically. CONSTITUTION:In a control circuit 7A, a counter 7a capable of counting the repeating number of times of the automatic write-in operation/automatic erasure operation of information to a prescribed maximum repeating number of times and a counter 7b capable of counting the number to less maximum number than the maximum number countable by the counter 7a are provided. Then, the automatic write-in operation /automatic erasure operation are performed by using the counter 7a at the time of the normal mode, and using the counter 7b at the time of the inspection mode.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、不揮発性半導体記憶
装置に関し、特に電気的に書き込み及び一括消去可能な
不揮発性半導体記憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a non-volatile semiconductor memory device, and more particularly to a non-volatile semiconductor memory device which can be electrically written and collectively erased.

【0002】[0002]

【従来の技術】図4は、電気的に書き込み及び一括消去
可能な不揮発性半導体記憶装置としてのフラッシュメモ
リを示すブロック図である。同図において、外部よりア
ドレス入力端子A〜A16を介して入力されるアドレス
信号に応じてXデコーダ1とYデコーダ2により、メモ
リセルアレイ3内のメモリセルがバイト単位で選択され
る。
2. Description of the Related Art FIG. 4 is a block diagram showing a flash memory as a nonvolatile semiconductor memory device capable of being electrically written and collectively erased. In the figure, the memory cells in the memory cell array 3 are selected in byte units by the X decoder 1 and the Y decoder 2 according to an address signal input from the outside through the address input terminals A 0 to A 16 .

【0003】これら選択されたバイト単位のメモリセル
に、外部からデータ入出力端子D〜Dとセンスアン
プ及び出力バッファ4とYゲート回路5とを介して入力
されるデータが書き込まれる。
Data input from the outside via the data input / output terminals D 0 to D 7 , the sense amplifier / output buffer 4 and the Y gate circuit 5 is written in the selected memory cell in byte unit.

【0004】メモリセルアレイ3のデータの書き込みや
消去は、外部からデータ入出力端子D〜Dに入力さ
れてコマンドラッチ回路6にラッチされたコマンドの内
容に応じて、制御回路7により実行される。
The writing and erasing of data in the memory cell array 3 are executed by the control circuit 7 according to the contents of the command input from the outside to the data input / output terminals D 0 to D 7 and latched in the command latch circuit 6. It

【0005】チップイネ−ブル端子CEバー及びアウト
プットイネーブル端子OEバーを介して外部よりチップ
イネーブル回路及びアウトプットイネーブル回路8に入
力されるチップイネーブル信号及びアウトプットイネー
ブル信号と、外部よりライトイネーブル端子WEバーに
入力されるライトイネーブル信号とに応じて、制御回路
7によるデータの書き込みや消去が可能な状態になる。
A chip enable signal and an output enable signal externally input to a chip enable circuit and an output enable circuit 8 via a chip enable terminal CE bar and an output enable terminal OE bar, and a write enable terminal WE from the outside. In response to the write enable signal input to the bar, the control circuit 7 can write and erase data.

【0006】そして、制御回路7は、プログラム電圧発
生部9または消去電圧発生部10からそれぞれプログラ
ム電圧または消去電圧を発生させて、タイマ10による
所定の時間内に書き込みや消去を実行し、終了する度
に、ベリファイ電圧発生回路11からベリファイ電圧を
発生させて書き込みや消去の状態をチェックする。
Then, the control circuit 7 causes the program voltage generator 9 or the erase voltage generator 10 to generate a program voltage or an erase voltage, respectively, and executes writing or erasing within a predetermined time by the timer 10 and ends. Each time, a verify voltage is generated from the verify voltage generating circuit 11 to check the writing or erasing state.

【0007】なお、制御回路7は、外部からのコマンド
に応じて、書き込み動作や消去動作を外部指令に従いな
がら実行するか、または自動的に実行する。また、制御
回路7は、書き込み動作や消去動作毎にパルスを発生し
てこれを書き込み動作や消去動作の回数として制御回路
7内部のカウンタ回路7aにより計数する。1バイトに
対する書き込み動作/消去動作の最大繰り返し回数はあ
らかじめ25/1000と固定で、カウンタ回路7aに
計数可能な最大値として設定される。
The control circuit 7 executes a write operation or an erase operation according to an external command or automatically according to an external command. Further, the control circuit 7 generates a pulse for each write operation or erase operation, and counts this by the counter circuit 7a inside the control circuit 7 as the number of write operation or erase operation. The maximum number of repetitions of the write operation / erase operation for one byte is fixed at 25/1000 in advance, and is set as the maximum countable value in the counter circuit 7a.

【0008】また、書き込みと動作と消去動作が実行さ
れる際にはVPP端子にVPPH(12V)が印加される。
Further, V PPH (12 V) is applied to the V PP terminal when writing, erasing and erasing operations are executed.

【0009】次に、上述した構成の制御回路による動作
を説明する。まず、外部操作に従って書き込み動作/消
去動作を実行する場合について説明する。外部よりデー
タ入出力端子D〜Dを介して、ライトプログラムコ
マンド/ライトイレーズコマンドが入力された後に、プ
ログラムパルス/イレーズパルスが入力される。コマン
ドラッチ回路6は、それらのコマンドをラッチして制御
回路7に指令を出力する。制御回路7は、コマンンドラ
ッチ回路6からの指令に応じて書き込み動作/消去動作
を実行する。
Next, the operation of the control circuit having the above configuration will be described. First, a case where the write operation / erase operation is executed according to an external operation will be described. A program pulse / erase pulse is input after a write program command / write erase command is input from the outside via the data input / output terminals D 0 to D 7 . The command latch circuit 6 latches those commands and outputs a command to the control circuit 7. The control circuit 7 executes a write operation / erase operation in response to a command from the command latch circuit 6.

【0010】制御回路7による書き込み動作/消去動作
が終了する都度、外部からライトプログラムベリファイ
コマンド/ライトイレーズベリファイコマンドが入力さ
れて、制御回路7により書き込み/消去の状態がチェッ
クされる。書き込み/消去の状態が十分でない場合に
は、書き込み/消去の状態が良好になるまで上述した外
部からのコマンド入力操作を繰り返して制御回路7に書
き込み動作/消去動作を繰り返し実行させる。
Each time the write operation / erase operation by the control circuit 7 is completed, a write program verify command / write erase verify command is input from the outside, and the control circuit 7 checks the write / erase state. If the write / erase state is not sufficient, the command input operation from the outside is repeated until the write / erase state is good, and the control circuit 7 repeatedly executes the write operation / erase operation.

【0011】制御回路7による書き込み動作/消去動作
の繰り返し回数は、あらかじめ定められていてカウンタ
回路7aに設定される計数可能な最大値例えば25/1
000まで実行可能で、25/1000回目の書き込み
動作/消去動作後のベリファイでも書き込み/消去の状
態が十分でない場合には、そのデバイスの書き込み/消
去はフェイル(失敗)となる。
The number of times the write operation / erase operation is repeated by the control circuit 7 is a predetermined maximum value set in the counter circuit 7a, for example, 25/1.
If the write / erase state is not sufficient even in the verification after the 25th / 1000th write / erase operation, the write / erase of the device becomes a failure (failure).

【0012】制御回路7は、このように書き込み/消去
の状態が良好になるまで書き込み動作/消去動作を外部
操作に応じて繰り返し実行する機能の他に、外部操作に
よらず自動的に書き込み動作/消去動作を繰り返し実行
する自動書き込み動作/自動消去動作の機能をもつ。
The control circuit 7 has a function of repeatedly executing the write operation / erase operation in response to an external operation until the write / erase state becomes good as described above, and the write operation is automatically performed without the external operation. / Has functions of automatic write operation / auto erase operation that repeatedly executes erase operation.

【0013】制御回路7による自動書き込み動作を図5
のフローチャートを用いて説明する。まず、ステップs
1でVCC端子に5V、VPP端子にVPPH(12V)が印
加された後、ステップs2で外部からコマンドラッチ回
路6にオートプログラムコマンドが入力されて、コマン
ドラッチ回路6から制御回路7に自動書き込み指令が出
力される。
The automatic write operation by the control circuit 7 is shown in FIG.
This will be described with reference to the flowchart of. First, step s
After 5 V is applied to the V CC terminal and V PPH (12 V) is applied to the V PP terminal in 1, an auto program command is input to the command latch circuit 6 from the outside in step s2, and the command latch circuit 6 controls the control circuit 7. An automatic write command is output.

【0014】この自動書き込み指令により、ステップs
3で制御回路7はカウンタ回路7aの初期値を0に設定
して、ステップs4で書き込みデータが外部からデータ
入出力端子D〜Dに入力される。
By this automatic writing command, step s
In 3, the control circuit 7 sets the initial value of the counter circuit 7a to 0, and in step s4, the write data is externally input to the data input / output terminals D 0 to D 7 .

【0015】続いて、ステップs5で1回目の自動書き
込み動作を開始し、ステップs6で例えば10μsで書
き込み動作を終了した後、ステップs6でカウンタ回路
7aをインクリメントする。
Subsequently, in step s5, the first automatic write operation is started, and in step s6, the write operation is completed, for example, at 10 μs, and then the counter circuit 7a is incremented in step s6.

【0016】続いて、カウンタ回路7aの計数値が最大
値25にまだ達していないので、ステップs7を経てス
テップs8に進み、ベリファイを実行して書き込み状態
をチェックする。書き込み状態が良好であれば、そのデ
バイスは書き込みをパスする。
Subsequently, since the count value of the counter circuit 7a has not reached the maximum value 25 yet, the process proceeds to step s8 through step s7, and the verify is executed to check the write state. If the write condition is good, the device passes the write.

【0017】上記ステップs8で、ベリファイを実行し
た結果、書き込み状態が十分でない場合には、書き込み
失敗で、上記ステップs4〜s8を繰り返しその都度カ
ウンタ回路7aをインクリメントする。
As a result of executing the verify in step s8, if the write state is not sufficient, the write is unsuccessful and the steps s4 to s8 are repeated, and the counter circuit 7a is incremented each time.

【0018】ステップs7でカウンタ回路7aの計数値
が最大値25に達したら、ステップs10に進んでベリ
ファイを実行する。その結果、書き込み状態が良好であ
ればそのデバイスは書き込みをパスし、書き込み状態が
十分でなければそのデバイスは書き込み失敗である。
When the count value of the counter circuit 7a reaches the maximum value 25 in step s7, the process proceeds to step s10 to execute the verification. As a result, if the write status is good, the device passes the write, and if the write status is not good, the device fails the write.

【0019】次に、制御回路7による自動消去動作を図
6のフローチャートを用いて説明する。まず、ステップ
t1でVCC端子に5V、VPP端子にVPPH(12V)が
印加された後、ステップt2で外部からコマンドラッチ
回路6にオートイレーズコマンドが入力されて、コマン
ドラッチ回路6から制御回路7に自動書き込み指令が出
力される。
Next, the automatic erase operation by the control circuit 7 will be described with reference to the flowchart of FIG. First, at step t1, 5 V is applied to the V CC terminal and V PPH (12 V) is applied to the V PP terminal, and at step t2, an command command is input from the outside to the command latch circuit 6 and controlled by the command latch circuit 6. An automatic write command is output to the circuit 7.

【0020】続いて、ステップt3で、全バイトが書き
込まれている状態で00Hか否かを判断し、00Hでな
い場合にステップt4で全バイトを00Hにした後、ス
テップt5でアドレスの先頭番地を指定する。また、上
記ステップt3で全バイトが00Hである場合にはステ
ップt5に進む。
Then, at step t3, it is judged whether or not all bytes are written to 00H. If not, then at step t4 all bytes are set to 00H, and at step t5, the start address of the address is set. specify. If all the bytes are 00H in step t3, the process proceeds to step t5.

【0021】続いて、ステップt6で制御回路7はカウ
ンタ回路7aの初期値を0に設定して、ステップt7で
1回目の消去動作を開始する。ステップt7で例えば
9.5msで消去動作を終了した後、ステップt8でカ
ウンタ回路7aをインクリメントする。
Subsequently, at step t6, the control circuit 7 sets the initial value of the counter circuit 7a to 0, and at step t7, the first erase operation is started. After the erase operation is completed, for example, at 9.5 ms at step t7, the counter circuit 7a is incremented at step t8.

【0022】続いて、カウンタ回路7aの計数値が最大
値1000にまだ達していないので、ステップt9を経
てステップt10に進み、ベリファイを実行して消去状
態をチェックする。消去状態が良好であれば、そのデバ
イスは消去をパスする。
Then, since the count value of the counter circuit 7a has not reached the maximum value 1000 yet, the process proceeds to step t10 through step t9, and the verify is executed to check the erased state. If the erase condition is good, the device passes the erase.

【0023】上記ステップt10で、ベリファイを実行
した結果、消去状態が十分でない場合には、消去失敗
で、上記ステップt7〜t10を繰り返しその都度カウ
ンタ回路7aをインクリメントする。
If the erase state is not sufficient as a result of executing the verify in step t10, the erase fails, and steps t7 to t10 are repeated, and the counter circuit 7a is incremented each time.

【0024】上記ステップt9でカウンタ回路7aの計
数値が最大値1000に達したら、ステップt11に進
んでベリファイを実行する。その結果、消去状態が良好
であればそのデバイスは消去をパスし、消去状態が十分
でなければそのデバイスは消去失敗である。
When the count value of the counter circuit 7a reaches the maximum value 1000 in step t9, the process proceeds to step t11 to execute the verify. As a result, the device passes the erase if the erase state is good, and the device fails the erase if the erase state is not sufficient.

【0025】このように、自動書き込み動作/自動消去
動作では、最初に外部よりオートプトグラムコマンド/
オートイレーズコマンドが入力されるだけで制御回路7
は書き込み動作/消去動作の全工程を自動的に実行する
ので、外部操作は非常に簡単である。
As described above, in the automatic write operation / automatic erase operation, first, an external autogram command / automatic program /
Control circuit 7 only by inputting auto-laize command
The external operation is very simple because it automatically executes all steps of the write / erase operation.

【0026】なお、自動書き込み動作/自動消去動作の
テストを行う場合も、上述した通常時と同じ動作を実施
する。
When performing a test of the automatic write operation / automatic erase operation, the same operation as the above-mentioned normal time is carried out.

【0027】[0027]

【発明が解決しようとする課題】従来の不揮発性半導体
記憶装置は、上述したように、自動書き込み動作/自動
消去動作毎に発生するパルス数即ち自動書き込み動作/
自動消去動作の繰り返し回数を計数するカウンタ回路7
aの計数可能な最大値があらかじめ定められた値に設定
され変化させることができないので、テスト時にも通常
時と同じく、書き込み/消去が良好な状態にならなけれ
ばカウンタ回路7aに設定された最大値まで書き込み動
作/消去動作を繰り返す。そのため、テスト時間が長く
なるという問題点があった。
In the conventional nonvolatile semiconductor memory device, as described above, the number of pulses generated in each automatic write operation / automatic erase operation, that is, automatic write operation /
Counter circuit 7 for counting the number of repetitions of the automatic erase operation
Since the maximum countable value of a is set to a predetermined value and cannot be changed, the maximum value set in the counter circuit 7a must be set if the write / erase does not reach a good state during the test as in the normal state. The write / erase operation is repeated up to the value. Therefore, there is a problem that the test time becomes long.

【0028】この発明は、このような問題点を解決する
ためになされたもので、テスト時に、自動書き込み動作
/自動消去動作の最大繰り返し回数を通常時よりも小さ
くすることによりテスト時間を短縮することができる不
揮発性半導体記憶装置を得ることを目的とする。
The present invention has been made in order to solve such a problem, and shortens the test time by making the maximum number of repetitions of the automatic write operation / automatic erase operation smaller than the normal time during the test. An object is to obtain a non-volatile semiconductor memory device that can be used.

【0029】[0029]

【課題を解決するための手段】この発明の請求項1に係
る不揮発性半導体記憶装置は、電気的に情報の書き込み
と消去が可能な不揮発性半導体記憶装置において、情報
の自動書き込み動作または自動消去動作時の繰り返し回
数を最大繰り返し回数まで計数する第1カウンタと、上
記第1カウンタの最大繰り返し回数よりも小さい最大繰
り返し回数まで計数する第2カウンタとを有し、通常モ
ード時には上記第1カウンタを用いて自動書き込みまた
は自動消去を実行し、テストモード時には上記第2カウ
ンタを用いて自動書き込みまたは自動消去を実行する制
御手段を備えたものである。
A non-volatile semiconductor memory device according to a first aspect of the present invention is a non-volatile semiconductor memory device in which information can be electrically written and erased. It has a first counter that counts the number of repetitions during operation up to the maximum number of repetitions, and a second counter that counts up to the maximum number of repetitions that is smaller than the maximum number of repetitions of the first counter. A control means for executing automatic writing or automatic erasing by using the second counter and executing automatic writing or automatic erasing by using the second counter in the test mode is provided.

【0030】この発明の請求項2に係る不揮発性半導体
記憶装置は、電気的に情報の書き込みと消去が可能な不
揮発性半導体記憶装置において、情報の自動書き込み動
作または自動消去動作時の最大繰り返し回数が設定可能
で、設定された最大繰り返し回数まで繰り返し回数を計
数するカウンタを有し、このカウンタを用いて自動書き
込みまたは自動消去を実行する制御手段を備えたもので
ある。
A non-volatile semiconductor memory device according to a second aspect of the present invention is a non-volatile semiconductor memory device capable of electrically writing and erasing information, and has a maximum number of repetitions during an automatic information writing operation or an automatic erasing operation. Can be set, has a counter for counting the number of repetitions up to the set maximum number of repetitions, and is provided with a control means for executing automatic writing or automatic erasing using this counter.

【0031】[0031]

【作用】この発明の請求項1に係る不揮発性半導体装置
においては、制御回路は、通常モード時に、情報の自動
書き込み動作または自動消去動作時の繰り返し回数を最
大繰り返し回数まで計数する第1カウンタを用い、テス
トモード時には、上記第1カウンタの最大繰り返し回数
よりも小さい最大繰り返し回数まで計数する第2カウン
タを用いて、自動書き込みまたは自動消去を実行する。
In the non-volatile semiconductor device according to claim 1 of the present invention, the control circuit includes a first counter for counting the number of repetitions during the automatic writing operation or the automatic erasing operation of information up to the maximum number of repetitions in the normal mode. In the test mode, the second counter, which counts up to the maximum number of repetitions smaller than the maximum number of repetitions of the first counter, is used to execute the automatic writing or the automatic erasing.

【0032】この発明の請求項2に係る不揮発性半導体
記憶装置においては、制御回路は、情報の自動書き込み
動作または自動消去動作の最大繰り返し回数が外部から
カウンタに設定されて、設定された最大繰り返し回数ま
で上記カウンタにより自動書き込み動作または自動消去
動作を計数する。
In the non-volatile semiconductor memory device according to claim 2 of the present invention, the control circuit sets the maximum number of repetitions of the automatic writing operation or the automatic erasing operation of the information to the counter from the outside and sets the maximum repetition number. Up to the number of times, the automatic write operation or the automatic erase operation is counted by the counter.

【0033】[0033]

【実施例】以下、この発明の諸実施例を図について説明
する。 実施例1.図1は、この発明の実施例1を示すブロック
図である。同図において、例えばアドレス入力端子A
からの入力がXデコーダ内のアドレス検出回路13に入
力されると共に高電圧検出回路14に入力され、その入
力がアドレス入力である場合には高電圧検出回路14か
ら制御回路7Aに5Vが印加されて制御回路7Aが通常
動作を実行する通常モードとなり、その入力が高電圧V
HHである場合には制御回路7Aに0Vが印加されて制御
回路7Aがテストを実行するテストモードとなる。
Embodiments of the present invention will be described below with reference to the drawings. Example 1. 1 is a block diagram showing a first embodiment of the present invention. In the figure, for example, the address input terminal A 1
Is input to the address detection circuit 13 in the X decoder and the high voltage detection circuit 14, and when the input is an address input, 5V is applied from the high voltage detection circuit 14 to the control circuit 7A. Then, the control circuit 7A enters the normal mode in which the normal operation is executed, and its input is the high voltage
When it is HH , 0V is applied to the control circuit 7A, and the control circuit 7A enters the test mode in which the test is executed.

【0034】制御回路7Aは、従来例と同じくコマンド
ラッチ回路6からの指令に応じて、1バイトに対する計
数可能な最大値が自動書き込み動作時には例えば25に
設定され自動消去動作時には例えば1000に設定され
るカウンタ回路7aを有し、通常モード時に、書き込み
動作/消去動作毎に発生するパルス数を書き込み動作/
消去動作の繰り返し回数としてカウンタ回路7aにより
計数する。
In the control circuit 7A, the maximum countable value for one byte is set to, for example, 25 in the automatic write operation and to 1000 in the automatic erase operation in response to the command from the command latch circuit 6 as in the conventional example. In the normal mode, the counter circuit 7a for controlling the number of pulses generated for each write operation / erase operation is used.
The number of repetitions of the erase operation is counted by the counter circuit 7a.

【0035】また、制御回路7Aは、コマンドラッチ回
路6からの指令に応じて、1バイトに対する計数可能な
最大値が自動書き込み動作時には25よりも小さい例え
ば12に設定され自動消去動作時には1000よりも小
さい数に設定されるカウンタ回路7aを有し、テストモ
ード時に、書き込み動作/消去動作毎に発生するパルス
数を書き込み動作/消去動作の繰り返し回数としてカウ
ンタ回路7bにより計数する。なお、上述した構成以外
の他の部分は図4と同様である。
In addition, the control circuit 7A sets the maximum countable value for one byte, which is smaller than 25 in the automatic write operation, to 12, for example, 12 in response to a command from the command latch circuit 6, and sets it to more than 1000 in the automatic erase operation. It has a counter circuit 7a set to a small number, and in the test mode, the counter circuit 7b counts the number of pulses generated for each write operation / erase operation as the number of times of the write operation / erase operation. The other parts than the above-mentioned configuration are the same as those in FIG.

【0036】次に、上述した構成の制御回路7Aによる
動作を図2を用いて説明する。まず、自動書き込み時に
ついて説明する。ステップu1でVCC端子に5Vが印加
されかつVPP端子にVPPH(12V)が印加された後、
ステップu2でアドレス入力端子Aに高電圧VHHが入
力されて高電圧検出回路14により検出される。高電圧
検出回路14は制御回路7Aに0Vを供給して制御回路
7Aをテストモードに切り替える。これにより、制御回
路7A内のカウンタ回路7bが動作可能になる。
Next, the operation of the control circuit 7A having the above configuration will be described with reference to FIG. First, the time of automatic writing will be described. After 5 V is applied to the V CC terminal and V PPH (12 V) is applied to the V PP terminal in step u1,
In step u2, the high voltage V HH is input to the address input terminal A 1 and detected by the high voltage detection circuit 14. The high voltage detection circuit 14 supplies 0V to the control circuit 7A to switch the control circuit 7A to the test mode. As a result, the counter circuit 7b in the control circuit 7A becomes operable.

【0037】続いて、ステップu3で、外部からコマン
ドラッチ回路6にオートプログラムコマンドが入力され
てコマンドラッチ回路6から制御回路7Aに自動書き込
み指令が出力される。
Then, in step u3, an auto program command is input to the command latch circuit 6 from the outside, and an automatic write command is output from the command latch circuit 6 to the control circuit 7A.

【0038】制御回路7Aでは、カウンタ回路7bが動
作可能にされているので、ステップu4では、カウンタ
回路7bがコマンドラッチ回路6からの自動書き込み指
令を受けて図5と同様な自動書き込み動作を実行する。
ただし、カウンタ回路7bの計数可能な最大値は12に
設定されているので、1バイトに対する自動書き込み動
作は最大12回繰り返され、12回目の自動書き込み動
作でも書き込み状態が十分でない場合に、そのデバイス
は書き込み失敗(フェイル)となる。
In the control circuit 7A, since the counter circuit 7b is enabled, in step u4, the counter circuit 7b receives the automatic write command from the command latch circuit 6 and executes the automatic write operation similar to that shown in FIG. To do.
However, since the maximum value that can be counted by the counter circuit 7b is set to 12, the automatic write operation for 1 byte is repeated up to 12 times, and if the write state is not sufficient even in the 12th automatic write operation, the device Is a write failure (fail).

【0039】このように、テストモード時に、計数可能
な最大値が通常モード時よりも小さい12に設定される
カウンタ回路7bを用いて1バイトに対する自動書き込
み動作の繰り返し回数を計数することによって、テスト
に要する時間が通常モード時の約半分に短縮される。
As described above, in the test mode, the maximum countable value is set to 12, which is smaller than that in the normal mode. By using the counter circuit 7b, the number of repetitions of the automatic write operation for one byte is counted, thereby performing the test. It takes about half the time required for normal mode.

【0040】また、自動消去時にも、図2(b)に示す
ように、ステップv1でVCC端子に5Vが印加されかつ
PP端子にVPPH(12V)が印加された後、ステップ
v2でアドレス入力端子Aに入力された高電圧VHH
が高電圧検出回路14により検出され高電圧検出回路1
4から制御回路7Aに0Vが供給されて、制御回路7A
がテストモードに切り替わる。
Also during automatic erasing, as shown in FIG. 2B, after 5 V is applied to the V CC terminal and V PPH (12 V) is applied to the V PP terminal in step v1, in step v2 High voltage V HH 2 input to address input terminal A 1
Is detected by the high voltage detection circuit 14 and the high voltage detection circuit 1
0V is supplied from 4 to the control circuit 7A,
Switches to test mode.

【0041】その後、ステップv3で、外部からコマン
ドラッチ回路6にオートイレーズコマンドが入力されて
コマンドラッチ回路6から制御回路7Aに自動消去指令
が出力されて、ステップv4で制御回路7Aが自動消去
動作を実行し、自動消去動作毎に発するパルスが自動消
去動作の繰り返し回数としてカウンタ回路7bにより計
数される。
After that, in step v3, an auto erase command is input from the outside to the command latch circuit 6 and an automatic erase command is output from the command latch circuit 6 to the control circuit 7A. In step v4, the control circuit 7A performs an automatic erase operation. And the pulse generated for each automatic erasing operation is counted by the counter circuit 7b as the number of repetitions of the automatic erasing operation.

【0042】このように、テストモード時に、計数可能
な最大値が通常モード時よりも小さく設定されるカウン
タ回路7bを用いて1バイトに対する自動消去動作の繰
り返し回数を計数することによって、テストに要する時
間が短縮される。なお、通常モードでは、自動書き込み
動作/自動消去動作ともに、従来例と同様にカウンタ回
路7aが用いられてパルス数が計数される。
As described above, in the test mode, the maximum countable value is set to be smaller than that in the normal mode. By using the counter circuit 7b, the number of repetitions of the automatic erase operation for one byte is counted, and the test is required. Time is reduced. In the normal mode, the counter circuit 7a is used to count the number of pulses in both the automatic write operation and the automatic erase operation as in the conventional example.

【0043】実施例2.上記実施例1では、特定の端子
に高電圧を印加することによって制御回路7Aがテスト
モードに切り替わるように構成したが、外部からテスト
用のコマンドを入力しコマンドラッチ回路6にラッチさ
せてテストモードに切り替えるようにしても良い。
Example 2. In the first embodiment described above, the control circuit 7A is configured to switch to the test mode by applying a high voltage to a specific terminal. However, the test command is input from the outside and the command latch circuit 6 latches the command for test mode. You may switch to.

【0044】実施例3.上記実施例1では、制御回路7
Aがテストモードに切り替わってカウンタ回路7bが動
作可能な状態になった後にオートプログラムコマンド/
オートイレーズコマンドが外部から入力されると、カウ
ンタ回路7bの計数可能な最大値は通常モード時よりも
小さいあらかじめ定まっている値に設定される。これに
対して、この実施例3では、図3(a)/図3(b)に
示すように、ステップw2/ステップx3でテストモー
ドに切り替わってカウンタ回路7bが動作可能な状態に
なった後に、カウンタ回路7bの計数可能な最大値を外
部からデータ入出力端子D〜D及びコマンドラッチ
回路6を介してカウンタ回路7bに任意に設定する。
Example 3. In the first embodiment, the control circuit 7
After A switches to the test mode and the counter circuit 7b becomes operable, the auto program command /
When the auto-laise command is input from the outside, the maximum countable value of the counter circuit 7b is set to a predetermined value smaller than that in the normal mode. On the other hand, in the third embodiment, as shown in FIG. 3A / FIG. 3B, after switching to the test mode at step w2 / step x3 and the counter circuit 7b becomes operable, , arbitrarily set the countable maximum value of the counter circuit 7b from the outside to the counter circuit 7b via the data input-output terminal D 0 to D 7 and the command latch circuit 6.

【0045】従って、この実施例3では、外部から入力
するカウンタ回路7bの計数可能な最大値に応じて1バ
イトに対する自動書き込み動作/自動消去動作の繰り返
し回数を可変にすることができるので、テスト時間を自
由に設定することができる。
Therefore, in the third embodiment, the number of repetitions of the automatic write operation / auto erase operation for one byte can be made variable according to the maximum countable value of the counter circuit 7b inputted from the outside. You can set the time freely.

【0046】実施例4.上記実施例1〜3では、カウン
タ回路7bの初期値を例えば0に固定しておき上限値を
変えることによってカウンタ回路7bの計数可能な最大
値を変化させるが、カウンタ回路7bの上限値を固定し
ておき初期値を変えることによってカウンタ回路7bの
計数可能な最大値を変化させるようにしても同様の効果
が得られる。
Example 4. In the first to third embodiments, the initial value of the counter circuit 7b is fixed to 0 and the upper limit value is changed to change the maximum countable value of the counter circuit 7b. However, the upper limit value of the counter circuit 7b is fixed. The same effect can be obtained even if the maximum countable value of the counter circuit 7b is changed by changing the initial value.

【0047】[0047]

【発明の効果】以上説明した通り、この発明の請求項1
に係る不揮発性半導体記憶装置は、通常モード時には情
報の自動書き込み動作または自動消去動作時の繰り返し
回数を最大繰り返し回数まで計数する第1カウンタを用
い、テストモード時には上記第1カウンタの最大繰り返
し回数よりも小さい最大繰り返し回数まで計数する第2
カウンタを用いて、自動書き込み動作または自動消去動
作を実行するよう構成したことによって、テスト時の自
動書き込み動作/自動消去動作の最大繰り返し回数が通
常モード時よりも小さいので、テスト時間を短縮するこ
とができるという効果を奏する。
As described above, according to the first aspect of the present invention.
The non-volatile semiconductor memory device according to the present invention uses a first counter that counts the number of repetitions during the automatic writing operation or the automatic erasing operation of information up to the maximum number of repetitions in the normal mode. Second, which counts up to the maximum number of repetitions
Since the maximum number of repetitions of the automatic write operation / auto erase operation during the test is smaller than that in the normal mode by configuring the counter to perform the automatic write operation or the automatic erase operation, the test time can be shortened. There is an effect that can be.

【0048】また、この発明の請求項2に係る不揮発性
半導体記憶装置は、情報の自動書き込み動作または自動
消去動作時の最大繰り返し回数が設定可能で、設定され
た最大繰り返し回数まで繰り返し回数を計数するカウン
タを用いて自動書き込み動作または自動消去動作を実行
するよう構成したことによって、テスト時に自動書き込
み動作または自動消去動作の最大繰り返し回数を通常モ
ード時よりも小さく設定できるので、テスト時間を短縮
することができるという効果を奏する。
Further, in the non-volatile semiconductor memory device according to claim 2 of the present invention, the maximum number of repetitions at the time of the automatic writing operation or the automatic erasing operation of information can be set, and the number of repetitions is counted up to the set maximum number of repetitions. By configuring to execute the automatic write operation or automatic erase operation using the counter, the maximum number of repetitions of the automatic write operation or automatic erase operation can be set to be smaller than that in the normal mode during the test, thus reducing the test time. There is an effect that can be.

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

【図1】この発明の実施例1を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】この発明の実施例1の動作を説明するためのフ
ローチャートである。
FIG. 2 is a flow chart for explaining the operation of the first embodiment of the present invention.

【図3】この発明の実施例2の動作を説明するためのフ
ローチャートである。
FIG. 3 is a flow chart for explaining the operation of the second embodiment of the present invention.

【図4】従来の不揮発性半導体記憶装置を示すブロック
図である。
FIG. 4 is a block diagram showing a conventional nonvolatile semiconductor memory device.

【図5】従来の不揮発性半導体記憶装置の動作を説明す
るためのフローチャートである。
FIG. 5 is a flowchart for explaining the operation of the conventional nonvolatile semiconductor memory device.

【図6】従来の不揮発性半導体記憶装置の動作を説明す
るためのフローチャートである。
FIG. 6 is a flowchart for explaining the operation of the conventional nonvolatile semiconductor memory device.

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

7A 制御回路 7a カウンタ 7b カウンタ 7A control circuit 7a counter 7b counter

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年5月19日[Submission date] May 19, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項2[Name of item to be corrected] Claim 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0030[Name of item to be corrected] 0030

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0030】この発明の請求項2に係る不揮発性半導体
記憶装置は、電気的に情報の書き込みと消去が可能な不
揮発性半導体記憶装置において、情報の自動書き込み動
作または自動消去動作時の最大繰り返し回数が外部より
任意の値に設定可能で、設定された最大繰り返し回数ま
で繰り返し回数を計数するカウンタを有し、このカウン
タを用いて自動書き込みまたは自動消去を実行する制御
手段を備えたものである。
A non-volatile semiconductor memory device according to a second aspect of the present invention is a non-volatile semiconductor memory device capable of electrically writing and erasing information, and has a maximum number of repetitions during an automatic information writing operation or an automatic erasing operation. From the outside
It has a counter that can be set to any value and counts the number of repetitions up to the set maximum number of repetitions, and is provided with control means for executing automatic writing or automatic erasing using this counter.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 電気的に情報の書き込みと消去が可能な
不揮発性半導体記憶装置において、情報の自動書き込み
動作または自動消去動作時の繰り返し回数を最大繰り返
し回数まで計数する第1カウンタと、上記第1カウンタ
の最大繰り返し回数よりも小さい最大繰り返し回数まで
計数する第2カウンタとを有し、通常モード時には上記
第1カウンタを用いて自動書き込みまたは自動消去を実
行し、テストモード時には上記第2カウンタを用いて自
動書き込みまたは自動消去を実行する制御手段を備えた
ことを特徴とする不揮発性半導体記憶装置。
1. A non-volatile semiconductor memory device capable of electrically writing and erasing information, comprising: a first counter for counting the number of repetitions during an automatic information writing operation or an automatic erasing operation up to a maximum number of repetitions; A second counter that counts up to the maximum number of repetitions that is smaller than the maximum number of repetitions of one counter. In the normal mode, the first counter is used to perform automatic writing or automatic erasing, and in the test mode, the second counter is used. A non-volatile semiconductor memory device comprising control means for executing automatic writing or automatic erasing by using.
【請求項2】 電気的に情報の書き込みと消去が可能な
不揮発性半導体記憶装置において、情報の自動書き込み
動作または自動消去動作時の最大繰り返し回数が設定可
能で、設定された最大繰り返し回数まで繰り返し回数を
計数するカウンタを有し、このカウンタを用いて自動書
き込みまたは自動消去を実行する制御手段を備えたこと
を特徴とする不揮発性半導体記憶装置。
2. In a non-volatile semiconductor memory device capable of electrically writing and erasing information, a maximum number of repetitions during an automatic information writing operation or an automatic erasing operation can be set, and the maximum number of repetitions can be repeated. A non-volatile semiconductor memory device comprising a counter for counting the number of times, and a control means for executing automatic writing or automatic erasing using the counter.
JP29297292A 1992-10-30 1992-10-30 Nonvolatile semiconductor memory device Pending JPH06150680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29297292A JPH06150680A (en) 1992-10-30 1992-10-30 Nonvolatile semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29297292A JPH06150680A (en) 1992-10-30 1992-10-30 Nonvolatile semiconductor memory device

Publications (1)

Publication Number Publication Date
JPH06150680A true JPH06150680A (en) 1994-05-31

Family

ID=17788814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29297292A Pending JPH06150680A (en) 1992-10-30 1992-10-30 Nonvolatile semiconductor memory device

Country Status (1)

Country Link
JP (1) JPH06150680A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182899A (en) * 1993-12-22 1995-07-21 Nec Corp Semiconductor storage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182899A (en) * 1993-12-22 1995-07-21 Nec Corp Semiconductor storage

Similar Documents

Publication Publication Date Title
EP0753859B1 (en) Method for setting the threshold voltage of a reference memory cell
US6067598A (en) Memory system having programmable flow control register
US6272586B1 (en) Memory system having programmable control parameters
US5880996A (en) Memory system having non-volatile data storage structure for memory control parameters and method
TW591664B (en) Non-volatile semiconductor memory device
JPH09180477A (en) Non-volatile semiconductor memory device and its reading/programming method
US9640272B2 (en) Semiconductor device control circuit and method thereof
JPH05151789A (en) Electrically writable and batch erasable nonvolatile semiconductor memory device
US5724289A (en) Nonvolatile semiconductor memory capable of selectively performing a pre-conditioning of threshold voltage before an erase self-test of memory cells and a method related therewith
JPH06150680A (en) Nonvolatile semiconductor memory device
JPH1064288A (en) Flash erasure type non-volatile memory and its erasing method
JP3088247B2 (en) Nonvolatile semiconductor memory device and erasing method therefor
KR100207511B1 (en) Method for setting up test mode in semiconductor chip
US5566109A (en) EEPROM, write control method for EEPROM, and IC card
US6870383B2 (en) Semiconductor device with high speed switching of test modes
KR100231724B1 (en) Flash memory device and repair method
EP0642135B1 (en) A nonvolatile semiconductor memory and its test method
JPS62205599A (en) Read only memory circuit capable of writing
KR100463585B1 (en) Sense Amplifiers in Flash Memory
JPH1186575A (en) Non-volatile semiconductor memory
JPH07182899A (en) Semiconductor storage
KR0176314B1 (en) Semiconductor integrated circuit
US6771093B1 (en) Implementing reference current measurement mode within reference array programming mode or reference array erase mode in a semiconductor
KR100666421B1 (en) Nonvolatile semiconductor memory device and method for achieving shorter erasure time
JPH0950697A (en) Control circuit for non-volatile semiconductor memory