JPH05158680A - Rom rewrite processing system - Google Patents

Rom rewrite processing system

Info

Publication number
JPH05158680A
JPH05158680A JP32275491A JP32275491A JPH05158680A JP H05158680 A JPH05158680 A JP H05158680A JP 32275491 A JP32275491 A JP 32275491A JP 32275491 A JP32275491 A JP 32275491A JP H05158680 A JPH05158680 A JP H05158680A
Authority
JP
Japan
Prior art keywords
rom
ram
rewriting
program
written
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.)
Withdrawn
Application number
JP32275491A
Other languages
Japanese (ja)
Inventor
Tadashi Takizawa
規 滝澤
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.)
Niigata Fuji Xerox Manufacturing Co Ltd
Original Assignee
Niigata Fuji Xerox Manufacturing Co 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 Niigata Fuji Xerox Manufacturing Co Ltd filed Critical Niigata Fuji Xerox Manufacturing Co Ltd
Priority to JP32275491A priority Critical patent/JPH05158680A/en
Publication of JPH05158680A publication Critical patent/JPH05158680A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To guard the writing of an electrically rewritable ROM and to make the ROM rewriting process easy for a user. CONSTITUTION:An electrically rewritable ROM 3 is stored with a utility program which rewrites a program stored in the ROM 3 and a SW9 which inhibits the writing of the ROM 3 is provided; when the program stored in the ROM 3 is corrected, the utility program and all programs in the ROM 3 are temporarily loaded in a RAM 2, a utility program stored in the RAM 2 corrects all the programs, and after the rewriting switching of the SW 9 and the input of ROM rewriting from a KB 5 are checked, all the corrected programs are written in the ROM 2 from the RAM 2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はROM書替え処理方式に
関し、特にフラッシュ型のEEPROMの書替え処理方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ROM rewriting processing system, and more particularly to a flash EEPROM rewriting processing system.

【0002】[0002]

【従来の技術】従来、この種のROM書替え処理方式
は、その書替え処理プログラムを実装しているパーソナ
ルコンピュータで実行する場合に次の方式がある。
2. Description of the Related Art Conventionally, this type of ROM rewriting processing method has the following method when it is executed by a personal computer having the rewriting processing program installed therein.

【0003】ROMに対する書込みのガード処理に関し
ては、ハードウェアの物理的なスイッチの状態により、
書込みのディセーブルとイネーブルの設定を決定し、特
定のスイッチ条件の時のみ、ROMへの書込みをBIO
S(Basic InputOutput Syste
m)で許可するようになっている。
Regarding the write guard processing to the ROM, depending on the physical switch state of the hardware,
Determines whether to disable or enable writing, and writes to ROM only under specific switch conditions.
S (Basic Input Output System)
The permission is given in m).

【0004】又、ROMの書替え処理に関しては、フロ
ッピィディスク等の別メディアの形でユーティリティと
して提供され、ROM BIOSからブート利用できる
ようになっている。
Regarding the rewriting process of the ROM, it is provided as a utility in the form of another medium such as a floppy disk and can be booted from the ROM BIOS.

【0005】[0005]

【発明が解決しようとする課題】この従来のROM書替
え処理方式は次の問題点がある。
The conventional ROM rewriting processing system has the following problems.

【0006】ROMに対するガード処理が物理的なスイ
ッチによる単一の為、利用者側の誤操作でROMの書替
え処理を不正に実行してしまう場合がある。
Since the guard process for the ROM is a single physical switch, the ROM rewriting process may be illegally executed by the user's erroneous operation.

【0007】又、フロッピィディスクのような別メディ
アの形式で書替え用ユーティリティプログラムを用意す
る必要がある為、別にコンピュータシステムに対してユ
ーティリティプログラムを格納する記憶メディアの添付
品が存在しなければならず、利用者の取り扱いが面倒で
ある。
Further, since it is necessary to prepare a rewriting utility program in the form of another medium such as a floppy disk, a storage medium attachment for storing the utility program must be separately provided for the computer system. However, the handling of the user is troublesome.

【0008】[0008]

