JPH1139151A - Information processor - Google Patents

Information processor

Info

Publication number
JPH1139151A
JPH1139151A JP9190814A JP19081497A JPH1139151A JP H1139151 A JPH1139151 A JP H1139151A JP 9190814 A JP9190814 A JP 9190814A JP 19081497 A JP19081497 A JP 19081497A JP H1139151 A JPH1139151 A JP H1139151A
Authority
JP
Japan
Prior art keywords
program
data
data holding
information processing
processing apparatus
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
JP9190814A
Other languages
Japanese (ja)
Inventor
Masaru Nagayasu
勝 永安
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 JP9190814A priority Critical patent/JPH1139151A/en
Publication of JPH1139151A publication Critical patent/JPH1139151A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform restoration and repair jobs, etc., to ensure normal operation of a device if an abnormal state occurs while the contents of a flash memory are rewritten. SOLUTION: An information processor 1 consists of a program storage means 2 including a main data holding means 5 which holds a program to be executed at the time of power application and a secondary data holding means 6' an address conversion means 7 which switches the allocation of addresses between both means 5 and 6; an auxiliary storage control means 3 which acquires a new program; and a program execution means 4 which executes the program that is recorded in the means 2 and also performs the data read/write operations to the means 2.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電源投入時に実行
するプログラムを、書き換え可能な不揮発性メモリに有
する情報処理装置に関し、当該不揮発性メモリの内容の
安全な書き換え手段を備えた情報処理装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus having a program to be executed at power-on in a rewritable nonvolatile memory, and to an information processing apparatus having a means for safely rewriting the contents of the nonvolatile memory. Things.

【0002】[0002]

【従来の技術】周知の通り、コンピュータはもちろん家
電製品においてもマイクロプロセッサあるいはマイクロ
コントローラが使用される様になった。通常、これらの
マイクロプロセッサが電源投入時に実行するプログラム
は、不揮発性のメモリに保持されている。フラッシュメ
モリは、不揮発性メモリの一種でありながら、マイクロ
プロセッサからの内容の消去および書き換えが可能なメ
モリデバイスである。ソフトウエアの規模拡大の点か
ら、ソフトウエアバグあるいは機能追加に対応できる利
点を持っている。尚、更新用の新ソフトウェアは、フロ
ッピィーディスク、CD−ROM等の記録媒体や通信回
線などにより提供可能である。
2. Description of the Related Art As is well known, microprocessors and microcontrollers have been used not only in computers but also in household electrical appliances. Usually, the programs executed by these microprocessors when the power is turned on are held in a nonvolatile memory. A flash memory is a type of non-volatile memory, and is a memory device that can erase and rewrite contents from a microprocessor. It has the advantage that it can respond to software bugs or additional functions in terms of software scale expansion. The new software for updating can be provided by a recording medium such as a floppy disk, a CD-ROM, or a communication line.

【0003】一方、フラッシュメモリの内容を書き換え
る作業中に、ユーザーが電源を切るあるいは、停電状態
となるといった様な異状事態が発生した場合、書き換え
作業が完了できなくなる。この結果、電源が再投入され
ても、電源投入時に実行されるプログラムの内容が破損
している場合があり、機器が正常な動作が出来なくな
る。
[0003] On the other hand, if the user turns off the power or enters a power failure state during the operation of rewriting the contents of the flash memory, the rewriting operation cannot be completed. As a result, even if the power is turned on again, the contents of the program executed when the power is turned on may be damaged, and the device cannot operate normally.

【0004】このような場合、通常は別の装置を使いフ
ラッシュメモリに正常なプログラムを書き込むか、既に
プログラムを書き込んだフラッシュメモリと物理的に交
換するという修理作業を行うことになる。
In such a case, repair work is usually performed such that a normal program is written into the flash memory using another device, or physically replaced with a flash memory in which a program has already been written.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、フラッ
シュメモリの内容を書き換える作業中の異常事態が、地
域的な停電などでテレビあるいはセットトップボックス
の様な家電機器で起こった場合、それら機器を正常に動
作させるためには復旧作業、修理作業等が必要となり、
きわめて大きな被害を生む事になる。
However, if an abnormal situation during the operation of rewriting the contents of the flash memory occurs in a home electric appliance such as a television set or a set-top box due to a local power outage, etc. In order to operate, recovery work, repair work, etc. are required,
It will cause enormous damage.

