JPH09237164A - Semiconductor disk device - Google Patents

Semiconductor disk device

Info

Publication number
JPH09237164A
JPH09237164A JP8045838A JP4583896A JPH09237164A JP H09237164 A JPH09237164 A JP H09237164A JP 8045838 A JP8045838 A JP 8045838A JP 4583896 A JP4583896 A JP 4583896A JP H09237164 A JPH09237164 A JP H09237164A
Authority
JP
Japan
Prior art keywords
data
semiconductor memory
memory device
signal
read
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.)
Withdrawn
Application number
JP8045838A
Other languages
Japanese (ja)
Inventor
Manabu Miyata
学 宮田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP8045838A priority Critical patent/JPH09237164A/en
Publication of JPH09237164A publication Critical patent/JPH09237164A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten the test time of a non-volatile semiconductor memory. SOLUTION: When a test command is received by a microcontroller 12, a data generating circuit 15 is controlled to generate test data and generated data is written in a buffer memory 13. When the buffer memory 13 becomes full, a sequencer 14 is controlled to write test data in a non-voltaile semiconductor memory 19. After writing test data in the whole area of the non-voltatile semiconductor memory 19 is completed, test data is read from the non-volatile semiconductor memory 19 by the sequencer 14 and written in the buffer memory 13. When the buffer memory 13 becomes full, a reading pulse is generated by a reading circuit 17 and data is read out from the buffer memory 13. The data generating circuit 15 generates test data. A data comparing circuit executes comparison and outputs a status to the microcontroller 12.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、半導体ディスク装
置に関するものであり、特に、その内部に搭載される不
揮発性半導体などの半導体ディスク装置に対して試験を
自動的に行う回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor disk device, and more particularly to a circuit for automatically performing a test on a semiconductor disk device such as a nonvolatile semiconductor mounted therein.

【0002】[0002]

【従来の技術】従来、不揮発性半導体ディスク装置(P
CMIA−ATAフラッシュメモリカードなど)は、ホ
ストとなるコンピュータに接続されて使用される。一般
には、ホストは不揮発性ディスク装置へデータを書き込
む場合、またはデータを読み出す場合、不揮発性半導体
ディスク装置へコマンドを発行して、セクタ(512バ
イト)単位でデータの読み書きを行う。図2は、従来の
不揮発性半導体ディスク装置の構成図である。図2に示
すように、ホストが不揮発性半導体ディスク装置にデー
タを書き込む場合、ホストが先ず不揮発性半導体ディス
ク装置に対してデータの書き込みを指示するコマンドを
出す。不揮発性半導体ディスク装置は、ホストインタフ
ェース1を介してコマンドを受け取ると、マイクロコン
トローラ2に通知され、マイクロコントローラ2はデー
タの書き込み動作のフローに従って不揮発性半導体ディ
スク装置内のシーケンサ4及びバッファメモリ3を制御
する。先ず、ホストから書き込まれたデータはホストイ
ンタフェースを一旦、バッファメモリ3に格納され、1
セクタ(512バイト)のデータが溜まると、バッファ
メモリ3からマイクロコントローラ2に対して、バッフ
ァメモリにデータが溜まったことを示す信号が送られ
る。
2. Description of the Related Art Conventionally, a non-volatile semiconductor disk device (P
A CMIA-ATA flash memory card or the like) is used by being connected to a host computer. Generally, when writing data to or reading data from a non-volatile disk device, the host issues a command to the non-volatile semiconductor disk device to read / write data in sector (512 byte) units. FIG. 2 is a configuration diagram of a conventional nonvolatile semiconductor disk device. As shown in FIG. 2, when the host writes data to the nonvolatile semiconductor disk device, the host first issues a command to the nonvolatile semiconductor disk device to write the data. When the non-volatile semiconductor disk device receives a command via the host interface 1, the micro-controller 2 is notified, and the micro-controller 2 sets the sequencer 4 and the buffer memory 3 in the non-volatile semiconductor disk device according to the flow of the data writing operation. Control. First, the data written from the host is temporarily stored in the buffer memory 3 through the host interface and
When the data of the sector (512 bytes) is accumulated, a signal indicating that the data is accumulated in the buffer memory is sent from the buffer memory 3 to the microcontroller 2.

【0003】マイクロコントローラ2は、シーケンサ4
を制御して、シーケンサ4は、バッファメモリ3からデ
ータを順次読み出し、不揮発性半導体アレイ5のインタ
フェースに合わせてフォーマット変換して、不揮発性半
導体アレイ5に書き込む。この動作をバッファメモリ3
のセクタカウンタにて指示された回数だけ実行する。ま
た、ホストが不揮発性半導体ディスク装置からデータを
読み出す場合、ホストが先ず、不揮発性半導体ディスク
装置に対してデータの読み出しを指示するコマンドを出
す。不揮発性半導体ディスク装置は、ホストインタフェ
ース1を介して、コマンドを受け取ると、マイクロコン
トローラ2に通知され、マイクロコントローラ2は、デ
ータの読み出し動作のフローに従って不揮発性半導体デ
ィスク装置内のシーケンサ4及びをバッファメモリ3を
制御する。先ず、マイクロコントローラ2は、シーケン
サ4を制御し、シーケンサ4は、不揮発性半導体アレイ
5より1セクタのデータを読み出して、バッファメモリ
3に格納する。バッファメモリ3に1セクタのデータが
溜まると、マイクロコントローラ2を介して、ホストに
通知される。ホストがホストインタフェース1を介して
バッファメモリ3から読み出す。この動作をセクタカウ
ンタにて指示された回数だけ実行する。
The microcontroller 2 is a sequencer 4
The sequencer 4 sequentially reads the data from the buffer memory 3, converts the format according to the interface of the non-volatile semiconductor array 5, and writes the data in the non-volatile semiconductor array 5. This operation is performed in the buffer memory 3
Execute the number of times specified by the sector counter. When the host reads data from the non-volatile semiconductor disk device, the host first issues a command to the non-volatile semiconductor disk device to read the data. When the nonvolatile semiconductor disk device receives a command via the host interface 1, it is notified to the microcontroller 2, and the microcontroller 2 buffers the sequencer 4 and the sequencer in the nonvolatile semiconductor disk device according to the flow of the data read operation. The memory 3 is controlled. First, the microcontroller 2 controls the sequencer 4, and the sequencer 4 reads data of one sector from the nonvolatile semiconductor array 5 and stores it in the buffer memory 3. When one sector of data is accumulated in the buffer memory 3, the host is notified via the microcontroller 2. The host reads from the buffer memory 3 via the host interface 1. This operation is executed the number of times designated by the sector counter.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
不揮発性半導体ディスク装置は、以下の課題があった。
不揮発性半導体5への書き込みは、1回のコマンドで1
トラック単位、または最大256セクタ(通常、転送す
るセクタ数はセクタカウンタの値で指定されるため)し
か連続してできない。ところが、不揮発性半導体ディス
ク装置内の不揮発性半導体アレイ5の試験をしようとす
ると全ての記憶領域に対して、書き込みと読み出しとを
する必要があり、そのため、ホストは何回もコマンドを
発行しなければならない。そのため、試験などで不揮発
性半導体ディスク装置内の不揮発性半導体の全ての記憶
領域が正常であるかを調べるには時間がかかる。また、
1台の不揮発性半導体ディスクを調べるには、コマンド
の送信とデータの送受信を何度も行う必要がありその間
はホストをすることになり結局、1台のホストが必要と
なり、1個の半導体ディスク装置の試験で時間がかかる
ことを補うために、複数個を並列的に試験しようとする
と複数台のホストが必要となり、コストがかかるという
問題点がある。
However, the conventional nonvolatile semiconductor disk device has the following problems.
Writing to the non-volatile semiconductor 5 is 1 by one command.
Only track units or a maximum of 256 sectors (usually, the number of sectors to be transferred is specified by the value of the sector counter) can be continuously used. However, when trying to test the non-volatile semiconductor array 5 in the non-volatile semiconductor disk device, it is necessary to write and read to all storage areas, and therefore the host must issue commands many times. I have to. Therefore, it takes time to check whether all the storage areas of the non-volatile semiconductor in the non-volatile semiconductor disk device are normal in a test or the like. Also,
In order to check one non-volatile semiconductor disk, it is necessary to repeatedly send and receive commands and data, and during that time it becomes a host, so one host is required and one semiconductor disk is required. In order to compensate for the time-consuming device test, a plurality of hosts are required to test a plurality of devices in parallel, which causes a problem of cost increase.

【0005】[0005]

【課題を解決するための手段】第1の発明は、前記課題
を解決するために、ホストコンピータに接続されて使用
され、該ホストコンピュータからのコマンドに従って、
半導体記憶装置にデータの書き込み及び該半導体記憶装
置からデータの読み出しをする半導体ディスク装置にお
いて、以下の手段を備えている。前記ホストコンピュー
タからの試験を指示するコマンドを受信して、前記半導
体記憶装置へのデータの書き込み及び前記半導体記憶装
置からの読み出しを制御する制御手段と、ライト信号に
基づいてデータを書き込み、リード信号に基づいて書き
込んだデータを読み出すバッファメモリと、前記制御手
段によって動作が制御され、試験用のデータと照合用の
データを生成するデータ生成手段と、前記制御手段によ
って動作が制御され、前記データ生成手段で生成した試
験用のデータを前記バッファメモリに書き込むための前
記ライト信号を生成するデータ書き込み手段とを備えて
いる。
In order to solve the above-mentioned problems, the first invention is used by being connected to a host computer, and according to a command from the host computer,
A semiconductor disk device for writing data to a semiconductor memory device and reading data from the semiconductor memory device includes the following means. A control unit that receives a command instructing a test from the host computer and controls writing of data to the semiconductor memory device and reading of data from the semiconductor memory device; and data writing based on a write signal, a read signal A buffer memory for reading the data written based on the above, a data generating means for controlling the operation by the control means, and a data generating means for generating the test data and the collating data, and the operation for controlling the operation by the control means. Data write means for generating the write signal for writing the test data generated by the means into the buffer memory.

【0006】そして、前記制御手段によって動作が制御
され、前記リード信号を生成して前記バッファメモリに
書き込まれた試験用のデータを読み出して、前記半導体
記憶装置に書き込み、前記半導体記憶装置に書き込まれ
た該試験用のデータを読み出して、前記ライト信号を生
成して前記バッファメモリに書き込むシーケンサと、前
記制御手段によって動作が制御され、前記バッファメモ
リに書き込まれたデータを読み出すための前記リード信
号を生成するデータ読み出し手段と、前記制御手段によ
って動作が制御され、前記読み出し手段により出力され
るデータと前記データ生成手段により出力される照合用
のデータとの照合をして照合結果を出力するデータ比較
手段とを備えている。
The operation is controlled by the control means, the read signal is generated, the test data written in the buffer memory is read, written in the semiconductor memory device, and written in the semiconductor memory device. A sequencer for reading the test data, generating the write signal and writing the write signal in the buffer memory, and the read signal for reading the data written in the buffer memory, the operation of which is controlled by the control means. Data comparison for generating data and comparing the data output by the reading unit and the data for collation output by the data generation unit, the operation of which is controlled by the control unit, and outputs the collation result. And means.