【課題を解決するための手段】本発明のROM書替え処
理方式は、中央処理装置に少なくともRAM,CRT,
キーボード及び電気的に書替え可能なROMを接続して
成るコンピュータシステムのROM書替え処理方式にお
いて、前記ROMを書込み可能にさせる手動のスイッチ
を備え、前記ROMに前記ROMの書替えの処理を行う
ユーティリティプログラムを格納し、前記ROMを書替
えする場合に前記スイッチが書込可能状態側か第1のチ
ェックを行い、前記キーボードから書替え用の予め定め
られたキーが押下されたか第2のチェックを行い、前記
第1および第2のチェックが書替え状態になっている場
合に前記ROMに格納されている前記ユーティリティプ
ログラムを前記RAMへ移し、前記ROMに格納されて
いるすべてのプログラムを前記RAMに移し、前記RA
Mに移されたユーティリティプログラムの実行によっ
て、前記ROMに格納されていた前記すべてのプログラ
ムが修正された新らしいプログラムを前記RAMに書込
み、前記RAMに書込まれた前記新らしいプログラムを
前記ROMに書込む処理を有している。
According to the ROM rewriting processing method of the present invention, at least the RAM, CRT,
In a ROM rewriting processing system of a computer system comprising a keyboard and an electrically rewritable ROM connected to the ROM rewriting processing system, a manual switch for making the ROM writable is provided, and the ROM is provided with a utility program for rewriting the ROM. When storing and rewriting the ROM, a first check is made as to whether the switch is in the write enabled state, and a second check is made as to whether or not a predetermined key for rewriting has been pressed from the keyboard. When the first and second checks are in the rewriting state, the utility program stored in the ROM is transferred to the RAM, all the programs stored in the ROM are transferred to the RAM, and the RA
By executing the utility program transferred to M, a new program in which all the programs stored in the ROM are modified is written in the RAM, and the new program written in the RAM is written in the ROM. It has a writing process.

【0009】[0009]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0010】図1は本発明の一実施例を適用するパーソ
ナルコンピュータシステムを示すブロック図、図2は図
1に示す本適用例における本発明の一実施例のROM書
替え処理の手順を示すフローチャートである。
FIG. 1 is a block diagram showing a personal computer system to which an embodiment of the present invention is applied, and FIG. 2 is a flowchart showing a procedure of a ROM rewriting process of an embodiment of the present invention shown in FIG. is there.

【0011】図1において、本適用例のパーソナルコン
ピュータシステムは、ROM3自身の書替え用のユーテ
ィリティプログラムを格納しているROM3と、ROM
3の内容の書替えを可能にさせるスイッチ(以下SW)
9と、ROM3に格納されてある全プログラムの書替え
用の記憶エリアを有するRAM2と、プログラム書替え
データの入力用のキーボード(以下KB)5と、オペレ
ーティングシステム用のプログラムを格納しROM3の
旧プログラムの格納等に使用するフロッピーディスク装
置(以下FD)7と、プログラムの変更等に使用するC
RT6と、KB5,CRT6,FD7を制御する入出力
制御部(以下IOC)4と、本適用例全体をバス8を介
して制御する中央処理部(以下CPU)1とを有して構
成している。
In FIG. 1, the personal computer system of this application example has a ROM 3 in which a utility program for rewriting the ROM 3 itself is stored, and a ROM
Switch that enables rewriting of the contents of 3 (hereinafter SW)
9, a RAM 2 having a storage area for rewriting all programs stored in the ROM 3, a keyboard (hereinafter referred to as KB) 5 for inputting program rewriting data, and a program for the operating system, which stores the old program in the ROM 3. Floppy disk device (FD) 7 used for storage and C used for changing programs
An RT6, an input / output control unit (hereinafter referred to as IOC) 4 for controlling the KB5, CRT6 and FD7, and a central processing unit (hereinafter referred to as CPU) 1 for controlling the entire application example via a bus 8 are configured. There is.

【0012】次に、本適用例において本実施例のROM
の書替え処理方式について図1,図2を併用して説明す
る。
Next, in this application example, the ROM of this embodiment
The rewriting processing method will be described with reference to FIGS.

【0013】まず、SW9,およびKB5からの入力に
よって、ROM3の書替え処理が可能かどうかハードウ
ェア条件、ソフトウェア条件をチェックする(S1)。
次に、RAM2の空エリアにROM3のユーティリティ
プログラムをコピーし(S2)、RAM2上でユーティ
リティプログラムを起動する(S3)。以後、RAM3
上で実行されるユーティリティプログラムによりROM
3の内容の書替え処理を行う。
First, the hardware and software conditions are checked to see if the rewriting process of the ROM 3 is possible by the inputs from the SW 9 and the KB 5 (S1).
Next, the utility program of ROM3 is copied to the empty area of RAM2 (S2), and the utility program is started on RAM2 (S3). After that, RAM3
ROM by the utility program executed on
The rewriting process of the contents of 3 is performed.

