JPH04157699A - Preliminary writing method for flash erasure-type e2 prom - Google Patents

Preliminary writing method for flash erasure-type e2 prom

Info

Publication number
JPH04157699A
JPH04157699A JP2281357A JP28135790A JPH04157699A JP H04157699 A JPH04157699 A JP H04157699A JP 2281357 A JP2281357 A JP 2281357A JP 28135790 A JP28135790 A JP 28135790A JP H04157699 A JPH04157699 A JP H04157699A
Authority
JP
Japan
Prior art keywords
preliminary writing
erased
patrol
preliminary
processing
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.)
Granted
Application number
JP2281357A
Other languages
Japanese (ja)
Other versions
JP2614357B2 (en
Inventor
Noriyuki Matsui
範幸 松井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP28135790A priority Critical patent/JP2614357B2/en
Publication of JPH04157699A publication Critical patent/JPH04157699A/en
Application granted granted Critical
Publication of JP2614357B2 publication Critical patent/JP2614357B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To enable waiting time to be reduced by finding a memory region to be erased by patrol before erasure and then performing preliminary writing at a non-written part of the memory region at a preliminary writing processing part. CONSTITUTION:A patrol timer 11 sends out an interrupt request (IRQ) to a CPU 10 at a certain time interval and a patrol processing part 13 is started when it is accepted, thus enabling a flash erasure type E<2>PROM 12 to be patrolled. The, when a memory region to be erased is found before erasure, a preliminary writing processing part 14 is started immediately and preliminary writing processing is performed. This erasure is performed to a last write bit within the memory region are in write-enable state when this processing ends. In this manner, performing preliminary writing processing in dispersion eliminates the need for performing collective preliminary writing immediately before erasure and enables waiting time when performing preliminary writing to be reduced.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第4図、第5図) 発明が解決しようとする課題 課題を解決するための手段(第1図)  “作用 実施例(第2図、第3図) 発明の効果 [概要〕 一括消去型E2PROMの書込み方法に関し、フラッシ
ュE2PROMの消去前に行う予備書込みを、分散させ
て処理することにより、待ち時間を短縮することを目的
とし、 電気的にデータの書込みと一括消去が可能な一括消去型
E2PROM (フラッシュE2PROM)の一括消去
前に行う予備書込み方法において、一括消去型E2PR
OMに対し、メモリアクセスのない時間帯に一定時間を
おいて、パトロールを行い、このパトロールにより、消
去すべきメモリ領域を、消去以前に見つけ、消去すべき
メモリ領域が見つかった場合には、該メモリ領域の末書
込み部分に予備書込みを行うことにより、消去すべき前
記メモリ領域の全ビットを書込み状態にするように構成
する。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figures 4 and 5) Means for solving the problem to be solved by the invention (Figure 1) Example (Fig. 2, Fig. 3) Effect of the invention [Summary] Regarding the writing method of the batch erasing type E2PROM, it is possible to shorten the waiting time by distributing and processing the preliminary writing performed before erasing the flash E2PROM. In the preliminary writing method performed before batch erasing of a batch erase type E2PROM (flash E2PROM) that can electrically write and erase data at once, the batch erase type E2PROM is
The OM is patrolled at certain intervals during periods when there is no memory access. Through this patrol, the memory area to be erased is found before erasing. If the memory area to be erased is found, the corresponding memory area is detected. The configuration is such that all bits of the memory area to be erased are brought into a written state by performing preliminary writing to the last written portion of the memory area.

〔産業上の利用分野〕[Industrial application field]

本発明は御粘消去型E2PROMの書込み方法に関し、
更に詳しくいえば、一括消去型E2P ROM、即ち、
電気的に書込み、電気的に一括して消去する書換え可能
なFROM (以下、これを「フランシュE2PROM
Jと称する)に用いられ、特に、−括消去の前に行う予
備書込み処理を改善した御粘消去型E2PROMの書込
み方法に関する。
The present invention relates to a writing method for self-erasable E2PROM,
More specifically, the batch erase type E2P ROM, that is,
A rewritable FROM that electrically writes and erases all at once (hereinafter referred to as "Franche E2PROM")
In particular, the present invention relates to a write method for a self-erasing type E2PROM that improves the preliminary writing process performed before bulk erasing.

