JPH1097459A - Eeprom initializing method - Google Patents

Eeprom initializing method

Info

Publication number
JPH1097459A
JPH1097459A JP8250106A JP25010696A JPH1097459A JP H1097459 A JPH1097459 A JP H1097459A JP 8250106 A JP8250106 A JP 8250106A JP 25010696 A JP25010696 A JP 25010696A JP H1097459 A JPH1097459 A JP H1097459A
Authority
JP
Japan
Prior art keywords
page
eeprom
initialization
initialized
area
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
JP8250106A
Other languages
Japanese (ja)
Other versions
JP2937890B2 (en
Inventor
Makoto Kawamichi
誠 川道
Yasuaki Shibazaki
康彰 柴崎
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.)
NEC Corp
NEC Telecom System Ltd
Original Assignee
NEC Corp
NEC Telecom System 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 NEC Corp, NEC Telecom System Ltd filed Critical NEC Corp
Priority to JP8250106A priority Critical patent/JP2937890B2/en
Publication of JPH1097459A publication Critical patent/JPH1097459A/en
Application granted granted Critical
Publication of JP2937890B2 publication Critical patent/JP2937890B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten the initialization time of a mass-storage EEPROM. SOLUTION: A write area of each page of the EEPROM is provided with a management area A. At the initialization, a 1st page is initialized first and its page management area A-1 is set to 'initialization completion'. When a write event of the EEPROM is generated thereafter, information is written to a data area B-1 first. When the page becomes full, the management area A-1 is set to 'writing completion', a next page is initialized, and its management area A-2 is set to 'initialization completion'. Thus, whenever write information is generated, it is written to a data area which is already initialized and a next page is initialized in advance. The initialization time is very short as compared with an information write time, so the initialization time of the EEPROM is only the initialization time of the starting page eventually and greatly shortened.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はEEPROMの初期
化方法に関し、特に書込領域が複数のページに分割され
た大容量のEEPROMの初期化方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an initialization method for an EEPROM, and more particularly to an initialization method for a large-capacity EEPROM in which a writing area is divided into a plurality of pages.

【0002】[0002]

【従来の技術】この種のEEPROM(不揮発性再書込
み可能のプログラム読出専用メモリ)は、その初期状態
が保証されないため、EEPROMの使用前に必ず記憶
内容の初期化を行わなければならない。図4はEEPR
OMのデータ書込領域の構成を示す構成図である。従来
は、EEPROMの初期化を行うために、図に示す単位
書込領域であるページごとに初期値を書き込むという動
作を最初に全ページに対して繰り返し行っている。
2. Description of the Related Art Since the initial state of this type of EEPROM (non-volatile rewritable program read-only memory) is not guaranteed, the stored contents must be initialized before the EEPROM is used. Figure 4 shows the EEPR
FIG. 3 is a configuration diagram showing a configuration of an OM data write area. Conventionally, in order to initialize the EEPROM, an operation of writing an initial value for each page, which is a unit write area, shown in FIG.

【0003】[0003]

【発明が解決しようとする課題】このように従来のEE
PROMの初期化方法は、最初に全ページに対して初期
化を行っている。EEPROMは一度書き込み動作を行
った後は次の書込みまで一定時間の書込み不可能時間が
存在する。次の書き込みが可能となるまでに必要となる
時間間隔は、EEPROMへの書き込み処理に要する時
間と比較すると、はるかに大きい値となる。
As described above, the conventional EE
In the initialization method of the PROM, initialization is first performed for all pages. In the EEPROM, after a write operation is performed once, there is a fixed write disable time until the next write. The time interval required until the next writing becomes possible is much larger than the time required for the writing process to the EEPROM.

【0004】従来のEEPROMの初期化方式では、1
ページに対する初期データ書き込みを行った後、一定の
時間間隔をあけ、次のページに対して初期データを書き
込むといった一連の処理を、全ページについて繰り返し
行っている。従って、全体の初期化時間は、 (書込時間+次の書込みに必要な時間間隔)×全ページ
数 となり、例えば記憶容量が512KByte,1ページ
が128ByteのEEPROMで次の書込みに必要な
時間間隔を10ms、書込み時間を略0とすると約41
秒の初期化時間が必要となり、時間がかかるという問題
がある。
In a conventional EEPROM initialization method, 1
After writing the initial data to the page, a series of processes such as writing the initial data to the next page at regular time intervals are repeated for all pages. Therefore, the entire initialization time is (write time + time interval required for the next write) × the total number of pages. For example, the time interval required for the next write in an EEPROM having a storage capacity of 512 Kbytes and one page of 128 bytes. Is about 41 ms when writing time is approximately 0 ms and writing time is approximately 0.
A second initialization time is required, which takes a long time.

【0005】[0005]

