JPH05233478A - Flash memory rewriting circuit - Google Patents

Flash memory rewriting circuit

Info

Publication number
JPH05233478A
JPH05233478A JP6962792A JP6962792A JPH05233478A JP H05233478 A JPH05233478 A JP H05233478A JP 6962792 A JP6962792 A JP 6962792A JP 6962792 A JP6962792 A JP 6962792A JP H05233478 A JPH05233478 A JP H05233478A
Authority
JP
Japan
Prior art keywords
information
flash memory
fram
rewriting
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
Application number
JP6962792A
Other languages
Japanese (ja)
Inventor
Hanae Sawa
花江 澤
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP6962792A priority Critical patent/JPH05233478A/en
Publication of JPH05233478A publication Critical patent/JPH05233478A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Abstract

PURPOSE:To reduce the amount of downloaded data, and shorten a necessary time and reduce the load on a bus by saving information temporarily and downloading only rewritten information. CONSTITUTION:This circuit consists of a CPU 1, an EPROM 2, an SRAM 3, an FRAM(flash memory) 4, a register 5, and an address bus 9 and a data bus 10 which connect them. The register 5 is used to save the information of the FRAM 4. Further, the CPU 1 is connected to an FRAM rewritten information transfer terminal 7 and an FRAM rewritten information file 8 through an RS232C line 6, and the terminal 7 is operated to sends the rewritten information in the file 8 to the CPU 1. Further, information before the FRAM 4 is all erased or rewritten is saved in the register 5 temporarily and the saved information is put back from the register 5 after the FRAM 4 is rewritten.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、メモリ書き換え回路に
関し、特にフラッシュメモリ書き換え回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory rewriting circuit, and more particularly to a flash memory rewriting circuit.

【0002】[0002]

【従来の技術】フラッシュメモリ(FRAM)は、一般
に不揮発性であるが消去ピンに一定電圧を印加すると消
去・書込み可能となるものである。そして、従来のフラ
ッシュメモリ書き換え回路は、図2に示すようにCPU
(中央演算処理装置)21,FRAM24,EPROM
(Erasable and Programmabl
e Read Only Memory)22及びSR
AM(Static Randam Access M
emory)23を有している。CPU21とEPRO
M22などは、アドレスバス16とデータバス30とに
よって接続されており、さらに、CPU21はRS23
2C回線(アメリカ電子工学会EIA)26を通じてF
RAM書換え情報転送端末27とFRAM書換え情報フ
ァイル28に接続されている。
2. Description of the Related Art A flash memory (FRAM) is generally non-volatile but can be erased / written by applying a constant voltage to an erase pin. Then, as shown in FIG. 2, the conventional flash memory rewriting circuit has a CPU
(Central processing unit) 21, FRAM 24, EPROM
(Erasable and Programmable
e Read Only Memory) 22 and SR
AM (Static Random Access M)
23). CPU21 and EPRO
The M22 and the like are connected by the address bus 16 and the data bus 30, and the CPU 21 uses the RS23.
F through 2C line (American Electronics Association EIA) 26
It is connected to the RAM rewriting information transfer terminal 27 and the FRAM rewriting information file 28.

【0003】EPROM22上のFRAMクリアプログ
ラムによりFRAM24の内容を全消去した後、やはり
EPROM22上のダウンロード制御プログラムにより
書き換え情報をSRAM23にダウンロードする。そし
て、SRAM23上の情報をFRAM24にコピーする
ことでFRAM24の内容を書き換えていた。
After the FRAM clear program on the EPROM 22 completely erases the contents of the FRAM 24, the rewrite information is downloaded to the SRAM 23 by the download control program on the EPROM 22 as well. Then, the contents of the FRAM 24 are rewritten by copying the information on the SRAM 23 to the FRAM 24.

【0004】[0004]