【0007】以上のように、半導体デイスク装置を構成
したので、制御手段で試験用のコマンドを入力すると、
データ書き込み手段とデータ書き込み手段とを制御し
て、試験用のデータを作成して、バッファメモリに書き
込んむ。そして、シーケンサを制御して、バッファメモ
リに書き込んだデータを読み出して、半導体記憶手段に
書き込む。さらに、シーケンサを制御して、半導体記憶
手段に書き込んだデータを読み出してゆき、バッファメ
モリにそのデータを書き込む。バッファメモリに書き込
んだデータをデータ読み出し手段を制御して、読み出す
とともに、データ生成手段を制御して、照合用データを
生成して、その照合用データとバッファメモリから読み
出したデータをデータ比較手段で比較する。これによっ
て、半導体ディスク装置内で半導体記憶手段の試験がで
きる。
Since the semiconductor disk device is constructed as described above, when a test command is input by the control means,
By controlling the data writing means and the data writing means, test data is created and written in the buffer memory. Then, by controlling the sequencer, the data written in the buffer memory is read out and written in the semiconductor memory means. Further, the sequencer is controlled to read the data written in the semiconductor memory means and write the data in the buffer memory. The data written in the buffer memory is controlled and read by the data reading means, and the data generating means is controlled to generate the collation data. The collation data and the data read from the buffer memory are compared by the data comparison means. Compare. As a result, the semiconductor memory device can be tested in the semiconductor disk device.

【0008】[0008]

【発明の実施の形態】第1の実施形態 図1は、本発明の第1の実施形態を示す不揮発性半導体
ディスク装置の構成図である。本第1の実施形態の不揮
発性半導体ディスク装置が従来の不揮発性半導体ディス
ク装置と異なる点は、データを作成するデータ生成回路
15、データ書き込み回路16、データ読み出し回路1
7、データ比較回路18を設けて、不揮発性半導体ディ
スク装置内で不揮発性半導体メモリ19の記憶領域が正
常であるか否かを試験するようにしたことである。図1
に示すように、本第1の実施形態の不揮発性半導体ディ
スク装置は、ホストインタフェース11、マイクロコン
トローラ12、バッファメモリ13、シーケンサ14、
データ生成回路(データ生成手段)15、データ書き込
み回路(データ書き込み手段)16、データ読み出し回
路(データ読み出し手段)17、データ比較回路18
(データ比較手段)、不揮発性半導体メモリ19、セレ
クタ20、21を備えている。
BEST MODE FOR CARRYING OUT THE INVENTION First Embodiment FIG. 1 is a configuration diagram of a non-volatile semiconductor disk device showing a first embodiment of the present invention. The non-volatile semiconductor disk device of the first embodiment is different from the conventional non-volatile semiconductor disk device in that a data generation circuit 15, a data writing circuit 16, and a data reading circuit 1 for creating data are used.
7. The data comparison circuit 18 is provided to test whether the storage area of the nonvolatile semiconductor memory 19 is normal in the nonvolatile semiconductor disk device. FIG.
As shown in FIG. 1, the nonvolatile semiconductor disk device of the first embodiment includes a host interface 11, a microcontroller 12, a buffer memory 13, a sequencer 14,
Data generating circuit (data generating means) 15, data writing circuit (data writing means) 16, data reading circuit (data reading means) 17, data comparing circuit 18
(Data comparison means), a non-volatile semiconductor memory 19, and selectors 20 and 21 are provided.

【0009】データ生成回路15は、8ビットのデータ
レジスタ15−1、8ビットのカウンタ15−2、8ビ
ットのメモリアドレスレジスタ15−3、セレクタ15
−4,15−5を有している。データ書き込み回路16
は、512カウンタ16−1とライトパルス生成回路1
6−2とを有している。データ読み出し回路17は、5
12カウンタ17−1とリードパルス生成回路17−2
とを有している。ホストインタフェース11の入出力
は、マイクロコントローラ12、バッファメモリ13、
及びホストが接続されている。バッファメモリ13はデ
ータ生成回路15との間は、データバスDBAによって
接続されている。バッファメモリ13とデータ比較回路
18との間は、データバスDBBによって接続されてい
る。バッファメモリ13はシーケンサ14との間は、デ
ータバスDBCによって接続されている。バッファメモ
リ13の入出力は、マイクロコントローラ12に接続さ
れている。マイクロコントローラ12からの初期値アド
レス信号s12aは、バッファメモリ13の入力に接続
されている。マイクロコントローラ12からの不揮発性
半導体メモリ19への読み出し・書き込みアドレス信号
s12b及びシーケンサ14の動作制御信号s12b
は、シーケンサ14の入力に接続されている。
The data generation circuit 15 includes an 8-bit data register 15-1, an 8-bit counter 15-2, an 8-bit memory address register 15-3, and a selector 15.
It has -4 and 15-5. Data writing circuit 16
The 512 counter 16-1 and the write pulse generation circuit 1
6-2 and 6-2. The data read circuit 17 has 5
12 counter 17-1 and read pulse generation circuit 17-2
And The input / output of the host interface 11 includes a microcontroller 12, a buffer memory 13,
And the host is connected. The buffer memory 13 is connected to the data generation circuit 15 by a data bus DBA. The buffer memory 13 and the data comparison circuit 18 are connected by a data bus DBB. The buffer memory 13 is connected to the sequencer 14 by a data bus DBC. The input / output of the buffer memory 13 is connected to the microcontroller 12. The initial value address signal s12a from the microcontroller 12 is connected to the input of the buffer memory 13. Read / write address signal s12b from the microcontroller 12 to the nonvolatile semiconductor memory 19 and operation control signal s12b of the sequencer 14.
Are connected to the inputs of the sequencer 14.

【0010】マイクロコントローラ12からのデータ値
s12c、初期カウント値(0)s12d、メモリアド
レス12eは、データ生成回路15のデータレジスタ1
5−1、カウンタ15−2、メモリアドレスレジスタ1
5−3の入力にそれぞれ接続されている。マイクロコン
トローラ12からのカウンタ15−2のクロック選択信
号s12fは、セレクタ15−4の選択信号入力に接続
されている。マイクロコントローラ12からのデータ生
成回路15のデータ出力選択信号s12gは、セレクタ
15−5の選択信号入力に接続されている。マイクロコ
ントローラ12からのカウント開始信号s12hは、デ
ータ書き込み回路16の512カウンタ16−1の入力
に接続されている。マイクロコントローラ12からのカ
ウント開始信号s12iは、データ読み出し回路17の
512カウンタ17−1の入力に接続されている。
The data value s12c from the microcontroller 12, the initial count value (0) s12d, and the memory address 12e are stored in the data register 1 of the data generation circuit 15.
5-1, counter 15-2, memory address register 1
5-3 is connected to each input. The clock selection signal s12f of the counter 15-2 from the microcontroller 12 is connected to the selection signal input of the selector 15-4. The data output selection signal s12g of the data generation circuit 15 from the microcontroller 12 is connected to the selection signal input of the selector 15-5. The count start signal s12h from the microcontroller 12 is connected to the input of the 512 counter 16-1 of the data write circuit 16. The count start signal s12i from the microcontroller 12 is connected to the input of the 512 counter 17-1 of the data read circuit 17.

【0011】マイクロコントローラ12からのライト信
号選択信号s12jは、セレクタ20の選択信号入力に
接続されている。マイクロコントローラ12からのリー
ドパルス選択信号s12kは、セレクタ21の選択信号
入力に接続されている。マイクロコントローラ12から
のデータ比較タイミング信号s12lは、データ比較回
路18の入力に接続されている。シーケンサ14からの
ライト信号s14Rは、セレクタ20の一方の入力に接
続されている。シーケンサ14からのリード信号s14
Wは、セレクタ21の他方の入力に接続されている。シ
ーケンサ14と不揮発性半導体メモリ19との間は、デ
ータ信号線によって接続されている。データ生成回路1
5のデータレジスタ15−1の出力は、セレクタ15−
5の入力に接続されている。カウンタ15−2の出力
は、セレクタ15−5の入力に接続されている。メモリ
アドレスレジスタ15−3の出力は、セレクタ15−5
の入力に接続されている。セレクタ15−4の出力は、
カウンタ15−2のクロック端子に接続されている。
The write signal selection signal s12j from the microcontroller 12 is connected to the selection signal input of the selector 20. The read pulse selection signal s12k from the microcontroller 12 is connected to the selection signal input of the selector 21. The data comparison timing signal s12l from the microcontroller 12 is connected to the input of the data comparison circuit 18. The write signal s14R from the sequencer 14 is connected to one input of the selector 20. Read signal s14 from the sequencer 14
W is connected to the other input of the selector 21. The sequencer 14 and the non-volatile semiconductor memory 19 are connected by a data signal line. Data generation circuit 1
The output of the data register 15-1 of No. 5 is the selector 15-
5 inputs. The output of the counter 15-2 is connected to the input of the selector 15-5. The output of the memory address register 15-3 is the selector 15-5.
Connected to the input. The output of the selector 15-4 is
It is connected to the clock terminal of the counter 15-2.

【0012】データ書き込み回路16のカウンタ16−
1のクロック端子はクロック信号CLKが接続されてい
る。カウンタ16−1の出力は、ライトパルス生成回路
16−2の一方の入力が接続されている。ライトパルス
生成回路16−2の他方の入力は、クロック信号CLK
が接続されている。ライトパルス生成回路16−2のラ
イト信号s16は、セレクタ20及びデータ生成回路1
5のセレクタ15−4の入力に接続されている。データ
読み出し回路17のカウンタ17−1のクロック端子は
クロック信号CLKが接続されている。カウンタ17−
1の出力は、リードパルス生成回路17−2の一方の入
力が接続されている。リードパルス生成回路17−2の
他方の入力は、クロック信号CLKが接続されている。
リードパルス生成回路17−2のライト信号s17は、
セレクタ21及びデータ生成回路15のセレクタ15−
4の入力に接続されている。
Counter 16 of data write circuit 16
The clock signal CLK is connected to the first clock terminal. The output of the counter 16-1 is connected to one input of the write pulse generation circuit 16-2. The other input of the write pulse generation circuit 16-2 receives the clock signal CLK.
Is connected. The write signal s16 of the write pulse generation circuit 16-2 is the same as the selector 20 and the data generation circuit 1
5 selector 15-4. The clock signal CLK is connected to the clock terminal of the counter 17-1 of the data reading circuit 17. Counter 17-
The output of 1 is connected to one input of the read pulse generation circuit 17-2. The clock signal CLK is connected to the other input of the read pulse generation circuit 17-2.
The write signal s17 of the read pulse generation circuit 17-2 is
The selector 21 and the selector 15 of the data generation circuit 15-
4 inputs.

【0013】データ比較回路18のステータスstat
usは、マイクロコントローラ12の入力に接続されて
いる。セレクタ20の出力は、バッファメモリ13のラ
イト信号入力に接続されている。セレクタ21の出力
は、バッファメモリ13のリード信号入力に接続されて
いる。ホストインタフェース11は、例えば、ATAイ
ンタフェース回路である。マイクロコントローラ12
は、シーケンサ14、データ生成回路15、データ書き
込み回路16、データ読み出し回路17、データ比較回
路18、セレクタ20,21の動作制御するものであ
る。バッファメモリ13は、例えば、512バイトのS
RAMであり、アドレスカウンタによってアドレスをラ
イト信号、又はリード信号に従って生成して、ライト信
号、又はリード信号に従ってアドレスカウンタが示すア
ドレスにテータの着込み、アドレスカウンタが示すアド
レスからデータを読み出すものである。
Status of the data comparison circuit 18 stat
us is connected to the input of the microcontroller 12. The output of the selector 20 is connected to the write signal input of the buffer memory 13. The output of the selector 21 is connected to the read signal input of the buffer memory 13. The host interface 11 is, for example, an ATA interface circuit. Microcontroller 12
Is for controlling the operations of the sequencer 14, the data generating circuit 15, the data writing circuit 16, the data reading circuit 17, the data comparing circuit 18, and the selectors 20 and 21. The buffer memory 13 is, for example, 512 bytes of S
This is a RAM, in which an address is generated by an address counter according to a write signal or a read signal, data is loaded into an address indicated by the address counter according to the write signal or a read signal, and data is read from the address indicated by the address counter.