【0006】本発明は、従来のこのような異常時の課題
を考慮し、内容の書き換え作業中に異常事態が発生して
も、フラッシュメモリの書き換えを容易かつ安全に行う
ことができる情報処理装置を提供することを目的とす
る。
The present invention has been made in consideration of the conventional problem at the time of such an abnormality, and enables an information processing apparatus capable of easily and safely rewriting a flash memory even if an abnormal situation occurs during a content rewriting operation. The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】本発明は、電源投入時に
実行するプログラムを分割可能に保持する少なくとも2
つのデータ保持手段を有するプログラム記憶手段と、新
たなプログラムを取得する補助記憶制御手段と、データ
保持手段に保持されたプログラムを実行し、補助記憶制
御手段により取得した新たなプログラムをプログラム記
憶手段の少なくとも2つのデータ保持手段に書き込むプ
ログラム実行手段と、そのプログラム実行手段が新たな
プログラムをデータ保持手段に書き込む動作中に少なく
とも2つのデータ保持手段のアドレスを入れ替えるアド
レス変換手段とを備えた情報処理装置である。
SUMMARY OF THE INVENTION According to the present invention, there is provided at least two programs for storing a program to be executed when the power is turned on.
Program storage means having two data holding means, auxiliary storage control means for acquiring a new program, executing the program held in the data holding means, and storing the new program acquired by the auxiliary storage control means in the program storage means. An information processing apparatus comprising: a program execution unit that writes data into at least two data holding units; and an address conversion unit that replaces addresses of at least two data holding units during an operation in which the program execution unit writes a new program into the data holding unit. It is.

【0008】また、上記構成で、データ保持手段を2つ
とし、その2つを主データ保持手段及び従データ保持手
段とした場合に、主データ保持手段または従データ保持
手段の一方に、主要プログラムとしてデータ診断プログ
ラム、データ更新プログラム、および電源投入直後から
データ診断プログラムおよびデータ更新プログラムを実
行するまでにプログラム実行手段が必要とするプログラ
ムを保持し、主要プログラムが主データ保持手段にある
場合は新たな主要プログラムを従データ保持手段に書き
込み、主要プログラムが従データ保持手段にある場合は
新たな主要プログラムを主データ保持手段に書き込むよ
うにすれば、新たな主要プログラムの書き込みが正常に
終了するまで、旧の主要プログラムが破壊されることな
く保持される。
In the above configuration, when two data holding means are used and the two data are used as a main data holding means and a sub data holding means, one of the main data holding means and the sub data holding means is provided with a main program. Hold the data diagnostic program, the data update program, and the programs required by the program execution means immediately after the power is turned on until the data diagnostic program and the data update program are executed.If the main program is in the main data storage means, If the main program is written to the slave data holding means, and if the main program is in the slave data holding means, a new main program is written to the main data holding means, until the writing of the new main program ends normally. , The old main program is kept without being destroyed.

【0009】上記の様な構成によれば、プログラムの書
き換え中にユーザーが電源を切るあるいは、停電状態と
なるといった様な異状事態が発生した場合でも、情報処
理装置がその事実を認識し、かつ最新のプログラムを書
き込むことにより、プログラム破損の問題が発生しても
回復することができ、機器の正常な動作を保証すること
ができる。
According to the above-described configuration, even if an abnormal situation such as a power-off or a power failure occurs by a user during rewriting of a program, the information processing apparatus recognizes the fact, and By writing the latest program, it is possible to recover even if a problem of program breakage occurs, and normal operation of the device can be guaranteed.

【0010】[0010]

【発明の実施の形態】以下に、本発明をその実施の形態
を示す図面に基づいて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing an embodiment.