〔従来の技術〕[Conventional technology]

第4図及び第5図は、従来例を示した図であり、第4図
はファイル管理の説明図、第5図は書込み処理フローチ
ャートである。
4 and 5 are diagrams showing a conventional example, in which FIG. 4 is an explanatory diagram of file management, and FIG. 5 is a write processing flowchart.

図中、1はメモリカード(ICカード)、2はフラッシ
ュE2PROM素子、3はファイル管理領域を示す。
In the figure, 1 is a memory card (IC card), 2 is a flash E2PROM element, and 3 is a file management area.

近年、E2PROMの一種として、フラッシュE2PR
CMの開発が活発に行われている。このようなフラッシ
ュE2PROMは、今後、E”PROM、EPROM、
SRAM等の置き換え素子として有望視されている。
In recent years, flash E2PR has become a type of E2PROM.
CM development is actively underway. In the future, such flash E2PROM will be used as E"PROM, EPROM,
It is seen as promising as a replacement element for SRAM and the like.

しかし、フラッシュE2PROMは、そのセルの構造上
、オーパイレース(過消去)という状態を生シる。オー
パイレースとは、書込済のセルと、末書込のセルとを一
度に消去した場合、末書込のセルが消去しすぎの状態と
なってしまい、次の書込み時に、データの書込みができ
なくなることをいう。
However, the flash E2PROM is prone to over-erasing due to its cell structure. Over-race is when a written cell and the last written cell are erased at the same time, the last written cell becomes over erased and the data cannot be written at the next writing. It means not being able to do it.

このようなオーパイレースを防止するため、通常のファ
イル消去時には、実際に消去せず、ヘッダ、あるいはデ
ィスクリブタと呼ばれるファイル管理情報に、消去済を
あられすフラグを立てるだけにしている。
In order to prevent such overwriting, when normally erasing a file, the file is not actually erased, but only a flag indicating that the file has been erased is set in the header or file management information called a disc libter.

そして、ファイル格納エリアが無くなった時点でファイ
ル整理を行うが、フラッシュE2PROMでは、書込ん
だ情報の消去に先立ち、予備書込みをすることが義務づ
けられている。
Files are organized when the file storage area is used up, but in flash E2PROMs, preliminary writing is required before erasing the written information.

従って、上記のファイル整理を行う段階で、先ず、消去
すべきメモリエリアを全ビット書込み状態としなければ
ならない。
Therefore, at the stage of organizing the files described above, the memory area to be erased must first be brought into a state where all bits are written.

以下、従来の書込み処理を第4図及び第5図に基づいて
詳−細に説明する。なお、第5図の各処理番号は、カッ
コ内に示す。
The conventional write process will be explained in detail below with reference to FIGS. 4 and 5. Note that each process number in FIG. 5 is shown in parentheses.

例えば、フランシュE2PROMを用いたメモリカード
におけるファイル管理は、第4図のようにしていた。
For example, file management in a memory card using Franche E2PROM is as shown in FIG.

この例では、メモリカード1を8個のフラッシュE2P
ROM (メモリ素子)2を用いて構成している。そし
て、これら8個のフラッシュE”P ROM2の内の一
部に、ファイル管理を行うためのメモリ領域として、フ
ァイル管理領域3を設けておく。
In this example, memory card 1 is connected to 8 flash E2P
It is constructed using a ROM (memory element) 2. A file management area 3 is provided in a part of these eight flash E''P ROMs 2 as a memory area for file management.

このファイル管理領域3は、ヘッダ、あるいはディスク
プリンタと呼ばれているファイル管理情報(フラグ等)
の格納領域として使用されるものである。
This file management area 3 contains file management information (flags, etc.) called header or disk printer.
This is used as a storage area for.