【0014】シーケンサ14は、リード信号s14Rを
生成してバッファメモリ13からデータを読み出して、
そのデータをフォーマット変換(例えば、パラレル/シ
リアル変換など)して、不揮発性半導体メモリ19に書
き込む回路と、不揮発性半導体メモリ19からデータを
読み出して、フォーマット変換(例えば、シリアル/パ
ラレル変換)して、ライト信号s14Wを生成してバッ
ファメモリ13に書き込む回路であり、その動作がマイ
クロコントローラ12によって制御されるロジック回路
である。データ生成回路15は、試験用のデータを生成
する回路であり、マイクロコントローラ12によって、
データを生成するタイミング及び生成するデータの種別
が制御されるものであり、例えば、固定値、カウンタ
値、メモリアドレスの3種類のうちいずれかの試験用の
データを生成する。
The sequencer 14 generates a read signal s14R, reads data from the buffer memory 13,
A circuit that performs format conversion (for example, parallel / serial conversion) of the data and writes the data in the nonvolatile semiconductor memory 19, and data is read from the nonvolatile semiconductor memory 19 and subjected to format conversion (for example, serial / parallel conversion). , The write signal s14W and writes it in the buffer memory 13, and is a logic circuit whose operation is controlled by the microcontroller 12. The data generation circuit 15 is a circuit that generates test data, and the microcontroller 12
The timing for generating data and the type of data to be generated are controlled. For example, test data of any one of three types of fixed value, counter value, and memory address is generated.

【0015】データ書き込み回路16は、バッファメモ
リ13に試験データの書き込み、及びデータ生成回路1
5のカウンタ15−2のクロックを生成するための回路
である。データ読み出し回路17は、バッファメモリ1
3からデータの読み出し、及びデータ生成回路15のカ
ウンタ15−2のクロックを生成するための回路であ
る。データ比較回路18は、バッファメモリ13から読
み出したデータとデータ生成回路15からの出力とを、
マイクロコントローラ12からの比較タイミング信号s
12lに従って、比較してステートタスstatusを
出力する回路である。
The data write circuit 16 writes test data in the buffer memory 13 and the data generation circuit 1
5 is a circuit for generating the clock of the counter 15-2. The data read circuit 17 includes the buffer memory 1
3 is a circuit for reading data from 3 and generating a clock for the counter 15-2 of the data generation circuit 15. The data comparison circuit 18 compares the data read from the buffer memory 13 and the output from the data generation circuit 15 with each other.
Comparison timing signal s from the microcontroller 12
A circuit for comparing and outputting the status status according to 12l.

【0016】図3は、図1のタイムチャートである。以
下、図3を参照しつつ、図1の動作の説明をする。 (a) 不揮発性半導体メモリ19を試験する場合 ホストが不揮発性半導体ディスク装置内の不揮発性半導
体を試験する場合、ホストが先ず不揮発性半導体ディス
ク装置に対して、不揮発性半導体の試験を指示するコマ
ンドを出す。不揮発性半導体ディスク装置は、ホストイ
ンタフェース11を介して、マイクロコントローラ12
に通知される。マイクロコントローラ12は、コマンド
を解析して、不揮発性半導体の試験であることを認識す
ると、データレジスタ15−1に固定値データs12
c、カウンタ22にカウント初期値(0)s12d、も
しくはメモリアドレスレジスタ15−3にここで生成す
る試験データを不揮発性半導体メモリ19に書き込むア
ドレスs12eを出力する。また、マイクロコントロー
ラ12は、カウントの初期値(0)s12dの出力と同
時にバッファメモリ13のアドレスカウンタに、アドレ
スの初期値(0)s12aを出力する。
FIG. 3 is a time chart of FIG. Hereinafter, the operation of FIG. 1 will be described with reference to FIG. (A) When testing the non-volatile semiconductor memory 19 When the host tests the non-volatile semiconductor in the non-volatile semiconductor disk device, the host first commands the non-volatile semiconductor disk device to test the non-volatile semiconductor. Give out. The nonvolatile semiconductor disk device includes a microcontroller 12 via a host interface 11.
Will be notified. When the microcontroller 12 analyzes the command and recognizes that it is a non-volatile semiconductor test, the fixed value data s12 is stored in the data register 15-1.
c, the count initial value (0) s12d is output to the counter 22, or the address s12e for writing the test data generated here into the nonvolatile semiconductor memory 19 is output to the memory address register 15-3. Further, the microcontroller 12 outputs the initial value (0) s12a of the address to the address counter of the buffer memory 13 at the same time as outputting the initial value (0) s12d of the count.

【0017】そして、マイクロコントローラ12は、セ
レクタ15−4の選択信号入力にデータ書き込み回路1
6からの出力s16を選択するようにクロック選択信号
s12fを出力し、セククタ15−5の選択入力にデー
タレジスタ15−1の出力、カウンタ15−2の出力、
メモリアドレスレジスタ15−3のいずれかの出力を選
択する選択信号s12gを出力する。さらに、マイクロ
コントローラ12は、512カウンタ16−1にカウン
ト開始指示信号s12hを出力し、セレクタ20の選択
信号入力にデータ書き込み回路16の出力s16を選択
するよう選択信号s12jを出力する。512カウンタ
16−1は、カウント開始信号s12hに指示により、
クロック信号CLKのカウントを開始して、1〜512
をカウントするまでは、例えば、“1”、それ以降は、
“0”を出力する。ライトパルス生成回路16−2は、
カウンタ16−1の出力が“1”になっている間、クロ
ック信号CLKをライト信号s16として出力する。
Then, the microcontroller 12 inputs the data write circuit 1 to the selection signal input of the selector 15-4.
6 outputs the clock selection signal s12f so as to select the output s16, and outputs the data register 15-1 and the counter 15-2 to the selection input of the sector 15-5.
A selection signal s12g that selects one of the outputs of the memory address register 15-3 is output. Further, the microcontroller 12 outputs the count start instruction signal s12h to the 512 counter 16-1, and outputs the selection signal s12j to the selection signal input of the selector 20 so as to select the output s16 of the data writing circuit 16. The 512 counter 16-1 is instructed to the count start signal s12h,
Start counting the clock signal CLK, and
Until "1" is counted, after that,
Output "0". The write pulse generation circuit 16-2 is
While the output of the counter 16-1 is "1", the clock signal CLK is output as the write signal s16.

【0018】ライト信号s16は、データ生成回路15
のセレクタ15−4及びセレクタ20の入力に出力され
る。セレクタ15−4は、クロック選択信号s12fに
より、ライト信号s16をカウンタ15−2のクロック
端子に出力する。カウンタ15−2は、ライト信号s1
6をクロック信号として、マイクロコントローラ12か
らのカウンタ初期値(0)をロードして、0,1,2,
…,255,0,…と順次カウントしてセレクタ15−
5に出力する。セククタ15−5は、データレジスタ1
5−1の出力、カウンタ15−2の出力、メモリアドレ
スレジスタ15−3の出力を選択信号s12gに従って
選択して、データバスDBAに出力する。一方、セレク
タ20は、選択信号s12jによりデータ書き込み回路
16の出力s16を選択して、出力する。バッファメモ
リ13のアドレスカウンタは、マイクロコントローラ1
2からのアドレス初期値(0)s12aをロードして、
ライト信号をクロックとしてアドレスを生成する。そし
て、バッファ13は、アドレスカウンタが示すアドレス
にライト信号に従って、データバスDBAからデータ生
成回路15の出力を入力して書き込んでゆく。
The write signal s16 is supplied to the data generation circuit 15
It is output to the inputs of the selector 15-4 and the selector 20. The selector 15-4 outputs the write signal s16 to the clock terminal of the counter 15-2 in response to the clock selection signal s12f. The counter 15-2 has a write signal s1.
The counter initial value (0) from the microcontroller 12 is loaded using 6 as a clock signal, and 0, 1, 2,
,, 255, 0, ... are sequentially counted and the selector 15-
5 is output. The sector 15-5 is a data register 1
The output of 5-1 and the output of the counter 15-2 and the output of the memory address register 15-3 are selected according to the selection signal s12g and output to the data bus DBA. On the other hand, the selector 20 selects the output s16 of the data writing circuit 16 by the selection signal s12j and outputs it. The address counter of the buffer memory 13 is the microcontroller 1
Load the address initial value (0) s12a from 2,
An address is generated using the write signal as a clock. Then, the buffer 13 inputs and writes the output of the data generation circuit 15 from the data bus DBA in accordance with the write signal at the address indicated by the address counter.

【0019】例えば、データ生成回路15からの出力が
カウンタ15−2の出力が選択されているとすると、カ
ウンタ15−2及びアドレスカウンタは同じライトパル
スをクロックとしているので、カウンタ15−2の出力
(0,1,…,255,0,…,)が、バッファメモリ
のアドレス(0,1,…,255,256,…)にそれ
ぞれ書き込まれることになる。そして、バッファメモリ
13に1セクタ(512バイト)のデータが溜まると、
アドレスカウンタがマイクロコントローラ12に通知す
る。マイクロコントローラ12は、バッファメモリ13
からの通知を受けると、シーケンサ14のバッファメモ
リ13への読み出し回路と不揮発性半導体メモリ19へ
の書き込み回路を起動させ、不揮発性半導体メモリ19
への書き込みアドレスをアドレスレジスタに設定する。
For example, assuming that the output from the data generating circuit 15 is the output of the counter 15-2, the counter 15-2 and the address counter use the same write pulse as the clock, and therefore the output of the counter 15-2. (0, 1, ..., 255, 0, ...) Are written at the addresses (0, 1, ..., 255, 256, ...) In the buffer memory. When one sector (512 bytes) of data is accumulated in the buffer memory 13,
The address counter notifies the microcontroller 12. The microcontroller 12 has a buffer memory 13
Upon receiving the notification from the non-volatile semiconductor memory 19, the read circuit for the buffer memory 13 and the write circuit for the non-volatile semiconductor memory 19 of the sequencer 14 are activated.
Set the write address to the address register.

【0020】シーケンサ14は、読み出し信号s14R
を順次発生させて、バッファメモリ13から順次データ
を読み出してゆき、不揮発性半導体メモリ19とのイン
タフェースに従って、フォーマット変換(例えば、パラ
レル/シリアル変換)して、不揮発性半導体メモリ19
に書き込んでゆく。そして、1セクタのデータが不揮発
半導体メモリ19に書き込まれると、シーケンサ19
は、マイクロコントローラ12に通知する。マイクロコ
ントローラ12は、次の1セクタの試験データを不揮発
性メモリ19に書き込むべく上述したと同様に制御す
る。以上の動作を不揮発性半導体メモリ19の全記憶領
域もしくはホストより指定された範囲の半導体領域に対
して書き込みを行う。
The sequencer 14 reads the read signal s14R.
Are sequentially generated, data is sequentially read from the buffer memory 13, and format conversion (for example, parallel / serial conversion) is performed according to an interface with the nonvolatile semiconductor memory 19 to generate the nonvolatile semiconductor memory 19
I will write it in. When one sector of data is written in the nonvolatile semiconductor memory 19, the sequencer 19
Informs the microcontroller 12. The microcontroller 12 controls the next sector of test data to be written in the nonvolatile memory 19 in the same manner as described above. The above operation is performed in the entire storage area of the non-volatile semiconductor memory 19 or in the semiconductor area in the range designated by the host.