【0011】図1は、本発明にかかる一実施の形態の情
報処理装置の構成を示すブロック図である。図1におい
て、本実施の形態の情報処理装置1は、電源投入時に実
行するプログラムを保持する主データ保持手段5及び従
データ保持手段6を有するプログラム記憶手段2、記録
媒体や通信回線などを用いて、外部から新たなプログラ
ムを取得する補助記憶制御手段3、その補助記憶制御手
段3が取得したプログラムをプログラム記憶手段2に書
き込んだり、プログラム記憶手段2に保持されたプログ
ラムを実行したりするプログラム実行手段4、及び主デ
ータ保持手段5のアドレスと従データ保持手段6のアド
レスとを入れ替えるアドレス変換手段7により構成され
ている。
FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to an embodiment of the present invention. In FIG. 1, an information processing apparatus 1 according to the present embodiment uses a program storage unit 2 having a main data holding unit 5 and a sub data holding unit 6 for holding a program to be executed when the power is turned on, a recording medium, a communication line, and the like. Storage control means 3 for obtaining a new program from the outside, a program for writing the program obtained by the auxiliary storage control means 3 to the program storage means 2, and for executing the program stored in the program storage means 2 It comprises an execution means 4 and an address conversion means 7 for exchanging the address of the main data holding means 5 with the address of the slave data holding means 6.

【0012】主データ保持手段5及び従データ保持手段
6のアドレス構成は次の通りである。図2に示すよう
に、1Mワードを保持できるプログラム記憶手段を例と
して用いており、主データ保持手段5には0x00000から0
x7FFFFまで、また、従データ保持手段6には0x80000か
ら0xFFFFFまでのアドレスが割り当てられている状態か
ら説明する。また、プログラム実行手段4は、電源投入
後0x000000に保持された命令から実行するものとし、デ
ータ診断プログラムおよびデータ更新プログラムは0x00
000から0x7FFFFまでのアドレスに保持されているとす
る。
The address structure of the main data holding means 5 and the slave data holding means 6 is as follows. As shown in FIG. 2, a program storage unit capable of holding 1M words is used as an example, and 0x00000 to 0
Description will be made from a state where addresses up to x7FFFF and addresses from 0x80000 to 0xFFFFF are assigned to the subordinate data holding means 6. Also, the program execution means 4 executes from the instruction held at 0x000000 after the power is turned on, and the data diagnostic program and the data update program execute 0x00
It is assumed that the data is held at addresses from 000 to 0x7FFFF.

【0013】次に、上記実施の形態の情報処理装置の動
作について、図面を参照しながら説明する。
Next, the operation of the information processing apparatus of the above embodiment will be described with reference to the drawings.

【0014】図4に示すように、まず、情報処理装置1
に電源が投入された場合、プログラム実行手段4は《ス
テップS1》においてプログラム記憶手段2のデータの
チェックサムを実行し、データに欠落が無いか否かを診
断する。チェックサムデータはプログラム記憶手段2に
同じく保持されている。診断の結果、データに欠落が無
いことが確認された場合、プログラム実行手段4は《ス
テップS2》に制御を移す。
As shown in FIG. 4, first, the information processing apparatus 1
Is turned on, the program execution means 4 executes a checksum of the data in the program storage means 2 in << Step S1 >> and diagnoses whether or not the data is missing. The checksum data is also stored in the program storage means 2. As a result of the diagnosis, when it is confirmed that no data is missing, the program execution means 4 shifts the control to << Step S2 >>.

【0015】《ステップS2》では、プログラム記憶手
段2に保持されているプログラムが最新のバージョンで
あるかを確認する。バージョンに関する情報はプログラ
ム記憶手段2に同じく保持されている。確認の結果、プ
ログラム記憶手段2に保持されているプログラムが最新
のバージョンであることが確認された場合は、《ステッ
プS3》に制御を移す。《ステップS3》では、プログ
ラム実行手段4は通常のブートアップを開始する。
In step S2, it is confirmed whether the program stored in the program storage means 2 is the latest version. Information on the version is also stored in the program storage means 2. As a result of the confirmation, when it is confirmed that the program held in the program storage means 2 is the latest version, the control is transferred to << Step S3 >>. In << Step S3 >>, the program execution means 4 starts normal boot-up.