メモリカーF’ 1へ書込んだデータは、通常の場合フ
ァイル単位(ファイル#1〜ファイル#4)で管理して
おり、これら各ファイルの管理情報(ファイルの位置、
データの書込み状態、フラグ等)は、ファイル管理領域
3にまとめて格納している。
Data written to memory car F'1 is normally managed in file units (file #1 to file #4), and management information for each of these files (file location,
data write status, flags, etc.) are collectively stored in the file management area 3.

また、メモリカード1の消去は、フランシュEtPRO
M単位(チップ単位)で行うことが可能であり、消去後
は、ファイルの整理を行う。
Also, to erase memory card 1, use Franche EtPRO.
This can be done in M units (chip units), and after deletion, the files are organized.

この消去処理の前に行う予備書込み処理は、次のように
して行う。
The preliminary write process performed before this erase process is performed as follows.

先ず、メモリカードシステムにおいて、外部から処理の
指示があった場合(SL)、その処理がデータの「読出
し」であれば(S2)、データの読出し処理を実行しく
S3)、r書込み処理」であれば(S2)、データの書
込み処理を行う(S4)。
First, in a memory card system, when there is a processing instruction from the outside (SL), if the processing is "reading" of data (S2), then the data reading processing is executed (S3), and the "r writing processing" is executed. If there is (S2), data writing processing is performed (S4).

しかし、処理の内容が「削除」であれば(S2)、実際
に削除処理を行わずに、ファイル管理領域3内のヘッダ
、あるいはディスクリブタの削除フラグをオン「例えば
1」にする(S5)。
However, if the content of the process is "deletion" (S2), the deletion flag of the header or disc libter in the file management area 3 is turned on to "for example 1" (S5) without actually performing the deletion process. .

その後、ファイル整理の指示があるまで上記の処理を繰
り返して行い、ファイル整理の指示があると(S6)、
ファイル管理領域3内の削除フラグを見て、オンとなっ
ているフラグがあった場合、そのファイルに対して予備
書込みを行う(S7)。
After that, the above process is repeated until there is an instruction to organize the files, and when there is an instruction to organize the files (S6),
The deletion flags in the file management area 3 are checked, and if there is a flag that is turned on, preliminary writing is performed for that file (S7).

この予備書込みは、該当するファイル内の全ビットにつ
いて、何も書込まれていないビットを全て書込み状態に
するものである。
This preliminary writing is to change all bits in the corresponding file to a written state for all bits to which nothing has been written.

この予備書込みが、消去すべき全エリアについて終了す
ると、データの消去処理(メモリチップ単位で消去可能
)を行い(S8)、その後、再書込み等のファイル整理
を行う(S9)。
When this preliminary writing is completed for all areas to be erased, data erasing processing (erasing is possible in memory chip units) is performed (S8), and then file organization such as rewriting is performed (S9).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記のような従来のものにおいては次のような欠点があ
った。
The above-mentioned conventional devices had the following drawbacks.

[1)  オーパイレース防止のための予備書込み処理
は、消去すべきメモリ領域の全ビットを対象として、末
書込みのピントに対して書込みを行うものであり、従来
、この書込み処理は一括して行っている。
[1] Preliminary writing processing to prevent overwriting involves writing to the last writing focus for all bits in the memory area to be erased. Conventionally, this writing processing was performed all at once. ing.