【0021】上記、書き込み動作が終了すると、マイク
ロコントローラ12は、シーケンサ14に対して、不揮
発性半導体メモリ19の読み出しとバッファメモリ13
への書き込みの指示s12b及び読み出しアドレスs1
2bをアドレスレジスタに設定し、バッファメモリ13
のアドレスカウンタに初期値(0)s12a、セレクタ
21にシーケンサ14からのライト信号s14Wを選択
するように選択信号s12kを出力する。シーケンサ1
4は、不揮発性半導体メモリ19より1セクタ(512
バイト)のデータを読み出し、ライト信号s14Wを順
次生成して、データをデータバスDBCに出力し、ライ
ト信号s14Wをセレクタ21に出力する。セレクタ2
1は、選択信号s12kによりシーケンサ14からのラ
イト信号s14Wを選択して、バッファメモリ13のラ
イト信号入力に出力する。バッファメモリ13のアドレ
スカウンタは、マイクロコントローラ12からの初期値
(0)をロードして、ライト信号s14Wをクロック信
号としてアドレスを生成して、バッファメモリ13は、
ライト信号s14Wに従って、データバスDBCからシ
ーケンサ14の出力を入力して、アドレスカウンタが示
すアドレスに書き込んでゆく。
When the above write operation is completed, the microcontroller 12 causes the sequencer 14 to read the nonvolatile semiconductor memory 19 and the buffer memory 13.
Write instruction s12b and read address s1
2b is set in the address register, and the buffer memory 13
An initial value (0) s12a is output to the address counter and a selection signal s12k is output to the selector 21 so as to select the write signal s14W from the sequencer 14. Sequencer 1
4 is 1 sector (512 bytes) from the nonvolatile semiconductor memory 19.
(Byte) data is read, write signal s14W is sequentially generated, the data is output to data bus DBC, and write signal s14W is output to selector 21. Selector 2
1 selects the write signal s14W from the sequencer 14 by the selection signal s12k and outputs it to the write signal input of the buffer memory 13. The address counter of the buffer memory 13 loads the initial value (0) from the microcontroller 12 and generates an address by using the write signal s14W as a clock signal.
According to the write signal s14W, the output of the sequencer 14 is input from the data bus DBC and writing is performed at the address indicated by the address counter.

【0022】そして、バッファメモリ13に1セクタ
(512バイト)のデータが溜まると、アドレスカウン
タがマイクロコントローラ12に通知する。マイクロコ
ントローラ12は、通知を受けると、データ生成回路1
5のデータレジスタ15−1に試験データを生成したと
きの固定値データs12c、カウンタ15−2にカウン
タの初期値(0)s12d、もしくはメモリアドレスレ
ジスタ15−3にメモリアドレスs16eを設定する。
また、マイクロコントローラ12は、カウンタの初期値
(0)s12dの出力と同時にバッファメモリ13のア
ドレスカウンタに、アドレスの初期値(0)を出力し、
セレクタ15−4の選択信号入力に、データ読み出し回
路17の出力s17を選択するように選択信号s12f
を出力し、データ読み出し回路17の512カウンタ1
7−1にカウント開始信号s12iを出力し、セレクタ
21にデータ読み出し回路17の出力s17を選択する
ように選択信号s12kを出力する。
When one sector (512 bytes) of data is accumulated in the buffer memory 13, the address counter notifies the microcontroller 12 of it. Upon receiving the notification, the microcontroller 12 receives the data generation circuit 1
5, the fixed value data s12c when the test data is generated in the data register 15-1 of 5, the initial value (0) s12d of the counter in the counter 15-2, or the memory address s16e in the memory address register 15-3.
Further, the microcontroller 12 outputs the initial value (0) of the address to the address counter of the buffer memory 13 simultaneously with the output of the initial value (0) s12d of the counter,
The selection signal s12f is inputted to the selection signal input of the selector 15-4 so that the output s17 of the data reading circuit 17 is selected.
To output 512 counter 1 of the data read circuit 17
The count start signal s12i is output to 7-1, and the selection signal s12k is output to the selector 21 so as to select the output s17 of the data read circuit 17.

【0023】カウンタ17−1は、カウント開始信号s
12iに従って、クロック信号CLKのカウント動作を
開始して、1セクタの読み出し期間である1〜512カ
ウントする間は“1”を出力して、以降は、“0”を出
力する。リードパルス生成回路17−2は、カウンタ1
7−1の出力が“1”間は、クロックCLKをリード信
号s17として出力する。リード信号s17は、セレク
タ15−4及びセレクタ21に出力される。セレクタ1
5−4は、選択信号s12fにより、リード信号s17
を選択して、カウンタ15−2のクロック端子に出力す
る。カウンタ15−2は、マイクロコントローラ12か
らの初期値(0)s12dをロードして、リード信号s
17をクロック信号として、カウント動作して、0,
1,2,…,255,0,…と順次出力する。セレクタ
15−4は、データレジスタ15−1,カウンタ15−
2、メモリアドレスレジスタ15−3のいずれかを選択
信号s12gに従って、選択してデータバスDBAに出
力する。
The counter 17-1 has a count start signal s.
According to 12i, the count operation of the clock signal CLK is started, and “1” is output during 1 to 512 which is the read period of one sector, and “0” is output thereafter. The read pulse generation circuit 17-2 uses the counter 1
While the output of 7-1 is "1", the clock CLK is output as the read signal s17. The read signal s17 is output to the selector 15-4 and the selector 21. Selector 1
5-4 receives the read signal s17 according to the selection signal s12f.
Is output to the clock terminal of the counter 15-2. The counter 15-2 loads the initial value (0) s12d from the microcontroller 12 to read the read signal s.
When 17 is used as a clock signal, counting operation is performed, and 0,
1, 2, ..., 255, 0 ,. The selector 15-4 includes a data register 15-1 and a counter 15-.
2. Either of the memory address registers 15-3 is selected according to the selection signal s12g and output to the data bus DBA.

【0024】一方、セレクタ21は、選択信号s12k
により、ライト信号s17を選択して、バッファメモリ
13のリード信号入力に出力する。バッファメモリ13
のアドレスカウンタは、初期値(0)s12aをロード
し、リード信号s17をクロック信号として、アドレス
を生成し、バッファメモリ13は、リード信号s17に
従って、アドレスカウンタが示すアドレスからデータを
詠み出し、データバスDBBに出力する。もし、不揮発
性半導体メモリ19が正常で、カウンタ15−2の出力
が試験データとして格納されていたとすると、バッファ
メモリ13には、0,1,2,…,255,0,…が格
納されることになり、これがリード信号s17に従っ
て、出力されることになる。マイクロコントローラ12
は、データ比較回路18にデータ比較するタイミングを
指示する信号s12lを出力する。データ比較回路18
は、マイクロコントローラ12からの信号s12lに従
って、データ生成回路15の出力とバッファメモリ13
との出力を比較して、比較結果をフリップフロップでラ
ッチして、マイクロコントローラ12にステータス信号
statusを出力する。
On the other hand, the selector 21 selects the selection signal s12k.
Thus, the write signal s17 is selected and output to the read signal input of the buffer memory 13. Buffer memory 13
The address counter loads the initial value (0) s12a, generates an address using the read signal s17 as a clock signal, and the buffer memory 13 extracts the data from the address indicated by the address counter according to the read signal s17, Output to bus DBB. If the nonvolatile semiconductor memory 19 is normal and the output of the counter 15-2 is stored as test data, 0, 1, 2, ..., 255, 0, ... Are stored in the buffer memory 13. This is output according to the read signal s17. Microcontroller 12
Outputs to the data comparison circuit 18 a signal s12l instructing the timing of data comparison. Data comparison circuit 18
Is output from the data generation circuit 15 and the buffer memory 13 according to the signal s12l from the microcontroller 12.
And outputs the status signal "status" to the microcontroller 12.

【0025】例えば、カウンタ15−2の出力が選択さ
れているとすると、データ比較回路18のデータ生成回
路15からの入力は、リード信号s17に同期して、
0,1,2,3,…,255,0…となり、不揮発性半
導体メモリ19が正常であれば、バッファメモリ13か
らの入力は、リード信号s17に同期して、0,1,
2,…,255,0,…となるので、リード信号s17
に同期した信号で前記のデータを比較することにより、
不揮発性半導体メモリ19の正常・異常が判定できる。
また、他のデータレジスタ15−1、メモリアドレスレ
ジスタ15−2が選択される場合も、1セクタの間は、
マイクロコントローラ12からの設定される値は同じな
ので、不揮発性半導体メモリ19の正常・異常が判定で
きる。異常があった場合は、マイクロコントローラ12
は、ホストインタフェース11を介して、ホストに通知
する。1セクタの試験データの照合が終わると、マイク
ロコントローラ12は、次の1セクタの試験データの照
合をするべく、上述したように制御する。の動作を全て
の不揮発性半導体メモリ19もしくは指定された範囲の
半導体メモリ19へ書き込みが行われた回数実行する。
For example, if the output of the counter 15-2 is selected, the input from the data generation circuit 15 of the data comparison circuit 18 is synchronized with the read signal s17.
0, 1, 2, 3, ..., 255, 0, and if the nonvolatile semiconductor memory 19 is normal, the input from the buffer memory 13 is 0, 1, in synchronization with the read signal s17.
2, ..., 255, 0, ..
By comparing the above data with a signal synchronized to
It is possible to determine whether the nonvolatile semiconductor memory 19 is normal or abnormal.
Also, when another data register 15-1 and memory address register 15-2 are selected, during one sector,
Since the values set by the microcontroller 12 are the same, it is possible to determine whether the nonvolatile semiconductor memory 19 is normal or abnormal. If there is an abnormality, the microcontroller 12
Notifies the host via the host interface 11. When the verification of the test data of one sector is completed, the microcontroller 12 controls as described above in order to verify the test data of the next one sector. The above operation is executed the number of times writing has been performed to all the non-volatile semiconductor memories 19 or the semiconductor memories 19 in the designated range.

【0026】(b) 通常動作 通常動作では、マイクロコントローラ12は、セレクタ
20の選択入力にシーケンサ14からのライト信号s1
4Wを選択するよう選択信号s12jを出力し、セレク
タ21の選択入力にシーケンサ14からのリード信号s
14Rを選択するように選択信号s12kを出力する。
ホストインタフェース11を介してコマンドを受け取る
と、マイクロコントローラ12に通知され、マイクロコ
ントローラ12はデータの書き込み動作のフローに従っ
て不揮発性半導体ディスク装置内のシーケンサ14及び
バッファメモリ13を制御する。先ず、ホストから書き
込まれたデータはホストインタフェース11を一旦、バ
ッファメモリ13に格納され、1セクタ(512バイ
ト)のデータが溜まると、バッファメモリ13からマイ
クロコントローラ12に対して、バッファメモリ13に
データが溜まったことを示す信号が送られる。
(B) Normal Operation In normal operation, the microcontroller 12 inputs the write signal s1 from the sequencer 14 to the selection input of the selector 20.
The selection signal s12j is output so as to select 4W, and the read signal s from the sequencer 14 is input to the selection input of the selector 21.
The selection signal s12k is output so as to select 14R.
When the command is received via the host interface 11, the microcontroller 12 is notified, and the microcontroller 12 controls the sequencer 14 and the buffer memory 13 in the nonvolatile semiconductor disk device according to the flow of the data writing operation. First, the data written from the host is temporarily stored in the buffer memory 13 through the host interface 11, and when one sector (512 bytes) of data is accumulated, the data is written from the buffer memory 13 to the microcontroller 12 to the buffer memory 13. A signal is sent indicating that has accumulated.