【課題を解決するための手段】本発明のEEPROM初
期化方法は、書込領域が複数の単位書込領域のページに
分割され各ページ毎に初期化して使用するEEPROM
の初期化方法において、先ず第1ページの初期化を行っ
て置き、記憶すべき情報の発生があった時この第1ペー
ジに記憶させこのページが満杯となった時に第2ページ
の初期化を行って置き、順次各ページに情報を記憶させ
た後に次ページの初期化を行って置くようにする。
SUMMARY OF THE INVENTION An EEPROM initialization method according to the present invention uses an EEPROM in which a writing area is divided into a plurality of unit writing area pages and initialized for each page.
In the initialization method of (1), first, the first page is initialized and stored. When information to be stored is generated, the information is stored in the first page, and when the page is full, the initialization of the second page is performed. After the information is sequentially stored in each page, the next page is initialized and stored.

【0006】また、前記各ページの単位書込領域を管理
領域とデータ領域とに分割し、前記管理領域に初期化を
完了した時にその旨を意味するフラグを書込み前記デー
タ領域に記憶すべき情報を書込むようにしても良い。
Further, the unit write area of each page is divided into a management area and a data area, and when initialization is completed in the management area, a flag indicating that fact is written and information to be stored in the data area is written. May be written.

【0007】[0007]

【発明の実施の形態】次に、本発明の実施の形態例につ
いて図面を参照して説明する。図1は本発明の実施の形
態例のEEPROMの書込領域の構成を示す構成図であ
る。図2は図1における1ページ目の初期化方法を示す
フローチャート、図3は図1における情報書込みと初期
化方法を示すフローチャートである。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing a configuration of a write area of an EEPROM according to an embodiment of the present invention. FIG. 2 is a flowchart showing the initialization method of the first page in FIG. 1, and FIG. 3 is a flowchart showing the information writing and initialization method in FIG.

【0008】図1に示すようにEEPROMは単位書込
領域の各ページ内を、管理領域A、データ領域Bとで構
成し、mページの容量を有するものとする。先ず、図2
のフローチャートで示すようにEEPROMの先頭ペー
ジを初期化し管理領域A−1に「初期化済み」フラグを
書き込む(S21)。この処理のみによってEEPRO
Mに対する初期化処理を完了する(S22)。
As shown in FIG. 1, the EEPROM has a management area A and a data area B in each page of a unit writing area, and has a capacity of m pages. First, FIG.
As shown in the flowchart, the first page of the EEPROM is initialized and the "initialized" flag is written in the management area A-1 (S21). EEPRO only by this processing
The initialization process for M is completed (S22).

【0009】次に、装置内で記憶する情報が発生し、E
EPROMへの書き込み処理が行われる場合を図3に示
す。EEPROMへの書込事象が発生すると(S3
1)、データ領域B−1に、EEPROMに記憶すべき
情報を書込み、管理領域A−1には「書込済み」フラグ
を書き込む(S32)。その後、次のページを初期化し
て管理領域A−2に「初期化済み」フラグを書き込む
(S33)。
Next, information to be stored in the device is generated, and E
FIG. 3 shows a case where the writing process to the EPROM is performed. When a write event to the EEPROM occurs (S3
1) Write information to be stored in the EEPROM in the data area B-1, and write a "written" flag in the management area A-1 (S32). Thereafter, the next page is initialized, and an “initialized” flag is written in the management area A-2 (S33).

【0010】同様にしてn番目のページに対する書込み
事象が発生した場合、データB−nに書き込むべき情報
を書き込み、管理領域A−nに「書込み済み」フラグを
書込み、その後ページn+1を初期化してその管理領域
A−(n+1)に「初期化済み」フラグを書込む。この
ように、EEPROMへの書込み情報が発生する度に次
の領域を初期化することを繰り返すことによって、最終
的に使用される全領域が初期化をおこなうこととなる。
Similarly, when a write event to the n-th page occurs, information to be written is written to data Bn, a "written" flag is written to management area An, and then page n + 1 is initialized. The "initialized" flag is written in the management area A- (n + 1). In this way, by repeating the initialization of the next area every time the information to be written to the EEPROM is generated, the entire area finally used is initialized.

【0011】[0011]

【発明の効果】以上説明したように、本発明のEEPR
OMの初期化方法は、最初のページに対し初期化を行
い、以降の各ページの初期化は初期化完了のページに対
する情報の書込み後に次ページの初期化を行うにしてお
り、情報の書込み時間に対し初期化時間は僅かな時間で
あるので、EEPROMの初期化時間は結果的に最初の
ページに対する初期化時間のみとなり大幅な時間短縮が
行えるという効果がある。
As described above, the EEPR of the present invention
The OM initialization method initializes the first page, and initializes the subsequent pages after writing information on the initialization-completed page, and then initializes the next page. On the other hand, since the initialization time is a short time, the initialization time of the EEPROM is consequently only the initialization time for the first page, so that there is an effect that the time can be greatly reduced.