このため、予備書込みの処理時間が長くなる(通常は1
メガビツト当たり2秒程度)。
Therefore, the processing time for preliminary writing becomes longer (usually 1
(about 2 seconds per megabit).

(2)予備書込みによる待ち時間が長くなり、マンマシ
ーンインターフェイスが悪い。
(2) The waiting time due to preliminary writing is long and the man-machine interface is poor.

本発明は、このような従来の欠点を解消し、フラッシュ
E2PROMの消去前に行う予備書込みを、分散して処
理することにより、待ち時間を短縮することを目的とす
る。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate such conventional drawbacks and to shorten waiting time by distributing and processing preliminary writing performed before erasing a flash E2PROM.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理図であり、図中、1oはCPU、
11はパトロールタイマ、12は御粘消去型E”PR,
OM(フラ・ノシュE”PROM)、13はパトロール
処理部、14は予備書込み処理部を示す。
FIG. 1 is a principle diagram of the present invention, in which 1o is a CPU;
11 is a patrol timer, 12 is a sticky erasing type E"PR,
OM (Fura Noche E"PROM), 13 indicates a patrol processing section, and 14 indicates a preliminary write processing section.

本発明は上記の目的を達成するため、電気的に、データ
の書込みと一括消去が可能な御粘消去型E2PROM 
(フラッシュE2PROM)12の一括消去前に行う予
備書込み方法において、前記一括消去型E2PROMI
2に対し、メモリアクセスのない時間帯に一定時間をお
いて、パトロール処理部13によるパトロールを行い、
このパトロールにより、消去すべきメモリ領域を、消去
以前に見つけ、 消去すべきメモリ領域が見つかった場合には、予備書込
み処理部14により、該メモリ領域の末書込み部分に予
備書込みを行うことにより、消去すべき前記メモリ領域
の全ビットが書込み状態となるように構成したものであ
る。
In order to achieve the above object, the present invention has developed a self-erasable E2PROM in which data can be electrically written and erased all at once.
(Flash E2PROM) In the preliminary writing method performed before the batch erasing of 12, the batch erasing type E2PROM
In contrast to 2, the patrol processing unit 13 performs patrol after a certain period of time when there is no memory access,
Through this patrol, a memory area to be erased is found before erasing, and when a memory area to be erased is found, the preliminary write processing unit 14 performs preliminary writing to the last written part of the memory area, thereby All bits in the memory area to be erased are in a written state.

〔作用] 本発明は上記のように構成したので、次のような作用が
ある。
[Function] Since the present invention is configured as described above, it has the following effects.

パトロールタイマ11からは、一定時間おきにCPUl
0に対して割込み要求<IRQ)を出す。
From the patrol timer 11, the CPU is
Issue an interrupt request <IRQ) for 0.

この割込み要求が受付けられると(メモリアクセス等の
ない時間帯)、パトロール処理部13が起動され、一括
消去型E2PROMI 2をパトロールする。
When this interrupt request is accepted (during a time period when there is no memory access, etc.), the patrol processing unit 13 is activated and patrols the batch erase type E2PROMI 2.

このパトロールで、消去以前に消去すべきメモリ領域が
見つかると、直ちに予備書込み処理部14を起動して予
備書込み処理を行う。
If a memory area to be erased before erasing is found in this patrol, the preliminary write processing section 14 is immediately activated to perform preliminary write processing.

この予備書込み処理は、消去すべきメモリ領域内の末書
込みビットに対して行われ、この処理が終了すると、消
去すべきメモリ領域内の全ビットが書込み状態となる。
This preliminary writing process is performed on the last written bit in the memory area to be erased, and when this process is completed, all bits in the memory area to be erased are in the written state.

このように、一定時間をおいて行うパトロールにより、
予備書込み処理を分散させて行えば、従来のように、消
去直前に一括して予備書込みをしなくて済む。
In this way, by patrolling at regular intervals,
If the preliminary write processing is performed in a distributed manner, there is no need to perform the preliminary write all at once immediately before erasing, as is the case in the past.

従って、従来のような予備書込み時の待ち時間が短縮で
きる。
Therefore, the waiting time required for preliminary writing as in the prior art can be reduced.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第2図及び第3図は本発明の1実施例を示した図であり
、第2図は、フラッシュE”F ROMカードシステム
の概略構成図、第3図Aは、実施例の処理フローチャー
ト(1)、第3図Bは、実施例の処理フローチャート(
2)である。
2 and 3 are diagrams showing one embodiment of the present invention, FIG. 2 is a schematic configuration diagram of a flash E"F ROM card system, and FIG. 3A is a processing flowchart of the embodiment ( 1), FIG. 3B is a processing flowchart of the embodiment (
2).

