JPH08161224A - Semiconductor file device - Google Patents

Semiconductor file device

Info

Publication number
JPH08161224A
JPH08161224A JP30730794A JP30730794A JPH08161224A JP H08161224 A JPH08161224 A JP H08161224A JP 30730794 A JP30730794 A JP 30730794A JP 30730794 A JP30730794 A JP 30730794A JP H08161224 A JPH08161224 A JP H08161224A
Authority
JP
Japan
Prior art keywords
circuit
data
flash type
type eeprom
flash
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30730794A
Other languages
Japanese (ja)
Inventor
Nobuyuki Arasawa
伸幸 荒澤
Tatsuto Suzuki
達人 鈴木
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP30730794A priority Critical patent/JPH08161224A/en
Publication of JPH08161224A publication Critical patent/JPH08161224A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To eliminate the need of an elimination operation at the time of write by providing an elimination management means for managing the elimination part of two flash type EEPROMs and a simultaneous function execution means. CONSTITUTION: The flash type EEPROM 5 and the function selection circuit 15 of this semiconductor file device 1 for reading and writing data to/from the flash type EEPROM 5 by the control of a host controller 2 are duplexed and an elimination block management circuit 14 is provided. Then, an access control circuit 4 selects a read circuit 10 by using the function selection circuit 15(A), transfers a block provided with the data to be rewritten of the flash type EEPROM 5(A) to a work memory 7 by using the read circuit 10 and writes the contents of a data register 6 in a work area by referring to an address register 8. Then, an elimination circuit 11 and a write circuit 12 are selected, the contents of the work memory 7 are written in the flash type EEPROM 5(B) and simultaneously, the data of the block read from the flash type EEPROM 5(A) are eliminated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はフラッシュ型EEPROMにデ
ータを読み書きする半導体ファイル装置に係り、特に、
EEPROM内のデータの消去と書き込みに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor file device for reading / writing data from / to a flash type EEPROM, and more particularly to
Erasing and writing data in EEPROM.

【0002】[0002]

【従来の技術】フラッシュ型EEPROMを用いた半導体ファ
イル装置は、データ保持用の電源が不要なため、主にメ
モリカードやICカードのようなSRAMやDRAMを
用いた半導体ファイル装置に代わる新しい半導体ファイ
ル装置として使われている。
2. Description of the Related Art Since a semiconductor file device using a flash type EEPROM does not require a power source for holding data, it is a new semiconductor file device which mainly replaces a semiconductor file device using SRAM or DRAM such as a memory card or an IC card. It is used as a device.

【0003】このようなフラッシュ型EEPROMを用いた半
導体ファイル装置は、たとえば、図2に示す様な構成を
している。
A semiconductor file device using such a flash type EEPROM has a structure as shown in FIG. 2, for example.

【0004】上位制御装置2を用いて半導体ファイル装
置1内のフラッシュ型EEPROM15にデータの書き込みを
行う場合、書き込むべきデータをアクセス制御回路4内
のデータレジスタに、書き込むべきアドレスをアクセス
制御回路4内のアドレスレジスタ8に書き込む。次にア
クセス制御装置4が機能選択回路15を用いて読み出し
回路10を選択する。
When data is written to the flash type EEPROM 15 in the semiconductor file device 1 using the host controller 2, the data to be written is stored in the data register in the access control circuit 4, and the address to be written is stored in the access control circuit 4. Address register 8 of Next, the access control device 4 selects the read circuit 10 by using the function selection circuit 15.

【0005】読み出し回路10はアドレスレジスタ8が
示すアドレスを含むブロックのデータをワークメモリ7
に読み出す。アクセス制御装置4はワークメモリ7のア
ドレスレジスタ8の示すアドレスにデータレジスタ6の
データを書き込む。次にアクセス制御装置4は、機能選
択回路15を用いて消去回路11を選択し、アドレスレ
ジスタ8が示すアドレスを含むブロックの消去を行う。
The read circuit 10 stores the data of the block including the address indicated by the address register 8 in the work memory 7.
Read to. The access control device 4 writes the data in the data register 6 to the address indicated by the address register 8 in the work memory 7. Next, the access control device 4 selects the erasing circuit 11 using the function selecting circuit 15 and erases the block including the address indicated by the address register 8.

