JPH0651977A - Software reloading system - Google Patents

Software reloading system

Info

Publication number
JPH0651977A
JPH0651977A JP20460592A JP20460592A JPH0651977A JP H0651977 A JPH0651977 A JP H0651977A JP 20460592 A JP20460592 A JP 20460592A JP 20460592 A JP20460592 A JP 20460592A JP H0651977 A JPH0651977 A JP H0651977A
Authority
JP
Japan
Prior art keywords
reset
fram
microprocessor
circuit
rewriting
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
JP20460592A
Other languages
Japanese (ja)
Inventor
Keizo Minamimura
恵三 南村
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 JP20460592A priority Critical patent/JPH0651977A/en
Publication of JPH0651977A publication Critical patent/JPH0651977A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To omit the physical exchange of an EPROM whose function is updated and to save expenses by connecting FRAM(flash RAM) reload data transfer equipment to a microprocessor loading device via a network. CONSTITUTION:The microprocessor loading device 20 is equipped with the flash RAM(FRAM) 26 which stores an on-line program to reload firmware, the EPROM 25 which stores a program to reload the FRAM 26, a reload data storage circuit 23, an OR circuit 21 which reloads a reset generator and the FRAM 26 ordinarily and takes the OR of a reset signal from the reset generator, a holding circuit 24 which holds the reload reset factor of the FRAM 26, a microprocessor 22, and a microprocessor bus 27. The microprocessor 22 can be reset via the reset OR circuit 21 by issuing reset output from an FRAM reload reset generator 40.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はファームウェア書き換え
方式に関し、特にフラッシュRAM(特定のピンに一定
の電圧を印加することにより消去・書き込み可能な不揮
発性メモリ)を使ったファームウェア書き換え方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a firmware rewriting method, and more particularly to a firmware rewriting method using a flash RAM (nonvolatile memory that can be erased / written by applying a constant voltage to a specific pin).

【0002】[0002]

【従来の技術】従来、マイクロプロセッサ搭載装置に搭
載されたハードウェア組み込み用ソフトウェア(ファー
ムウェア)は紫外線を照射して内容を消去するEPRO
M(Erasable and Programmab
le ROM)にすべて書き込まれており、機能追加に
よる更新時には、装置に直接紫外線を照射することはで
きないので、EPROMの物理的な交換を行っていた。
2. Description of the Related Art Conventionally, hardware-embedded software (firmware) installed in a microprocessor-equipped device erases contents by irradiating ultraviolet rays.
M (Erasable and Programmab
Le ROM), and the device cannot be directly irradiated with ultraviolet rays at the time of updating by adding a function, so the EPROM was physically replaced.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のファー
ムウェア書き換え方式は、EPROMの物理的な交換作
業が必要であることから、取り替えに莫大な人件費を費
やすことになるという問題点があった。
The above-mentioned conventional firmware rewriting method has a problem that a huge labor cost is required for replacement because the physical replacement work of the EPROM is required.

【0004】[0004]

【課題を解決するための手段】本発明のファームウェア
書き換え方式は、マイクロプロセッサ搭載装置はファー
ムウェアを書き換えるために、オンラインプログラムを
格納するフラッシュRAMと、このフラッシュRAMを
書き換えるためのプログラムを格納するEPROMと、
書き換えデータ格納回路と、通常リセット発生装置及び
フラッシュRAM書き換えリセット発生装置からのリセ
ット信号の論理和を取る論理和回路と、前記フラッシュ
RAM書き換えリセット要因を保持する保持回路と、マ
イクロプロセッサと、マイクロプロセッサバスとを備え
ている。
According to the firmware rewriting method of the present invention, a microprocessor-equipped device includes a flash RAM for storing an online program for rewriting the firmware, and an EPROM for storing a program for rewriting the flash RAM. ,
A rewrite data storage circuit, a logical sum circuit that takes the logical sum of reset signals from the normal reset generator and the flash RAM rewrite reset generator, a holding circuit that holds the flash RAM rewrite reset factor, a microprocessor, and a microprocessor It is equipped with a bus.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例を示すブロック図、図2は
図1におけるフラッシュRAM書き換えの動作フローチ
ャートである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is an operation flowchart for rewriting the flash RAM in FIG.