図中、第1図と同符号は同一のものを示す。また、15
はプログラム格納部、16はフラッシュE2PROMカ
ードを示す。
In the figure, the same reference numerals as in FIG. 1 indicate the same parts. Also, 15
indicates a program storage unit, and 16 indicates a flash E2PROM card.

本実施例は、フラッシュE2PROMROMカードシス
テムした例である。フラッシュE”F ROMカードシ
ステムには、フラッシュE”F R0Mカード16、C
PUl0、パトロールタイマ11、パトロール処理部1
3、予備書込み処理部14、プログラム格納部15等を
設ける。
This embodiment is an example of a flash E2PROM card system. The Flash E"F ROM card system includes a Flash E"F ROM card 16,C
PUl0, patrol timer 11, patrol processing unit 1
3. A preliminary write processing section 14, a program storage section 15, etc. are provided.

パトロールタイマ11は、一定時間毎に、CPU10に
対して割込み要求(IRQ)を出すタイマである。
The patrol timer 11 is a timer that issues an interrupt request (IRQ) to the CPU 10 at regular intervals.

パトロール処理部13は、前記の割込み要求がCPUI
 Oで受は付けられた(許可された)時起動され、フラ
ッシュE2PROMl 6内をパトロールすることによ
り、消去すべきファイルを見つけるものである。即ち、
パトロールにより、ファイル管理領域3 (第4図参照
)内のフラグを調べて、消去すべきファイルを見つける
The patrol processing unit 13 receives the interrupt request from the CPU
It is activated when it is accepted (permitted) by O, and finds the file to be erased by patrolling the flash E2PROM16. That is,
By patrolling, flags in the file management area 3 (see FIG. 4) are checked to find files to be deleted.

予備書込み処理部14は、パトロール処理部13による
パトロールで、消去すべきファイルが見つかった場合に
起動され、消去すべきファイルに予備書込み(末書込み
ビットを書込み状態にする)処理を行うものである。
The preliminary write processing unit 14 is activated when a file to be erased is found during patrol by the patrol processing unit 13, and performs preliminary write processing (setting the last written bit to a written state) on the file to be erased. .

フラッシュB2PROMl6は、例えば第4図に示した
ような構成となっていて、その一部にファイル管理領域
を設けである。
The flash B2PROM16 has a configuration as shown in FIG. 4, for example, and a part thereof is provided with a file management area.

プログラム格納部15は、カードシステム内で使用する
各種プログラムを格納しておくものである。
The program storage section 15 stores various programs used within the card system.

次に、上記構成のフラッシュE2PROMカードシステ
ムにおけるフラッシュE2PROMの予備書込み方法を
、第3図に基づいて説明する。なお、図の各処理番号は
、カッコ内に示す。
Next, a preliminary writing method for the flash E2PROM in the flash E2PROM card system having the above configuration will be explained based on FIG. Note that each process number in the figure is shown in parentheses.

フラッシュE2PROMカードシステムにおけるファイ
ル処理は、第3図Aのように行っている。
File processing in the flash E2PROM card system is performed as shown in FIG. 3A.

先ず、CPUl0では、外部から処理の指示があった場
合(Sll)、処理の内容を判断しく522)、データ
の「読出し」であれば、フラ・ノシュE”PROMカー
ド16からデータを読出しく523)、データの「書込
み」であれば、フラッシュE2PROM16ヘデータを
書込む(S14)。
First, when the CPU10 receives a processing instruction from the outside (Sll), it determines the content of the process (522), and if it is data "reading", it reads the data from the Fra Noche E"PROM card 16 (523). ), if the data is "written", the data is written to the flash E2PROM 16 (S14).