【0012】[0012]

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

【図1】本発明の実施の形態例であるEEPROMの書
込領域の構成を示す構成図である。
FIG. 1 is a configuration diagram showing a configuration of a write area of an EEPROM according to an embodiment of the present invention;

【図2】図1のEEPROMの1ページ目の初期化方法
を示すフローチャートである。
FIG. 2 is a flowchart illustrating a method of initializing a first page of the EEPROM of FIG. 1;

【図3】図1のEEPROMの情報書込みと初期化方法
を示すフローチャートである。
FIG. 3 is a flowchart showing a method of writing and initializing information in the EEPROM of FIG. 1;

【図4】従来例のEEPROMの書込領域の構成を示す
構成図である。
FIG. 4 is a configuration diagram showing a configuration of a writing area of a conventional EEPROM.

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

なし None

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 書込領域が複数の単位書込領域のページ
に分割され各ページ毎に初期化して使用するEEPRO
Mの初期化方法において、先ず第1ページの初期化を行
って置き、記憶すべき情報の発生があった時この第1ペ
ージに記憶させこのページが満杯となった時に第2ペー
ジの初期化を行って置き、順次各ページに情報を記憶さ
せた後に次ページの初期化を行って置くことを特徴とす
るEEPROMの初期化方法。
1. An EEPROM which is used when a writing area is divided into pages of a plurality of unit writing areas and initialized for each page.
In the initialization method of M, first, the first page is initialized and stored. When information to be stored is generated, the information is stored in the first page, and when the page is full, the second page is initialized. A method of initializing an EEPROM, wherein information is sequentially stored in each page, and then the next page is initialized.
【請求項2】 前記各ページの単位書込領域を管理領域
とデータ領域とに分割し、前記管理領域に初期化を完了
した時にその旨を意味するフラグを書込み前記データ領
域に記憶すべき情報を書込むことを特徴とする請求項1
記載のEEPROMの初期化方法。
2. The information to divide a unit write area of each page into a management area and a data area, write a flag indicating that the initialization has been completed in the management area, and store the flag in the data area. 3. The method according to claim 1, wherein
The initialization method of the described EEPROM.
JP8250106A 1996-09-20 1996-09-20 EEPROM initialization method Expired - Lifetime JP2937890B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8250106A JP2937890B2 (en) 1996-09-20 1996-09-20 EEPROM initialization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8250106A JP2937890B2 (en) 1996-09-20 1996-09-20 EEPROM initialization method

Publications (2)

Publication Number Publication Date
JPH1097459A true JPH1097459A (en) 1998-04-14
JP2937890B2 JP2937890B2 (en) 1999-08-23

Family

ID=17202916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8250106A Expired - Lifetime JP2937890B2 (en) 1996-09-20 1996-09-20 EEPROM initialization method

Country Status (1)

Country Link
JP (1) JP2937890B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6157590A (en) * 1998-09-28 2000-12-05 Hyundai Electronics Industries Co., Ltd. Solid state memory having a latch circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6157590A (en) * 1998-09-28 2000-12-05 Hyundai Electronics Industries Co., Ltd. Solid state memory having a latch circuit

Also Published As

Publication number Publication date
JP2937890B2 (en) 1999-08-23

Similar Documents

Publication Publication Date Title
US7275200B2 (en) Transparent error correcting memory that supports partial-word write
JP3280214B2 (en) Predictive read method for serial access memory and memory therefor
JP3577119B2 (en) Semiconductor storage device
EP0829804B1 (en) Synchronous semiconductor memory device having macro command storage and execution method therefor
EP3057100B1 (en) Memory device and operating method of same
JPS58115673A (en) System and device for stored information control
JP3425811B2 (en) Semiconductor memory
JPH07153284A (en) Non-volatile semiconductor memory and its control method
JPH1097459A (en) Eeprom initializing method
JPS63124298A (en) Memory device
JP2000187983A (en) Memory device
JPH0435780B2 (en)
JP2004030849A (en) Semiconductor nonvolatile memory having rewritable function for part of data
JPH04357519A (en) Memory device
JP2004039055A (en) Nonvolatile semiconductor memory device
JP4141042B2 (en) Non-volatile memory writing circuit
JPH0635776A (en) Data writing and reading method and data recording and reproducing device for them
JP3370222B2 (en) Sequencer
JPH03228298A (en) Data store system
JP2744984B2 (en) Semiconductor nonvolatile memory device
JPH07111092A (en) Control method for non-volatile semiconductor storage device
JPH1091490A (en) Storage device using flash memory
JP2000276883A (en) Write-in circuit for non-volatile memory
JPS6051748B2 (en) Memory writing method
JPS62289999A (en) Data writing method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990518