【0006】図1に示すように、本実施例のマイクロプ
ロセッサ搭載装置20では、通常リセット(フラッシュ
RAM書き換えを行なわないリセット)発生装置30に
接続される300とフラッシュRAM(以下FRAM)
書き換えリセット発生装置40に接続される端子400
とをリセット論理和回路21に接続し、リセット論理和
回路21の端子210がマイクロプロセッサ22のリセ
ット端子に接続されている。また、FRAM書き換えリ
セット発生装置40に接続される端子400はFRAM
書き換えリセット要因を保持する保持回路24に接続さ
れている。FRAM書き換えデータ転送装置10に接続
される端子100はFRAM書き換えデータ格納回路2
3に接続されている。FRAM書き換えプログラムが搭
載されたEPROM25,オンラインプログラムが搭載
されたFRAM26,保持回路24,FRAM書き換え
データ格納回路23はマイクロプロセッサバス27で接
続されており、マイクロプロセッサ22によりアクセス
可能である。
As shown in FIG. 1, in the microprocessor-equipped device 20 of this embodiment, a normal reset (reset without flash RAM rewriting) generator 300 and a flash RAM (hereinafter FRAM) are connected.
Terminal 400 connected to the rewrite reset generator 40
Are connected to the reset OR circuit 21, and the terminal 210 of the reset OR circuit 21 is connected to the reset terminal of the microprocessor 22. Further, the terminal 400 connected to the FRAM rewrite reset generator 40 is an FRAM.
It is connected to a holding circuit 24 that holds a rewrite reset factor. The terminal 100 connected to the FRAM rewrite data transfer device 10 is an FRAM rewrite data storage circuit 2
Connected to 3. The EPROM 25 in which the FRAM rewriting program is installed, the FRAM 26 in which the online program is installed, the holding circuit 24, and the FRAM rewriting data storage circuit 23 are connected by the microprocessor bus 27 and are accessible by the microprocessor 22.

【0007】次に本実施例のFRAM書き換え動作につ
いて図2を併用して説明を行なう。FRAM書き換えリ
セット発生装置40からリセット出力を行ない、リセッ
ト論理和回路21経由でマイクロプロセッサ22がリセ
ットされる。このリセットによりEPROM25のFR
AM書き換えプログラムが動作し、図2に示す動作フロ
ーにより処理を行なう。
Next, the FRAM rewriting operation of this embodiment will be described with reference to FIG. The FRAM rewrite reset generator 40 outputs a reset signal, and the microprocessor 22 is reset via the reset OR circuit 21. FR of EPROM25 by this reset
The AM rewriting program operates and performs processing according to the operation flow shown in FIG.

【0008】即ち、マイクロプロセッサ22は保持回路
24をマイクロプロセッサバス27経由で読み(S
1)、通常リセットでない(FRAM書き換えリセット
指示である)ことを認識すると(S2でYes)、EP
ROM25上のFRAM書き換えプログラムが動作す
る。次に、FRAM書き換えデータ転送装置10がFR
AM書き換えデータをFRAM書き換えデータ格納回路
23に転送し、EPROM25上のFRAM書き換えプ
ログラムによってFRAM26に対してFRAM書き換
え処理を行なった(S3)後、FRAM26上にあるオ
ンラインプログラムを起動する(S4)。一方、通常リ
セットの場合(S2でNo)、FRAM書き換え処理を
行なわないで、既に存在しているFRAM26上のオン
ラインプログラムを起動する(S4)。
That is, the microprocessor 22 reads the holding circuit 24 via the microprocessor bus 27 (S
1) When recognizing that it is not a normal reset (FRAM rewrite reset instruction) (Yes in S2), EP
The FRAM rewriting program on the ROM 25 operates. Next, the FRAM rewrite data transfer device 10 is FR
The AM rewrite data is transferred to the FRAM rewrite data storage circuit 23, the FRAM rewrite program on the EPROM 25 performs the FRAM rewrite processing on the FRAM 26 (S3), and then the online program on the FRAM 26 is activated (S4). On the other hand, in the case of normal reset (No in S2), the online program on the existing FRAM 26 is activated without performing the FRAM rewriting process (S4).

【0009】[0009]

【発明の効果】以上説明したように本発明は、マイクロ
プロセッサ搭載装置に搭載されたファームウェアを書き
換えるために、オンラインプログラムを格納するFRA
Mと、FRAMを書き換えるためのプログラムを格納す
るEPROMと、書き換えデータ格納回路と、通常リセ
ット(FRAM書き換えを行なわないリセット)発生装
置及びFRAM書き換えリセット発生装置からのリセッ
ト信号の論理和を取る論理和回路と、FRAM書き換え
リセット要因を保持する保持回路と、マイクロプロセッ
サと、マイクロプロセッサバスとを備え、例えば、FR
AM書き換えデータ転送装置をネットワークを介してマ
イクロプロセッサ搭載装置に接続することにより、オン
ラインで機能追加ができ、機能更新されたEPROMを
物理的に交換しなくて済むので、大幅な経費削減が実現
されるという効果を有する。
As described above, according to the present invention, an FRA that stores an online program in order to rewrite the firmware installed in a microprocessor-equipped device
M, an EPROM for storing a program for rewriting the FRAM, a rewriting data storage circuit, a normal reset (reset without FRAM rewriting) generator, and a logical sum of reset signals from the FRAM rewriting reset generator A circuit, a holding circuit for holding FRAM rewrite reset factors, a microprocessor, and a microprocessor bus.
By connecting the AM rewrite data transfer device to the microprocessor-equipped device via the network, it is possible to add functions online, and it is not necessary to physically replace the EPROM whose function has been updated. Has the effect of

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