【0014】まず、ROM3に格納されてある全てのプ
ログラムをRAM2にロードする(S4)。ユーティリ
ティプログラムによってKB5,CRT6を使用しての
ROM3に格納されて全てのプログラムの編集処理が行
われRAM2に書込まれる(S5)。ROM3に対する
書込み禁止の解除処理を行う(S6)。RAM2に編集
された新らしいプログラムとユーティリティプログラム
をROM3に書込む(S7)。ROM3への書込みが終
了するとROM3への書込みを禁止する処理を行う(S
8)。
First, all programs stored in the ROM 3 are loaded into the RAM 2 (S4). The utility program stores the programs in the ROM 3 using the KB5 and the CRT 6 and edits all the programs to write them in the RAM 2 (S5). A write-protection release process for the ROM 3 is performed (S6). The new program and utility program edited in RAM2 are written in ROM3 (S7). When the writing to the ROM3 is completed, the process of prohibiting the writing to the ROM3 is performed (S
8).

【0015】ROM3への新らしいプログラムの書込み
終了後ROM3は通常の動作に移る。又、SW9は書込
み禁止にセットされる。
After the writing of the new program to the ROM 3 is completed, the ROM 3 shifts to the normal operation. Also, SW9 is set to write-protected.

【0016】[0016]

【発明の効果】以上説明したように本発明は、中央処理
装置に少なくともRAM,CRT,キーボード及び電気
的に書替え可能なROMを接続して成るコンピュータシ
ステムのROM書替え処理方式において、ROMを書込
み可能にさせる手動のスイッチを備え、ROMにROM
の書替えの処理を行うユーティリティプログラムを格納
し、ROMを書替えする場合にスイッチの書込可能状態
側か第1のチェックを行い、キーボードから書替え用の
予め定められたキーが押下されたか第2のチェックを行
い、第1および第2のチェックが書替え状態になってい
る場合にROMに格納されているユーティリティプログ
ラムをRAMへ移し、ROMに格納されているすべての
プログラムをRAMに移し、RAMに移されたユーティ
リティプログラムの実行によって、ROMに格納されて
いたすべてのプログラムが修正された新らしいプログラ
ムをRAMに書込み、RAMに書込まれた新らしいプロ
グラムをROMに書込む処理を有することにより、RO
M書込みに対する二重のカードを行うので、利用者の誤
操作による内容破壊の可能性を従来より少なくすること
ができる効果がある。
As described above, according to the present invention, the ROM can be written in the ROM rewriting processing system of the computer system in which at least the RAM, the CRT, the keyboard and the electrically rewritable ROM are connected to the central processing unit. ROM is equipped with a manual switch to
When a ROM is rewritten, a first check is made as to whether the switch is in the writable state or not, and a predetermined key for rewriting is pressed from the keyboard. When the check is performed and the first and second checks are in the rewriting state, the utility program stored in the ROM is transferred to the RAM, all the programs stored in the ROM are transferred to the RAM, and then transferred to the RAM. By executing the executed utility program, a new program in which all the programs stored in the ROM are modified is written in the RAM, and the new program written in the RAM is written in the ROM.
Since a double card for M writing is performed, there is an effect that it is possible to reduce the possibility of contents destruction due to a user's erroneous operation as compared with the conventional case.

【0017】又、コンピュータシステムに対しROM書
替え用のプログラムが格納されている別の記憶メディア
を利用者が用意する必要性をなくすることができる効果
がある。
Further, it is possible to eliminate the need for the user to prepare another storage medium in which the ROM rewriting program is stored for the computer system.

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

【図1】本発明の一実施例を適用するパーソナルコンピ
ュータシステムを示すブロック図である。
FIG. 1 is a block diagram showing a personal computer system to which an embodiment of the present invention is applied.

【図2】図1に示す本適用例における本発明の一実施例
のROM書替え処理の手順を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a procedure of a ROM rewriting process of an embodiment of the present invention in the application example shown in FIG.

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