【0016】《ステップS2》でバージョンを確認した
結果、プログラム記憶手段2に保持されているデータが
旧バージョンのプログラムであることが確認された場合
は、《ステップS4》に制御を移す。
If it is determined in step S2 that the data stored in the program storage means 2 is the old version of the program, the control is transferred to step S4.

【0017】《ステップS4》では、プログラム記憶手
段2のアドレス0x80000から0xFFFFF(従データ保持手段
6)に最新バージョンのプログラムの0x00000から0x7FF
FFの512Kワードのプログラム(前半分)を書き込む。す
べての書き込み作業が完了したら制御を《ステップS
5》に移す。
In Step S4, the latest version of the program from 0x00000 to 0x7FF is stored in the addresses 0x80000 to 0xFFFFF (slave data holding means 6) of the program storage means 2.
Write the FF 512K word program (first half). When all writing operations have been completed,
5 >>.

【0018】《ステップS5》では、プログラム記憶手
段2の主データ保持手段5に割り当てられたアドレスと
従データ保持手段6に割り当てられたアドレスとを入れ
替える。これにより、アドレスの割り当てが図3に示す
ように変わることになる。すなわち、最新バージョンの
前半のプログラムがアドレス0x00000から0x7FFFFに保持
され、旧バージョンの前半のプログラムがアドレス0x80
000から0xFFFFFに保持された状態になる。
In step S5, the address assigned to the main data holding means 5 of the program storage means 2 and the address assigned to the slave data holding means 6 are exchanged. As a result, the address assignment changes as shown in FIG. That is, the first half program of the latest version is held at addresses 0x00000 to 0x7FFFF, and the first half program of the old version is stored at address 0x80.
From 000 to 0xFFFFF.

【0019】アドレス変換手段7による、主データ保持
手段5と従データ保持手段6とのアドレス割り当ての入
れ替え動作は、プログラム実行手段4からプログラム記
憶手段2に出力されるデータ読みだし及びデータ書き込
み制御信号を利用して行う。すなわち、プログラム実行
手段4から予め決められた通常は起こり得ない特定の手
順の制御信号を出力し、アドレス変換手段7がこの制御
信号を受け取った場合、アドレス入れ替え命令として認
識する。あるいは又、プログラム実行手段4が、主デー
タ保持手段5または従データ保持手段6の全データをア
ドレス順に書き換えた後に、最終アドレスに同一データ
を再度書き込む動作をした場合に、アドレス変換手段7
は、それをアドレス入れ替え命令と認識する構成として
もよい。
The operation of exchanging the address assignment between the main data holding means 5 and the slave data holding means 6 by the address conversion means 7 is performed by the data read and data write control signals output from the program execution means 4 to the program storage means 2. Perform using. That is, a control signal of a predetermined specific procedure that cannot be normally performed is output from the program execution means 4, and when the address conversion means 7 receives this control signal, it recognizes it as an address replacement instruction. Alternatively, if the program executing means 4 rewrites all data in the main data holding means 5 or the subordinate data holding means 6 in order of address and then writes the same data again to the final address, the address conversion means 7
May be configured to recognize it as an address replacement instruction.

【0020】《ステップS5》で、アドレスの割り当て
が完了した場合は、《ステップS6》に制御を移す。
If the address assignment is completed in step S5, the control is transferred to step S6.

【0021】《ステップS6》では、引き続き最新バー
ジョンのプログラムの0x80000から0xFFFFFの512Kワード
のプログラム(後半分)をプログラム記憶手段2に新し
く割り当てられたアドレス0x80000から0xFFFFF(主デー
タ保持手段5)に書き込み、再度《ステップS1》に制
御を移す。
In step S6, a 512-Kword program (the latter half) of the latest version of the program from 0x80000 to 0xFFFFF is written to the newly allocated addresses 0x80000 to 0xFFFFF (main data holding means 5) of the program storage means 2. Then, the control is shifted to << Step S1 >> again.