【0006】この消去時間を短くするために、従来は特
開平6−131889 号公報に記載されているように、複数の
ブロックを選択して消去できるようにしていた。消去終
了後、アクセス制御装置4は機能選択回路15を用いて
書き込み回路12を選択する。書き込み回路12はワー
クメモリ7内にあるブロックデータをフラッシュ型EEPR
OM5に書き込む。
In order to shorten this erasing time, conventionally, a plurality of blocks can be selected and erased as described in Japanese Patent Laid-Open No. 6-131889. After the erasing is completed, the access control device 4 selects the writing circuit 12 by using the function selecting circuit 15. The writing circuit 12 uses the flash type EEPROM to store the block data in the work memory 7.
Write to OM5.

【0007】このように従来の半導体ファイル装置1で
はフラッシュ型EEPROM5にデータを書き込む場合、書き
込むべきデータを含むブロックをワークメモリ7に退避
させ、ワークメモリにデータを書き込んだあと、ブロッ
ク消去を行い、その後、ワークメモリ7の内容を書き込
んでいた。
As described above, in the conventional semiconductor file device 1, when writing data to the flash type EEPROM 5, the block containing the data to be written is saved in the work memory 7, the data is written in the work memory, and then the block is erased. After that, the contents of the work memory 7 were written.

【0008】[0008]

【発明が解決しようとする課題】従来の技術を用いるこ
とにより、消去時間を短くして書き込み動作を行うこと
ができるが、書き込みに必ず消去動作が伴うため、更に
高速化することができない。
By using the conventional technique, the erasing time can be shortened and the writing operation can be performed, but since the erasing operation is always accompanied by the writing, the speed cannot be further increased.

【0009】本発明の目的は、書き込み時に消去動作の
必要無い半導体ファイル装置を提供することにある。
It is an object of the present invention to provide a semiconductor file device which does not require an erase operation during writing.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明では、上位制御装置の制御下にあり、フラ
ッシュ型EEPROMと、上記上位制御装置の制御により、上
記フラッシュ型EEPROMにデータを読み書きするアクセス
制御回路から構成される半導体ファイル装置において、
上記フラッシュ型EEPROMと同一のアドレスを持つもう一
つのフラッシュ型EEPROMと、二つの上記フラッシュ型EE
PROMの消去部分を管理する消去管理手段と、上記消去管
理手段の内容をもとに二つの上記フラッシュ型EEPROMに
同時に別々の機能を実行できる同時機能実行手段を上記
アクセス制御回路内に設けるようにした。
In order to achieve the above object, the present invention is under the control of a host controller, and a flash EEPROM and data in the flash EEPROM under the control of the host controller. In a semiconductor file device composed of an access control circuit for reading and writing
Another flash type EEPROM with the same address as the above flash type EEPROM and two above flash type EE
In the access control circuit, an erase management means for managing the erased portion of the PROM and a simultaneous function execution means capable of simultaneously performing different functions on the two flash type EEPROMs based on the contents of the erase management means are provided. did.

【0011】[0011]

【作用】図3は本発明の作用の説明図である。図3にお
いて、30と31は同一のアドレスを用いてアクセスさ
れるフラッシュ型EEPROMである。本発明によれば、消去
管理手段は、フラッシュ型EEPROM30と、フラッシュ型
EEPROM31の消去ブロックの状態を管理している。たと
えばフラッシュ型EEPROM30のブロックにデータを書き
込むときには、フラッシュ型EEPROM31のブロック内の
データは消去するように、逆にフラッシュ型EEPROM31
のブロックにデータを書き込むときには、フラッシュ型
EEPROM30のブロック内のデータは消去するように同時
機能実行手段を用いると、図3に示すようになる。
FIG. 3 is an explanatory view of the operation of the present invention. In FIG. 3, reference numerals 30 and 31 are flash type EEPROMs that are accessed using the same address. According to the present invention, the erase management means is a flash type EEPROM 30 and a flash type EEPROM.
The state of the erase block of the EEPROM 31 is managed. For example, when writing data in the block of the flash type EEPROM 30, the data in the block of the flash type EEPROM 31 is erased so that the flash type EEPROM 31 is reversely erased.
Flash type when writing data to the block
When the simultaneous function executing means is used to erase the data in the block of the EEPROM 30, it becomes as shown in FIG.