【0027】マイクロコントローラ12は、シーケンサ
14を制御して、シーケンサ14は、リード信号s14
Rをセレクタ20を通してバッファメモリ13に出力
し、バッファメモリ13からライトデータを順次読み出
し、不揮発性半導体メモリ19のインタフェースに合わ
せてフォーマット変換して、不揮発性半導体メモリ19
に書き込む。この動作をバッファメモリ13のセクタカ
ウンタにて指示された回数だけ実行する。また、ホスト
が不揮発性半導体ディスク装置からデータを読み出す場
合、ホストが先ず、不揮発性半導体ディスク装置に対し
てデータの読み出しを指示するコマンドを出す。不揮発
性半導体ディスク装置は、ホストインタフェース11を
介して、コマンドを受け取ると、マイクロコントローラ
12に通知され、マイクロコントローラ12は、データ
の読み出し動作のフローに従って不揮発性半導体ディス
ク装置内のシーケンサ14及びをバッファメモリ13を
制御する。先ず、マイクロコントローラ12は、シーケ
ンサ14を制御し、シーケンサ14は、不揮発性半導体
メモリ5より1セクタのデータを読み出して、ライト信
号s14Rを生成し、セレクタ21を通してバッファメ
モリ13に出力し、バッファメモリ13にデータを書き
込んでゆく。バッファメモリ13に1セクタのデータが
溜まると、マイクロコントローラ12を介して、ホスト
に通知される。ホストがホストインタフェース11を介
してバッファメモリ13から読み出す。この動作をセク
タカウンタにて指示された回数だけ実行する。
The microcontroller 12 controls the sequencer 14, and the sequencer 14 reads the read signal s14.
The R is output to the buffer memory 13 through the selector 20, the write data is sequentially read from the buffer memory 13, the format is converted according to the interface of the nonvolatile semiconductor memory 19, and the nonvolatile semiconductor memory 19 is converted.
Write to. This operation is executed the number of times designated by the sector counter of the buffer memory 13. When the host reads data from the non-volatile semiconductor disk device, the host first issues a command to the non-volatile semiconductor disk device to read the data. When the nonvolatile semiconductor disk device receives a command via the host interface 11, it is notified to the microcontroller 12, and the microcontroller 12 buffers the sequencer 14 and the sequencer in the nonvolatile semiconductor disk device according to the flow of the data read operation. The memory 13 is controlled. First, the microcontroller 12 controls the sequencer 14, and the sequencer 14 reads the data of one sector from the non-volatile semiconductor memory 5, generates the write signal s14R, outputs it to the buffer memory 13 through the selector 21, and outputs it to the buffer memory 13. Write the data to 13. When one sector of data is accumulated in the buffer memory 13, the host is notified via the microcontroller 12. The host reads from the buffer memory 13 via the host interface 11. This operation is executed the number of times designated by the sector counter.

【0028】以上説明したように、本第1の実施形態に
よれば、データ生成回路15、データ書き込み回路16
を設けたので不揮発性半導体メモリ19へ書き込むデー
タをホストから転送する必要がなく、データ読み出し回
路17、データ比較回路18とを設けたので、読み出さ
れたデータをホストに転送する必要がないため、ホスト
との転送時間分が短縮され、転送時の外部からノイズに
よるデータ化けの恐れがなくなり、不揮発性半導体メモ
リ19の試験を高速かつ正確にできるという利点があ
る。また、1回のコマンドで不揮発性半導体ディクス内
全ての不揮発性半導体メモリ19を試験することが可能
となり、コマンドの発行する回数が少なくなり、試験を
さらに高速にできる。
As described above, according to the first embodiment, the data generating circuit 15 and the data writing circuit 16 are provided.
Since it is provided, it is not necessary to transfer the data to be written to the nonvolatile semiconductor memory 19 from the host, and the data read circuit 17 and the data comparison circuit 18 are provided, so that it is not necessary to transfer the read data to the host. The advantage is that the transfer time with the host is shortened, there is no fear of data corruption due to noise during transfer, and the nonvolatile semiconductor memory 19 can be tested quickly and accurately. Further, it becomes possible to test all the non-volatile semiconductor memories 19 in the non-volatile semiconductor disk with one command, the number of times the command is issued is reduced, and the test can be further speeded up.

【0029】第2の実施形態 図4は、本発明の第2の実施形態を示す不揮発性半導体
ディスク装置の構成図であり、図1中の要素に共通する
要素には共通の符号を付してある。本第2の実施形態の
不揮発性半導体ディスク装置が第1の実施形態の不揮発
性半導体ディスク装置と異なる点は、不揮発性半導体メ
モリ19へライトするためのデータ生成回路15の出力
をバッファメモリ13に出力せずにシーケンサ44に直
接出力し、不揮発性半導体メモリ19からシーケンサ1
4でリードしたデータをバッファメモリ13にライトす
るのではなく直接、データ比較回路18に出力するよう
にしたことである。図4に示すように、本第2の実施形
態の不揮発性半導体ディスク装置は、ホストインタフェ
ース11、マイクロコントローラ22、バッファメモリ
13、シーケンサ14、データ生成回路15、データ比
較回路18、不揮発性半導体メモリ19、バスセレクタ
25、セレクタ26,27を備えている。ホストインタ
フェース11の入出力は、マイクロコントローラ22、
バッファメモリ13、及びホストが接続されている。バ
ッファメモリ13とバスセレクタ25との間は、データ
バスDBCによって接続されている。バスセレクタ25
とシーケンサ及びデータ比較回路18との間は、データ
バスDBBによって接続されている。バスセレクタ25
とデータ生成回路15及びデータ比較回路18の間は、
データバスDBCによって接続されている。バッファメ
モリ13の入出力は、マイクロコントローラ22に接続
されている。
Second Embodiment FIG. 4 is a configuration diagram of a non-volatile semiconductor disk device showing a second embodiment of the present invention. Elements common to those in FIG. 1 are designated by common reference numerals. There is. The non-volatile semiconductor disk device of the second embodiment is different from the non-volatile semiconductor disk device of the first embodiment in that the output of the data generation circuit 15 for writing to the non-volatile semiconductor memory 19 is stored in the buffer memory 13. Directly output to the sequencer 44 without outputting, and from the nonvolatile semiconductor memory 19 to the sequencer 1
This means that the data read in step 4 is output directly to the data comparison circuit 18 instead of being written to the buffer memory 13. As shown in FIG. 4, the nonvolatile semiconductor disk device according to the second embodiment includes a host interface 11, a microcontroller 22, a buffer memory 13, a sequencer 14, a data generation circuit 15, a data comparison circuit 18, and a nonvolatile semiconductor memory. 19, a bus selector 25, and selectors 26 and 27. The input / output of the host interface 11 is the microcontroller 22,
The buffer memory 13 and the host are connected. The buffer memory 13 and the bus selector 25 are connected by a data bus DBC. Bus selector 25
And the sequencer and data comparison circuit 18 are connected by a data bus DBB. Bus selector 25
Between the data generation circuit 15 and the data comparison circuit 18,
It is connected by a data bus DBC. The input / output of the buffer memory 13 is connected to the microcontroller 22.

【0030】マイクロコントローラ22からの初期値ア
ドレス信号s22aは、バッファメモリ13の入力に接
続されている。マイクロコントローラ22からの不揮発
性半導体メモリ19への読み出し・書き込みアドレス信
号s22b及びシーケンサ14の動作制御信号s22b
は、シーケンサ14の入力に接続されている。マイクロ
コントローラ22からのデータ値s22c、初期カウン
ト値(0)s22d、メモリアドレス22eは、データ
生成回路15のデータレジスタ15−1、カウンタ15
−2、メモリアドレスレジスタ15−3の入力にそれぞ
れ接続されている。マイクロコントローラ22からのカ
ウンタ15−2のクロック選択信号s22fは、セレク
タ15−4の選択信号入力に接続されている。マイクロ
コントローラ12からのデータ生成回路15のデータ出
力選択信号s22gは、セレクタ15−5の選択信号入
力に接続されている。
The initial value address signal s22a from the microcontroller 22 is connected to the input of the buffer memory 13. Read / write address signal s22b from the microcontroller 22 to the nonvolatile semiconductor memory 19 and operation control signal s22b of the sequencer 14.
Are connected to the inputs of the sequencer 14. The data value s22c, the initial count value (0) s22d, and the memory address 22e from the microcontroller 22 are stored in the data register 15-1 and the counter 15 of the data generation circuit 15.
-2, and are connected to the inputs of the memory address register 15-3, respectively. The clock selection signal s22f of the counter 15-2 from the microcontroller 22 is connected to the selection signal input of the selector 15-4. The data output selection signal s22g of the data generation circuit 15 from the microcontroller 12 is connected to the selection signal input of the selector 15-5.

【0031】マイクロコントローラ22からのバス選択
信号s22h、バスセレクタ25の選択信号入力に接続
されている。マイクロコントローラ22からのリード信
号s14Rの出力先の選択信号s22iは、セレクタ2
6の選択信号入力に接続されている。マイクロコントロ
ーラ22からのライト信号s14Wの出力先の選択信号
s22iは、セレクタ27の選択信号入力に接続されて
いる。シーケンサ14のリード信号s14Rは、セレク
タ26の入力に接続されている。シーケンサ14のライ
ト信号s14Wは、セレクタ27の入力に接続されてい
る。セレクタ26の一方の出力は、バッファメモリ13
のリード信号入力に接続され、他方の出力は、セレクタ
15−4の入力に接続されている。セレクタ27の一方
の出力は、バッファメモリ13のライト信号入力に接続
され、他方の出力は、セレクタ15−4の入力に接続さ
れている。シーケンサ14のデータ比較タイミング信号
は、データ比較回路18の入力に接続されている。
The bus selection signal s22h from the microcontroller 22 and the selection signal input of the bus selector 25 are connected. The selection signal s22i of the output destination of the read signal s14R from the microcontroller 22 is the selector 2
6 selection signal inputs. The selection signal s22i at the output destination of the write signal s14W from the microcontroller 22 is connected to the selection signal input of the selector 27. The read signal s14R of the sequencer 14 is connected to the input of the selector 26. The write signal s14W of the sequencer 14 is connected to the input of the selector 27. One output of the selector 26 is the buffer memory 13
Of the selector 15-4, and the other output is connected to the input of the selector 15-4. One output of the selector 27 is connected to the write signal input of the buffer memory 13, and the other output is connected to the input of the selector 15-4. The data comparison timing signal of the sequencer 14 is connected to the input of the data comparison circuit 18.

