JPH04360219A - Information processor - Google Patents

Information processor

Info

Publication number
JPH04360219A
JPH04360219A JP3134651A JP13465191A JPH04360219A JP H04360219 A JPH04360219 A JP H04360219A JP 3134651 A JP3134651 A JP 3134651A JP 13465191 A JP13465191 A JP 13465191A JP H04360219 A JPH04360219 A JP H04360219A
Authority
JP
Japan
Prior art keywords
value
parameter
memory
extracted
ssw
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
JP3134651A
Other languages
Japanese (ja)
Inventor
Eriko Goto
恵理子 後藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP3134651A priority Critical patent/JPH04360219A/en
Publication of JPH04360219A publication Critical patent/JPH04360219A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the generation of an error and to make the operation of this information processor automatically coincide with a set point by preserving again an initial value corresponding to an item concerned in a memory at the time of detecting an undefined value in the memory. CONSTITUTION:The data of one byte stored in the contents 21 of a memory switch SSW 2 are extracted. Then the value of an SI/SO control parameter 41, an unused bit group 42 and the value of a communication speed parameter 41 are successively extracted. Since the value of the parameter 43 exceeds a range indicated by the communication speed and the range 54 of parameter values, the value is judged as an undefined value and the repairing work of parameter data is executed. The initializing point 61 of the SW 2 is extracted from the initial value table of the SSW 2 and only the initializing parameter value 62 of the communication speed is extracted from the extracted value 61 and combined with other data of the SSW 2 to form the data of the SSW 2. A repaired value is registered again in a parameter preserving memory as the value of the SSW 2.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、外部装置を制御するパ
ラメータを記憶素子に保存する機能を備えた情報処理装
置におけるパラメータの保守手段に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to means for maintaining parameters in an information processing apparatus having a function of storing parameters for controlling external devices in a memory element.

【0002】0002

【従来の技術】従来、記憶素子(以下、メモリとする)
に外部装置制御のためのパラメータとして定義されてい
ない値を保存している場合、それを検出し、修復するこ
とはせず、動作時にパラメータ異常を原因とするエラー
を発生したり、設定値と違う動作を装置に対して行なっ
ていた。
[Background Art] Conventionally, a memory element (hereinafter referred to as memory)
If a value is stored that is not defined as a parameter for external device control, it will not be detected and repaired, and an error may occur due to parameter abnormality during operation, or the setting value may be changed. A different operation was performed on the device.

【0003】0003

【発明が解決しようとする課題】本発明の目的は、前記
のようなエラーの発生を防ぎ、また、自動的に設定値と
装置の動作を一致させる機能を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a function that prevents the occurrence of the above-mentioned errors and automatically matches the set value with the operation of the device.

【0004】0004

【課題を解決するための手段】本発明は、外部装置を動
作させるのにパラメータをセットする必要のある機能を
備える情報処理装置において、前記各種機能のパラメー
タを記憶素子に保存する手段と、前記保存した内容が正
しいかどうかを確認する手段と、前記確認時に正しくな
い場合には自動的に修復する手段とを備えることを特徴
とする。
[Means for Solving the Problems] The present invention provides an information processing device having a function that requires setting parameters in order to operate an external device. The present invention is characterized by comprising means for checking whether the saved contents are correct, and means for automatically restoring the contents if the stored contents are incorrect at the time of the checking.

【0005】[0005]

【作用】本発明の自動修復では、メモリ上に未定義の値
が検出された場合には、該当項目に対する初期値をメモ
リ上に保存しなおしてエラーをなくす。
[Operation] In the automatic repair of the present invention, when an undefined value is detected in the memory, the initial value for the corresponding item is saved in the memory again to eliminate the error.

【0006】[0006]

【実施例】本発明の自動修復の実施例を示す。図1は、
本発明による情報処理装置のブロック図を示す。11は
BIOSプログラムを格納した読取り専用メモリ、12
は外部装置パラメータ保存用メモリ(以下、メモリスイ
ッチという)、13は外部装置コントローラであり、C
PU19でこれらを制御する。
Embodiment An embodiment of automatic repair of the present invention will be described. Figure 1 shows
1 shows a block diagram of an information processing device according to the present invention. 11 is a read-only memory that stores the BIOS program; 12
13 is a memory for saving external device parameters (hereinafter referred to as a memory switch), 13 is an external device controller, and C
These are controlled by PU19.

【0007】本発明による情報処理装置は、電源を投入
すると11のメモリからBIOSプログラムを読み込み
、このプログラムのブートルーチンにしたがってハード
ウェアやメモリの初期化を行なった後、システムの起動
を行う。本発明の自動修復処理は、初期化処理の中で行
なわれる。
When the information processing apparatus according to the present invention is turned on, it reads a BIOS program from the memory 11, initializes the hardware and memory according to the boot routine of this program, and then starts the system. The automatic repair process of the present invention is performed during the initialization process.