【0022】《ステップS4》での書き込み作業中に、
あるいは《ステップS5》でのアドレス割り当て変更前
に、当該情報処理装置1の電源が切られる等により作業
が中断された場合、プログラム記憶手段2に保持されて
いるデータに欠落が生じることになる。この場合、電源
再投入後、《ステップS1》によりプログラムの欠落が
確認されることになる。このケースでは、プログラム記
憶手段2の0x80000から0xFFFFF(従データ保持手段6)
にデータの欠落が存在しており、プログラム記憶手段2
の0x00000から0x7FFFF(主データ保持手段5)には旧バ
ージョンのプログラムが残っている。従って、前述の処
理が再実行可能となる。
During the writing operation in << Step S4 >>,
Alternatively, if the work is interrupted by turning off the power of the information processing apparatus 1 before the address assignment is changed in << Step S5 >>, the data stored in the program storage unit 2 will be missing. In this case, after the power is turned on again, the lack of the program is confirmed in << Step S1 >>. In this case, 0x80000 to 0xFFFFF of the program storage means 2 (slave data holding means 6)
Data is missing in the program storage means 2
The old version of the program remains in 0x00000 to 0x7FFFF (main data holding means 5). Therefore, the above-described processing can be executed again.

【0023】また、《ステップS6》での書き込み作業
中に、当該情報処理装置1の電源が切られる等により作
業が中断された場合は、プログラム記憶手段2に保持さ
れているデータに欠落が生じることになる。この場合、
電源再投入後、《ステップS1》によりプログラムの欠
落が確認されることになる。このケースでは、プログラ
ム記憶手段2の0x80000から0xFFFFF(主データ保持手段
5)にデータの欠落が存在しており、プログラム記憶手
段2の0x00000から0x7FFFF(従データ保持手段6)には
最新バージョンのプログラムが残っている。従って、こ
の場合も前述の処理が再実行可能となる。
If the work is interrupted during the writing work in << Step S6 >> due to, for example, the power supply of the information processing apparatus 1 being turned off, the data held in the program storage means 2 is lost. Will be. in this case,
After the power is turned on again, the lack of the program is confirmed in << Step S1 >>. In this case, data is missing from 0x80000 to 0xFFFFF (main data holding unit 5) of the program storage unit 2, and the latest version of the program is stored in 0x00000 to 0x7FFFF (subordinate data holding unit 6) of the program storage unit 2. Remains. Therefore, also in this case, the above-described processing can be executed again.

【0024】以上のように、本実施の形態によれば、プ
ログラムの書き換え中にユーザーが電源を切るあるい
は、停電状態となるといった様な異状事態が発生した場
合でも、情報処理装置がその事実を認識し、かつ最新の
プログラムを書き込むことにより、プログラムの破損か
ら回復することができ、機器の正常な動作を保証するこ
とができる。すなわち、プログラムの書き換え中に異常
事態が発生しても容易に回復することができる。
As described above, according to the present embodiment, even when an abnormal situation such as a user turning off the power or a power outage occurs during the rewriting of the program, the information processing apparatus can recognize the fact. By recognizing and writing the latest program, it is possible to recover from the damage of the program and to guarantee the normal operation of the device. That is, even if an abnormal situation occurs during rewriting of the program, it can be easily recovered.

【0025】なお、上記実施の形態では、データ保持手
段を2つとしたが、3つ以上としてもよい。
In the above embodiment, two data holding means are used, but three or more data holding means may be used.

【0026】また、上記実施の形態では、2つのデータ
保持手段のデータ量を同一としたが、これに限定される
もではない。
Further, in the above embodiment, the data amounts of the two data holding units are the same, but the present invention is not limited to this.

【0027】[0027]

【発明の効果】以上述べたところから明らかなように本
発明は、プログラム実行手段が新たなプログラムをデー
タ保持手段に書き込む動作中に少なくとも2つのデータ
保持手段のアドレスを入れ替えるアドレス変換手段を備
えているので、内容の書き換え作業中に異常事態が発生
しても、フラッシュメモリの書き換えを容易かつ安全に
行うことができるという長所を有する。
As is apparent from the above description, the present invention comprises address conversion means for exchanging the addresses of at least two data holding means during the operation of the program execution means for writing a new program into the data holding means. Therefore, the flash memory can be easily and safely rewritten even if an abnormal situation occurs during the content rewriting operation.

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