【0032】図5は、図4のタイムチャートである。以
下、図5を参照しつつ、図4の動作の説明をする。 (a) 不揮発性半導体を試験する場合 ホストが不揮発性半導体ディスク装置内の不揮発性半導
体を試験する場合、ホストが先ず不揮発性半導体ディス
ク装置に対して、不揮発性半導体の試験を指示するコマ
ンドを出す。不揮発性半導体ディスク装置は、ホストイ
ンタフェース11を介して、マイクロコントローラ22
に通知される。マイクロコントローラ22は、コマンド
を解析して、不揮発性半導体の試験であると認識する
と、バッファメモリ13に対してバッファメモリに書き
込むバッファメモリアドレスを初期化する。マイクロコ
ントローラ22は、データ生成回路15に対して、デー
タ値s22c、カウンタの初期値(0)s22d、メモ
リアドレス値s22eのいずれかを出力する。マイクロ
コントローラ22は、シーケンサ14に対して、データ
を読み出しの指示22b及びメモリアドレス22bを設
定し、セレクタ15−4の選択入力にリード信号s14
Rを選択するよう選択信号s22fを出力する。
FIG. 5 is a time chart of FIG. The operation of FIG. 4 will be described below with reference to FIG. (A) When testing a non-volatile semiconductor When the host tests the non-volatile semiconductor in the non-volatile semiconductor disk device, the host first issues a command to the non-volatile semiconductor disk device to instruct the non-volatile semiconductor test. . The nonvolatile semiconductor disk device includes a microcontroller 22 via the host interface 11.
Will be notified. When the microcontroller 22 analyzes the command and recognizes that the test is a nonvolatile semiconductor test, the microcontroller 22 initializes the buffer memory address to be written in the buffer memory for the buffer memory 13. The microcontroller 22 outputs to the data generation circuit 15 any one of the data value s22c, the initial value (0) s22d of the counter, and the memory address value s22e. The microcontroller 22 sets an instruction 22b for reading data and a memory address 22b to the sequencer 14, and the read signal s14 is input to the selection input of the selector 15-4.
A selection signal s22f is output to select R.

【0033】セレクタ15−5にデータレジスタ15−
1、カウンタ15−2、メモリアドレスレジスタ15−
3のいずれかの出力を選択するよう選択信号s22gを
出力する。シーケンサ14は、マイクロコントローラ2
2からデータの読み出しを指示されると、リード信号1
4Rを順次生成して出力する(シーケンサ14は、バッ
ファメモリ13からの読み出しとデータ生成回路15か
らの読み出しの区別はない)。セレクタ26は、リード
信号s14Rの出力先を選択して、セレクタ15−4に
リード信号s14Rを出力する。セレクタ15−4は、
選択信号s22fによりリード信号s14Rを選択し
て、カウンタ14のクロック端子にクロック信号として
出力する。カウンタ14は、初期値(0)s22dをロ
ードして、リード信号s14Rをクロック信号としてカ
ウント動作して、0,1,2,…,255,0,1…を
順次出力する。セレクタ15−5は、データレジスタ1
5−1、カウンタ15−2、メモリアドレスレジスタ1
5−3の出力のうちいずれかを選択信号s22gにより
選択して、データバスDBAに出力する。バスセレクタ
25は、選択信号s22hによりデータバスDBAを選
択して、シーケンサ14のデータに出力する。
The data register 15-is provided in the selector 15-5.
1, counter 15-2, memory address register 15-
The selection signal s22g is output so as to select any one of the outputs of 3 and 3. The sequencer 14 is the microcontroller 2
When the data reading is instructed from 2, the read signal 1
4R is sequentially generated and output (the sequencer 14 does not distinguish between reading from the buffer memory 13 and reading from the data generating circuit 15). The selector 26 selects the output destination of the read signal s14R and outputs the read signal s14R to the selector 15-4. The selector 15-4 is
The read signal s14R is selected by the selection signal s22f and output to the clock terminal of the counter 14 as a clock signal. The counter 14 loads the initial value (0) s22d, counts the read signal s14R as a clock signal, and sequentially outputs 0, 1, 2, ..., 255, 0, 1 ... The selector 15-5 is the data register 1
5-1, counter 15-2, memory address register 1
One of the outputs of 5-3 is selected by the selection signal s22g and output to the data bus DBA. The bus selector 25 selects the data bus DBA by the selection signal s22h and outputs it to the data of the sequencer 14.

【0034】この結果、カウンタ15−2の出力が選択
指定されていれば、リード信号s14Rに従って順次、
バッファメモリ13から読み出しと全く同様に0,1,
2,…,255,0,…,255とシーケンサ14に入
力されることになる。シーケンサ14は、データを入力
すると、フォーマット変換して、不揮発性半導体メモリ
19に対して、マイクロコントローラ22が指示するメ
モリアドレス領域にデータを順次書き込んでゆく。1セ
クタの試験データの不揮発性半導体メモリ19へ書き込
みが終了すると、シーケンサ14は、マイクロコントロ
ーラ22に通知する。マイクロコントローラ22は、次
の1セクタの試験データを不揮発性半導体メモリ19に
書き込むべく上述したと同様にして制御する。以上の動
作を不揮発性半導体メモリ19の全記憶領域もしくは指
定された範囲の半導体領域に対して書き込みを行う。
As a result, if the output of the counter 15-2 is selected and designated, the read signal s14R is sequentially selected.
Just like reading from the buffer memory 13, 0, 1,
2, ..., 255, 0, ..., 255 are input to the sequencer 14. When the sequencer 14 receives the data, the sequencer converts the format and sequentially writes the data to the nonvolatile semiconductor memory 19 in the memory address area designated by the microcontroller 22. When the writing of the test data of one sector to the nonvolatile semiconductor memory 19 is completed, the sequencer 14 notifies the microcontroller 22. The microcontroller 22 controls to write the next test data of one sector into the nonvolatile semiconductor memory 19 in the same manner as described above. The above operation is written to the entire storage area of the non-volatile semiconductor memory 19 or the semiconductor area of the specified range.

【0035】上記、書き込み動作が終了すると、マイク
ロコントローラ22は、シーケンサ14に対して、不揮
発性半導体メモリ19の読み出しとデータ比較回路18
への出力と読み出しアドレスをアドレスレジスタに設定
する。シーケンサ14は、アドレスレジスタに設定され
たアドレスに従って、不揮発性半導体メモリ19よりデ
ータを読み出してゆき、そのデータをデータバスDBC
に出力するとともに、ライト信号s14Wをバッファメ
モリ13に書き込む場合と全く同様にして生成して出力
する。マイクロコントローラ22は、データ生成回路1
5のデータレジスタ15−1に試験データを生成したと
きの固定値データs22c、カウンタ15−2にカウン
タの初期値(0)s22d、もしくはメモリアドレスレ
ジスタ15−3にメモリアドレスをs22eを設定す
る。また、マイクロコントローラ22は、セレクタ15
−4の選択信号入力に、ライト信号s14Wを選択する
よう選択信号s22fを出力し、セレクタ15−5に試
験データを作成したときの、データレジスタ15−1、
カウンタ15−2、メモリアドレスレジスタ15−3の
出力のいずれかを選択するよう選択信号s22gを出力
し、セレクタ27に出力先をセレクタ15−4にするよ
うに選択信号s22jを出力する。
When the write operation is completed, the microcontroller 22 instructs the sequencer 14 to read the nonvolatile semiconductor memory 19 and the data comparison circuit 18.
Set the output and read address to the address register. The sequencer 14 reads out the data from the nonvolatile semiconductor memory 19 according to the address set in the address register, and outputs the data to the data bus DBC.
The write signal s14W is generated and output in exactly the same manner as when the write signal s14W is written in the buffer memory 13. The microcontroller 22 uses the data generation circuit 1
5, the fixed value data s22c when the test data is generated in the data register 15-1 of 5, the initial value (0) s22d of the counter in the counter 15-2, or the memory address s22e in the memory address register 15-3. In addition, the microcontroller 22 includes the selector 15
-4, a selection signal s22f for selecting the write signal s14W is output to the selection signal input, and the data register 15-1, when the test data is created in the selector 15-5,
The selection signal s22g is output to select either the output of the counter 15-2 or the memory address register 15-3, and the selection signal s22j is output to the selector 27 so that the output destination is the selector 15-4.

【0036】セレクタ27は、選択信号s22jにより
セレクタ15−4を出力先に選択して、セレクタ15−
4にライト信号s14Wを出力する。セレクタ15−4
は、選択信号s22fによりライト信号s14Wを選択
して、カウンタ15−2のクロック端子に出力する。カ
ウンタ15−2は、初期値(0)s22dをロードし
て、セレクタ15−4から出力されるライト信号s14
Wをクロック信号として、カウントを開始する。セレク
タ15−5は、選択信号s22gによりデータレジスタ
15−1、カウンタ15−2、メモリアドレスレジスタ
15−3の出力のうちいずれかの出力を選択して、バス
セレクタ25に出力する。バスセレクタ25は、選択信
号s22hにより、データ生成回路15の出力を選択し
て、データバスDBAを通して、データ比較回路18に
出力する。データ比較回路18は、シーケンサ14から
出力されるデータとデータ生成回路15から出力される
データをシーケンサ14からの比較タイミング信号に従
って、照合して、ステータスをマイクロコントローラ2
2に出力する。
The selector 27 selects the selector 15-4 as the output destination by the selection signal s22j, and the selector 15-
Then, the write signal s14W is output to No. 4. Selector 15-4
Selects the write signal s14W by the selection signal s22f and outputs it to the clock terminal of the counter 15-2. The counter 15-2 loads the initial value (0) s22d and outputs the write signal s14 output from the selector 15-4.
Counting is started using W as a clock signal. The selector 15-5 selects one of the outputs of the data register 15-1, the counter 15-2, and the memory address register 15-3 by the selection signal s22g and outputs it to the bus selector 25. The bus selector 25 selects the output of the data generation circuit 15 by the selection signal s22h and outputs it to the data comparison circuit 18 through the data bus DBA. The data comparison circuit 18 collates the data output from the sequencer 14 with the data output from the data generation circuit 15 in accordance with the comparison timing signal from the sequencer 14 and sets the status to the microcontroller 2
Output to 2.

【0037】例えば、カウンタ14−2の出力が選択さ
れているとすると、データ比較回路18のデータ生成回
路15からの入力は、ライト信号s14Wに同期して、
0,1,2,3,…,255,0…となり、不揮発性半
導体メモリ19が正常であれば、シーケンサ14からの
入力は、ライト信号s14Wに同期して、0,1,2,
…,255,0,…となるので、比較するタイミングを
シーケンサにより制御してライト信号s14Wに同期し
た信号で前記のデータを比較することにより、不揮発性
半導体メモリ19の正常・異常が判定できる。また、他
のデータレジスタ12−1、メモリアドレスレジスタ1
2−2が選択される場合も、1セクタの間は、マイクロ
コントローラ12からの設定される値は保持されるの
で、不揮発性半導体メモリ19の正常・異常が判定でき
る。異常があった場合は、マイクロコントローラ12
は、ホストインタフェース11を介して、ホストに通知
する。1セクタの試験データ分のライト信号を出力する
と、シーケンサ14は、マイクロコントローラ22に通
知する。マイクロコントローラ22は、次の1セクタの
試験データの照合をするべく上述したと同様にして制御
する。この動作を全ての不揮発性半導体メモリ19もし
くは指定された範囲の半導体メモリへ書き込みが行われ
た回数実行する。
For example, if the output of the counter 14-2 is selected, the input from the data generation circuit 15 of the data comparison circuit 18 is synchronized with the write signal s14W,
0, 1, 2, 3, ..., 255, 0, and if the nonvolatile semiconductor memory 19 is normal, the input from the sequencer 14 is 0, 1, 2 ,, in synchronization with the write signal s14W.
, 255, 0, and so on, the normality / abnormality of the non-volatile semiconductor memory 19 can be determined by controlling the timing of comparison by the sequencer and comparing the above data with a signal synchronized with the write signal s14W. In addition, other data register 12-1, memory address register 1
Even when 2-2 is selected, since the value set by the microcontroller 12 is held during one sector, it is possible to determine whether the nonvolatile semiconductor memory 19 is normal or abnormal. If there is an abnormality, the microcontroller 12
Notifies the host via the host interface 11. When the write signal for the test data of one sector is output, the sequencer 14 notifies the microcontroller 22. The microcontroller 22 controls in the same manner as described above in order to collate the test data of the next one sector. This operation is executed the number of times writing is performed to all the nonvolatile semiconductor memories 19 or semiconductor memories in the designated range.

