JPH113222A - Information processor - Google Patents

Information processor

Info

Publication number
JPH113222A
JPH113222A JP9154786A JP15478697A JPH113222A JP H113222 A JPH113222 A JP H113222A JP 9154786 A JP9154786 A JP 9154786A JP 15478697 A JP15478697 A JP 15478697A JP H113222 A JPH113222 A JP H113222A
Authority
JP
Japan
Prior art keywords
module
rom
ram
program
stored
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
JP9154786A
Other languages
Japanese (ja)
Inventor
Yoichi Kawabata
陽一 川端
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP9154786A priority Critical patent/JPH113222A/en
Publication of JPH113222A publication Critical patent/JPH113222A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the time and labor which are needed for production of a patch program by reading a module out of an information reading means to store it in a RAM and using this module in place of a faulty module stored in a ROM. SOLUTION: A CPU 13 checks whether a desired module is stored in a ROM 14. If the desired module is stored in the ROM 14, its checked via the initialization processing whether or not the value of a module management table corresponding to the module is invalid (FFFFh). If the table value is invalid, the module is read out of an optical disk 17 and executed like the case where the module is not stored in the ROM 14. Thus, the correcting part of the ROM 14 is copied to a RAM 15 from the disk 17 for each module and the RAM 15 is used as a part of the ROM 14. As a result, an effect that is similar to that secured by replacing a defective ROM 14 with the non-defective one is ensured without producing any complicated patch program.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラムやデー
タを記録した記録媒体を用いた情報処理装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an information processing apparatus using a recording medium on which programs and data are recorded.

【0002】[0002]

【従来の技術】従来の情報処理装置では、プログラムや
データが格納されているROMに不具合がある場合に、
起動時にフロッピーディスクや光ディスクからパッチプ
ログラムをRAMに読み込むことにより不具合を回避し
ていた。
2. Description of the Related Art In a conventional information processing apparatus, when a ROM in which programs and data are stored has a defect,
The problem was avoided by loading a patch program from a floppy disk or optical disk into the RAM at startup.

【0003】[0003]

【発明が解決しようとする課題】しかしながらこうした
パッチプログラムを作成するには、不具合のあるROM
プログラムの処理の前後でRAM上で動作している部分
を調べて(例えば、割り込みのベクタテーブルなど)、
その部分からパッチプログラムへ制御が移るようにした
上で、ROMの不具合を回避する新たなプログラムを考
えなければならなかった。このために、パッチプログラ
ムの作成には、通常のROMプログラムの修正に比べ
て、時間と労力が必要であった。
However, in order to create such a patch program, a defective ROM is required.
Before and after the processing of the program, check the part operating on the RAM (for example, interrupt vector table),
After transferring the control from that part to the patch program, a new program for avoiding the problem of the ROM had to be considered. For this reason, creating a patch program requires more time and effort than modifying a normal ROM program.

【0004】本発明は、この様な問題を解決するもので
あり、複雑なパッチプログラムを作成することなく、不
具合のあるROMプログラムの修正プログラムを作成す
ることで、パッチプログラムの作成にともなう時間や労
力を低減することを目的とする。
[0004] The present invention solves such a problem. By creating a correction program for a defective ROM program without creating a complicated patch program, the time required for creating the patch program can be reduced. The purpose is to reduce labor.

【0005】[0005]

【課題を解決するための手段】この課題を解決するため
に本発明は、情報読み出し手段からモジュールをRAM
に読み込み、不具合のあるROM上のモジュールにかえ
て用いることができる様に構成したものである。本発明
によれば、新たに複雑なパッチプログラムを作成するこ
となしに、通常のROMプログラムの修正と同じ手順
で、プログラムの修正ができる。
SUMMARY OF THE INVENTION To solve this problem, the present invention relates to a method for transferring a module from an information reading means to a RAM.
And can be used in place of a module on a defective ROM. According to the present invention, a program can be modified by the same procedure as that for modifying a normal ROM program without creating a new complicated patch program.

【0006】[0006]

【発明の実施の形態】本発明の請求項1に記載の発明
は、プログラムやデータを記録する手段としてROMに
加えて記録媒体を使用し、記録媒体の情報を読み出す情
報読み出し手段を有し、不具合のあるROMのモジュー
ルにかえて記録媒体に記録されたモジュールを用いるこ
とで修正する情報処理装置を提供する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention uses a recording medium in addition to a ROM as means for recording programs and data, and has information reading means for reading information on the recording medium, Provided is an information processing apparatus that corrects by using a module recorded on a recording medium in place of a defective ROM module.