【図1】本発明にかかる一実施の形態の情報処理装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to an embodiment of the present invention.

【図2】同実施の形態の情報処理装置のプログラム記憶
手段におけるアドレス割り当て変更前のアドレス割り当
てを示す図である。
FIG. 2 is a diagram showing address assignment before address assignment change in a program storage unit of the information processing apparatus according to the embodiment.

【図3】同実施の形態の情報処理装置のプログラム記憶
手段におけるアドレス割り当て変更後のアドレス割り当
てを示す図である。
FIG. 3 is a diagram illustrating address assignment after address assignment is changed in a program storage unit of the information processing apparatus according to the embodiment;

【図4】同実施の形態の情報処理装置における動作を示
すフローチャートである。
FIG. 4 is a flowchart showing an operation in the information processing apparatus of the embodiment.

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

1 情報処理装置 2 プログラム記憶手段 3 補助記憶制御手段 4 プログラム実行手段 5 主データ保持手段 6 従データ保持手段 7 アドレス変換手段 DESCRIPTION OF SYMBOLS 1 Information processing apparatus 2 Program storage means 3 Auxiliary storage control means 4 Program execution means 5 Main data holding means 6 Subordinate data holding means 7 Address conversion means

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 電源投入時に実行するプログラムを分割
可能に保持する少なくとも2つのデータ保持手段を有す
るプログラム記憶手段と、新たなプログラムを取得する
補助記憶制御手段と、前記データ保持手段に保持された
プログラムを実行し、前記補助記憶制御手段により取得
した新たなプログラムを前記プログラム記憶手段の前記
少なくとも2つのデータ保持手段に書き込むプログラム
実行手段と、そのプログラム実行手段が前記新たなプロ
グラムを前記データ保持手段に書き込む動作中に前記少
なくとも2つのデータ保持手段のアドレスを入れ替える
アドレス変換手段とを備えたことを特徴とする情報処理
装置。
1. A program storage means having at least two data holding means for holding a program to be executed at power-on in a dividable manner, an auxiliary storage control means for acquiring a new program, and a data storage means for holding a program to be executed. Program execution means for executing a program and writing a new program obtained by the auxiliary storage control means in the at least two data holding means of the program storage means; and the program execution means stores the new program in the data holding means. And an address conversion means for exchanging addresses of the at least two data holding means during an operation of writing to the information processing apparatus.
【請求項2】 アドレス変換手段は、前記プログラム実
行手段が前記プログラム記憶手段に対して出力する予め
決められた所定のデータ読み出しおよびデータ書き込み
制御信号を特定の命令として用い、その特定の命令を受
け取ることにより、前記少なくとも2つのデータ保持手
段に割り当てられるアドレスを入れ替えることを特徴と
する請求項1記載の情報処理装置。
2. The address conversion means receives a specific command using a predetermined data read and data write control signal output from the program execution means to the program storage means as a specific command. 2. The information processing apparatus according to claim 1, wherein the addresses assigned to the at least two data holding units are switched.
【請求項3】 プログラム実行手段がいずれか1つの前
記データ保持手段の全データをアドレス順に書き換えた
後、最終アドレスに同一データを再度書き込む事によ
り、前記アドレス変換手段は、前記少なくとも2つのデ
ータ保持手段に割り当てられるアドレスを入れ替えるこ
とを特徴とする請求項1記載の情報処理装置。
3. The program execution means rewrites all data in any one of the data holding means in the order of addresses, and then rewrites the same data to the final address, whereby the address conversion means can execute the data holding in the at least two data holding means. 2. The information processing apparatus according to claim 1, wherein addresses assigned to the means are exchanged.
【請求項4】 新規のアドレス割り当て情報を電源切断
後、再投入時にも保持することを特徴とする請求項2、
又は3記載の情報処理装置。
4. The method according to claim 2, wherein the new address assignment information is retained even after the power is turned off and then turned on again.
Or the information processing device according to 3.
【請求項5】 プログラム記憶手段は、プログラム記憶
手段に保持された内容に欠落が無いことを診断するため
のデータ診断プログラムと、前記プログラム実行手段が
前記プログラム記憶手段に新たなデータを書き込むため
のデータ更新プログラムとを有することを特徴とする請
求項4記載の情報処理装置。
5. A data storage program for diagnosing that there is no omission in the contents held in the program storage means, and a program execution means for writing new data to the program storage means. The information processing apparatus according to claim 4, further comprising a data update program.
【請求項6】 いずれか1つの前記データ保持手段は、
主要プログラムとして、前記データ診断プログラム、前
記データ更新プログラム、および電源投入直後から前記
データ診断プログラムと前記データ更新プログラムとを
実行するまでに前記プログラム実行手段が必要とするプ
ログラムを保持することを特徴とする請求項5記載の情
報処理装置。
6. The data holding means according to claim 1, wherein:
Main programs include a data diagnosis program, the data update program, and a program required by the program execution unit immediately after power-on until the data diagnosis program and the data update program are executed. The information processing apparatus according to claim 5, wherein
【請求項7】 主要プログラムを保持する前記1つのデ
ータ保持手段以外のデータ保持手段に、新たな主要プロ
グラムを書き込み、前記新たな主要プログラムの書き込
みが終了するまで、前記旧の主要プログラムを保持して
おくことを特徴とする請求項6記載の情報処理装置。
7. A new main program is written in data holding means other than the one data holding means for holding the main program, and the old main program is held until the writing of the new main program is completed. 7. The information processing apparatus according to claim 6, wherein
JP9190814A 1997-07-16 1997-07-16 Information processor Pending JPH1139151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9190814A JPH1139151A (en) 1997-07-16 1997-07-16 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9190814A JPH1139151A (en) 1997-07-16 1997-07-16 Information processor