【0038】(b) 通常動作の場合 通常動作の場合は、マイクロコントローラ22は、バス
セレクタ25の選択信号s22hをデータバスDBCを
選択するよう指示し、セレクタ26の出力先をバッファ
メモリ13にするように指示する選択信号s22i、セ
レクタ27の出力先をバッファメモリ13にするように
指示する選択信号s22jを生成して、出力する。以降
は第1の実施形態の通常動作の場合と同様に動作する。
以上説明したように、本第2の実施形態によれば、試験
用のデータを生成するデータ生成回路15とデータ生成
回路15の出力を直接不揮発性半導体メモリ19に書き
込むように構成したので、不揮発性半導体メモリ19へ
書き込むデータをホストから転送する必要がなく、更に
バッファメモリ13へデータを格納する必要がない。ま
た、不揮発性半導体メモリ19から読み出し中にデータ
を比較するデータ比較回路18を設けたので、不揮発性
半導体メモリ19から読み出されたデータをホストへ転
送する必要がなく、更にバッファメモリ13へデータを
格納する必要がない。従って、ホストとの転送時間分が
短縮され、転送時の外部からノイズによるデータ化の恐
れがなくなり、更にバッファメモリ13へのデータを格
納する時間分が短縮され、不揮発性半導体メモリ19の
試験を高速かつ正確にできるという利点がある。
(B) In case of normal operation In the case of normal operation, the microcontroller 22 instructs the selection signal s22h of the bus selector 25 to select the data bus DBC, and the output destination of the selector 26 is the buffer memory 13. And outputs a selection signal s22i for instructing to output the selector 27 to the buffer memory 13. After that, the same operation as in the normal operation of the first embodiment is performed.
As described above, according to the second embodiment, the configuration is such that the data generation circuit 15 that generates test data and the output of the data generation circuit 15 are directly written to the non-volatile semiconductor memory 19. It is not necessary to transfer data to be written to the semiconductor memory 19 from the host, and it is not necessary to store data in the buffer memory 13. Further, since the data comparison circuit 18 for comparing the data during reading from the non-volatile semiconductor memory 19 is provided, it is not necessary to transfer the data read from the non-volatile semiconductor memory 19 to the host, and the data is further transferred to the buffer memory 13. Need not be stored. Therefore, the transfer time with the host is shortened, there is no fear of data conversion due to noise at the time of transfer, and the time for storing data in the buffer memory 13 is shortened, so that the nonvolatile semiconductor memory 19 can be tested. It has the advantage of being fast and accurate.

【0039】なお、本発明は、上記実施形態に限定され
ず種々の変形が可能である。その変形例としては、例え
ば次のようなものがある。 (1) 第1の実施形態ではデータ生成回路15と書き
込み回路16と読み出し回路17とデータ比較回路18
とを設けたが、データ生成回路15と書き込み回路16
あるいは読み出し回路17とデータ比較回路18のいず
れかのみ追加することも可能である。この場合、不揮発
性半導体メモリ19から読み出されバッファメモリ13
に格納されたデータと試験データを生成してそのデータ
との比較、あるいか試験データを生成してバッファメモ
リ13に格納は、マイクロコントローラ12が実行する
ようにする。第1の実施形態のように比較する専用回路
を設ける場合に比べて、実行速度は劣るが、読み出し回
路17とデータ比較回路18の分だけ不揮発性半導体デ
ィスク装置のハードウェア規模を小さくすることができ
る。 (2) 第1と第2の実施形態を組み合わせることも可
能である。つまり、データ生成回路15で生成した試験
データを不揮発性半導体19に書き込むまでの構成は、
第1または第2の実施形態の同じ構成にし、不揮発性半
導体メモリ19から読み出して、データ比較手段19で
比較する構成は、第2または第1の実施形態と同じ構成
にする。
The present invention is not limited to the above embodiment, and various modifications can be made. For example, there are the following modifications. (1) In the first embodiment, the data generation circuit 15, the write circuit 16, the read circuit 17, and the data comparison circuit 18
The data generating circuit 15 and the writing circuit 16 are provided.
Alternatively, it is possible to add only either the read circuit 17 or the data comparison circuit 18. In this case, the buffer memory 13 is read from the nonvolatile semiconductor memory 19.
The micro controller 12 executes the generation of the test data and the data stored in the test data, the comparison between the test data and the test data, and the test data generation and the storage in the buffer memory 13. Although the execution speed is inferior to the case where a dedicated circuit for comparison is provided as in the first embodiment, the hardware scale of the nonvolatile semiconductor disk device can be reduced by the amount corresponding to the read circuit 17 and the data comparison circuit 18. it can. (2) It is also possible to combine the first and second embodiments. That is, the configuration until the test data generated by the data generation circuit 15 is written in the nonvolatile semiconductor 19 is
The same configuration as that of the first or second embodiment, the configuration of reading from the non-volatile semiconductor memory 19 and comparing by the data comparing means 19 is the same as that of the second or first embodiment.

【0040】(3) 本実施形態では、ホストに1個の
不揮発性半導体ディスク装置が接続される構成について
説明したが、従来と異なり1台のホストに複数台の不揮
発性半導体ディスク装置の接続して、同時に試験するこ
とが可能となる。このときは、ホストから不揮発性半導
体ディスク装置に対して、それぞれ試験用のコマンドを
出せば良い。この場合、各不揮発性半導体ディスク装置
は、それぞれ独立して、不揮発性半導体メモリの試験を
行うことになる。 (4) データ生成回路15は、固定値、カウンタ値、
アドレス値の3種類のデヘタを生成する場合を説明した
が、他のデータ(例えば、PN符号)を発生するように
してもよい。
(3) In the present embodiment, the configuration in which one non-volatile semiconductor disk device is connected to the host has been described, but unlike the prior art, one non-volatile semiconductor disk device is connected to one host. Therefore, it is possible to test at the same time. At this time, the host may issue a test command to the nonvolatile semiconductor disk device. In this case, each non-volatile semiconductor disk device independently tests the non-volatile semiconductor memory. (4) The data generation circuit 15 has a fixed value, a counter value,
Although the case of generating three types of address value data has been described, other data (eg, PN code) may be generated.

【0041】[0041]

【発明の効果】以上詳細に説明したように、第1〜第8
の発明によれば、半導体ディスク装置内で半導体記憶装
置の試験をできるようにしたので、半導体記憶装置の試
験が早く終わらせることができる。また、ホストへデー
タ転送の際のノイズにより試験に誤りが生じる恐れがあ
ったが、それがなくなり試験の信頼性が向上する。
As described in detail above, the first to eighth embodiments
According to the invention, since the semiconductor memory device can be tested in the semiconductor disk device, the semiconductor memory device test can be completed early. Further, there is a possibility that an error may occur in the test due to noise during data transfer to the host, but this is eliminated, and the reliability of the test is improved.

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

【図1】本発明の第1の実施形態の不揮発性半導体ディ
スク装置の構成図である。
FIG. 1 is a configuration diagram of a nonvolatile semiconductor disk device according to a first embodiment of the present invention.

【図2】従来の不揮発性半導体ディスク装置の構成図で
ある。
FIG. 2 is a configuration diagram of a conventional nonvolatile semiconductor disk device.

【図3】図1のタイムチャートである。FIG. 3 is a time chart of FIG. 1;

【図4】本発明の第2の実施形態の不揮発性半導体ディ
スク装置の構成図である。
FIG. 4 is a configuration diagram of a nonvolatile semiconductor disk device according to a second embodiment of the present invention.

【図5】図4のタイムチャートである。FIG. 5 is a time chart of FIG. 4;

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