また、「削除」の指示であった場合には、フラ・ノシュ
E”PROM16内のファイル管理領域にあるヘッダ、
あるいはディスクリブタの該当するファイルに対する削
除フラグをオン(削除すべき状aにする)にする(S1
5)。このような処理を繰り返して行い、ファイル整理
を行う場合には<316)、−括消去を行い(S17)
、その後、再書込み等のファイル整理を行う(31B)
In addition, if the instruction is to "delete", the header in the file management area in the Fra Noche E"PROM16,
Alternatively, turn on the deletion flag for the corresponding file in the disk librator (make it a to be deleted state) (S1
5). If such processing is repeated and files are organized, <316) and -batch deletion is performed (S17).
, then perform file organization such as rewriting (31B)
.

このファイル整理としては、消去しない領域のデータを
一ケ所に集めるために再書込みをしたり、消去済の空き
領域をまとめたりする処理を行うものである。
This file organization involves rewriting data in areas that are not to be erased in order to collect them in one place, and processing that collects erased empty areas.

ところで、上記のファイル処理とは別に、本発明では、
第3図Bに示したようなパトロール処理を常に行ってお
り、上記の消去処理は、このパトロールにより予備書込
み処理を行ったファイルに対して行われる。
By the way, in addition to the above file processing, in the present invention,
Patrol processing as shown in FIG. 3B is always performed, and the above-mentioned erasure processing is performed on files that have been subjected to preliminary writing processing through this patrolling.

パトロール処理は、パトロールタイマ11から一定時間
おきに出される割込み要求がCPUl0で受は付けられ
た場合(許可された場合)、パトロール処理部13を起
動して行う。
Patrol processing is performed by activating the patrol processing unit 13 when the CPU 10 accepts (permits) an interrupt request issued from the patrol timer 11 at regular intervals.

パトロール処理部13が起動されると(S21)、フラ
ッシュE”PROMカード16に対するパトロールを行
い、該カード内の一部に設けられているファイル管理領
域内のヘッダ、あるいはディスクリブタの削除フラグを
調べることにより、削除すべきファイルを見つける。
When the patrol processing unit 13 is activated (S21), it patrols the flash E''PROM card 16 and checks the deletion flag of the header or disc libter in the file management area provided in a part of the card. Find out which files should be deleted.

この時、消去すべきファイルがなげれば何もしないが、
消去すべきファイルが見つかった場合には、予備書込み
を行う、この予備書込み処理は、従来と同様に、末書込
みの全ビットを書込み状態にするものである(S22)
At this time, if there are files to be deleted, nothing will be done, but
If a file to be erased is found, preliminary writing is performed.This preliminary writing process is to put all bits of the last write into a written state, as in the past (S22).
.

この処理を、パトロール処理終了まで行って(パトロー
ル処理終了は、予め決めておく)終了する(323)。
This process is continued until the patrol process ends (the end of the patrol process is determined in advance) and ends (323).

なお、パトロールによる予備書込み等の処理情報は、フ
ァイル管理情報として格納しておけば、その後の消去処
理等に用いることができる。
Note that if processing information such as preliminary writing by patrol is stored as file management information, it can be used for subsequent erasure processing and the like.

以上実施例について説明したが、本発明は次のようにし
ても実施可能である。
Although the embodiments have been described above, the present invention can also be implemented as follows.

(1)  フラッシュ22PROMカード(ICカード
)だけに限らず、各種のフラッシュE2PROM装置に
使用可能である。
(1) It can be used not only for flash 22PROM cards (IC cards) but also for various types of flash E2PROM devices.

(2)パトロールの時間間隔等は、フラッシュE2PR
OMの使用状態等により、任意に設定してよい。
(2) The patrol time interval, etc. is determined by flash E2PR.
It may be set arbitrarily depending on the usage status of the OM.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば次のような効果が
ある。
As explained above, the present invention has the following effects.

+1+  予備書込み処理を、空き時間等を利用したパ
トロールにより、分散させて行うため、待ち時間が短縮
できる。
+1+ Since the preliminary writing process is performed in a distributed manner by patrolling using free time, etc., waiting time can be shortened.

