JPH07254292A - Non-volatile memory and microcomputer using the same memory - Google Patents
Non-volatile memory and microcomputer using the same memoryInfo
- Publication number
- JPH07254292A JPH07254292A JP4410794A JP4410794A JPH07254292A JP H07254292 A JPH07254292 A JP H07254292A JP 4410794 A JP4410794 A JP 4410794A JP 4410794 A JP4410794 A JP 4410794A JP H07254292 A JPH07254292 A JP H07254292A
- Authority
- JP
- Japan
- Prior art keywords
- data
- address
- volatile memory
- memory array
- register
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003491 array Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Read Only Memory (AREA)
- Static Random-Access Memory (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、不揮発性半導体メモ
リ、特に電気的に書き換え可能な不揮発性メモリおよび
この不揮発性メモリを用いたマイクロコンピュータに関
するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a non-volatile semiconductor memory, particularly to an electrically rewritable non-volatile memory and a microcomputer using this non-volatile memory.
【0002】[0002]
【従来の技術】不揮発性メモリとしてのEEPROM
は、電気的に書き換えが可能で、かつROMのように電
源が切れてもデータを失わない特徴をもっているため、
マイクロプロセッサ、RAM、ROMおよび周辺機能を
搭載した1チップマイクロコンピュータ(MCU)に内
蔵させた製品が開発されている。EEPROMがマイク
ロコンピュータに内蔵された場合でも、あるいは単体と
して用いられる場合でも、データの書き換えを行う方法
は、次のようになっている。2. Description of the Related Art EEPROM as a non-volatile memory
Is electrically rewritable and does not lose data even when the power is turned off, like ROM.
Products have been developed that are built into a one-chip microcomputer (MCU) equipped with a microprocessor, RAM, ROM, and peripheral functions. Whether the EEPROM is built in the microcomputer or used alone, the method of rewriting data is as follows.
【0003】図4はかかるEEPROMのデータの書き
換え手順を示すフローチャートであり、これによれば、
先ず、外部からの命令によりアドレスの指定を行い(ス
テップST1)、次に、このアドレス対応のデータを設
定すると(ステップST2)、電気的にデータの書き換
えが開始され(ステップST3)、このデータの書き換
えを一定期間行った後終了する(ステップST4)。こ
の場合において、上記データの書き換えが始まると、E
EPROMは数ms程度のウエイト時間(書き込み時
間)が必要であり、その間、マイクロコンピュータ自体
は別の処理をすればよいわけであるが、EEPROMそ
のものは、何の命令をも受け付けない全くのデッド状態
になる。FIG. 4 is a flow chart showing a procedure for rewriting the data of the EEPROM, according to
First, an address is designated by an instruction from the outside (step ST1), and then, data corresponding to this address is set (step ST2). Then, electrically rewriting of data is started (step ST3), and this data is stored. After rewriting for a certain period of time, the process ends (step ST4). In this case, when the rewriting of the above data starts, E
The EPROM requires a wait time (writing time) of about several ms, and during that time, the microcomputer itself has to perform another process, but the EEPROM itself is in a completely dead state in which it does not accept any instruction. become.
【0004】図5は従来のマイクロコンピュータに内蔵
されたEEPROMを示すブロック図であり、図におい
て、1はEEPROMメモリアレイ、2は高電圧デコー
ダ、3はアドレスデコーダ、4はこれらの高電圧デコー
ダ2およびアドレスデコーダ3に高電圧(Vpp)を印
加する昇圧回路、5は上記昇圧回路4とともに後述のア
ドレスレジスタ,データレジスタおよびタイマの動作を
制御するコントロール回路、6は外部からの命令による
アドレスがセットされるアドレスレジスタ、7はデータ
がセットされるデータレジスタ、8はデータバス、9は
上記のタイマである。FIG. 5 is a block diagram showing an EEPROM incorporated in a conventional microcomputer. In the figure, 1 is an EEPROM memory array, 2 is a high voltage decoder, 3 is an address decoder, and 4 is these high voltage decoders 2. And a booster circuit for applying a high voltage (Vpp) to the address decoder 3, 5 is a control circuit for controlling the operation of the address register, data register and timer described later together with the booster circuit 4, and 6 is an address set by an external instruction Address register, 7 is a data register in which data is set, 8 is a data bus, and 9 is the above timer.
【0005】次に動作について説明する。まず、1チッ
プマイクロコンピュータに内蔵されたマイクロプロセッ
サ(CPU)からの命令にもとづく制御信号B,Cによ
り、データバス8を介してデータレジスタ7およびアド
レスレジスタ6にデータおよびアドレスがセットされ
る。次に、コントロール回路5からの書き込みスタート
信号である制御信号A,DによりEEPROMメモリア
レイ1への書き込みがスタートする。すなわち、制御信
号Aの出力により昇圧回路4が動作し、所定の高電圧が
アドレスデコーダ3および高電圧デコーダ2に印加され
て、指定したアドレスのEEPROMメモリアレイ1に
対し、データレジスタ7に設定された値を、タイマ9に
より設定された期間に書き込む。Next, the operation will be described. First, data and addresses are set in the data register 7 and the address register 6 via the data bus 8 by control signals B and C based on an instruction from a microprocessor (CPU) incorporated in a one-chip microcomputer. Next, writing to the EEPROM memory array 1 is started by the control signals A and D which are write start signals from the control circuit 5. That is, the booster circuit 4 operates by the output of the control signal A, a predetermined high voltage is applied to the address decoder 3 and the high voltage decoder 2, and the data register 7 is set to the EEPROM memory array 1 of the designated address. Value is written in the period set by the timer 9.
【0006】このタイマ9により設定された値は、例え
ば数ms〜10ms程度であり、タイマ9が設定値に達
すると、制御信号Eがストップ信号として出力され、昇
圧回路4の動作が中止される。従って、データの書き込
みが終了する。The value set by the timer 9 is, for example, about several ms to 10 ms. When the timer 9 reaches the set value, the control signal E is output as a stop signal and the operation of the booster circuit 4 is stopped. . Therefore, the writing of data is completed.
【0007】なお、このような従来の技術に類似するも
のとして米国特許4382279号がある。Incidentally, US Pat. No. 4,382,279 is similar to such a conventional technique.
【0008】[0008]
【発明が解決しようとする課題】従来のEEPROMは
以上のように構成されているので、EEPROMのある
指定したアドレスでのデータの書き込みを行っていると
きは、その書き込み時間中、そのEEPROMの他のア
ドレスについては、全くのデッド状態、つまり何の命令
も受け付けない状態になってしまうため、例えば、この
書き込み期間中に別のアドレスの読み出しを行うことは
できないなどの問題点があった。Since the conventional EEPROM is constructed as described above, when data is being written at a specified address of the EEPROM, the other EEPROM is not written during the writing time. However, since there is a dead state, that is, no instruction is accepted, there is a problem that another address cannot be read during this writing period.
【0009】請求項1ないし3の発明は上記のような問
題点を解消するためになされたものであり、書き込みを
行っているときでも、これに並行して他のアドレスをア
クセスして読み出しを可能にする不揮発性メモリを得る
ことを目的とする。The inventions of claims 1 to 3 have been made in order to solve the above-mentioned problems, and even when writing is being performed, other addresses are accessed in parallel while reading is performed. The purpose is to obtain a non-volatile memory that enables it.
【0010】請求項4の発明は内蔵したEEPROMに
データの書き込みを行っているときに、そのEEPRO
Mからデータを読み出せるマイクロコンピュータを得る
ことを目的とする。According to a fourth aspect of the present invention, when data is being written in the built-in EEPROM, the EEPROM
The purpose is to obtain a microcomputer that can read data from M.
【0011】[0011]
【課題を解決するための手段】請求項1の発明に係る不
揮発性メモリは、第1のアドレスレジスタにセットされ
たアドレスを選択して、第1の不揮発性メモリアレイに
対して第1のデータレジスタにセットされたデータの書
き込みを行っている期間中に、コントロール回路によっ
て、第2のアドレスレジスタにセットされたアドレスを
選択して、第2の不揮発性メモリアレイから第2のデー
タレジスタにデータを格納するようにしたものである。According to a first aspect of the present invention, there is provided a nonvolatile memory, wherein an address set in a first address register is selected and a first data is stored in a first nonvolatile memory array. While the data set in the register is being written, the control circuit selects the address set in the second address register to transfer the data from the second non-volatile memory array to the second data register. Is stored.
【0012】請求項2の発明に係る不揮発性メモリは、
不揮発性メモリアレイに対する書き込み時間をカウント
するタイマを設け、不揮発性メモリアレイに対して特定
のアドレスを選択してデータを書込んでいる期間中に、
コントロール回路によりアドレスおよびデータの退避を
行わせて、上記不揮発性メモリアレイの他のアドレスの
データを読み出させ、この読み出し終了後、書き込み必
要時間から上記書き込み時間を差し引いた時間内で上記
退避を解除し、上記書き込みを再開させるようにしたも
のである。A nonvolatile memory according to a second aspect of the invention is
A timer that counts the write time to the non-volatile memory array is provided, and during the period of writing data by selecting a specific address for the non-volatile memory array,
Addresses and data are saved by the control circuit to read data at other addresses in the nonvolatile memory array, and after this read is completed, the save is performed within the time obtained by subtracting the write time from the required write time. This is released and the writing is restarted.
【0013】請求項3の発明に係る不揮発性メモリは、
請求項1または2記載の発明に係るものにおいて、書き
込みの際に不揮発性メモリアレイのアドレスの複数同時
選択が可能になっているものである。A nonvolatile memory according to a third aspect of the present invention is
In the invention according to claim 1 or 2, a plurality of addresses of the nonvolatile memory array can be simultaneously selected at the time of writing.
【0014】請求項4の発明に係るマイクロコンピュー
タは、請求項1ないし3記載の発明に係る不揮発性メモ
リを内蔵したものである。A microcomputer according to a fourth aspect of the present invention incorporates the nonvolatile memory according to the first aspect of the present invention.
【0015】[0015]
【作用】請求項1の発明における不揮発性メモリは、特
定のアドレスの電気的に書き換え可能な不揮発性メモリ
アレイへの書き込みの最中に、コントロール回路により
他のアドレスの電気的に書き換え可能な不揮発性メモリ
アレイへのアクセスおよびデータの読み出しを可能にし
て、データの書き込みと読み出しを並行して実行させ、
システムの効率を上げる。According to the non-volatile memory of the present invention, the control circuit electrically rewrites a non-volatile memory of another address while writing to the electrically rewritable non-volatile memory array of a specific address. Access to the memory array and read data, and write and read data in parallel,
Increase system efficiency.
【0016】請求項2の発明における不揮発性メモリ
は、特定のアドレスの電気的に書き換え可能な不揮発性
メモリアレイへアクセスを行って書き込みをしている最
中に、他のアドレスのアクセスがなされて読み出しが行
われるときには、コントロール回路により、その書き込
みを中断して書き込みされるアドレスおよびデータを退
避させ、読み出し終了後、残った書き込み必要時間内で
上記退避を解除し、書き込みを再び実行可能にする。In the non-volatile memory according to the second aspect of the present invention, while the electrically rewritable non-volatile memory array of a specific address is accessed for writing, another address is accessed. When a read operation is performed, the control circuit interrupts the write operation to save the address and data to be written. After the read operation, the save operation is canceled within the remaining required write time, and the write operation can be executed again. .
【0017】請求項3の発明における不揮発性メモリ
は、書き込みの際に電気的に書き換え可能な不揮発メモ
リの複数のアドレスを同時に選択している場合でも、読
み出しを可能にする。The non-volatile memory according to the third aspect of the present invention enables reading even when a plurality of electrically rewritable non-volatile memory addresses are simultaneously selected at the time of writing.
【0018】請求項4の発明における不揮発性メモリ
は、請求項1ないし3記載の発明に係る不揮発性メモリ
と同様の作用を果たす。The non-volatile memory according to the fourth aspect of the present invention performs the same operation as the non-volatile memory according to the first to third aspects of the present invention.
【0019】[0019]
実施例1.以下、請求項1の発明の一実施例を図につい
て説明する。図1において、1a,1bは電気的に書き
換え可能な第1,第2のEEPROMメモリアレイ(不
揮発性メモリアレイ)、2a,2bは各EEPROMメ
モリアレイ1a,1bごとに設けられた第1,第2の高
電圧デコーダ、3a,3bは第1,第2のアドレスデコ
ーダ、4は昇圧回路、5は上記昇圧回路4とともに、各
EEPROMメモリアレイ1a,1b対応の第1,第2
のアドレスレジスタ6a,6bおよび第1,第2のデー
タレジスタ7a,7bの動作を制御するコントロール回
路、8は1チップマイクロコンピュータ内のデータバ
ス、9はタイマである。Example 1. An embodiment of the invention of claim 1 will be described below with reference to the drawings. In FIG. 1, 1a and 1b are electrically rewritable first and second EEPROM memory arrays (nonvolatile memory arrays), and 2a and 2b are first and first EEPROM memory arrays provided for the respective EEPROM memory arrays 1a and 1b. Two high voltage decoders 3a and 3b are first and second address decoders, 4 is a booster circuit, 5 is the above booster circuit 4, and first and second corresponding to the respective EEPROM memory arrays 1a and 1b.
Is a control circuit for controlling the operations of the address registers 6a and 6b and the first and second data registers 7a and 7b, 8 is a data bus in the one-chip microcomputer, and 9 is a timer.
【0020】次に動作について説明する。まず、1チッ
プマイクロコンピュータにおけるマイクロプロセッサか
らの命令にもとづく制御信号C1により、データバス8
を介して第1のアドレスレジスタ6aにアドレスが設定
され、また、制御信号B1によりデータバス8を介して
第1のデータレジスタ7aに所定のデータが設定され
る。Next, the operation will be described. First, a data bus 8 is generated by a control signal C1 based on an instruction from a microprocessor in a 1-chip microcomputer.
An address is set in the first address register 6a via the, and a predetermined data is set in the first data register 7a via the data bus 8 by the control signal B1.
【0021】次に、コントロール回路5からの書き込み
スタート信号である制御信号A,Dが出力され、これに
より第1のEEPROMメモリアレイ1aの書き込みが
スタートする。そして、制御信号Aにより、昇圧回路4
が動作し、所定の高電圧が第1のアドレスデコーダ3a
および第1の高電圧デコーダ2aに印加され、指定され
たアドレスの第1のEEPROMメモリアレイ1aに、
第1のデータレジスタ7aに設定されたデータをタイマ
9で設定した期間書き込む。Next, the control signals A and D, which are write start signals, are output from the control circuit 5 to start writing in the first EEPROM memory array 1a. Then, by the control signal A, the booster circuit 4
Operates and the predetermined high voltage is applied to the first address decoder 3a.
And applied to the first high voltage decoder 2a to the first EEPROM memory array 1a at the specified address,
The data set in the first data register 7a is written during the period set by the timer 9.
【0022】一方、かかる書き込み期間中に、他のアド
レスの読み出しを行うときは、外部からの命令により第
2のアドレスレジスタ6bにまず第2のアドレスが設定
される。次に、コントロール回路5は第2のアドレスレ
ジスタ6bに制御信号C2を出力し、これにもとづき第
2のアドレスデコーダ3bが動作し、第2のEEPRO
Mメモリアレイ1bのデータを読み出して、第2のデー
タレジスタ7bへ格納する。On the other hand, when another address is read during the write period, the second address is first set in the second address register 6b by an external instruction. Next, the control circuit 5 outputs the control signal C2 to the second address register 6b, and based on this, the second address decoder 3b operates, and the second EEPRO.
The data in the M memory array 1b is read and stored in the second data register 7b.
【0023】すなわち、かかる第1のEEPROMメモ
リアレイ1aへの書き込みは、第2のEEPROMメモ
リアレイ1bからのデータの読み出しや格納の動作に対
し全く影響を受けることなく、タイマ9で設定時間をカ
ウント後、制御信号Eを昇圧回路4に入力することで共
に終了する。That is, the writing to the first EEPROM memory array 1a does not affect the operation of reading or storing the data from the second EEPROM memory array 1b, and the timer 9 counts the set time. After that, the control signal E is input to the booster circuit 4 to end both operations.
【0024】実施例2.図2は請求項2の発明の一実施
例を示し、図において、6c,7cはアドレスレジスタ
6およびデータレジスタ7のアドレスおよびデータをそ
れぞれ一時退避させるのに用いる退避用のアドレスレジ
スタおよび退避用のデータレジスタである。Example 2. FIG. 2 shows an embodiment of the invention of claim 2, in which 6c and 7c are address registers for saving used for temporarily saving the address and data of the address register 6 and the data register 7, respectively, and for saving It is a data register.
【0025】また、1は単一のEEPROMメモリアレ
イ(不揮発性メモリアレイ)、2は高電圧デコーダ、3
はアドレスデコーダ、4は昇圧回路、8はデータバス、
9はタイマであり、これらは基本的に図3に示したもの
と同様の機能を有し、コントロール回路9がEEPRO
Mメモリアレイ1の書き込みおよび読み出しを切換制御
するように機能する。Further, 1 is a single EEPROM memory array (nonvolatile memory array), 2 is a high voltage decoder, and 3 is a high voltage decoder.
Is an address decoder, 4 is a booster circuit, 8 is a data bus,
Reference numeral 9 is a timer, which basically has the same function as that shown in FIG. 3, and the control circuit 9 is EEPRO.
It functions to control switching between writing and reading of the M memory array 1.
【0026】次に動作について説明する。まず、外部か
らの命令により制御信号Qが活性化され、これによりコ
ントロール回路5が制御信号B,Cを出力してデータレ
ジスタ7およびアドレスレジスタ6にデータおよびアド
レスがセットされる。次に、コントロール回路5が制御
信号A,Dを出力して書き込みをスタートし、制御信号
A,Eにより昇圧回路4が動作を開始して、所定の高電
圧を高電圧デコーダ2およびアドレスデコーダ3に印加
する。Next, the operation will be described. First, the control signal Q is activated by an instruction from the outside, whereby the control circuit 5 outputs the control signals B and C, and the data and address are set in the data register 7 and the address register 6. Next, the control circuit 5 outputs the control signals A and D to start writing, and the booster circuit 4 starts to operate by the control signals A and E to output a predetermined high voltage to the high voltage decoder 2 and the address decoder 3. Apply to.
【0027】これにより、指定されたアドレスのEEP
ROMメモリアレイ1に対し、データレジスタ7にセッ
トされているデータが書き込まれるとともに、タイマ9
がその書き込み開始からの時間をカウントする。なお、
このタイマ9は、予め設定された書き込みに必要な時間
(例えば4msec)をカウントダウンするものなどが
用いられる。As a result, the EEP of the specified address
The data set in the data register 7 is written to the ROM memory array 1 and the timer 9
Counts the time from the start of writing. In addition,
As the timer 9, a timer that counts down a preset time required for writing (for example, 4 msec) is used.
【0028】次に、この書き込み期間中に、別のアドレ
スの読み出し命令があった場合には、1チップマイクロ
コンピュータにおけるマイクロプロセッサより制御信号
Rが発生し、これがコントロール回路5に伝えられる。
このため、コントロール回路5はこの制御信号Rを受け
て制御信号Hを発生し、タイマを停止させ、かつその状
態を維持させる。Next, during the write period, if there is a read command for another address, the control signal R is generated from the microprocessor in the one-chip microcomputer and transmitted to the control circuit 5.
Therefore, the control circuit 5 receives the control signal R and generates the control signal H to stop the timer and maintain the state.
【0029】次に、コントロール回路5はアドレスレジ
スタ6およびデータレジスタ7のアドレスおよびデータ
をそれぞれ別の退避用のアドレスレジスタ6aおよび退
避用のデータレジスタ7aに退避させ、新しくアクセス
の要求のあったアドレスをアドレスレジスタ6に設定
し、読み出し動作を行う。このため、アクセスされたE
EPROMメモリアレイ1上のデータはデータレジスタ
7に格納され、データバスにのせられ、別の汎用レジス
タなどに格納される。Next, the control circuit 5 saves the address and the data of the address register 6 and the data register 7 to the separate address register 6a for saving and the data register 7a for saving, respectively, and the address for which a new access is requested. Is set in the address register 6 and a read operation is performed. Therefore, the accessed E
The data on the EPROM memory array 1 is stored in the data register 7, placed on the data bus, and stored in another general-purpose register or the like.
【0030】次に、コントロール回路5では予め設定し
た書き込み必要時間から上記のように停止しているタイ
マ9のカウント値を減算処理し、タイマ9のカウント値
を更新させる。そして、この更新終了後にアドレスレジ
スタおよびデータレジスタを、退避させたもとのアドレ
ス値およびデータ値に再設定することにより、制御信号
Tを発生させて、これにもとづき、コントロール回路5
が制御信号Dをタイマ9に入力する。これにより、前の
アドレスによるEEPROMメモリアレイ1へのデータ
の書き込みが再スタートされ、上記減算した残りの書き
込み必要時間内でこの書き込みが行われる。Next, the control circuit 5 subtracts the count value of the timer 9 stopped as described above from the preset write required time, and updates the count value of the timer 9. After the completion of this update, the address register and the data register are reset to the original address values and data values that have been saved, thereby generating the control signal T, and based on this, the control circuit 5
Inputs the control signal D to the timer 9. As a result, the writing of data to the EEPROM memory array 1 by the previous address is restarted, and this writing is performed within the remaining write-required time.
【0031】図3は図2に示すマイクロコンピュータの
一連の動作を示すブロック各部の信号のタイミングチャ
ートであり、同図において、A,D,E,H,Q,R,
Tは上記ブロック各部における制御信号である。FIG. 3 is a timing chart of signals of respective parts of the block showing a series of operations of the microcomputer shown in FIG. 2. In FIG. 3, A, D, E, H, Q, R,
T is a control signal in each part of the block.
【0032】なお、上記各実施例において、EEPRO
Mに書き込まれているデータは、これを備えたシステム
において非常に重要なデータであることが多い。例え
ば、何か緊急な事態が発生し、EEPROMのデータを
読み出す必要がシステムに生じた場合にも、これまでの
システムでは書き込み中であると他のアドレスをアクセ
スすることができないので、システムにとっては致命的
となるが、この発明ではかかる問題点を回避できること
になる。In each of the above embodiments, EEPRO
The data written in M is often very important data in a system equipped with it. For example, even if something urgent happens and the system needs to read the data in the EEPROM, other systems cannot access other addresses while writing data in the existing system, so Although fatal, this problem can be avoided by the present invention.
【0033】実施例3.また、上記各実施例では、電気
的書き換え可能なEEPROMメモリアレイ1,1a,
1bのアドレス選択方法が1アドレスの選択の場合につ
いて述べたが、複数アドレスを同時に選択する場合にも
採用できる。Example 3. In each of the above embodiments, electrically rewritable EEPROM memory arrays 1, 1a,
Although the case where the address selection method of 1b is the selection of one address has been described, it can be adopted when a plurality of addresses are simultaneously selected.
【0034】例えば、EEPROMメモリアレイ1,1
a,1bに1番地からn番地まで同じデータを書き込む
とき、1アドレスずつ書き込みを行うよりも、複数のア
ドレスを同時に選択して一度で書き込みを行うと、書き
込み時間が1/nになるため、書き込み効率を大幅にア
ップすることができる。このような書き込み方式が採用
されている場合であっても、上記各実施例によるEEP
ROMが適用できる。なお、上記各実施例では、マイク
ロコンピュータに内蔵されたEEPROMについて説明
したが、独立したEEPROMとして構成することもで
きる。For example, EEPROM memory arrays 1, 1
When writing the same data from address 1 to address n in a and 1b, the writing time becomes 1 / n if a plurality of addresses are selected at the same time and writing is performed at once, rather than writing one address at a time. The writing efficiency can be greatly improved. Even if such a writing method is adopted, the EEP according to each of the above embodiments
ROM can be applied. In each of the above-described embodiments, the EEPROM incorporated in the microcomputer has been described, but it may be configured as an independent EEPROM.
【0035】[0035]
【発明の効果】以上のように、請求項1または4の発明
によれば、第1のアドレスレジスタにセットされたアド
レスを選択して、第1の不揮発性メモリアレイに対して
第1のデータレジスタにセットされたデータの書き込み
を行っている期間中に、コントロール回路によって、第
2のアドレスレジスタにセットされたアドレスを選択し
て、第2の不揮発性メモリアレイから第2のデータレジ
スタにデータを格納するように構成したので、上記1つ
の不揮発性メモリアレイに書き込みを行っているときで
も、これと並行して他の不揮発性メモリアレイのアドレ
スをアクセスして読み出しを実行できるものが得られる
効果がある。As described above, according to the invention of claim 1 or 4, the address set in the first address register is selected, and the first data is stored in the first nonvolatile memory array. While the data set in the register is being written, the control circuit selects the address set in the second address register to transfer the data from the second non-volatile memory array to the second data register. Since it is configured to store the data, it is possible to access the address of the other non-volatile memory array in parallel with the above even when writing to the one non-volatile memory array and perform the reading. effective.
【0036】請求項2または4の発明によれば、不揮発
性メモリアレイに対する書き込み時間をカウントするタ
イマを設け、不揮発性メモリアレイに対して特定のアド
レスを選択してデータを書込んでいる期間中に、コント
ロール回路によりアドレスおよびデータの退避を実行さ
せて、不揮発性メモリアレイの他のアドレスのデータを
読み出させ、この読み出し終了後、書き込み必要時間か
ら上記書き込み時間を差し引いた時間内で上記退避を解
除し、上記書き込みを再開させるように構成したので、
上記不揮発性メモリアレイの書き込みを行っているとき
でも、この書き込みを中断して、別のアドレスのデータ
の読み出しを実施できるとともに、この読み出し終了後
速やかに上記書き込みを再開できるものが得られる効果
がある。According to the invention of claim 2 or 4, a timer is provided for counting the write time to the non-volatile memory array, and a specific address is selected in the non-volatile memory array to write data. Then, the control circuit causes the address and data to be saved, and the data at another address in the non-volatile memory array is read, and after this read is completed, the save is performed within the time that is the write required time minus the write time. Since it is configured to release the above, and restart the above writing,
Even when writing to the nonvolatile memory array, this writing can be interrupted to read data at another address, and the writing can be restarted promptly after completion of the reading. is there.
【0037】請求項3または4の発明によれば、電気的
書き換え可能な不揮発性メモリのアドレスを複数同時に
選択する場合に上記のように構成したので、書き込み時
に複数アドレスを同時選択する方式が採用されている場
合であっても上記各効果を奏する。According to the third or fourth aspect of the invention, since the above-mentioned configuration is adopted when a plurality of addresses of the electrically rewritable nonvolatile memory are simultaneously selected, a method of simultaneously selecting a plurality of addresses at the time of writing is adopted. Even if it is done, each of the above effects can be achieved.
【図1】請求項1の発明の一実施例によるEEPROM
を示すブロック図である。FIG. 1 is an EEPROM according to an embodiment of the invention of claim 1;
It is a block diagram showing.
【図2】請求項2の発明の一実施例によるEEPROM
を示すブロック図である。FIG. 2 is an EEPROM according to an embodiment of the invention of claim 2;
It is a block diagram showing.
【図3】図2におけるブロック各部の信号を示すタイミ
ングチャートである。FIG. 3 is a timing chart showing signals of respective parts of the block in FIG.
【図4】一般的な電気的に書き換え可能な不揮発性メモ
リの書き換え手順を示すフローチャートである。FIG. 4 is a flowchart showing a rewriting procedure of a general electrically rewritable nonvolatile memory.
【図5】従来のEEPROMを示すブロック図である。FIG. 5 is a block diagram showing a conventional EEPROM.
1 EEPROMメモリアレイ(不揮発性メモリアレ
イ) 1a EEPROMメモリアレイ(第1の不揮発性メモ
リアレイ) 1b EEPROMメモリアレイ(第2の不揮発性メモ
リアレイ) 5 コントロール回路 6 アドレスレジスタ 6a 第1のアドレスレジスタ 6b 第2のアドレスレジスタ 6c 退避用のアドレスレジスタ 7 データレジスタ 7a 第1のデータレジスタ 7b 第2のデータレジスタ 7c 退避用のデータレジスタ 9 タイマ1 EEPROM memory array (non-volatile memory array) 1a EEPROM memory array (first non-volatile memory array) 1b EEPROM memory array (second non-volatile memory array) 5 control circuit 6 address register 6a first address register 6b 2 address register 6c save address register 7 data register 7a first data register 7b second data register 7c save data register 9 timer
Claims (4)
メモリアレイおよび第2の不揮発性メモリアレイと、該
第1の不揮発性メモリアレイおよび第2の不揮発性メモ
リアレイにそれぞれ対応して設けられ、外部からの命令
によりアドレスおよびデータがセットされる第1のアド
レスレジスタ,第1のデータレジスタおよび第2のアド
レスレジスタ,第2のデータレジスタと、上記第1のア
ドレスレジスタにセットされたアドレスを選択し、上記
第1の不揮発性メモリアレイに対して上記第1のデータ
レジスタにセットされたデータの書き込みを行っている
期間中に、上記第2のアドレスレジスタにセットされた
アドレスを選択して上記第2の不揮発性メモリアレイか
ら、上記第2のデータレジスタにデータを格納するコン
トロール回路とを備えた不揮発性メモリ。1. An electrically rewritable first non-volatile memory array and a second non-volatile memory array, and a first non-volatile memory array and a second non-volatile memory array respectively provided corresponding to the first non-volatile memory array and the second non-volatile memory array. A first address register, an address and data are set by an external instruction, a first data register and a second address register, a second data register, and an address set in the first address register. To select the address set in the second address register during the period in which the data set in the first data register is being written to the first nonvolatile memory array. And a control circuit for storing data from the second non-volatile memory array to the second data register. Non-volatile memory.
アレイと、該不揮発性メモリアレイに対応して設けら
れ、外部からの命令によりアドレスおよびデータがセッ
トされるアドレスレジスタおよびデータレジスタと、該
アドレスレジスタおよびデータレジスタのアドレスおよ
びデータをそれぞれ退避させる退避用のアドレスレジス
タおよびデータレジスタと、上記不揮発性メモリアレイ
に対する書き込み時間をカウントするタイマと、上記不
揮発性メモリアレイに対して特定のアドレスを選択して
データを書込んでいる期間中に、アドレスおよびデータ
の上記退避を行わせて上記不揮発性メモリアレイの他の
アドレスのデータを読み出させ、この読み出し終了後、
書き込み必要時間から上記書き込み時間を差し引いた時
間内で上記退避を解除し、上記書き込みを再開させるコ
ントロール回路とを備えた不揮発性メモリ。2. An electrically rewritable non-volatile memory array, an address register and a data register which are provided corresponding to the non-volatile memory array and in which an address and data are set by an external command, and the address. Address registers and data registers for saving the addresses and data of the registers and data registers, a timer for counting the write time to the nonvolatile memory array, and a specific address for the nonvolatile memory array are selected. During the period in which the data is being written, the address and the data are saved, and the data at the other address in the nonvolatile memory array is read out.
A non-volatile memory comprising: a control circuit that cancels the saving and restarts the writing within a time obtained by subtracting the writing time from the required writing time.
揮発性メモリアレイのアドレスを複数同時に選択する請
求項1または2に記載の不揮発性メモリ。3. The non-volatile memory according to claim 1, wherein a plurality of electrically rewritable non-volatile memory array addresses are simultaneously selected at the time of writing.
モリを内蔵した不揮発性メモリを用いたマイクロコンピ
ュータ。4. A microcomputer using a non-volatile memory having the non-volatile memory according to claim 1, 2 or 3 incorporated therein.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4410794A JPH07254292A (en) | 1994-03-15 | 1994-03-15 | Non-volatile memory and microcomputer using the same memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4410794A JPH07254292A (en) | 1994-03-15 | 1994-03-15 | Non-volatile memory and microcomputer using the same memory |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07254292A true JPH07254292A (en) | 1995-10-03 |
Family
ID=12682395
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4410794A Pending JPH07254292A (en) | 1994-03-15 | 1994-03-15 | Non-volatile memory and microcomputer using the same memory |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07254292A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010165457A (en) * | 2010-05-06 | 2010-07-29 | Ricoh Co Ltd | Flash memory device |
JP2011150788A (en) * | 2011-05-13 | 2011-08-04 | Toshiba Corp | Semiconductor memory |
JP2012014433A (en) * | 2010-06-30 | 2012-01-19 | Toshiba Corp | Semiconductor memory device and method for reading and writing data |
JP2012181916A (en) * | 2005-09-30 | 2012-09-20 | Mosaid Technologies Inc | Multiple independent serial link memory |
JP2013503412A (en) * | 2009-08-28 | 2013-01-31 | マイクロソフト コーポレーション | Interruptable NAND flash memory |
US9240227B2 (en) | 2005-09-30 | 2016-01-19 | Conversant Intellectual Property Management Inc. | Daisy chain cascading devices |
US9257193B2 (en) | 2005-09-30 | 2016-02-09 | Conversant Intellectual Property Management Inc. | Memory with output control |
US11948629B2 (en) | 2005-09-30 | 2024-04-02 | Mosaid Technologies Incorporated | Non-volatile memory device with concurrent bank operations |
-
1994
- 1994-03-15 JP JP4410794A patent/JPH07254292A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012181916A (en) * | 2005-09-30 | 2012-09-20 | Mosaid Technologies Inc | Multiple independent serial link memory |
US9230654B2 (en) | 2005-09-30 | 2016-01-05 | Conversant Intellectual Property Management Inc. | Method and system for accessing a flash memory device |
US9240227B2 (en) | 2005-09-30 | 2016-01-19 | Conversant Intellectual Property Management Inc. | Daisy chain cascading devices |
US9257193B2 (en) | 2005-09-30 | 2016-02-09 | Conversant Intellectual Property Management Inc. | Memory with output control |
US11600323B2 (en) | 2005-09-30 | 2023-03-07 | Mosaid Technologies Incorporated | Non-volatile memory device with concurrent bank operations |
US11948629B2 (en) | 2005-09-30 | 2024-04-02 | Mosaid Technologies Incorporated | Non-volatile memory device with concurrent bank operations |
JP2013503412A (en) * | 2009-08-28 | 2013-01-31 | マイクロソフト コーポレーション | Interruptable NAND flash memory |
EP2471067A4 (en) * | 2009-08-28 | 2013-08-07 | Microsoft Corp | Interruptible nand flash memory |
JP2010165457A (en) * | 2010-05-06 | 2010-07-29 | Ricoh Co Ltd | Flash memory device |
JP2012014433A (en) * | 2010-06-30 | 2012-01-19 | Toshiba Corp | Semiconductor memory device and method for reading and writing data |
US8627031B2 (en) | 2010-06-30 | 2014-01-07 | Kabushiki Kaisha Toshiba | Semiconductor memory device and method of reading data from and writing data into a plurality of storage units |
JP2011150788A (en) * | 2011-05-13 | 2011-08-04 | Toshiba Corp | Semiconductor memory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5974528A (en) | Microcomputer with embedded flash memory having on-chip programming capability and method of programming data into the embedded flash memory | |
KR100265266B1 (en) | Microcomputer comprsing flash eeprom and method of erasing flash eeprom | |
US7000846B2 (en) | Semiconductor memory device | |
US5950222A (en) | Microcomputer using a non-volatile memory | |
JPH07254292A (en) | Non-volatile memory and microcomputer using the same memory | |
JPH06275084A (en) | Nonvolatile semiconductor storage and data processor using the same | |
JPH09146767A (en) | Method for reloading program | |
JPS61245255A (en) | Nonvolatile memory device | |
JP2000276461A (en) | Microcomputer | |
JP2928216B1 (en) | Semiconductor integrated circuit | |
JPH11353170A (en) | Flash memory controller and memory access method of flash memory controller | |
JPS6231382B2 (en) | ||
JPH08101794A (en) | Rewriting system for firmware program | |
JPS63117396A (en) | Non-volatile semiconductor memory device | |
JPH02299044A (en) | Control method for rewritable non-volatile memory | |
JP3133710B2 (en) | Microcomputer evaluation device | |
JP2985244B2 (en) | Information processing device | |
JPS607825B2 (en) | memory system | |
JPH0289296A (en) | Nonvolatile memory circuit | |
JPH0261896A (en) | Electrically erasable programmable read only memory | |
JPS6030036B2 (en) | memory control circuit | |
JPH0432422B2 (en) | ||
JPH11282766A (en) | Microcomputer | |
JP2003330791A (en) | Flash memory controller | |
JPS61255440A (en) | Program interruption control system |