【0012】図3の状態にある半導体ファイル装置にデ
ータを書き込む場合、必ずフラッシュ型EEPROM31かフ
ラッシュ型EEPROM30のどちらかにデータ消去済みブロ
ックが存在するため、書き込み前に消去を行うことなく
データを書き込むことができる。
When writing data to the semiconductor file device in the state shown in FIG. 3, the data erased block always exists in either the flash type EEPROM 31 or the flash type EEPROM 30, so the data is written without erasing before writing. be able to.

【0013】[0013]

【実施例】本発明の実施例について、図面を参照して説
明する。図1は本発明の第一の実施例を示す図、図4は
第一の実施例の動作を説明する図である。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a first embodiment of the present invention, and FIG. 4 is a diagram explaining the operation of the first embodiment.

【0014】図1において、1は本発明の半導体ファイ
ル装置、2は半導体ファイル装置1を制御する上位制御
装置、3は上位制御装置2と半導体ファイル1を接続す
る制御バス、5はデータを記憶するフラッシュ型EEPRO
M、4は上位制御装置2の制御によりフラッシュ型EEPRO
M5にデータを読み書きするアクセス制御回路、6は上
位制御装置2からフラッシュ型EEPROM5へ書き込むデー
タあるいはフラッシュ型EEPROM5から読み込んだデータ
を記憶するデータレジスタ、7はフラッシュ型EEPROM5
から読み込んだデータをブロックごと記憶あるいはデー
タレジスタ6の内容を記憶することができるワークメモ
リ、8は上位制御装置2から転送されるフラッシュ型EE
PROM5のアドレスを記憶するアドレスレジスタ、10は
フラッシュ型EEPROM5からワークメモリ7にデータを読
み出す読み出し回路、11はフラッシュ型EEPROM5のデ
ータを消去する消去回路、12はワークメモリ7の内容
をフラッシュ型EEPROM5に書き込む書き込み回路、15
は読みだし回路10と消去回路11と書き込み回路12
を切り替える機能選択回路、14はフラッシュ型EEPROM
5の消去ブロックを管理する消去ブロック管理回路であ
る。
In FIG. 1, reference numeral 1 is a semiconductor file device of the present invention, 2 is a host controller for controlling the semiconductor file device 1, 3 is a control bus for connecting the host controller 2 and the semiconductor file 1, and 5 is for storing data. Flash type EEPRO
M and 4 are flash type EEPRO under the control of the host controller 2.
An access control circuit for reading / writing data from / to M5, 6 is a data register for storing data to be written from the higher-level controller 2 to the flash EEPROM 5 or data read from the flash EEPROM 5, and 7 is a flash EEPROM 5
A work memory that can store the data read from each block or the contents of the data register 6, and 8 is a flash type EE transferred from the host controller 2.
An address register for storing the address of the PROM 5, 10 is a read circuit for reading data from the flash type EEPROM 5 to the work memory 7, 11 is an erasing circuit for erasing the data of the flash type EEPROM 5, 12 is the content of the work memory 7 in the flash type EEPROM 5. Writing circuit for writing, 15
Read circuit 10, erase circuit 11, and write circuit 12
Function selector circuit for switching between, and 14 is a flash type EEPROM
5 is an erase block management circuit that manages 5 erase blocks.

【0015】図4において、40は上位制御装置2がア
クセス制御回路4内のデータレジスタ6に書換データを
セットしたときのフラッシュ型EEPROM5とワークメモリ
7とデータレジスタ6の状態、41はフラッシュ型EEPR
OM5(A)内にある書き換えるデータを含むブロックを
ワークメモリ7に読み出して書換データワークメモリ7
に書き込んだときのフラッシュ型EEPROM5とワークメモ
リ7とデータレジスタ6の状態、42はワークメモリ7
の内容をフラッシュ型EEPROM5(B)に書き込むと同時
にフラッシュ型EEPROM5(A)から読み込んだブロック
のデータを消去したときのフラッシュ型EEPROM5とワー
クメモリ7とデータレジスタ6の状態である。
In FIG. 4, reference numeral 40 is the state of the flash type EEPROM 5, work memory 7 and data register 6 when the host controller 2 sets rewriting data in the data register 6 in the access control circuit 4, and 41 is the flash type EEPROM.
The block containing the data to be rewritten in the OM5 (A) is read into the work memory 7 and rewritten data work memory 7
State of flash EEPROM 5, work memory 7 and data register 6 when written in
The state of the flash type EEPROM 5, the work memory 7 and the data register 6 when the data of the block read from the flash type EEPROM 5 (A) is erased at the same time the contents of is written in the flash type EEPROM 5 (B).