【0007】以下、本発明の実施の形態について図1か
ら図4を用いて説明する。図1は、本発明の請求項1に
記載の発明の一実施の形態を示すブロック図である。図
1において、11は文字の入力などを行う入力装置とし
てのキーボード、12は入力された文字を表示する表示
装置、13は演算処理を行う中央処理装置(CPU)、
14はプログラムやデータが記録されたROM、15は
作成したデータなどが記録されるRAM、16は作成し
たデータを記録したり、プログラムを記録するための外
部記憶装置、17はプログラムやデータが記録された光
ディスクを装着する光ディスク装置である。ここで、光
ディスク装置17を本体に内蔵すると、請求項2に記載
の発明の一実施の形態となり、さらに、内蔵された光デ
ィスク装置17に光ディスクを着脱するための開口部を
持たせないようにすると、請求項3に記載の発明の一実
施の形態となる。
An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing one embodiment of the invention described in claim 1 of the present invention. In FIG. 1, reference numeral 11 denotes a keyboard as an input device for inputting characters and the like, 12 denotes a display device for displaying the input characters, 13 denotes a central processing unit (CPU) for performing arithmetic processing,
14 is a ROM in which programs and data are recorded, 15 is a RAM in which created data is recorded, 16 is an external storage device for recording created data and programs, and 17 is a program and data recording device. An optical disk device for mounting the optical disk. Here, if the optical disk device 17 is built in the main body, it will be an embodiment of the present invention according to claim 2, and if the built-in optical disk device 17 is not provided with an opening for attaching and detaching an optical disk. This is an embodiment of the invention described in claim 3.

【0008】本発明のパッチ処理について説明する前
に、従来のパッチ処理について説明する。図4(a)は
従来のRAMパッチプログラムの初期化処理を表わすフ
ローチャートである。図4(b)は従来のRAMパッチ
プログラムのパッチ処理を表わすフローチャートであ
る。図4(a)の初期化処理によってCPU13は不具
合のあるROMプログラム14の修正したいモジュール
の処理の前あるいは後に修正モジュールに制御が移され
るように割込みベクタを変更し、割込み処理時に図4
(b)のRAMパッチプログラムのパッチ処理が実行さ
れる。CPU13はRAM15の内容に基づいて不具合
のあるモジュールから制御が移されてきたかどうかを判
断し、不具合を回避するような修正プログラムを実行し
た後、本来のプログラムが実行されるようにする。この
修正プログラムはROM14の不具合の内容に基づい
て、新たに作成しなければならない。
Before describing the patch processing of the present invention, a conventional patch processing will be described. FIG. 4A is a flowchart showing a conventional RAM patch program initialization process. FIG. 4B is a flowchart showing the patch processing of the conventional RAM patch program. By the initialization processing of FIG. 4A, the CPU 13 changes the interrupt vector so that the control is transferred to the correction module before or after the processing of the module to be corrected in the defective ROM program 14, and at the time of the interrupt processing,
The patch processing of the RAM patch program of (b) is executed. The CPU 13 determines whether control has been transferred from a defective module based on the contents of the RAM 15 and executes a correction program to avoid the defect, and then executes the original program. This correction program must be newly created based on the contents of the defect in the ROM 14.

【0009】次に、本発明の一実施の形態のパッチ処理
について説明する。図2(a)はRAMパッチプログラ
ムの初期化処理を表わすフローチャートである。ここ
で、CPU13は不具合のあるモジュールを無効にする
ために、例えば、図3(a)のRAM15上のモジュー
ル管理テーブルのモジュール2の格納されているROM
へのポインタを図3(b)のように無効であることを表
わすFFFFhと変更する。この変更には、どのモジュ
ールを無効にしたいかというデータが必要なだけであ
り、従来のRAMパッチプログラムの様に新規に修正プ
ログラムを作成する必要はない。
Next, patch processing according to an embodiment of the present invention will be described. FIG. 2A is a flowchart showing the initialization processing of the RAM patch program. Here, in order to invalidate the faulty module, the CPU 13 stores, for example, the ROM storing the module 2 in the module management table on the RAM 15 in FIG.
Is changed to FFFFh indicating that it is invalid as shown in FIG. This change requires only data indicating which module is to be invalidated, and does not require the creation of a new correction program unlike the conventional RAM patch program.