1 中央処理装置(CPU) 2 RAM 3 ROM 4 入出力制御部(IOC) 5 キーボード(KB) 6 表示部(CRT) 7 フロッピーディスク(FD) 8 バス 9 スイッチ(SW) 1 central processing unit (CPU) 2 RAM 3 ROM 4 input / output control unit (IOC) 5 keyboard (KB) 6 display unit (CRT) 7 floppy disk (FD) 8 bus 9 switch (SW)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置に少なくともRAM,CR
T,キーボード及び電気的に書替え可能なROMを接続
して成るコンピュータシステムのROM書替え処理方式
において、前記ROMを書込み可能にさせる手動のスイ
ッチを備え、前記ROMに前記ROMの書替えの処理を
行うユーティリティプログラムを格納し、前記ROMを
書替えする場合に前記スイッチが書込可能状態側か第1
のチェックを行い、前記キーボードから書替え用の予め
定められたキーが押下されたか第2のチェックを行い、
前記第1および第2のチェックが書替え状態になってい
る場合に前記ROMに格納されている前記ユーティリテ
ィプログラムを前記RAMへ移し、前記ROMに格納さ
れているすべてのプログラムを前記RAMに移し、前記
RAMに移されたユーティリティプログラムの実行によ
って、前記ROMに格納されていた前記すべてのプログ
ラムが修正された新らしいプログラムを前記RAMに書
込み、前記RAMに書込まれた前記新らしいプログラム
を前記ROMに書込む処理を有することを特徴とするR
OM書替え処理方式。
1. The central processing unit includes at least a RAM and a CR.
In a ROM rewriting method of a computer system, which is configured by connecting a T, a keyboard, and an electrically rewritable ROM, a utility that includes a manual switch that makes the ROM writable, and performs the ROM rewriting process on the ROM When the program is stored and the ROM is rewritten, whether the switch is in the writable side or the first
And a second check whether a predetermined key for rewriting is pressed from the keyboard,
When the first and second checks are in the rewriting state, the utility program stored in the ROM is transferred to the RAM, all the programs stored in the ROM are transferred to the RAM, and By executing the utility program transferred to the RAM, a new program in which all the programs stored in the ROM are modified is written in the RAM, and the new program written in the RAM is written in the ROM. R characterized by having a writing process
OM rewrite processing method.
JP32275491A 1991-12-06 1991-12-06 Rom rewrite processing system Withdrawn JPH05158680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32275491A JPH05158680A (en) 1991-12-06 1991-12-06 Rom rewrite processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32275491A JPH05158680A (en) 1991-12-06 1991-12-06 Rom rewrite processing system

Publications (1)

Publication Number Publication Date
JPH05158680A true JPH05158680A (en) 1993-06-25

Family

ID=18147273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32275491A Withdrawn JPH05158680A (en) 1991-12-06 1991-12-06 Rom rewrite processing system

Country Status (1)

Country Link
JP (1) JPH05158680A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6990661B2 (en) 1996-04-09 2006-01-24 International Business Machines Corporation Apparatus and method for downloading data to electronic device
JP2006298260A (en) * 2005-04-22 2006-11-02 Denso Corp Control system for automobile
JP2012022432A (en) * 2010-07-13 2012-02-02 Hitachi Automotive Systems Ltd Embedded control device, developing method for embedded control device, and embedded control program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6990661B2 (en) 1996-04-09 2006-01-24 International Business Machines Corporation Apparatus and method for downloading data to electronic device
JP2006298260A (en) * 2005-04-22 2006-11-02 Denso Corp Control system for automobile
JP2012022432A (en) * 2010-07-13 2012-02-02 Hitachi Automotive Systems Ltd Embedded control device, developing method for embedded control device, and embedded control program

Similar Documents

Publication Publication Date Title
US5748940A (en) Secure updating of non-volatile memory
US6675295B1 (en) Method and computer system for detecting and correcting a failure in a computer application program during startup
US7600127B2 (en) System and method for ISO image update and ISO image deconstruction into modular components
KR100929870B1 (en) How to keep BIOS security of computer system
JP3838840B2 (en) Computer
US7584350B2 (en) Method for booting up software in the boot sector of a programmable read-only memory
US6427236B1 (en) Method for installing a patch based on patch criticality and software execution format
CN110908932B (en) Data processing apparatus and data protection method thereof
JP2005316599A (en) Interrupt controller
US7657716B2 (en) Save and restore of a protected area
US20020023224A1 (en) Computer software installation
US6591366B1 (en) Method and configuration for loading data for basic system routines of a data processing system
JP2000163268A (en) Computer
JPH05158680A (en) Rom rewrite processing system
KR20020007090A (en) Method and system for booting recovery a computer
WO2009029450A1 (en) Method of restoring previous computer configuration
US20050138263A1 (en) Method and apparatus to retain system control when a buffer overflow attack occurs
JPH0223427A (en) Personal computer
JP2001117791A (en) Interruption instruction checker and recording medium
JP3480957B2 (en) Memory programming equipment
JP3292448B2 (en) Application program uninstallation method and computer
JPH09330216A (en) Bios rewriting system
JPH11167525A (en) Nonvolatile-memory mixedly mounted microcomputer and nonvolatile memory rewriting method thereof, and recording medium where nonvolatile memory rewriting program of nonvolatile-memory mixedly mounted microcomputer is recorded
JPH11237983A (en) One-chip microcomputer and entry method for accessing boot area in the one-chip microcomputer
JPH07253931A (en) Destruction prevention system for program data storage area

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990311