(2)待ち時間の短縮により、マンマシンインターフェ
イスの向上ができる。
(2) Man-machine interface can be improved by reducing waiting time.

(3)  フラッシュE2PROM装置のスループント
の向上が可能となる。
(3) It is possible to improve the throughput of the flash E2PROM device.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理図、 第2図及び第3図は本発明の1実施例を示した図であり
、 第2図はフラッシュ22PROMカードシステムの概略
構成図、 第3図Aは、処理フローチャート(1)、また、第4図
及び第5図は従来例を示した図であり、 第4図はファイル管理の説明図、 第5図は書込み処理フローチャートである。 10・・−CPU 11−パトロールタイマ 12−一括消去型E2PROM (フラッシュE2PROM) 13−パトロール処理部 14−・予備書込み処理部 特許出願人   富士通株式会社 復代理人弁理士 今 村 辰 夫 フラッジ:LE”PFZOMカートシステムの槙田各j
tj#舅tel 第2図 ()下1ル(理のフロー−9−w−ト)第3図A 曳施イク)の郊チ里フロー斗イード(2)(へ〇トロー
ル刈刊い 第3図B
FIG. 1 is a diagram showing the principle of the present invention, FIGS. 2 and 3 are diagrams showing one embodiment of the present invention, FIG. 2 is a schematic configuration diagram of a flash 22PROM card system, and FIG. Processing flowchart (1), and FIGS. 4 and 5 are diagrams showing a conventional example. FIG. 4 is an explanatory diagram of file management, and FIG. 5 is a write processing flowchart. 10...-CPU 11-Patrol timer 12-Batch erasure type E2PROM (Flash E2PROM) 13-Patrol processing section 14--Preliminary writing processing section Patent applicant Fujitsu Limited Patent attorney Tatsuo Imamura Fludge: LE" Mr. Makita of PFZOM cart system
tj#舅tel Diagram 2 () 2nd 1 (Logic's flow-9-w-to) Diagram 3 Diagram B

Claims (1)

【特許請求の範囲】 電気的にデータの書込みと一括消去が可能な一括消去型
E^2PROM(フラッシュE^2PROM)(12)
の一括消去前に行う予備書込み方法において、 前記一括消去型E^2PROM(12)に対し、メモリ
アクセスのない時間帯に一定時間をおいて、パトロール
を行い、 このパトロールにより、消去すべきメモリ領域を、消去
以前に見つけ、 消去すべきメモリ領域が見つかった場合には、該メモリ
領域の末書込み部分に予備書込みを行うことにより、 消去すべき前記メモリ領域の全ビットが書込み状態とな
るようにしたことを特徴とした一括消去型E^2PRO
Mの予備書込み方法。
[Claims] Batch erasing type E^2PROM (flash E^2PROM) (12) in which data can be electrically written and erased all at once.
In the preliminary writing method performed before batch erasing, the batch erasing type E^2PROM (12) is patrolled at certain intervals during periods when there is no memory access, and by this patrol, the memory area to be erased is identified. is found before erasing, and when a memory area to be erased is found, preliminary writing is performed to the last writing part of the memory area so that all bits in the memory area to be erased are in the written state. Bulk deletion type E^2PRO characterized by
Preliminary writing method for M.
JP28135790A 1990-10-19 1990-10-19 Bulk erase type E (2) PROM pre-programming method Expired - Lifetime JP2614357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28135790A JP2614357B2 (en) 1990-10-19 1990-10-19 Bulk erase type E (2) PROM pre-programming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28135790A JP2614357B2 (en) 1990-10-19 1990-10-19 Bulk erase type E (2) PROM pre-programming method

Publications (2)

Publication Number Publication Date
JPH04157699A true JPH04157699A (en) 1992-05-29
JP2614357B2 JP2614357B2 (en) 1997-05-28

Family