【0010】図2(b)はモジュールの置換手順を表わ
すフローチャートである。CPU13はROM14中に
目的のモジュールが存在するか調べる。存在しない場合
は、光ディスク17からモジュールを読み込み実行す
る。存在する場合は、前記初期化処理によってそのモジ
ュールに対応するモジュール管理テーブルの値が無効
(FFFFh)になっているか調べる。無効になってい
ない場合は従来通りROM14上のモジュールを実行す
る。無効になっている場合はROM14上にモジュール
が存在しないのと同じように光ディスクからモジュール
を読み込み実行する。光ディスク上のモジュールはRO
M14上のモジュールと同一の形態で作成されているの
で、ROM14上の不具合のあるモジュールを直接修正
したモジュールを作成するのと同様の手順で光ディスク
上の修正モジュールを作成することができる。
FIG. 2B is a flowchart showing a module replacement procedure. The CPU 13 checks whether a target module exists in the ROM 14. If the module does not exist, the module is read from the optical disc 17 and executed. If there is, it is checked whether the value of the module management table corresponding to the module is invalid (FFFFh) by the initialization processing. If not invalidated, the module on the ROM 14 is executed as before. If the module is invalid, the module is read from the optical disk and executed in the same manner as when no module exists on the ROM 14. The module on the optical disk is RO
Since the module is created in the same form as the module on the M14, a repair module on the optical disk can be created in the same procedure as creating a module in which a defective module on the ROM 14 is directly corrected.

【0011】以上のように本実施の形態によれば、RO
Mの修正部分を光ディスクからモジュール単位でRAM
に複写し、前記RAMを前記ROMの一部として使用す
ることで、複雑なパッチプログラムを作成することなく
不具合のあるROMを不具合のないROMと交換したの
と同様の効果が得られる。
As described above, according to the present embodiment, RO
Modified part of M from optical disk to module in RAM
By using the RAM as a part of the ROM, it is possible to obtain the same effect as replacing a defective ROM with a non-defective ROM without creating a complicated patch program.

【0012】[0012]

【発明の効果】以上のように本発明によれば、ROMに
記録されたモジュールにかえて記録媒体に記録されたモ
ジュールを用いることで、新しくROMを作成して交換
することがなく開発工数や開発費用をおさえることがで
きる。
As described above, according to the present invention, by using a module recorded on a recording medium in place of a module recorded in a ROM, a new ROM is not created and replaced, and the number of development steps can be reduced. Development costs can be reduced.

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

【図1】本発明の一実施の形態を示すブロック図FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】(a)本発明の一実施の形態におけるRAMパ
ッチプログラムの初期化処理を表わすフローチャート (b)本発明の一実施の形態におけるモジュール置換手
順を表わすフローチャート
FIG. 2A is a flowchart illustrating a process of initializing a RAM patch program according to an embodiment of the present invention; FIG. 2B is a flowchart illustrating a module replacement procedure according to an embodiment of the present invention;

【図3】(a)本発明の一実施の形態におけるRAMパ
ッチプログラムの初期化処理前のモジュール管理テーブ
ルを示す図 (b)本発明の一実施の形態におけるRAMパッチプロ
グラムの初期化処理後のモジュール管理テーブル(モジ
ュール2を無効にした場合)を示す図
FIG. 3A is a diagram showing a module management table before a RAM patch program is initialized in one embodiment of the present invention; FIG. 3B is a diagram showing a RAM patch program after an initialization process in one embodiment of the present invention; Diagram showing module management table (when module 2 is disabled)

【図4】(a)従来のRAMパッチプログラムの初期化
処理を表わすフローチャート (b)従来のRAMパッチプログラムのパッチ処理を表
わすフローチャート
4A is a flowchart showing a conventional RAM patch program initialization process; FIG. 4B is a flowchart showing a conventional RAM patch program patch process;

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

11 キーボード 12 表示装置 13 中央処理演算装置 14 ROM 15 RAM 16 外部記憶装置 17 光ディスク装置 Reference Signs List 11 keyboard 12 display device 13 central processing operation device 14 ROM 15 RAM 16 external storage device 17 optical disk device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プログラムやデータを記録したROM
と、プログラムやデータを記録した記録媒体から情報を
読み出す情報読み出し手段を有する情報処理装置におい
て、前記プログラムやデータをモジュール単位で管理
し、前記ROMに記録されたモジュールにかえて前記記
録媒体に記録されたモジュールを用いることを特徴とす
る情報処理装置。
1. A ROM storing a program and data
And an information processing apparatus having information reading means for reading information from a recording medium on which a program or data is recorded, wherein the program or data is managed on a module basis, and is recorded on the recording medium instead of a module recorded on the ROM. An information processing apparatus characterized by using a module that has been set.
【請求項2】 情報読み出し手段を本体に内蔵すること
を特徴とする請求項1記載の情報処理装置。
2. The information processing apparatus according to claim 1, wherein the information reading means is built in the main body.
【請求項3】 情報読み出し手段が記録媒体を着脱する
ための開口部を有さないことを特徴とする請求項2記載
の情報処理装置。
3. The information processing apparatus according to claim 2, wherein the information reading means does not have an opening for attaching and detaching a recording medium.
JP9154786A 1997-06-12 1997-06-12 Information processor Pending JPH113222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9154786A JPH113222A (en) 1997-06-12 1997-06-12 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9154786A JPH113222A (en) 1997-06-12 1997-06-12 Information processor