【0008】図2は、メモリスイッチの概要を示す。図
3は、本発明のパラメータの自動修復処理の流れを示し
、例として通信装置を動作させるためのSI/SO(シ
フトイン/シフトアウト)制御パラメータと通信速度を
持つメモリスイッチSSW2(21)の、データの判定
とその修復について示す。
FIG. 2 shows an overview of a memory switch. FIG. 3 shows the flow of automatic parameter restoration processing according to the present invention, and exemplifies the SI/SO (shift-in/shift-out) control parameters for operating a communication device and the memory switch SSW2 (21) having a communication speed. , describes data determination and its repair.

【0009】まず、メモリスイッチSSW2(21)に
格納されている1バイトのデータを取り出す(31)。 図4は、この時取り出したメモリスイッチの内容であり
、41の値がSI/SO制御を、43の値が通信速度を
表す。また、42は未使用ビットである。この取り出し
た値が定義されているかどうかは、図5に示したメモリ
スイッチSSW2とパラメータ値の関係から、値を比較
して判定を行なう。51、52、54の値は、11のメ
モリに格納されているBIOSプログラム中に存在して
いる。
First, 1 byte of data stored in the memory switch SSW2 (21) is retrieved (31). FIG. 4 shows the contents of the memory switch taken out at this time, where the value 41 represents the SI/SO control and the value 43 represents the communication speed. Further, 42 is an unused bit. Whether or not this retrieved value is defined is determined by comparing the values based on the relationship between the memory switch SSW2 and the parameter values shown in FIG. Values 51, 52, and 54 are present in the BIOS program stored in memory 11.

【0010】SI/SO制御を表す41の値を、マスク
をかけて取り出す(32)。この値は51で示す通り”
0”または”1”の範囲内にあり(33)、定義されて
いる値と判定されるので(34)、パラメータデータの
変更は行なわない。この時点では、他にデータがあるの
で(38)、次のパラメータチェックに進む。
The value 41 representing SI/SO control is masked and extracted (32). This value is as shown by 51”
Since it is within the range of "0" or "1" (33) and is determined to be a defined value (34), the parameter data is not changed.At this point, there is other data, so (38) , proceed to the next parameter check.

【0011】次に、未使用ビット群(42)を、マスク
をかけて取り出す(32)。これらの値は、常に0を保
つことになっているので(52、33)、この場合は定
義されていると判定されて(34)、次のパラメータチ
ェックに進む(38)。続いて通信速度を表す43の値
を、マスクをかけて取り出す(32)。この値は、54
で示した範囲を越える(33)ことから定義されない値
と判定され(34)、パラメータデータの修復作業を行
なう。
Next, the unused bit group (42) is masked and extracted (32). Since these values are always kept at 0 (52, 33), in this case it is determined that they are defined (34), and the process proceeds to the next parameter check (38). Next, the value 43 representing the communication speed is masked and extracted (32). This value is 54
Since the value exceeds the range shown in (33), it is determined that the value is undefined (34), and the parameter data is repaired.

【0012】図6に示したメモリスイッチの初期値テー
ブルからSSW2の初期設定値(61)を取り出し(3
5)、さらにここから通信速度の初期設定パラメータ値
(62)のみを取り出し(36)、SSW2の他のデー
タと組合せて(37)SSW2のデータとし、修復作業
を終了する。メモリスイッチの初期設定値テーブルは、
BIOSプログラム中に存在する。他にチェックするデ
ータはない(38)ので、SSW2のデータチェックは
これで終了する。以上の判定と修復の結果は、図7に示
す71、72、73の通りになる。この修復後の値をメ
モリスイッチSSW2の値として12のメモリに登録し
なおす(39)。
The initial setting value (61) of SSW2 is extracted from the initial value table of the memory switch shown in FIG.
5) Then, only the initial setting parameter value (62) of the communication speed is extracted from this (36) and combined with other data of SSW2 (37) to become the data of SSW2, and the repair work is completed. The initial setting value table for the memory switch is
It exists in the BIOS program. Since there is no other data to check (38), the data check of SSW2 ends here. The results of the above determination and repair are as shown in 71, 72, and 73 shown in FIG. This restored value is re-registered in memory 12 as the value of memory switch SSW2 (39).

【0013】同様の処理を他のすべてのメモリスイッチ
に対して行ない、パラメータの正誤をチェックする。
Similar processing is performed on all other memory switches to check whether the parameters are correct.

【0014】以上の動作説明により本発明が明らかにな
ったが、従来は誤ったパラメータをそのまま使用するた
めに種々のエラーや動作異常が発生していたのに対して
、本発明ではこれらを完全に防ぐことができるようにな
った。
[0014] The present invention has been made clear by the above explanation of the operation, but whereas in the past various errors and malfunctions occurred due to the use of incorrect parameters, the present invention completely eliminates these errors. can now be prevented.