【発明が解決しようとする課題】従来のフラッシュメモ
リ書き換え回路は、書き換え前のFRAMクリアによ
り、FRAM24の内容は全て消去されるので、FRA
M24に書き込む情報の全てを、SRAM23上にダウ
ンロードする必要がある。このため、この分だけ所要時
間が長くかかってしまう問題がある。また、ダウンロー
ドを装置間の共通バスによって行う場合、バスに負担を
かけるという問題もある。
In the conventional flash memory rewriting circuit, all the contents of the FRAM 24 are erased by clearing the FRAM before rewriting.
It is necessary to download all of the information written in M24 onto the SRAM 23. For this reason, there is a problem that the required time is extended by this amount. In addition, when downloading is performed by a common bus between devices, there is a problem that the bus is burdened.

【0005】本発明は、上記問題点にかんがみなされた
もので、フラッシュメモリの一部のみを書き換える場合
でもダウンロードする情報量を減らして所要時間を短く
し、バスの負担を増加させないフラッシュメモリ書き換
え回路の提供を目的とする。
The present invention has been made in view of the above problems. Even when only a part of a flash memory is rewritten, the amount of information to be downloaded is reduced to shorten the time required and the load on the flash memory is not increased. For the purpose of providing.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる本発明は、書き換えのプログラム
を保持するEPROMと、書き換え情報がダウンロード
されるSRAMと、上記SRAMから書き換え情報をコ
ピーされるフラッシュメモリと、上記のEPROM,S
RAM,フラッシュメモリを制御しかつ共通バスによっ
て接続するCPUとで構成した書き換え回路に対して、
書き換え前のフラッシュメモリ上の情報が一時退避さ
れ、フラッシュメモリへのコピー後に、この一時退避さ
せた情報をフラッシュメモリへ戻すレジスタを増設した
構成としてある。また、請求項2にかかる本発明は、上
記レジスタを、フラッシュメモリの全消去の前、書き換
え不要なエリアの情報が一時退避され、コピー後にこの
退避させた情報を戻すレジスタとした構成としてある。
In order to achieve the above object, the present invention according to claim 1 provides an EPROM for holding a rewriting program, an SRAM in which rewriting information is downloaded, and rewriting information copied from the SRAM. Flash memory and the above EPROM, S
For a rewrite circuit configured with a CPU that controls RAM and flash memory and that is connected by a common bus,
The information on the flash memory before rewriting is temporarily saved, and after copying to the flash memory, a register is added to return the temporarily saved information to the flash memory. Further, the present invention according to claim 2 is configured such that the register is a register in which information in an area that does not need to be rewritten is temporarily saved before full erasing of the flash memory and the copied information is returned after copying.

【0007】[0007]

【作用】上記のように構成した本発明においては、フラ
ッシュメモリの全消去前、書き換え前の情報をレジスタ
に一時退避させる。つぎに、フラッシュメモリの書き換
え後、退避させた情報をレジスタから戻す。
In the present invention configured as described above, the information before the entire erasing and rewriting of the flash memory is temporarily saved in the register. Next, after rewriting the flash memory, the saved information is returned from the register.

【0008】[0008]

【実施例】以下、本発明の一実施例を図1に基づいて説
明する。図1は、本実施例のフラッシュメモリ書き換え
回路を示すブロック図である。このフラッシュメモリ書
き換え回路は、CPU1,EPROM2,SRAM3,
FRAM(フラッシュメモリ)4,レジスタ5及びこれ
らを結ぶアドレスバス9とデータバス10とで構成され
る。ここでレジスタ5は、FRAM4の情報退避に用い
られる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIG. FIG. 1 is a block diagram showing a flash memory rewriting circuit of this embodiment. This flash memory rewriting circuit is composed of CPU1, EPROM2, SRAM3,
It is composed of an FRAM (flash memory) 4, a register 5, and an address bus 9 and a data bus 10 connecting these. Here, the register 5 is used for saving information in the FRAM 4.

【0009】また、CPU1は、RS232C回線6を
通じてFRAM書換え情報転送端末7とFRAM書換え
情報ファイル8とに接続されて、FRAM書換え情報転
送端末7を操作することで、FRAM書換え情報ファイ
ル8の書き換え情報がCPU1へ送信される。
Further, the CPU 1 is connected to the FRAM rewriting information transfer terminal 7 and the FRAM rewriting information file 8 through the RS232C line 6, and operates the FRAM rewriting information transfer terminal 7 to rewrite information of the FRAM rewriting information file 8. Is transmitted to the CPU 1.