Publications (1)

Publication Number Publication Date
JPH1139151A true JPH1139151A (en) 1999-02-12

Family

ID=16264204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9190814A Pending JPH1139151A (en) 1997-07-16 1997-07-16 Information processor

Country Status (1)

Country Link
JP (1) JPH1139151A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6745278B2 (en) 2000-01-06 2004-06-01 Nec Electronics Corporation Computer capable of rewriting an area of a non-volatile memory with a boot program during self mode operation of the computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6745278B2 (en) 2000-01-06 2004-06-01 Nec Electronics Corporation Computer capable of rewriting an area of a non-volatile memory with a boot program during self mode operation of the computer

Similar Documents

Publication Publication Date Title
JP4668416B2 (en) Protecting boot block code when enabling write access to the boot block
KR100415371B1 (en) Computer
US7750676B2 (en) Embedded system and control method therefor
US6883060B1 (en) Microcomputer provided with flash memory and method of storing program into flash memory
JP2940480B2 (en) Computer system
JP3830867B2 (en) Single-chip microcomputer and its boot area switching method
US11144299B2 (en) Firmware updating method
JP2000163268A (en) Computer
JP5084853B2 (en) Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program
JPH1139151A (en) Information processor
JP2010218103A (en) Electronic apparatus
JP2001117766A (en) Information processor with patch function of mask rom
JP2000293376A (en) Circuit and method for switching boot program
JPH11282690A (en) Method for writing control program, information processor and information processing system
JP2005128613A (en) Image forming device
JP2011108161A (en) Information processor
JPH09231065A (en) Program changeable electronic controller
JP2002259152A (en) Flash memory rewriting method
JP3498028B2 (en) Boot program rewriting system
JP3281858B2 (en) Microcomputer evaluation device
JPH11184683A (en) Electronic equipment
JP2004240717A (en) Software updating device
JPH0934807A (en) Information processing unit
JP2004302631A (en) Information processor
JPH11328039A (en) Device and method for memory control and computer-readable storage medium having stored program