Publications (1)

Publication Number Publication Date
JPH113222A true JPH113222A (en) 1999-01-06

Family

ID=15591877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9154786A Pending JPH113222A (en) 1997-06-12 1997-06-12 Information processor

Country Status (1)

Country Link
JP (1) JPH113222A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020528629A (en) * 2017-07-25 2020-09-24 オーロラ ラブズ リミテッド Building software delta updates for vehicle ECU software and toolchain-based anomaly detection

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020528629A (en) * 2017-07-25 2020-09-24 オーロラ ラブズ リミテッド Building software delta updates for vehicle ECU software and toolchain-based anomaly detection
US11416242B2 (en) 2017-07-25 2022-08-16 Aurora Labs Ltd. Roll back of data delta updates
US11422793B2 (en) 2017-07-25 2022-08-23 Aurora Labs Ltd. Orchestrator reporting of probability of downtime from machine learning process
US11422794B2 (en) 2017-07-25 2022-08-23 Aurora Labs Ltd. Using data deltas in controllers and managing interdependencies between software versions in controllers using tool chain
US11442721B2 (en) 2017-07-25 2022-09-13 Aurora Labs Ltd. Opportunistic software updates during select operational modes
US11455165B2 (en) 2017-07-25 2022-09-27 Aurora Labs Ltd. Hot updates to controller software using tool chain
US11467823B2 (en) 2017-07-25 2022-10-11 Aurora Labs Ltd. Constructing software delta updates for controller software and abnormality detection based on toolchain
US11526348B2 (en) 2017-07-25 2022-12-13 Aurora Labs Ltd. Detecting anomalies online using controller processing activity
US11635955B2 (en) 2017-07-25 2023-04-25 Aurora Labs Ltd. Roll back of data delta updates
US11650808B2 (en) 2017-07-25 2023-05-16 Aurora Labs Ltd. Hot updates to controller software using tool chain
US11650807B2 (en) 2017-07-25 2023-05-16 Aurora Labs Ltd. Self-healing learning system for one or more controllers
US11704111B2 (en) 2017-07-25 2023-07-18 Aurora Labs Ltd. Using data deltas in controllers and managing interdependencies between software versions in controllers using tool chain
US11789720B2 (en) 2017-07-25 2023-10-17 Aurora Labs Ltd. Opportunistic software updates during select operational modes
US11822917B2 (en) 2017-07-25 2023-11-21 Aurora Labs Ltd. Detecting anomalies online using controller processing activity
US11829750B2 (en) 2017-07-25 2023-11-28 Aurora Labs Ltd. Orchestrator reporting of probability of downtime from machine learning process

Similar Documents

Publication Publication Date Title
JP2001222435A (en) System and method for applying function to system bios
JP2000020391A (en) Storage device, data processor and its method
US6925522B2 (en) Device and method capable of changing codes of micro-controller
JPH10240629A (en) Intra-memory information updating method
JPH11143704A (en) Compressed data patch correction system
JPH113222A (en) Information processor
JP2000235483A (en) Information processor
JPH1124643A (en) Initializing method of display device, and computer system using this method
JP2004126658A (en) Processor system
JP3480957B2 (en) Memory programming equipment
JPH05233266A (en) Information processor
JPS5816349A (en) Memory extension substituting system
JPH0612253A (en) Microcomputer
JP2001222421A (en) Flash rom card, flash rom and bios updating method
JP2713583B2 (en) Electronics
JPH11134186A (en) Information processor
JPH03233736A (en) Read-only memory patch system
JPH04109334A (en) Program changing device
JPH1040094A (en) Program controller for firmware
JP2000040004A (en) Information processor
JP2002278768A (en) Setting processing method involved in module upgrade and information processing system using the same
JP3616541B2 (en) Microprocessor device and microprocessor control method
JPH07129396A (en) Method for patching read-only storage device
JPH11249887A (en) Program correcting device
JPH0268624A (en) Program correcting circuit