JPH0770232B2 - Data writing method - Google Patents
Data writing methodInfo
- Publication number
- JPH0770232B2 JPH0770232B2 JP10450787A JP10450787A JPH0770232B2 JP H0770232 B2 JPH0770232 B2 JP H0770232B2 JP 10450787 A JP10450787 A JP 10450787A JP 10450787 A JP10450787 A JP 10450787A JP H0770232 B2 JPH0770232 B2 JP H0770232B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- writing
- signal
- byte
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Read Only Memory (AREA)
Description
【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、たとえばICカードのデータメモリなどとして
用いられる半導体メモリのデータ書込み方式に係り、特
にEEPROMの自動ページ書込み方式に関する。The present invention relates to a data writing method of a semiconductor memory used as, for example, a data memory of an IC card, and more particularly to an automatic page writing method of an EEPROM. .
(従来の技術) 最近、半導体メモリとして、EPROMに代わり電気的にデ
ータを消去および書換えが可能であるEEPROMが注目され
ている。しかるに、EEPROMは、そのデータ書込み時間が
EPROMのそれよりも長いため各種の改良がなされてき
た。(Prior Art) Recently, as a semiconductor memory, an EEPROM, which is capable of electrically erasing and rewriting data, has been attracting attention instead of an EPROM. However, the data writing time of EEPROM is
Since it is longer than that of EPROM, various improvements have been made.
特に、改良品として目をみはるものは、EEPROM内に数バ
イト分のRAMで構成されたバッファを設け、特定時間内
にこのバッファに書込みを行なっておくだけで、あとは
内部的にバッファの内容をEEPROMに書換えてくれるとい
うものである。これは、バッファに書込む時間がEPROM
と同程度のため、見掛け上、書込み時間が短縮される。
これにはページという概念によりメモリを分割し、メモ
リに供給されるアドレスデータのうち下位数ビットでペ
ージ内のバイトの番号を示し、残りの上位バイトでペー
ジ数を示すといったものである。この概念から、いわゆ
るページ書込み機能と呼ばれている。In particular, what is remarkable as an improved product is to provide a buffer composed of several bytes of RAM in the EEPROM and write to this buffer within a specific time. Is rewritten to EEPROM. This is the EPROM time to write to the buffer
Since it is about the same as the above, the writing time is apparently shortened.
For this purpose, the memory is divided according to the concept of page, the lower-order bits of the address data supplied to the memory indicate the number of bytes in the page, and the remaining higher-order bytes indicate the number of pages. From this concept, the so-called page writing function is called.
ところが、従来は、前記特定時間というものは仕様書上
で記述されているにとどまり、外部装置としてEEPROMに
対するページ書込み動作は、この仕様書上の数値で設計
されることになる。ただし、EEPROMによっては、書込み
環境などの要因により上記特定時間が短くなる場合が生
じたとしても、外部装置としてはあたかも全てのアクセ
スデータが書込まれたと認識してしまうおそれがある。
したがって、EEPROMがデータ受付け状態であるか否かを
外部装置が容易に識別できる方法が要求される。However, conventionally, the specific time is only described in the specification, and the page writing operation to the EEPROM as an external device is designed by the numerical value in the specification. However, depending on the EEPROM, even if the specified time is shortened due to factors such as the writing environment, the external device may recognize that all access data has been written.
Therefore, there is a demand for a method by which an external device can easily identify whether or not the EEPROM is in a data receiving state.
(発明が解決しようとする問題点) 本発明は、上記要望に鑑みてなされたもので、ページ書
込みの際、データの受付けが1バイト目のデータの待ち
状態であるか2バイト目以降のデータの待ち状態である
か、または、データ書込み動作中でデータ受付け不可の
状態であるのかを外部から容易に識別できるデータ書込
み方式を提供することを目的とする。(Problems to be Solved by the Invention) The present invention has been made in view of the above-described demands. When writing a page, data reception is in the waiting state for the first byte of data or the data of the second and subsequent bytes. It is an object of the present invention to provide a data writing method capable of easily identifying from the outside whether it is in a waiting state or in a data writing operation in which data cannot be accepted.
[発明の構成] (問題点を解決するための手段) 本発明は、2n(nは正の整数)列のアクセス単位となる
少なくとも1ビットからなるビット列に分割されるメモ
リと、このメモリに書込まれるべき2n列のデータを外部
から受付けて保持するデータ保持手段と、このデータ保
持手段に保持されたデータを前記メモリの所定分割領域
に書込む書込み手段とを有し、前記メモリへのデータ書
込みの際、2n列以下のデータを前記データ保持手段に受
付けた後、前記書込み手段によって前記メモリの所定分
割領域にデータを書込むデータ書込み方式であって、前
記データ保持手段によって受付けたデータの量をカウン
トするカウンタを有し、このカウンタによって所定のデ
ータ量がカウントされた場合の前記書込み手段による書
込み動作を行なわせるとともに、前記カウンタのカウン
ト値に基づき前記データ保持手段によるデータの受付け
が1バイト目のデータの待ち状態であるか2バイト目以
降のデータの待ち状態であるか、または、前記書込み手
段による書込み動作中でデータ受付け不可の状態である
のかをそれぞれ識別し、前記データ保持手段によるデー
タの受付けが1バイト目のデータの待ち状態であるか2
バイト目以降のデータの待ち状態であるか、または、前
記書込み手段による書込み動作中でデータ受付け不可の
状態であるのかをそれぞれ識別できる識別信号を外部へ
出力する制御手段を具備したことを特徴としている。[Structure of the Invention] (Means for Solving Problems) The present invention relates to a memory divided into a bit string of at least 1 bit as an access unit of a 2 n (n is a positive integer) string, and Data holding means for externally receiving and holding 2 n- column data to be written, and writing means for writing the data held in the data holding means in a predetermined divided area of the memory, When writing the data, the data holding method is such that after writing the data of 2 n columns or less to the data holding means, the writing means writes the data to the predetermined divided area of the memory. A counter that counts the amount of data, and causes the writing means to perform the writing operation when a predetermined amount of data is counted by this counter. In either case, whether the data reception by the data holding means is in the waiting state for the first byte data or the second byte or later data based on the count value of the counter, or the writing operation by the writing means is performed. It is determined whether or not the data reception is impossible, and whether the data reception by the data holding means is in the waiting state for the first byte data or not 2
It is characterized by comprising control means for outputting to the outside an identification signal capable of identifying whether each is in a waiting state for data after the byte byte or in a state in which data cannot be received during the writing operation by the writing means. There is.
(作用) ページ書込みの際、データ保持手段によって受付けたデ
ータ量をカウントし、所定のデータ量がカウントされた
場合に書込み手段による書込み動作を行なわせるととも
に、上記カウント値に基づきデータ保持手段によるデー
タの受付けが1バイト目のデータの待ち状態であるか2
バイト目以降のデータの待ち状態であるか、または、書
込み手段による書込み動作中でデータ受付け不可の状態
であるのかをそれぞれ識別し、データ保持手段によるデ
ータの受付けが1バイト目のデータの待ち状態であるか
2バイト目以降のデータの待ち状態であるか、または、
書込み手段による書込み動作中でデータ受付け不可の状
態であるのかをそれぞれ識別できる識別信号を外部へ出
力する制御手段を設けることにより、データの受付けが
1バイト目のデータの待ち状態であるか2バイト目以降
のデータの待ち状態であるか、または、データ書込み動
作中でデータ受付け不可の状態であるのかを外部から容
易に識別できる。したがって、外部装置として効率のよ
い書込みシーケンスが提供できる。(Operation) At the time of page writing, the amount of data received by the data holding means is counted, and when the predetermined amount of data is counted, the writing operation is performed by the writing means, and the data by the data holding means is based on the count value. Is the reception of 1st byte data waiting state? 2
It is determined whether the data is waiting for the data on and after the byte or the data is not being received by the writing means and the data holding means waits for the first byte. Is in a waiting state for the data of the second byte or later, or
By providing a control means for outputting to the outside an identification signal capable of identifying whether each of the writing operations by the writing means is in the data unacceptable state, the acceptance of the data is in the waiting state for the first byte or in the two bytes. It is possible to easily identify from the outside whether the data is in a waiting state after the eyes or is in a data writing operation and cannot accept data. Therefore, an efficient write sequence can be provided as an external device.
また、1バイト目のデータの待ち状態であるか2バイト
目以降のデータの待ち状態であるかを識別可能とするこ
とにより、外部からは1バイト目のデータが正常に受付
けられたか否かを容易に識別できるため、外部装置との
データの授受に異常があった場合、早い段階で異常の発
生を外部装置が識別可能となる。In addition, by making it possible to identify whether the first byte of data is in a waiting state or the second and subsequent bytes of data are in a waiting state, it is possible to determine whether or not the first byte of data has been normally received from the outside. Since it is possible to easily identify, if there is an abnormality in the exchange of data with the external device, the external device can identify the occurrence of the abnormality at an early stage.
(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。(Example) Hereinafter, one example of the present invention will be described with reference to the drawings.
第1図は、たとえば64キロビット(8192ワード×8ビッ
ト)のEEPROMの回路構成を示すものである。すなわち、
1はローアドレスラッチで、アドレスデータA12〜A0の
うち上位8ビットのデータA12〜A5を後述する制御回路1
0からの信号dによりラッチする。2はローアドレスデ
コーダで、ローアドレスラッチ1にラッチされたアドレ
スデータA12〜A5をデコードすることにより行選択信号
aを生成する。3は8192ワード×8ビットのメモリセル
アレイである。4はカラムアドレスバッファで、アドレ
スデータA12〜A0のうち下位5ビットのデータA4〜A0を
保持する。5はカラムアドレスデコーダで、カラムアド
レスバッファ4から出力されるアドレスデータA4〜A0を
後述する制御回路10からの信号eによりデコードするこ
とにより列選択信号b,cを生成する。6はアクセス識別
情報ラッチで、カラムアドレスデコーダ5からの信号c
によりアクセス識別情報をラッチする。7は入力データ
ラッチで、後述する入出力バッファ8から入力された8
ビットのデータをカラムアドレスデコーダ5からの信号
cによりラッチする。8は入出力バッファで、後述する
制御回路10からの信号hにより8ビットの入出力データ
D7〜D0を保持する。9は内部書込みコントローラで、後
述する制御回路10からの信号fにより内部書込み処理を
行なう。10は制御回路で、本EEPROMに関する書込みおよ
び読出しの際の制御を司る。制御回路10は、外部から▲
▼信号(ライトイネーブル信号)、▲▼信号
(チップイネーブル信号)、▲▼信号(アウトプッ
トイネーブル信号)が供給されるとともに、外部へ後述
するような書込み状態信号としてのWRB信号およびRRB信
号を出力する。FIG. 1 shows a circuit configuration of, for example, a 64 kilobit (8192 words × 8 bits) EEPROM. That is,
Reference numeral 1 denotes a row address latch, which is a control circuit 1 which will be described later with the higher-order 8-bit data A 12 to A 5 of the address data A 12 to A 0.
Latch by the signal d from 0. 2 is a row address decoder to generate a row select signal a by decoding the address data A 12 to A 5 latched in the row address latch 1. 3 is a memory cell array of 8192 words × 8 bits. A column address buffer 4 holds lower 5 bits of data A 4 to A 0 of the address data A 12 to A 0 . A column address decoder 5 decodes address data A 4 to A 0 output from the column address buffer 4 by a signal e from a control circuit 10 described later to generate column selection signals b and c. An access identification information latch 6 is a signal c from the column address decoder 5.
The access identification information is latched by. Reference numeral 7 is an input data latch, which is input from an input / output buffer 8 described later.
The bit data is latched by the signal c from the column address decoder 5. Reference numeral 8 denotes an input / output buffer, which is 8-bit input / output data according to a signal h from a control circuit 10 described later.
Holds D 7 to D 0 . An internal write controller 9 performs an internal write process in response to a signal f from a control circuit 10 described later. Reference numeral 10 is a control circuit, which controls the writing and reading of the EEPROM. Control circuit 10 from outside
The ▼ signal (write enable signal), ▲ ▼ signal (chip enable signal), and ▲ ▼ signal (output enable signal) are supplied, and the WRB signal and RRB signal as write status signals, which will be described later, are output to the outside. To do.
このように構成されたEEPROMの外部書込みタイミングを
第2図に示す。定常状態においては、WRB信号およびRRB
信号は共に“H"レベルとなっている。ここで、WRB信号
は、書込みバイトの第1バイト目をアクセスすると“L"
レベルとなり、以降の内部書込み処理が終了すると再び
“H"レベルとなる。制御回路10内には、タイマおよびカ
ウンタが含まれている。タイマは、書込みバイトが入力
された後、次のバイト入力の受付け期間を定めるもので
あり、カウンタは、いくつの書込みバイトを受付けたか
をカウントするものである。本実施例では、たとえば32
バイトの受付けにより受付け処理を終了する。また、タ
イマは、リセット後50μsでオーバーフローするように
なっている。すなわち、あるバイトをアクセスし、次の
バイトをアクセスするまでに50μs以上要してしまった
か、またはそれぞれのアクセスは50μs以内で、かつ32
バイトアクセスした時点で書込みバイトの受付け処理は
終了する。カウンタのカウントアップおよびタイマのリ
セットは、書込み動作によって生成される入力受付けタ
イマリセット信号(パルス)により行なわれる。この受
付け処理継続中か否かを外部に知らせるのがRRB信号
で、受付け処理を終了すると“L"レベルとなり、以降の
内部書込み処理が終了すると再び“H"レベルとなる。The external write timing of the EEPROM thus configured is shown in FIG. In steady state, WRB signal and RRB
Both signals are at "H" level. Here, the WRB signal is "L" when the first byte of the write byte is accessed.
The level becomes high, and when the subsequent internal write processing is completed, the level becomes high again. The control circuit 10 includes a timer and a counter. The timer defines the acceptance period of the next byte input after the write byte is input, and the counter counts how many write bytes are accepted. In this embodiment, for example, 32
The acceptance process ends when the byte is accepted. In addition, the timer overflows 50 μs after resetting. That is, it took more than 50 μs to access one byte and the next byte, or each access was within 50 μs and 32
When the byte is accessed, the write byte acceptance process ends. The counting up of the counter and the resetting of the timer are performed by the input acceptance timer reset signal (pulse) generated by the writing operation. The RRB signal informs the outside of whether or not the acceptance processing is continuing. The RRB signal is set to "L" level when the acceptance processing is completed, and is set to "H" level again when the subsequent internal writing processing is completed.
すなわち、WRB信号およびRRB信号が共に“H"レベルであ
れば、書込みバイトとして第1バイト目の待ち状態であ
り、WRB信号が“L"レベルでRRB信号が“H"レベルであれ
ば、以前に第1バイト目は受付けており、それ以降のバ
イトの受付けが継続中であることを示す。また、WRB信
号およびRRB信号が共に“L"レベルであれば、書込みバ
イト受付け禁止状態で、かつ内部書込み処理が行なわれ
ていることを示す。これにより、外部装置としては上記
3つの状態が容易に識別できる。That is, if both the WRB signal and the RRB signal are at "H" level, it is in the waiting state of the first byte as a write byte, and if the WRB signal is at "L" level and the RRB signal is at "H" level, Indicates that the first byte has been accepted and the subsequent bytes are being accepted. If both the WRB signal and the RRB signal are at "L" level, it indicates that the write byte acceptance is prohibited and the internal write processing is being performed. As a result, the above three states can be easily identified as an external device.
さて、WRB信号およびRRB信号が共に“H"レベル状態で書
込みを行なうと、この際の▲▼信号と▲▼信号
との論理積をとった信号(第1図中の信号d)により、
アドレスデータA12〜A5をローアドレスとしてローアド
レスラッチ1にラッチする。このとき、WRB信号を“L"
レベルにおとす。同時に、カラムアドレスデコーダ5
は、カラムアドレスバッファ4から入力されたアドレス
データA4〜A0を▲▼信号と▲▼信号との論理積
をとった信号(第1図中の信号e)によりデコードする
ことにより信号cを生成する。ここで、アクセス識別情
報ラッチ6は、32個の1ビットラッチによって構成され
ており、定常状態においてはリセットされていて、信号
cにより選択されたラッチがセットされるようになって
いる。また、入力データラッチ7は、8ビット×32ワー
ドのラッチによって構成されており、各ワードは信号c
により選択され、このとき選択されたラッチは入出力バ
ッファ8を介して入力されるデータをラッチする。すな
わち、これにより順序的にA4〜A0のデータ値がランダム
になっていても対応するワードに格納され、またデータ
が格納されたワードがどれであるかをアクセス識別情報
ラッチ6が記憶することになる。Now, when writing is performed with both the WRB signal and the RRB signal in the "H" level state, a signal (signal d in FIG. 1) obtained by ANDing the ▲ ▼ signal and the ▲ ▼ signal at this time
Latching the row address latch 1 to address data A 12 to A 5 as row address. At this time, set the WRB signal to "L"
Down to the level. At the same time, the column address decoder 5
Is to decode the signal c by decoding the address data A 4 to A 0 input from the column address buffer 4 with a signal (signal e in FIG. 1) obtained by ANDing the ▲ ▼ and ▲ ▼ signals. To generate. Here, the access identification information latch 6 is composed of 32 1-bit latches, is reset in the steady state, and the latch selected by the signal c is set. The input data latch 7 is composed of a latch of 8 bits × 32 words, and each word is a signal c.
The latch selected at this time latches the data input via the input / output buffer 8. Namely, thereby the data value sequence to A 4 to A 0 is be made randomly stored in the corresponding word, also either stored in the access identification information latch 6 words data is stored is none It will be.
第2図の例においては、受付け期間終了時にはローアド
レスラッチ1にはxxという値がラッチされ、入力データ
ラッチ7においては、第1番目の8ビットラッチにはデ
ータa、第3番目の8ビットラッチにはデータd、第4
番目の8ビットラッチにはデータc、第7番目の8ビッ
トラッチにはデータbがそれぞれラッチされており、ア
クセス識別情報ラッチ6においては、第1,第3,第4,第7
ビット目がそれぞれセット状態で、残りは全てリセット
状態となっている。In the example of FIG. 2, the value xx is latched in the row address latch 1 at the end of the acceptance period, and in the input data latch 7, the data a and the third 8 bits are stored in the first 8-bit latch. Data d, fourth in the latch
The data c is latched in the eighth 8-bit latch and the data b is latched in the seventh 8-bit latch. In the access identification information latch 6, the first, the third, the fourth, and the seventh are latched.
Bits are set, and the rest are all reset.
次に、内部書込み処理について第3図に示すフローチャ
ートを参照しつつ説明する。まず、受付け期間終了跡、
内部書込み用カラムアドレスを“0"にする。これは、内
部書込みコントローラ9内にカラムアドレスジェネレー
タがあり、この出力が第2図に示された内部書込み用カ
ラムアドレスを“00"から“1F"までの値となる。そし
て、この出力をデコードすることにより列選択信号iお
よび信号j,kが生成される。Next, the internal write processing will be described with reference to the flowchart shown in FIG. First, the trace of the acceptance period,
Set the internal write column address to "0". This is because there is a column address generator in the internal write controller 9, and this output has a value from "00" to "1F" for the internal write column address shown in FIG. Then, the column selection signal i and the signals j, k are generated by decoding this output.
次に、内部書込みコントローラ9は、生成した信号jに
よりアクセス識別情報ラッチ6内に対応するラッチを選
択し(つまり、カラムアドレスに対応するアクセス識別
情報を参照し)、これがセットされているか否かを判別
する。セットされていない状態(つまり“0")であれ
ば、メモリセルアレイ3への書込みは行なわず、カラム
アドレスジェネレータによりアドレスを1つ増加する。
セットされている状態(つまり“1")であれば、生成し
た信号kにより入力データラッチ7内の対応するワード
を選択し(つまり、カラムアドレスに対応した入力デー
タラッチ7のワードを選択し)、そのワード内のデータ
をメモリセルアレイ3に供給し、同時に列選択信号i
(カラムアドレス)と行選択信号a(ローアドレス)と
により書込むべきメモリセルを指定するとともに、書込
み許可信号lをメモリセルアレイ3に与える。メモリセ
ルアレイ3は、書込み許可信号lを受取ると、アドレス
データにより指定されたメモリセル(8ビット)に先に
供給されているデータを記憶する。そして、内部書込み
コントローラ9は、メモリセルアレイ3にデータを書き
終えたことを認識し、カラムアドレスシェネレータによ
りアドレスを1つ増加する。Next, the internal write controller 9 selects the corresponding latch in the access identification information latch 6 by the generated signal j (that is, refers to the access identification information corresponding to the column address), and determines whether it is set or not. To determine. If it is not set (that is, "0"), writing to the memory cell array 3 is not performed, and the address is incremented by 1 by the column address generator.
If it is set (that is, "1"), the generated signal k selects the corresponding word in the input data latch 7 (that is, the word of the input data latch 7 corresponding to the column address is selected). , The data in the word is supplied to the memory cell array 3, and at the same time, the column selection signal i
The memory cell to be written is specified by the (column address) and the row selection signal a (row address), and the write enable signal 1 is given to the memory cell array 3. When receiving the write enable signal l, the memory cell array 3 stores the data previously supplied to the memory cell (8 bits) designated by the address data. Then, the internal write controller 9 recognizes that the data has been written in the memory cell array 3, and increments the address by 1 by the column address generator.
ただし、カラムアドレスを1つ増加する前にアドレス値
が“1FH"となっているか否かを判断し、なっていれば信
号mによって制御回路10に書込みが終了したことを知ら
せる。制御回路10は、信号mによって書込みが終了した
ことを認識すると、WRB信号およびRRB信号をそれぞれ
“H"レベルにするとともに、信号gによりアクセス識別
情報ラッチ6の各ラッチを全てリセットし、メモリとし
て定常状態に戻す。However, it is determined whether or not the address value before incrementing by one column address is in the "1F H", indicating that the write has been completed to the control circuit 10 if made by the signal m. When the control circuit 10 recognizes that the writing is completed by the signal m, it sets the WRB signal and the RRB signal to the “H” level, resets all the latches of the access identification information latch 6 by the signal g, and operates as a memory. Return to steady state.
なお、第2図における内部書込み処置期間中は▲▼
信号、▲▼信号および▲▼信号はそれぞれ無効
となる。In addition, during the internal writing process period in FIG.
The signal, ▲ ▼ signal and ▲ ▼ signal are invalid.
次に、読出し動作としては、読出し許可期間(第2図に
おいて内部書込み処理期間以外の期間)に入力された読
出し信号である。▲▼信号および▲▼信号に連
動して行なわれる。この際、制御回路10が読出し動作で
あると認識すると、アドレスデータA12〜A5はローアド
レスラッチ1を介してローアドレスデコーダ2で行選択
信号aに変換され、またアドレスデータA4〜A0はカラム
アドレスバッファ4を介してカラムアドレスデコーダ5
で列選択信号bに変換され、これら行選択信号aと列選
択信号bとにより指定されたメモリセル(8ビット)の
データを読出し、信号hにより入出力バッファ8に格納
する。Next, the read operation is a read signal input during the read permission period (a period other than the internal write processing period in FIG. 2). It is performed in conjunction with the ▲ ▼ signal and the ▲ ▼ signal. At this time, when the control circuit 10 recognizes that it is a read operation, the address data A 12 to A 5 are converted into the row selection signal a by the row address decoder 2 via the row address latch 1 and the address data A 4 to A 5 are generated. 0 is the column address decoder 5 via the column address buffer 4
Then, the data of the memory cell (8 bits) designated by the row selection signal a and the column selection signal b is read out and stored in the input / output buffer 8 by the signal h.
このように、ページ書込みの際、識別信号(WRB信号、R
RB信号)を外部へ出力し、ページ書込みのために第1バ
イト目を受付けたとき、所定時間が終了したとき(デー
タ受付け処理が終了したとき)、内部書込み処理が終了
したとき、の各時点において、上記識別信号の出力レベ
ルを変化させることにより、第1バイト目の待ち状態、
第2バイト目以降のバイトの受付けが継続中である状
態、書込みバイト受付け禁止状態(内部書込み処理が行
なわれている状態)、の3つの状態が外部から容易に識
別できる。したがって、外部装置として効率のよい書込
みシーケンスが提供できるものである。In this way, the identification signal (WRB signal, R
RB signal) to the outside, when the first byte is accepted for page writing, when a predetermined time has expired (when the data acceptance process has finished), and when the internal write process has finished. At the first byte by changing the output level of the identification signal,
Three states can be easily identified from the outside, that is, the state where the second and subsequent bytes are being accepted, and the write byte acceptance prohibited state (the state where the internal write process is being performed). Therefore, an efficient writing sequence can be provided as an external device.
また、識別信号(WRB信号、RRB信号)により、1バイト
目の待ち状態であるか、2バイト目以降の待ち状態であ
るかを識別可能とすることにより、外部からは1バイト
目のデータが正常に受付けられたか否かを容易に識別で
きるため、外部装置とのデータの授受に異常があった場
合、早い段階で異常の発生を外部装置が識別可能とな
る。The identification signal (WRB signal, RRB signal) makes it possible to identify whether the first byte is in the waiting state or the second and subsequent bytes are in the waiting state. Since it is possible to easily identify whether or not the data has been normally received, if the data exchange with the external device is abnormal, the external device can identify the occurrence of the abnormality at an early stage.
[発明の効果] 以上詳述したように本発明によれば、ページ書込みの
際、データの受付けが1バイト目のデータの待ち状態で
あるか2バイト目以降のデータの待ち状態であるか、ま
たは、データの書込み動作中でデータ受付け不可の状態
であるのかを外部から容易に識別できるデータ書込み方
式を提供できる。[Effects of the Invention] As described in detail above, according to the present invention, whether data reception is in the waiting state of the first byte of data or in the waiting state of the second and subsequent bytes at the time of page writing, Alternatively, it is possible to provide a data writing method by which it is possible to easily identify from the outside whether or not the data cannot be received during the data writing operation.
また、本発明によれば、1バイト目のデータの待ち状態
であるか2バイト目以降のデータの待ち状態であるかを
識別可能とすることにより、外部からは1バイト目のデ
ータが正常に受付けられたか否かを容易に識別できるた
め、外部装置とのデータの授受に異常があった場合、早
い段階で異常の発生を外部装置が識別可能となるデータ
書込み方式を提供できる。Further, according to the present invention, it is possible to distinguish whether the first byte data is in a waiting state or the second and subsequent bytes are in a waiting state. Since it is possible to easily identify whether or not the data has been received, it is possible to provide a data writing method that enables the external device to identify the occurrence of the abnormality at an early stage when there is an abnormality in the data exchange with the external device.
図は本発明の一実施例を説明するためのもので、第1図
はEEPROMの回路構成を示すブロック図、第2図はデータ
書込みタイミングを示す図、第3図は内部書込み処理を
説明するフローチャートである。 1……ローアドレスラッチ、2……ローアドレスデコー
ダ、3……メモリセルアレイ、4……カラムアドレスバ
ッファ、5……カラムアドレスデコーダ、6……アクセ
ス識別情報ラッチ、7……入力データラッチ、8……入
出力バッファ、9……内部書込みコントローラ、10……
制御回路。FIG. 1 is a diagram for explaining one embodiment of the present invention. FIG. 1 is a block diagram showing a circuit configuration of an EEPROM, FIG. 2 is a diagram showing a data write timing, and FIG. 3 is a diagram showing an internal write process. It is a flowchart. 1 ... Row address latch, 2 ... Row address decoder, 3 ... Memory cell array, 4 ... Column address buffer, 5 ... Column address decoder, 6 ... Access identification information latch, 7 ... Input data latch, 8 ...... Input / output buffer, 9 ... Internal write controller, 10 ...
Control circuit.
Claims (1)
る少なくとも1ビットからなるビット列に分割されるメ
モリと、このメモリに書込まれるべき2n列のデータを外
部から受付けて保持するデータ保持手段と、このデータ
保持手段に保持されたデータを前記メモリの所定分割領
域に書込む書込み手段とを有し、前記メモリへのデータ
書込みの際、2n列以下のデータを前記データ保持手段に
受付けた後、前記書込み手段によって前記メモリの所定
分割領域にデータを書込むデータ書込み方式であって、 前記データ保持手段によって受付けたデータの量をカウ
ントするカウンタを有し、このカウンタによって所定の
データ量がカウントされた場合に前記書込み手段により
書込み動作を行なわせるとともに、前記カウンタのカウ
ント値に基づき前記データ保持手段によるデータの受付
けが1バイト目のデータの待ち状態であるか2バイト目
以降のデータの待ち状態であるか、または、前記書込み
手段による書込み動作中でデータ受付け不可の状態であ
るのかをそれぞれ識別し、前記データ保持手段によるデ
ータの受付けが1バイト目のデータの待ち状態であるか
2バイト目以降のデータの待ち状態であるか、または、
前記書込み手段による書込み動作中でデータ受付け不可
の状態であるのかをそれぞれ識別できる識別信号を外部
へ出力する制御手段を具備したことを特徴とするデータ
書込み方式。1. A memory which is divided into a bit string consisting of at least 1 bit, which is an access unit of 2 n (n is a positive integer) columns, and 2 n columns of data to be written in this memory are externally received. It has a data holding means for holding and a writing means for writing the data held in the data holding means in a predetermined divided area of the memory, and when writing data to the memory, the data of 2 n columns or less is written. A data writing method of writing data to a predetermined divided area of the memory by the writing means after receiving the data by the data holding means, and having a counter for counting the amount of data received by the data holding means. When the predetermined amount of data is counted by the write means, the write operation is performed, and based on the count value of the counter. The reception of data by the data holding means is in the waiting state for the data of the first byte, the waiting state of the data of the second byte or later, or the writing operation by the writing means is in the unacceptable state. Whether the data is received by the data holding means in the waiting state for the first byte of data or the waiting state of the second and subsequent bytes, or
A data writing system characterized by comprising control means for outputting to the outside an identification signal capable of identifying whether each of the writing operations by the writing means is in a data unacceptable state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10450787A JPH0770232B2 (en) | 1987-04-30 | 1987-04-30 | Data writing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10450787A JPH0770232B2 (en) | 1987-04-30 | 1987-04-30 | Data writing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63271680A JPS63271680A (en) | 1988-11-09 |
| JPH0770232B2 true JPH0770232B2 (en) | 1995-07-31 |
Family
ID=14382408
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10450787A Expired - Lifetime JPH0770232B2 (en) | 1987-04-30 | 1987-04-30 | Data writing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0770232B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2957724B2 (en) * | 1991-03-01 | 1999-10-06 | 富士写真フイルム株式会社 | EEPROM card |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6233396A (en) * | 1985-08-06 | 1987-02-13 | Mitsubishi Electric Corp | Semiconductor memory device |
-
1987
- 1987-04-30 JP JP10450787A patent/JPH0770232B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63271680A (en) | 1988-11-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4953128A (en) | Variable delay circuit for delaying input data | |
| US4394753A (en) | Integrated memory module having selectable operating functions | |
| US5822245A (en) | Dual buffer flash memory architecture with multiple operating modes | |
| US4891791A (en) | Data writing system for EEPROM | |
| US4359771A (en) | Method and apparatus for testing and verifying the operation of error control apparatus within a memory | |
| US4369510A (en) | Soft error rewrite control system | |
| US20050033904A1 (en) | Multiple erase block tagging in a flash memory device | |
| JP3098769B2 (en) | RAM-based event counter device and method | |
| JPH0245277B2 (en) | ||
| GB1580415A (en) | Random access memory | |
| JPS61267846A (en) | integrated circuit device with memory | |
| US5483491A (en) | Memory card device | |
| US5285415A (en) | Data counting memory card and reader | |
| EP0233363B1 (en) | Semiconductor memory device having serially addressing scheme | |
| US7305514B2 (en) | Command sequence for optimized power consumption | |
| US5384749A (en) | Circuit for the management of memory words | |
| JPH0613890A (en) | Safe counting method for binary electronic counter | |
| EP0057096A2 (en) | Information processing unit | |
| JPH0770232B2 (en) | Data writing method | |
| US5261110A (en) | System for performing writes to non-volatile memory elements in a minimal time | |
| JPH0540698A (en) | Main storage page managing system | |
| JPS63271678A (en) | Data writing system | |
| US6041015A (en) | Semiconductor type memory device having consecutive access to arbitrary memory address | |
| JPS63271681A (en) | Data writing system | |
| JPS59231791A (en) | Semiconductor memory |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070731 Year of fee payment: 12 |