11 ホストインタェ
ース 12,22 マイクロコント
ローラ 13 バッファメモリ 14 シーケンサ 15 データ生成回路 16 データ書き込み
回路 17 データ読み出し
回路 18 データ比較回路 19 不揮発性半導体
メモリ 21,22,26,27 セレクタ 25 バスセレクタ
11 Host Interface 12, 22 Microcontroller 13 Buffer Memory 14 Sequencer 15 Data Generation Circuit 16 Data Writing Circuit 17 Data Reading Circuit 18 Data Comparison Circuit 19 Nonvolatile Semiconductor Memory 21, 22, 26, 27 Selector 25 Bus Selector

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピータに接続されて使用さ
れ、該ホストコンピュータからのコマンドに従って、半
導体記憶装置にデータの書き込み及び該半導体記憶装置
からデータの読み出しをする半導体ディスク装置におい
て、 前記ホストコンピュータからの試験を指示するコマンド
を受信して、前記半導体記憶装置へのデータの書き込み
及び前記半導体記憶装置からのデータ読み出しを制御す
る制御手段と、 ライト信号に基づいてデータを書き込み、リード信号に
基づいて書き込んだデータを読み出すバッファメモリ
と、 前記制御手段によって動作が制御され、前記半導体記憶
装置へ書き込むための試験用のデータと前記半導体記憶
装置へ書き込んだ前記試験用のデータを照合するための
照合用のデータを生成するデータ生成手段と、 前記制御手段によって動作が制御され、前記データ生成
手段で生成した試験用のデータを前記バッファメモリに
書き込むための前記ライト信号を生成するデータ書き込
み手段と、 前記制御手段によって動作が制御され、前記リード信号
を生成して前記バッファメモリに書き込まれた試験用の
データを読み出して、前記半導体記憶装置に書き込み、
前記半導体記憶装置に書き込まれた該試験用のデータを
読み出して、前記ライト信号を生成して該ライト信号に
基づいて前記読み出したデータを前記バッファメモリに
出力するシーケンサと、 前記制御手段によって動作が制御され、前記バッファメ
モリに書き込まれたデータを読み出すための前記リード
信号を生成するデータ読み出し手段と、 前記制御手段によって動作が制御され、前記バッファメ
モリより出力されるデータと前記データ生成手段により
出力される照合用のデータとの照合をして照合結果を出
力するデータ比較手段とを、 備えたことを特徴とする半導体ディスク装置。
1. A semiconductor disk device which is used by being connected to a host computer and which writes data to a semiconductor memory device and reads data from the semiconductor memory device according to a command from the host computer. Control means for receiving a command instructing a test and controlling writing of data to the semiconductor memory device and reading of data from the semiconductor memory device, and data writing based on a write signal and writing based on a read signal And a buffer memory for reading the data, an operation of which is controlled by the control unit, and a collation for collating the test data written to the semiconductor memory device with the test data written to the semiconductor memory device. Data generating means for generating data, and Operation is controlled by the control means, the data writing means for generating the write signal for writing the test data generated by the data generating means in the buffer memory, and the operation is controlled by the control means, the read signal To read the test data written in the buffer memory and write it in the semiconductor memory device,
A sequencer that reads the test data written in the semiconductor memory device, generates the write signal, and outputs the read data to the buffer memory based on the write signal, and an operation performed by the control unit. Data read means for generating the read signal for controlling and reading the data written in the buffer memory; data output from the buffer memory and output by the data generation means, the operation of which is controlled by the control means And a data comparison means for outputting a result of the collation.
【請求項2】 前記データ生成手段は、 前記制御手段の制御によって、前記データ書き込み手段
が生成する前記ライト信号もしくは前記データ読み出し
手段が生成する前記リード信号のいずれかを選択する選
択手段と、 前記選択手段の出力信号に基づいて動作するカウンタと
を、 備えたことを特徴とする請求項1記載の半導体ディスク
装置。
2. The selection means for selecting either the write signal generated by the data writing means or the read signal generated by the data reading means under the control of the control means. 2. The semiconductor disk device according to claim 1, further comprising a counter that operates based on an output signal of the selecting means.
【請求項3】 ホストコンピータに接続されて使用さ
れ、該ホストコンピュータからのコマンドに従って、半
導体記憶装置にデータの書き込み及び該半導体記憶装置
からデータの読み出しをする半導体ディスク装置におい
て、 前記ホストコンピュータからの試験を指示するコマンド
を受信して、前記半導体記憶装置へのデータの書き込み
及び前記半導体記憶装置からのデータ読み出しを制御す
る制御手段と、 前記制御手段によって動作が制御され、前記半導体記憶
装置へ書き込むための試験用のデータと前記半導体記憶
装置へ書き込んだ前記試験用のデータとを照合するため
の照合用のデータを生成するデータ生成手段と、 前記制御手段によって動作が制御され、リード信号を生
成して該リード信号に基づいて前記データ生成手段で生
成した試験用のデータを入力して、前記半導体記憶装置
に書き込み、前記半導体記憶装置に書き込まれた該試験
用のデータを読み出して、ライト信号を生成して該ライ
ト信号に基づいて読み出したデータを出力するシーケン
サと、 前記制御手段又は前記シーケンサによって動作が制御さ
れ、前記シーケンサにより出力されるデータと前記デー
タ生成手段により出力される照合用のデータとを照合し
て照合結果を出力するデータ比較手段とを、 備えたことを特徴とする半導体ディスク装置。
3. A semiconductor disk device which is used by being connected to a host computer and which writes data to a semiconductor memory device and reads data from the semiconductor memory device according to a command from the host computer. A control unit that receives a command instructing a test and controls writing of data to the semiconductor memory device and reading of data from the semiconductor memory device, and operation of the control unit to control and write to the semiconductor memory device Data for generating a collation data for collating the test data and the test data written in the semiconductor memory device, and the operation is controlled by the control unit to generate a read signal. And generated by the data generating means based on the read signal Input test data, write it in the semiconductor memory device, read the test data written in the semiconductor memory device, generate a write signal, and output the read data based on the write signal And a data comparison unit that controls the operation by the control unit or the sequencer, collates data output by the sequencer with collation data output by the data generation unit, and outputs a collation result. A semiconductor disk device comprising:
【請求項4】 前記データ生成手段は、前記制御手段の
制御によって、前記リード信号もしくは前記ライト信号
のいずれかを選択する選択手段と、 前記選択手段の出力信号に基づいて動作するカウンタと
を、 備えたことを特徴とする請求項3記載の半導体ディスク
装置。
4. The data generation means includes a selection means for selecting either the read signal or the write signal under the control of the control means, and a counter which operates based on an output signal of the selection means. The semiconductor disk device according to claim 3, further comprising:
【請求項5】 ホストコンピータに接続されて使用さ
れ、該ホストコンピュータからのコマンドに従って、半
導体記憶装置にデータの書き込み及び該半導体記憶装置
からデータの読み出しをする半導体ディスク装置におい
て、 前記ホストコンピュータからの試験を指示するコマンド
を受信して、前記半導体記憶装置へのデータの書き込み
及び前記半導体記憶装置からのデータ読み出しを制御す
る制御手段と、 ライト信号に基づいてデータを書き込み、リード信号に
基づいて書き込んだデータを読み出すバッファメモリ
と、 前記制御手段によって動作が制御され、前記半導体記憶
装置へ書き込むための試験用のデータと前記半導体記憶
装置へ書き込んだ前記試験用のデータとを照合するため
の照合用のデータを生成するデータ生成手段と、 前記制御手段によって動作が制御され、前記データ生成
手段で生成した試験用のデータを前記バッファメモリに
書き込むための前記ライト信号を生成するデータ書き込
み手段と、 前記制御手段によって動作が制御され、前記リード信号
を生成して前記バッファメモリに書き込まれた試験用の
データを読み出して、前記半導体記憶装置に書き込み、
前記半導体記憶装置に書き込まれた該試験用のデータを
読み出して、ライト信号を生成して該ライト信号に基づ
いて読み出したデータを出力するシーケンサと、 前記制御手段又は前記シーケンサによって動作が制御さ
れ、前記シーケンサにより出力されるデータと前記デー
タ生成手段により出力される前記照合用のデータとを照
合して照合結果を出力するデータ比較手段とを、 備えたことを特徴とする半導体ディスク装置。
5. A semiconductor disk device which is used by being connected to a host computer and which writes data to a semiconductor memory device and reads data from the semiconductor memory device according to a command from the host computer. Control means for receiving a command instructing a test and controlling writing of data to the semiconductor memory device and reading of data from the semiconductor memory device, and data writing based on a write signal and writing based on a read signal A buffer memory for reading the data, and a collation for collating the test data written in the semiconductor memory device with the test data whose operation is controlled by the control means and the semiconductor memory device. Data generation means for generating the data of An operation is controlled by the control means, a data writing means for generating the write signal for writing the test data generated by the data generating means into the buffer memory; and an operation controlled by the control means, the read signal To read the test data written in the buffer memory and write it in the semiconductor memory device,
A sequencer that reads the test data written in the semiconductor memory device, generates a write signal, and outputs the read data based on the write signal, and the operation is controlled by the control unit or the sequencer, A semiconductor disk device comprising: a data comparison unit that collates the data output by the sequencer with the collation data output by the data generation unit and outputs a collation result.
【請求項6】 ホストコンピータに接続されて使用さ
れ、該ホストコンピュータからのコマンドに従って、半
導体記憶装置にデータの書き込み及び該半導体記憶装置
からデータの読み出しをする半導体ディスク装置におい
て、 前記ホストコンピュータからの試験を指示するコマンド
を受信して、前記半導体記憶装置へのデータの書き込み
及び前記半導体記憶装置からのデータ読み出しを制御す
る制御手段と、 ライト信号に基づいてデータを書き込み、リード信号に
基づいて書き込んだデータを読み出すバッファメモリ
と、 前記制御手段によって動作が制御され、前記半導体記憶
装置へ書き込むための試験用のデータと前記半導体記憶
装置へ書き込んだ前記試験用のデータとを照合するため
の照合用のデータを生成するデータ生成手段と、 前記制御手段によって動作が制御され、入力制御信号を
生成して該入力制御信号に基づいて前記データ生成手段
で生成した試験用のデータを入力して、前記半導体記憶
装置に書き込み、前記半導体記憶装置に書き込まれた該
試験用のデータを読み出して、前記ライト信号を生成し
て前記バッファメモリに書き込むシーケンサと、 前記制御手段によって動作が制御され、前記バッファメ
モリに書き込まれたデータを読み出すための前記リード
信号を生成するデータ読み出し手段と、 前記制御手段によって動作が制御され、前記バッファメ
モリより出力されるデータと前記データ生成手段により
出力される前記照合用のデータとを照合して照合結果を
出力するデータ比較手段とを、 備えたことを特徴とする半導体ディスク装置。
6. A semiconductor disk device which is used by being connected to a host computer and which writes data to a semiconductor memory device and reads data from the semiconductor memory device according to a command from the host computer. Control means for receiving a command instructing a test and controlling writing of data to the semiconductor memory device and reading of data from the semiconductor memory device, and data writing based on a write signal and writing based on a read signal A buffer memory for reading the data, and a collation for collating the test data written in the semiconductor memory device with the test data whose operation is controlled by the control means and the semiconductor memory device. Data generation means for generating the data of The operation is controlled by the control means, the input control signal is generated, the test data generated by the data generation means is input based on the input control signal, and the test data is written into the semiconductor memory device and written in the semiconductor memory device. A sequencer for reading the written test data, generating the write signal and writing the write signal in the buffer memory, and the read for reading the data written in the buffer memory, the operation of which is controlled by the control means. A data reading unit that generates a signal and an operation of which is controlled by the control unit, collates the data output from the buffer memory with the collation data output by the data generation unit, and outputs a collation result. A semiconductor disk device comprising: a data comparison unit.
【請求項7】 前記制御手段及び前記データ生成手段を
マイクロコントローラで構成したことを特徴とする請求
項1、2、3、4、5又は6記載の半導体ディスク装
置。
7. The semiconductor disk device according to claim 1, wherein the control means and the data generation means are constituted by a microcontroller.
【請求項8】 前記制御手段及び前記比較手段をマイク
ロコントローラで構成したことを特徴とする請求項1、
2、3、4、5又は6記載の半導体ディスク装置。
8. The control means and the comparison means are constituted by a microcontroller.
The semiconductor disk device described in 2, 3, 4, 5 or 6.
JP8045838A 1996-03-04 1996-03-04 Semiconductor disk device Withdrawn JPH09237164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8045838A JPH09237164A (en) 1996-03-04 1996-03-04 Semiconductor disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8045838A JPH09237164A (en) 1996-03-04 1996-03-04 Semiconductor disk device

Publications (1)

Publication Number Publication Date
JPH09237164A true JPH09237164A (en) 1997-09-09

Family

ID=12730373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8045838A Withdrawn JPH09237164A (en) 1996-03-04 1996-03-04 Semiconductor disk device

Country Status (1)

Country Link
JP (1) JPH09237164A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007506160A (en) * 2003-09-15 2007-03-15 ラムバス・インコーポレーテッド Method and apparatus for performing interconnect testing
JP2007133922A (en) * 2005-11-08 2007-05-31 Adotekku System Science:Kk Comparison method for copied content for information storage medium and comparison device therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007506160A (en) * 2003-09-15 2007-03-15 ラムバス・インコーポレーテッド Method and apparatus for performing interconnect testing
JP4728238B2 (en) * 2003-09-15 2011-07-20 ラムバス・インコーポレーテッド Method and apparatus for performing interconnect testing
JP2007133922A (en) * 2005-11-08 2007-05-31 Adotekku System Science:Kk Comparison method for copied content for information storage medium and comparison device therefor

Similar Documents

Publication Publication Date Title
US7508724B2 (en) Circuit and method for testing multi-device systems
US5561671A (en) Self-diagnostic device for semiconductor memories
US5875153A (en) Internal/external clock option for built-in self test
JP4643729B2 (en) Interleave control device, interleave control method, and memory system
JPH10199294A (en) Integrated circuit memory device having built-in self-testing circuit with monitor mode and tester mode and its operation method
EP0686981B1 (en) Method for testing large memory arrays during system initialization
CN114530188A (en) Semiconductor test method, system and storage medium
JPH10170607A (en) Test device of semiconductor device
US6646935B2 (en) Semiconductor memory device for reducing number of input cycles for inputting test pattern
JPH09237164A (en) Semiconductor disk device
JPH10177537A (en) Setting system for input and output configuration of computer and its method
US5953272A (en) Data invert jump instruction test for built-in self-test
WO1997025717A1 (en) Test pattern generator
KR100439073B1 (en) A semiconductor device comprising a function evaluation function
JPH0863999A (en) Burn-in method for non-volatile flash eprom memory device
JP2000065904A (en) Semiconductor tester
JPH0581145A (en) Data write circuit in eeprom
JPH08262106A (en) Test circuit for special use
JPH04275654A (en) Storage part diagnostic system for information processor
JPH06294846A (en) Semiconductor nonvolatile memory and measuring method therefor
JP3233270B2 (en) Semiconductor integrated circuit
JP3455297B2 (en) Test pattern generator
JPH05313824A (en) Control method for tracing device built in disk device
JP3246406B2 (en) Semiconductor memory device and test method therefor
JPH01152552A (en) Information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030506