ID=17637987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28135790A Expired - Lifetime JP2614357B2 (en) 1990-10-19 1990-10-19 Bulk erase type E (2) PROM pre-programming method

Country Status (1)

Country Link
JP (1) JP2614357B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04206095A (en) * 1990-11-30 1992-07-28 Mitsubishi Electric Corp Method for erasing nonvolatile semiconductor memory device
JPH06139140A (en) * 1990-12-31 1994-05-20 Intel Corp File structure of nonvolatile semiconductor memory
JPH0997205A (en) * 1995-09-28 1997-04-08 Canon Inc Method, device for managing flash rom and computer control equipment
JPH0997314A (en) * 1995-09-28 1997-04-08 Canon Inc Ic card device
JPH0997206A (en) * 1995-09-28 1997-04-08 Canon Inc Method, device for managing flash rom and computer control equipment
WO2004077447A1 (en) * 2003-02-28 2004-09-10 Fujitsu Limited Flash memory and memory control method
US8140741B2 (en) 2010-01-29 2012-03-20 Kabushiki Kaisha Toshiba Semiconductor storage device and control method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017168155A (en) 2016-03-14 2017-09-21 東芝メモリ株式会社 Semiconductor storage device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04206095A (en) * 1990-11-30 1992-07-28 Mitsubishi Electric Corp Method for erasing nonvolatile semiconductor memory device
JPH06139140A (en) * 1990-12-31 1994-05-20 Intel Corp File structure of nonvolatile semiconductor memory
JPH0997205A (en) * 1995-09-28 1997-04-08 Canon Inc Method, device for managing flash rom and computer control equipment
JPH0997314A (en) * 1995-09-28 1997-04-08 Canon Inc Ic card device
JPH0997206A (en) * 1995-09-28 1997-04-08 Canon Inc Method, device for managing flash rom and computer control equipment
WO2004077447A1 (en) * 2003-02-28 2004-09-10 Fujitsu Limited Flash memory and memory control method
US7487286B2 (en) 2003-02-28 2009-02-03 Spansion Llc Flash memory and method for controlling the memory
US8140741B2 (en) 2010-01-29 2012-03-20 Kabushiki Kaisha Toshiba Semiconductor storage device and control method thereof
US8275935B2 (en) 2010-01-29 2012-09-25 Kabushiki Kaisha Toshiba Semiconductor storage device and control method thereof

Also Published As

Publication number Publication date
JP2614357B2 (en) 1997-05-28

Similar Documents

Publication Publication Date Title
JP3485938B2 (en) Nonvolatile semiconductor memory device
EP0686976B1 (en) Data management system for programming-limited type semiconductor memory and IC memory card having the data management system
JPH117505A (en) Card type storage medium
JP2002278781A (en) Storage device, method for controlling storage device and program
JPH04157699A (en) Preliminary writing method for flash erasure-type e2 prom
TW200305804A (en) Information storage apparatus
JP3503448B2 (en) Flash type memory and its management device
JPH07153284A (en) Non-volatile semiconductor memory and its control method
JPH10124403A (en) Writing method for block deletion type flash memory
KR19990028574A (en) Method and apparatus for changing fixed programs
JPH06282483A (en) Data management system
JP4972410B2 (en) Method for controlling access in flash memory and system for implementation of such method
JPH06222985A (en) Memory controller
JPH04147495A (en) Data recording method in ic memory card and ic memory card system
JP2000243093A (en) Data storing method for flash memory and data reading out method from flash memory
JP2004348342A (en) Ic card and method for processing ic card
JPH0546488A (en) Memory card device
JPH0793980A (en) Data recording and reproducing apparatus
JPH07160439A (en) Data storage device and main controller
JPH04313882A (en) Record control system for memory card
JPH0546489A (en) Memory card apparatus using eeproms for storing data and an interface buffer for buffering data transfer between the eeproms and anexternal device.
JPH06139143A (en) Memory card device
JPH06139131A (en) Memory card device
JPH05151099A (en) Memory card device
JPH05313989A (en) Memory card device