【0016】上位制御装置2からフラッシュ型EEPROM5
にデータを書き込む場合、上位制御装置2は制御バス3
を通してアクセス制御装置4内のデータレジスタ6に書
き込みたいデータを、アドレスレジスタ8に書き込むデ
ータのアドレスをセットし、アクセス制御装置4に書き
込み命令を発行する(状態40)。
From the host controller 2 to the flash type EEPROM 5
When writing data to the host, the higher-level controller 2 uses the control bus 3
The address of the data to be written in the data register 6 in the access control device 4 is set in the address register 8 through the through, and a write command is issued to the access control device 4 (state 40).

【0017】アクセス制御回路4は、アドレスレジスタ
8の内容から消去ブロック管理回路14を用いて書き換
えるデータを含むブロックがあるフラッシュ型EEPROM5
とデータ消去済み領域のあるフラッシュ型EEPROM5を調
べる。
The access control circuit 4 has a flash type EEPROM 5 having a block containing data to be rewritten from the contents of the address register 8 by using the erase block management circuit 14.
And the flash type EEPROM 5 having the data erased area are examined.

【0018】次にアクセス制御回路4は機能選択回路1
5(A)を用いて読み出し回路10を選択し、フラッシ
ュ型EEPROM5(A)の書き換えるデータを含むブロック
を読み出し回路10を用いてワークメモリ7に転送し、
データレジスタ6の内容をアドレスレジスタ8を参照し
てワークエリアに書き込む(状態41)。
Next, the access control circuit 4 is the function selection circuit 1
5 (A) is used to select the read circuit 10, and the block containing the data to be rewritten in the flash type EEPROM 5 (A) is transferred to the work memory 7 using the read circuit 10.
The contents of the data register 6 are written into the work area with reference to the address register 8 (state 41).

【0019】次に、アクセス制御回路4は機能選択回路
15(A)を用いて消去回路11を選択し、更に機能選
択回路15(B)を用いて書き込み回路12を選択し、
ワークメモリ7の内容をフラッシュ型EEPROM5(B)に
書き込むと同時にフラッシュ型EEPROM5(A)から読み
込んだブロックのデータを消去する(状態42)。
Next, the access control circuit 4 uses the function selection circuit 15 (A) to select the erase circuit 11, and further uses the function selection circuit 15 (B) to select the write circuit 12.
At the same time as writing the contents of the work memory 7 to the flash type EEPROM 5 (B), the block data read from the flash type EEPROM 5 (A) is erased (state 42).

【0020】本実施例では、上位制御装置2の制御によ
り、データをフラッシュ型EEPROM5に読み書きする半導
体ファイル装置1のフラッシュ型EEPROM5と機能選択回
路15を二重化し、消去ブロック管理回路14を設けた
ところに特徴がある。
In this embodiment, the flash EEPROM 5 and the function selection circuit 15 of the semiconductor file device 1 for reading / writing data from / to the flash EEPROM 5 under the control of the host controller 2 are duplicated, and the erase block management circuit 14 is provided. Is characterized by.

【0021】[0021]

【発明の効果】本発明では、上位制御装置2からフラッ
シュ型EEPROM5にデータを書き込んだ場合、フラッシュ
型EEPROM5とワークメモリ7とデータレジスタ6の状態
は、順に状態40,状態41,状態42のようになり、
書き込み前に必ずフラッシュ型EEPROM5(A)かフラッ
シュ型EEPROM5(B)のどちらかにデータ消去済みブロ
ックが存在するため、書き込み前に消去を行うことなく
データを書くことができる。このため上位制御装置2か
らフラッシュ型EEPROM5へのデータ書き込み時間を早く
できる。
According to the present invention, when data is written to the flash type EEPROM 5 from the host controller 2, the states of the flash type EEPROM 5, the work memory 7 and the data register 6 are as follows: state 40, state 41, state 42. become,
Since there is a data erased block in either the flash type EEPROM 5 (A) or the flash type EEPROM 5 (B) before writing, data can be written without erasing before writing. Therefore, the time for writing data from the host controller 2 to the flash type EEPROM 5 can be shortened.

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

【図1】実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment.

【図2】従来技術を示すブロック図。FIG. 2 is a block diagram showing a conventional technique.

【図3】本発明の作用の説明図。FIG. 3 is an explanatory view of the operation of the present invention.