【0015】[0015]

【発明の効果】本発明により、メモリ上には定義されな
いパラメータは存在しなくなるので、アプリケーション
ソフトなどで、外部装置を動作させるのにパラメータが
有効か無効かを判定する必要がなくなった。
According to the present invention, there are no undefined parameters in the memory, so there is no longer a need for application software to determine whether a parameter is valid or invalid in order to operate an external device.

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

【図1】情報処理装置のブロック図。FIG. 1 is a block diagram of an information processing device.

【図2】メモリスイッチの概要図。FIG. 2 is a schematic diagram of a memory switch.

【図3】データ判定と修復の処理の流れを示すフローチ
ャート。
FIG. 3 is a flowchart showing the flow of data determination and restoration processing.

【図4】チェックを行なう時のメモリ内容を示す図。FIG. 4 is a diagram showing memory contents when performing a check.

【図5】通信速度とパラメータ値の関係を示す図。FIG. 5 is a diagram showing the relationship between communication speed and parameter values.

【図6】初期値テーブルを示す図。FIG. 6 is a diagram showing an initial value table.

【図7】修復後のメモリの内容を示す図。FIG. 7 is a diagram showing the contents of memory after restoration.

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

11  …  プログラムROM 12  …  パラメータ保存メモリ 13  …  外部装置用コントローラ19  …  
CPU 21  …  SSW2の内容 41、71  …  SI/SO制御パラメータ42、
72  …  未使用ビット群 43、73  …  通信速度パラメータ51  … 
 SI/SO制御とパラメータ52  …  未使用ビ
ット値 54  …  通信速度とパラメータ値の範囲61  
…  SSW2の初期値
11...Program ROM 12...Parameter storage memory 13...Controller for external device 19...
CPU 21... Contents of SSW2 41, 71... SI/SO control parameters 42,
72... Unused bit group 43, 73... Communication speed parameter 51...
SI/SO control and parameters 52 ... Unused bit values 54 ... Communication speed and parameter value ranges 61
... Initial value of SSW2

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外部装置を動作させるのにパラメータをセ
ットする必要のある機能を備える情報処理装置において
、前記各種機能のパラメータを記憶素子に保存する手段
と、前記保存した内容が正しいかどうかを電源投入時に
確認する手段と、前記確認時に正しくない場合には自動
的に修復する手段とを備えることを特徴とする情報処理
装置。
1. An information processing device having a function that requires setting parameters in order to operate an external device, comprising means for storing parameters of the various functions in a storage element, and checking whether the stored contents are correct. An information processing device characterized by comprising: means for checking when power is turned on; and means for automatically repairing when the checking is incorrect.
JP3134651A 1991-06-06 1991-06-06 Information processor Pending JPH04360219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3134651A JPH04360219A (en) 1991-06-06 1991-06-06 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3134651A JPH04360219A (en) 1991-06-06 1991-06-06 Information processor

Publications (1)

Publication Number Publication Date
JPH04360219A true JPH04360219A (en) 1992-12-14

Family

ID=15133358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3134651A Pending JPH04360219A (en) 1991-06-06 1991-06-06 Information processor

Country Status (1)

Country Link
JP (1) JPH04360219A (en)

Similar Documents

Publication Publication Date Title
US5835695A (en) Method for a primary BIOS ROM recovery in a dual BIOS ROM computer system
US6459624B1 (en) Memory structure capable of preventing data loss therein and method for protecting the same
JPS5958547A (en) Error processing system of microprogram controller
TW201716999A (en) Method for startup inspection and computer system using the same
JPH0561724A (en) Initializing information resetting system
JPH04269356A (en) Correction value holding method in engine control device
US7890800B2 (en) Method, operating system and computing hardware for running a computer program
CN100353321C (en) System with primary application and spare program and starting method
US20070050612A1 (en) Boot program update and restoration system and method thereof
US20190250578A1 (en) Method and device for computing data models in safety-critical systems
JP2001256044A (en) Data processing device
JP2000059981A (en) Digital protective relay device
JP2508305B2 (en) Initial value determination device
JP2858816B2 (en) Initial setting method of EEPROM
CN106815033B (en) Startup checking method and computer system
JPS635781B2 (en)
JPH01209553A (en) Data protecting method for control data memory
JPH02281352A (en) Memory check method of controller for automobile
EP0381140A2 (en) Data processing apparatus
JPS63136154A (en) Microcomputer device
JPH04367047A (en) Memory check method after recovery of power supply
JPS59225423A (en) Cpu bus control circuit
JPS6344241A (en) Interruption processor
JPH05108506A (en) Driver automatic repair device
JPH044431A (en) System for starting program of controller