【0010】次に、上記のフラッシュメモリ書き換え回
路の動作について説明する。EPROM2内のダウンロ
ード制御プログラムによって、SRAM3上にFRAM
4の書き換え情報をダウンロードする。FRAM4上に
おける書き換えないエリアの情報を、レジスタ5にコピ
ーし、EPROM2内のFRAMクリアプログラムによ
って、FRAM4の内容を全消去する。そして、SRA
M3上にダウンロードしたFRAM書換え情報を、消去
後のFRAM4上の書き換えるべきエリアにコピーす
る。さらに、レジスタ5に退避しておいた情報を、FR
AM4上の元の書き換えないエリアにコピーする。
Next, the operation of the above flash memory rewriting circuit will be described. FRAM on SRAM3 by the download control program in EPROM2
Download the rewrite information of 4. The information of the area that is not rewritten on the FRAM4 is copied to the register 5, and the contents of the FRAM4 are completely erased by the FRAM clear program in the EPROM2. And SRA
The FRAM rewriting information downloaded on M3 is copied to the area to be rewritten on the FRAM4 after erasing. Furthermore, the information saved in the register 5 is saved in the FR.
Copy to the original non-rewritable area on AM4.

【0011】これにより、レジスタ5に退避させていた
情報については、SRAM3へダウンロードする必要が
なく、ダウンロード情報量を大幅に減らして所要時間を
短縮し、かつバスの負担を軽減できる。
As a result, the information saved in the register 5 does not need to be downloaded to the SRAM 3, the amount of downloaded information can be greatly reduced, the required time can be shortened, and the load on the bus can be reduced.

【0012】[0012]

【発明の効果】以上のように本発明によると、情報を一
時退避させて、書き換え情報のみをダウンロードするよ
うにしたので、ダウンロード情報量を大幅に減らして所
要時間を短縮し、かつバスの負担を軽減できる。
As described above, according to the present invention, the information is temporarily saved and only the rewriting information is downloaded. Therefore, the amount of downloaded information is greatly reduced, the required time is shortened, and the load on the bus is reduced. Can be reduced.

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

【図1】本実施例のフラッシュメモリ書き換え回路のブ
ロック図。
FIG. 1 is a block diagram of a flash memory rewriting circuit according to an embodiment.

【図2】従来のフラッシュメモリ書き換え回路のブロッ
ク図。
FIG. 2 is a block diagram of a conventional flash memory rewriting circuit.

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

1,21 CPU 2,22 EPROM 3,23 SRAM 4,24 FRAM 5 レジスタ 9,29 アドレスバス 10,30 データバス 1,21 CPU 2,22 EPROM 3,23 SRAM 4,24 FRAM 5 register 9,29 address bus 10,30 data bus

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 書き換えのプログラムを保持するEPR
OMと、 書き換え情報がダウンロードされるSRAMと、 上記SRAMから書き換え情報をコピーされるフラッシ
ュメモリと、 上記のEPROM,SRAM,フラッシュメモリを制御
しかつ共通バスによって接続するCPUとで構成した書
き換え回路に対して、 書き換え前のフラッシュメモリ上の情報が一時退避さ
れ、フラッシュメモリへのコピー後に、この一時退避さ
せた情報をフラッシュメモリへ戻すレジスタを増設した
ことを特徴とするフラッシュメモリ書き換え回路。
1. An EPR holding a rewriting program.
A rewriting circuit composed of an OM, an SRAM in which rewriting information is downloaded, a flash memory in which the rewriting information is copied from the SRAM, and a CPU which controls the EPROM, SRAM, and flash memory and is connected by a common bus. On the other hand, the flash memory rewriting circuit is characterized in that the information in the flash memory before rewriting is temporarily saved, and after copying to the flash memory, a register is added to return the temporarily saved information to the flash memory.
【請求項2】 上記レジスタを、 フラッシュメモリの全消去の前、書き換え不要なエリア
の情報が一時退避され、コピー後にこの退避させた情報
を戻すレジスタとしたことを特徴とする請求項1に記載
したフラッシュメモリ書き換え回路。
2. The register according to claim 1, wherein the information in the area that does not need to be rewritten is temporarily saved before full erasing of the flash memory, and the saved information is returned after copying. Flash memory rewriting circuit.
JP6962792A 1992-02-19 1992-02-19 Flash memory rewriting circuit Pending JPH05233478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6962792A JPH05233478A (en) 1992-02-19 1992-02-19 Flash memory rewriting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6962792A JPH05233478A (en) 1992-02-19 1992-02-19 Flash memory rewriting circuit