【図1】本発明の一実施例を示すマイクロプロセッサ搭
載装置のブロック図である。
FIG. 1 is a block diagram of a microprocessor-mounted device showing an embodiment of the present invention.

【図2】図1におけるFRAM書き換えの動作フローチ
ャートである。
FIG. 2 is an operation flowchart of FRAM rewriting in FIG.

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

10 FRAM書き換えデータ転送装置 20 マイクロプロセッサ搭載装置 21 リセット論理和回路 22 マイクロプロセッサ 23 FRAM書き換えデータ格納回路 24 保持回路 25 EPROM 26 FRAM 27 マイクロプロセッサバス 30 通常リセット発生装置 40 FRAM書き換えリセット発生装置 10 FRAM rewriting data transfer device 20 Microprocessor mounting device 21 Reset OR circuit 22 Microprocessor 23 FRAM rewriting data storage circuit 24 Holding circuit 25 EPROM 26 FRAM 27 Microprocessor bus 30 Normal reset generation device 40 FRAM rewriting reset generation device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マイクロプロセッサ搭載装置はファーム
ウェアを書き換えるために、オンラインプログラムを格
納するフラッシュRAMと、このフラッシュRAMを書
き換えるためのプログラムを格納するEPROMと、書
き換えデータ格納回路と、通常リセット発生装置及びフ
ラッシュRAM書き換えリセット発生装置からのリセッ
ト信号の論理和を取る論理和回路と、前記フラッシュR
AM書き換えリセット要因を保持する保持回路と、マイ
クロプロセッサと、マイクロプロセッサバスとを備える
ことを特徴とするファームウェア書き換え方式。
1. A microprocessor-equipped device, in order to rewrite firmware, a flash RAM for storing an online program, an EPROM for storing a program for rewriting this flash RAM, a rewriting data storage circuit, a normal reset generator, and A logical sum circuit for taking the logical sum of the reset signals from the flash RAM rewrite reset generator, and the flash R
A firmware rewriting method comprising: a holding circuit for holding an AM rewriting reset factor, a microprocessor, and a microprocessor bus.
JP20460592A 1992-07-31 1992-07-31 Software reloading system Pending JPH0651977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20460592A JPH0651977A (en) 1992-07-31 1992-07-31 Software reloading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20460592A JPH0651977A (en) 1992-07-31 1992-07-31 Software reloading system

Publications (1)

Publication Number Publication Date
JPH0651977A true JPH0651977A (en) 1994-02-25

Family

ID=16493232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20460592A Pending JPH0651977A (en) 1992-07-31 1992-07-31 Software reloading system

Country Status (1)

Country Link
JP (1) JPH0651977A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400564B1 (en) * 1996-01-20 2003-12-11 엘지전자 주식회사 Apparatus for changing functions of vcr

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6432338A (en) * 1987-07-29 1989-02-02 Toshiba Corp System for loading firmware
JPH0287227A (en) * 1988-09-22 1990-03-28 Nec Corp Data processor
JPH04112309A (en) * 1990-09-03 1992-04-14 Fujitsu Ltd Restart system for control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6432338A (en) * 1987-07-29 1989-02-02 Toshiba Corp System for loading firmware
JPH0287227A (en) * 1988-09-22 1990-03-28 Nec Corp Data processor
JPH04112309A (en) * 1990-09-03 1992-04-14 Fujitsu Ltd Restart system for control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400564B1 (en) * 1996-01-20 2003-12-11 엘지전자 주식회사 Apparatus for changing functions of vcr

Similar Documents

Publication Publication Date Title
JP3692313B2 (en) Nonvolatile memory control method
JPH08202626A (en) Memory controller
JPH05233464A (en) Method for rewriting data in eeprom and eeprom card
TW347517B (en) Programming of software into programmable memory
US5495518A (en) Car telephone apparatus having operational control program replacing function
JPS61227300A (en) Writing method to electrically changeable rom
US6738887B2 (en) Method and system for concurrent updating of a microcontroller's program memory
JPH0651977A (en) Software reloading system
JPH0581012A (en) Firmware rewrite system for information processor
JP2000243093A (en) Data storing method for flash memory and data reading out method from flash memory
JPH05233478A (en) Flash memory rewriting circuit
JPH06139063A (en) Firmware rewriting system
JPH1011277A (en) Computer device with electrically rewritable nonvolatile memory and nonvolatile semiconductor memory
JP3480957B2 (en) Memory programming equipment
JPS6015896A (en) High speed write system of memory device
US7849279B2 (en) Method for the secure updating data areas in non volatile memory, device to perform such a method
JPH0644064A (en) Firmware reloading system
JPH10161942A (en) Method, device for storing information, and information processor
JP2001092713A (en) Device and method for writing data
JP2524321Y2 (en) IC card
JPH06180993A (en) Programming device for memory
JPH1050087A (en) Disk copy device of memory disk and disk copy method
JPH10198568A (en) Device and method for flash memory writing
JPH11328039A (en) Device and method for memory control and computer-readable storage medium having stored program
RU13511U1 (en) COMPUTER MODULE

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980512