【図4】実施例の動作の説明図。FIG. 4 is an explanatory diagram of the operation of the embodiment.

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

1…半導体ファイル装置、2…上位制御装置、3…制御
バス、4…アクセス制御回路、5…フラッシュ型EEPRO
M、6…データレジスタ、7…ワークメモリ、8…アド
レスレジスタ、10…読み出し回路、11…消去回路、
12…書き込み回路、14…消去ブロック管理回路、1
5…機能選択回路。
1 ... Semiconductor file device, 2 ... Host control device, 3 ... Control bus, 4 ... Access control circuit, 5 ... Flash type EEPRO
M, 6 ... Data register, 7 ... Work memory, 8 ... Address register, 10 ... Read circuit, 11 ... Erase circuit,
12 ... Write circuit, 14 ... Erase block management circuit, 1
5 ... Function selection circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】上位制御装置の制御下にあり、フラッシュ
型EEPROMと、上記上位制御装置の制御により、上記フラ
ッシュ型EEPROMにデータを読み書きするアクセス制御回
路から構成される半導体ファイル装置において、上記フ
ラッシュ型EEPROMと同一のアドレスを持つもう一つのフ
ラッシュ型EEPROMと、二つの上記フラッシュ型EEPROMの
消去部分を管理する消去管理手段と、データを書き込む
際に上記消去管理手段の内容をもとに二つの上記フラッ
シュ型EEPROMのいずれか一方を選択するメモリ選択手段
を上記アクセス制御回路内に設けたことを特徴とする半
導体ファイル装置。
1. A semiconductor file device under the control of a higher-level control device, comprising a flash-type EEPROM and an access control circuit for reading / writing data from / to the flash-type EEPROM under the control of the higher-level control device. Flash EEPROM having the same address as the flash EEPROM, erase management means for managing the erased parts of the two flash EEPROMs, and two data based on the contents of the erase management means when writing data. A semiconductor file device characterized in that a memory selecting means for selecting one of the flash type EEPROM is provided in the access control circuit.
JP30730794A 1994-12-12 1994-12-12 Semiconductor file device Pending JPH08161224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30730794A JPH08161224A (en) 1994-12-12 1994-12-12 Semiconductor file device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30730794A JPH08161224A (en) 1994-12-12 1994-12-12 Semiconductor file device

Publications (1)

Publication Number Publication Date
JPH08161224A true JPH08161224A (en) 1996-06-21

Family

ID=17967580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30730794A Pending JPH08161224A (en) 1994-12-12 1994-12-12 Semiconductor file device

Country Status (1)

Country Link
JP (1) JPH08161224A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318933A (en) * 2003-04-11 2004-11-11 Renesas Technology Corp Semiconductor storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318933A (en) * 2003-04-11 2004-11-11 Renesas Technology Corp Semiconductor storage device

Similar Documents

Publication Publication Date Title
JP3737529B2 (en) Method for increasing the data processing capability of a non-volatile semiconductor memory device
JP3485938B2 (en) Nonvolatile semiconductor memory device
KR940022568A (en) Nonvolatile memory device
KR940001166A (en) Semiconductor memory
JPH06324937A (en) Memory card
JPH1185609A (en) Semiconductor memory and data managing method therefor
JP4146006B2 (en) Electronic device having flash memory
JP2768618B2 (en) Semiconductor disk device
JP3464271B2 (en) Nonvolatile semiconductor memory device
JPH04220738A (en) High-speed writing system
US7836263B2 (en) Nonvolatile memory controlling method and nonvolatile memory controlling apparatus
JPH07121444A (en) Auxiliary storage device
JPS6022438B2 (en) Non-volatile memory refresh method
JP2003067244A (en) Nonvolatile memory and its control method
JPH07153284A (en) Non-volatile semiconductor memory and its control method
JPH08221312A (en) Memory card device
JPH0675836A (en) Auxiliary storage device
JP2000285017A (en) Storage
JPH08161224A (en) Semiconductor file device
JP4594944B2 (en) Memory control device
JP4177292B2 (en) MEMORY CONTROLLER, FLASH MEMORY SYSTEM, AND FLASH MEMORY CONTROL METHOD
JPH04137077A (en) Data recording method and memory card system for memory card
US6898680B2 (en) Minimization of overhead of non-volatile memory operation
JPH05258585A (en) Filing device
JPH11250031A (en) Programmable logic and information processor