Publications (1)

Publication Number Publication Date
JPH05233478A true JPH05233478A (en) 1993-09-10

Family

ID=13408296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6962792A Pending JPH05233478A (en) 1992-02-19 1992-02-19 Flash memory rewriting circuit

Country Status (1)

Country Link
JP (1) JPH05233478A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020053918A (en) * 2000-12-26 2002-07-06 이계안 Reprogramming method of a flash rom
US6571312B1 (en) 1999-02-19 2003-05-27 Mitsubishi Denki Kabushiki Kaisha Data storage method and data processing device using an erasure block buffer and write buffer for writing and erasing data in memory
KR100428803B1 (en) * 2001-11-20 2004-04-29 엘지전자 주식회사 Apparatus and method for program download in MCU board
US6795890B1 (en) 1999-02-19 2004-09-21 Mitsubishi Denki Kabushiki Kaisha Data storage method, and data processing device using an erasure block buffer and write buffer for writing and erasing data in memory
JP2009004038A (en) * 2007-06-22 2009-01-08 New Japan Radio Co Ltd Semiconductor integrated circuit
US8406059B2 (en) 2009-12-24 2013-03-26 Samsung Electronics Co., Ltd. Nonvolatile semiconductor memory devices, data updating methods thereof, and nonvolatile semiconductor memory systems

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571312B1 (en) 1999-02-19 2003-05-27 Mitsubishi Denki Kabushiki Kaisha Data storage method and data processing device using an erasure block buffer and write buffer for writing and erasing data in memory
US6795890B1 (en) 1999-02-19 2004-09-21 Mitsubishi Denki Kabushiki Kaisha Data storage method, and data processing device using an erasure block buffer and write buffer for writing and erasing data in memory
KR20020053918A (en) * 2000-12-26 2002-07-06 이계안 Reprogramming method of a flash rom
KR100428803B1 (en) * 2001-11-20 2004-04-29 엘지전자 주식회사 Apparatus and method for program download in MCU board
JP2009004038A (en) * 2007-06-22 2009-01-08 New Japan Radio Co Ltd Semiconductor integrated circuit
US8406059B2 (en) 2009-12-24 2013-03-26 Samsung Electronics Co., Ltd. Nonvolatile semiconductor memory devices, data updating methods thereof, and nonvolatile semiconductor memory systems

Similar Documents

Publication Publication Date Title
JP3898305B2 (en) Semiconductor storage device, control device and control method for semiconductor storage device
KR100631770B1 (en) Real time processing method of flash memory
KR930009669B1 (en) Microprocessor with cache memory
JPH05233478A (en) Flash memory rewriting circuit
KR19980022845A (en) System and method for saving power when writing to nonvolatile memory
KR100458100B1 (en) Data processing device
JPH0581012A (en) Firmware rewrite system for information processor
JP2002007152A (en) Download method and download device
JPH04235632A (en) Program loading method
JP3186758B2 (en) Mobile terminal device
JPH05189584A (en) Microcomputer
JPH09152969A (en) Software updating device of electronic equipment
JPH03220651A (en) Writing system for non-volatile memory
JP2001184255A (en) Electronic equipment, and storage medium with memory control program recorded thereon
JPH04283837A (en) Program loading method
JPH07287605A (en) Engine controller
JP2000082122A (en) Memory card
JPH08138005A (en) Data write system for flash memory card
JPS5818719B2 (en) ROM backup touch
JP2005025441A (en) Method for updating application program of ic card
JPH07129333A (en) Semiconductor disk device
JPH08249235A (en) Caching system
Hazen Using Intel's Boot Block Flash Memory Parameter Blocks To Replace Eeprom
JPH0628289A (en) Communication terminal equipment
JPH0533249U (en) Information storage device