JP3044665B2 - Control device - Google Patents
Control deviceInfo
- Publication number
- JP3044665B2 JP3044665B2 JP1199713A JP19971389A JP3044665B2 JP 3044665 B2 JP3044665 B2 JP 3044665B2 JP 1199713 A JP1199713 A JP 1199713A JP 19971389 A JP19971389 A JP 19971389A JP 3044665 B2 JP3044665 B2 JP 3044665B2
- Authority
- JP
- Japan
- Prior art keywords
- nonvolatile memory
- identification number
- check
- control device
- storage area
- 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.)
- Expired - Fee Related
Links
- 230000015654 memory Effects 0.000 claims description 133
- 238000003780 insertion Methods 0.000 claims description 22
- 230000037431 insertion Effects 0.000 claims description 22
- 238000013500 data storage Methods 0.000 claims description 16
- 230000002159 abnormal effect Effects 0.000 claims description 12
- 238000000034 method Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 230000002950 deficient Effects 0.000 description 3
- 101100524639 Toxoplasma gondii ROM3 gene Proteins 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 102200091804 rs104894738 Human genes 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複写機等の制御装置の改良に係り、詳しくは
複数の不揮発性メモリの差し込み違いを検出し得る制御
装置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in a control device such as a copying machine, and more particularly, to a control device capable of detecting insertion errors of a plurality of nonvolatile memories.
一般に、制御装置に接続された例えばEPROM等の不揮
発性メモリの異常を検出するには、予め同不揮発性メモ
リに記憶されているチェックデータを読み出し、そのチ
ェックデータの異常の有無によって判断する。Generally, in order to detect an abnormality in a nonvolatile memory such as an EPROM connected to a control device, check data stored in advance in the nonvolatile memory is read out, and a determination is made based on whether or not the check data is abnormal.
複数の不揮発メモリを具備してなる制御装置において
も、全く同様の手法が用いられる。The same method is used for a control device including a plurality of nonvolatile memories.
通常、上記制御装置の基板の他の部品、例えばICに不
良が生じると、この不良の基板に接続されている不揮発
性メモリを取り外し、新たな基板に上記取り外した不揮
発性メモリを接続し、上述したチェックを行う。Normally, when a defect occurs in other components of the board of the control device, for example, an IC, the nonvolatile memory connected to the defective board is removed, and the removed nonvolatile memory is connected to a new board. Make a check.
このとき、読み出した不揮発性メモリのチェックデー
タが正常であれば同不揮発性メモリをそのまま使用し、
異常であればこの不揮発性メモリも交換する。At this time, if the read check data of the nonvolatile memory is normal, the nonvolatile memory is used as it is,
If abnormal, this nonvolatile memory is also replaced.
上述した従来のチェック方法では、複数の不揮発性メ
モリを具備した制御装置の基板不良が発生したとき、新
たな基板に不良基板から取り外した上記複数の不揮発性
メモリをその接続場所を間違って接続すると、このとき
にも上記揮発性メモリのチェックデータが異常となる。According to the above-described conventional check method, when a board failure of a control device including a plurality of nonvolatile memories occurs, when the plurality of nonvolatile memories removed from the defective board to a new board are incorrectly connected at the connection locations. At this time, the check data of the volatile memory becomes abnormal.
この場合、上記不揮発性メモリが単に差し込み違いで
あるにもかかわらず、上記チェックデータの異常により
そのまま接続違いに気付かずに不揮発性メモリ自身の不
良と判断することがあった。In this case, even if the nonvolatile memory is simply inserted incorrectly, it may be determined that the nonvolatile memory itself is defective without noticing the incorrect connection due to the abnormality in the check data.
従って、本発明は複数の不揮発性メモリの不良と差し
込み違いの両方を検出し得る制御装置を提供することを
目的としてなされたものである。Therefore, an object of the present invention is to provide a control device capable of detecting both a defect and a wrong insertion of a plurality of nonvolatile memories.
上記目的を達成するために第1の発明は複数の不揮発
性メモリを具備してなる制御装置において、上記各々の
不揮発性メモリ領域内に設けられ識別番号を記憶するた
めの識別番号記憶領域と、上記各々の不揮発性メモリ領
域内に設けられ該不揮発性メモリのチェックデータを記
憶するためのチェックデータ記憶領域と、上記不揮発性
メモリが当該制御装置に接続された後、該不揮発性メモ
リの上記識別番号記憶領域に記憶された識別番号を読み
出してチェックする識別番号チェック手段と、上記不揮
発性メモリが当該接続装置に接続された後、該不揮発性
メモリの上記チェックデータ記憶領域に記憶されたチェ
ックデータを読み出してチェックするデータチェック手
段と、上記識別番号チェック手段および上記データチェ
ック手段によるチェックが共に正常であった場合に、上
記各々の不揮発性メモリおよびその接続が正常であると
判断する判断手段と、上記識別番号チェック手段による
チェックが異常であった場合に、他の不揮発性メモリの
識別番号との一致をチェックする差し込み違い判断手段
とを具備してなることを特徴とする制御装置として構成
されている。In order to achieve the above object, a first invention is a control device including a plurality of nonvolatile memories, wherein an identification number storage area provided in each of the nonvolatile memory areas for storing an identification number; A check data storage area provided in each of the nonvolatile memory areas for storing check data of the nonvolatile memory, and the identification of the nonvolatile memory after the nonvolatile memory is connected to the control device. Identification number checking means for reading and checking an identification number stored in a number storage area, and check data stored in the check data storage area of the nonvolatile memory after the nonvolatile memory is connected to the connection device. Data checking means for reading and checking the data, and checking by the identification number checking means and the data checking means. The determination means for determining that the respective nonvolatile memories and the connection thereof are normal when both the memories are normal, and the other nonvolatile memory when the check by the identification number checking means is abnormal. And a plug-in mis-judgment means for checking the coincidence with the identification number.
また、第2の発明は上記差し込み違い判断手段により
差し込み違いと判断されたとき、不揮発性メモリの記憶
データを入れ替える入れ替え手段を更に付加してなるこ
とを特徴とする制御装置として構成されている。Further, the second invention is configured as a control device characterized by further adding a replacement means for replacing data stored in the non-volatile memory when a wrong insertion is determined by the wrong insertion determination means.
この第1の発明に係る制御装置は、上記のように構成
されているので、上記不揮発性メモリがこの制御装置に
接続され、電源がオンされると、識別番号チェック手段
により上記識別番号記憶領域に記憶された識別番号が読
み出されてチェックされる。Since the control device according to the first aspect of the present invention is configured as described above, when the nonvolatile memory is connected to the control device and the power is turned on, the identification number check unit outputs the identification number storage area. Is read and checked.
更に、データチェック手段により上記チェックデータ
記憶領域に記憶されたチェックデータが読み出されてチ
ェックされる。Further, the check data stored in the check data storage area is read and checked by the data check means.
そして、上記識別番号チェック手段および上記データ
チェック手段によるチェックが共に正常であった場合
に、各々の不揮発性メモリおよびその接続が正常である
と判断手段により判断される。Then, when the identification number check means and the data check means both check normally, the judgment means judges that the respective non-volatile memories and their connections are normal.
また、上記識別番号チェック手段によるチェックが異
常であった場合に、差し込み違い判断手段により他の不
揮発性メモリの識別番号との一致がチェックされる。Further, when the check by the identification number checking means is abnormal, the wrong insertion judgment means checks the coincidence with the identification numbers of the other nonvolatile memories.
そして、差し込み違いである場合には、例えば表示部
に差し込み違いの内容が表示される。If the insertion is incorrect, the content of the insertion is displayed on the display unit, for example.
従って、複数の不揮発性メモリの差し込み違いを容易
に検出することができる。Therefore, it is possible to easily detect a difference in insertion of a plurality of nonvolatile memories.
また、第2の発明に係る制御装置では、上記差し込み
違い判断手段により差し込み違いと判断されたとき、更
に入れ替え手段により不揮発性メモリの記憶データが入
れ替えられる。In the control device according to the second aspect of the invention, when the wrong insertion is determined by the wrong insertion determining means, the data stored in the nonvolatile memory is further replaced by the replacing means.
従って、不揮発性メモリを差しかえる手間を更に省く
ことができる。Therefore, the trouble of replacing the nonvolatile memory can be further reduced.
以下、添付図面を参照して、本発明を具体化した実施
例につき説明し、本発明の理解に供する。尚、以下の実
施例は、本発明を具体化した一例であって、本発明の技
術的範囲を限定する性格のものではない。Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings to provide an understanding of the present invention. The following embodiment is an example embodying the present invention, and does not limit the technical scope of the present invention.
第1図は本発明の一実施例に係る制御装置のブロック
図、第2図は同制御装置の不揮発性メモリの記憶領域を
示す模式図、第3図は同制御装置の不揮発性メモリのチ
ェック処理を示すフローチャートである。FIG. 1 is a block diagram of a control device according to an embodiment of the present invention, FIG. 2 is a schematic diagram showing a storage area of a nonvolatile memory of the control device, and FIG. 3 is a check of the nonvolatile memory of the control device. It is a flowchart which shows a process.
第1図に示すこの制御装置1は、マイクロコンピュー
タ(以下CPU)2を中枢として構成され、このCPU2にROM
3,不揮発性メモリA,不揮発性メモリB,入力ユニット4,出
力ユニット5および表示部6が接続されている。The control device 1 shown in FIG. 1 has a microcomputer (hereinafter referred to as a CPU) 2 as a center, and a ROM
3. The nonvolatile memory A, the nonvolatile memory B, the input unit 4, the output unit 5, and the display unit 6 are connected.
上記不揮発性メモリA,Bはこの第2図に示すように制
御装置1のそれぞれの接続場所であるコネクタα,β
(破線)に差し込まれて接続される。As shown in FIG. 2, the non-volatile memories A and B have connectors α and β which are connection locations of the control device 1, respectively.
(Broken line) and connected.
上記不揮発性メモリA,Bのそれぞれのメモリ領域に
は、この第2図に示すように不揮発性メモリA,Bのそれ
ぞれの識別番号を記憶するための識別番号記憶領域A1,B
1およびこの不揮発性メモリA,Bのそれぞれのチェックデ
ータを記憶するためのチェックデータ記憶領域A2,B2が
設けられている。但し、かかる記憶領域は仮想のもので
あって、実際にはデータがランダムに記憶されている場
合が多く、以下の記憶領域はこのような場合を含むもの
である。In the respective memory areas of the nonvolatile memories A and B, as shown in FIG. 2, identification number storage areas A 1 and B for storing respective identification numbers of the nonvolatile memories A and B are provided.
1 and check data storage areas A 2 and B 2 for storing respective check data of the nonvolatile memories A and B are provided. However, such a storage area is virtual, and in many cases, data is actually stored at random, and the following storage areas include such a case.
また、上記不揮発性メモリA,Bのそれぞれの識別番号
およびチェックデータは上記各々の記憶領域A1,B1,A2,B
2に予め書き込まれている。The identification numbers and check data of the nonvolatile memories A and B are stored in the respective storage areas A 1 , B 1 , A 2 , B
2 is written in advance.
上記ROM3はこの制御装置1のシーケンスプログラムの
処理内容や、不揮発性メモリA,Bの識別番号およびチェ
ックデータ等を予め記憶している。The ROM 3 previously stores the processing contents of the sequence program of the control device 1, the identification numbers of the nonvolatile memories A and B, check data, and the like.
例えば複写機等の制御装置1では、コピー指令等が入
力ユニット4に入力されるとROM3に記憶されている所定
シーケンスに従ってコピー処理等がなされる。For example, in a control device 1 such as a copying machine, when a copy command or the like is input to the input unit 4, a copy process or the like is performed according to a predetermined sequence stored in the ROM 3.
次に、第3図を参照してこの制御装置1の不揮発性メ
モリA,Bのチェック処理手順についてステップS1,S2,…
の順に説明する。Next, referring to FIG. 3, steps S1, S2,... Of the check processing procedure of the nonvolatile memories A and B of the control device 1 will be described.
Will be described in this order.
不揮発性メモリA,Bがこの制御装置1のそれぞれのコ
ネクタα,βに接続され、更に電源がオンされると同制
御装置1の初期設定がなされる(S1)。The nonvolatile memories A and B are connected to the respective connectors α and β of the control device 1, and when the power is further turned on, the control device 1 is initialized (S1).
そして、コネクタαに接続されている不揮発性メモリ
Aの識別番号記憶領域A1およびチェックデータ記憶領域
A2に記憶されている識別番号およびチェックデータがCP
U2により読み取られる(S2)。Then, the identification number storage area A 1 and the check data storage area of the nonvolatile memory A, which is connected to the connector α
Identification stored in the A 2 number and check data CP
Read by U2 (S2).
更に、上記読み取った識別番号がROM3に記憶されてい
る識別番号(即ち、この接続場所(コネクタα)の不揮
発性メモリAの識別番号)と一致するかどうか判断され
(S3)、一致すれば次のステップS4へ移る。Further, it is determined whether or not the read identification number matches the identification number stored in the ROM 3 (that is, the identification number of the nonvolatile memory A at the connection location (connector α)) (S3). Move to step S4.
上述した不揮発性メモリAの識別番号記憶領域A1に記
憶された識別番号を読み出してチェックする機能を実現
する手段が識別番号チェック手段の一例である。Means for implementing the function of checking by reading the identification number stored in the identification number storage area A 1 of the above-mentioned non-volatile memory A is an example of the identification number checking means.
そして、次のステップS4では上記S2で読み取ったチェ
ックデータがROM3に記憶されている不揮発性メモリAの
チェックデータと一致するかどうか判断され、一致しな
ければ不揮発性メモリAの異常と判断され(S8)、一致
すれば次のステップS5に移る。In the next step S4, it is determined whether or not the check data read in S2 matches the check data in the nonvolatile memory A stored in the ROM 3, and if not, it is determined that the nonvolatile memory A is abnormal ( S8) If they match, the process moves to the next step S5.
上述した不揮発性メモリAのチェックデータ記憶領域
A2に記憶されたチェックデータを読み出してチェックす
る機能を実現する手段がデータチェック手段の一例であ
る。Check data storage area of nonvolatile memory A described above
Means for implementing the function of checking by reading the check data stored in A 2 is an example of a data checking unit.
更に、次のステップS5ではコネクタβに接続されてい
る不揮発性メモリBの識別番号記憶領域B1およびチェッ
クデータ記憶領域B2に記憶されている識別番号およびチ
ェックデータがCPU2により読み取られる。Furthermore, the identification number storage area B 1 and the check data storage area B 2 to the stored identification number and the check data in the nonvolatile memory B connected to the next step S5 connector β is read by CPU 2.
そして、上記読み取った識別番号がROM3に記憶されて
いる識別番号(即ち、この接続場所(コネクタβ)の不
揮発性メモリBの識別番号)と一致するかどうか判断さ
れ(前記識別番号チェック手段)、更に上記読み取った
チェックデータがROM3に記憶されている不揮発性メモリ
Bのチェックデータと一致するかどうか判断される(前
記データチェック手段)(S6)。Then, it is determined whether or not the read identification number matches the identification number stored in the ROM 3 (that is, the identification number of the nonvolatile memory B at the connection location (connector β)) (the identification number checking means). Further, it is determined whether the read check data matches the check data of the nonvolatile memory B stored in the ROM 3 (the data check means) (S6).
このステップS6で、識別番号およびチェックデータの
いずれかが一致しない場合は不揮発性メモリBの異常と
判断され(S9)、また識別番号およびチェックデータが
共に一致する場合は不揮発性メモリBは正常であると判
断され、次のステップS7に移る。In this step S6, if any one of the identification number and the check data does not match, it is determined that the nonvolatile memory B is abnormal (S9). If both the identification number and the check data match, the nonvolatile memory B is normal. It is determined that there is, and the process proceeds to the next step S7.
そして、次のステップS7では不揮発性メモリA,Bおよ
びその接続が正常であると例えば表示部6に表示され
る。In the next step S7, for example, the display unit 6 displays that the nonvolatile memories A and B and their connections are normal.
上述した一連(S2,S3,S4,S5,S6)の識別番号およびチ
ェックデータを読み出し、読み出された識別番号および
チェックデータが共に正常であった場合に、不揮発性メ
モリA,Bおよびその接続が正常であると判断する機能を
実現する手段が判断手段の一例である。The identification numbers and check data of the series (S2, S3, S4, S5, S6) described above are read, and if both the read identification numbers and the check data are normal, the nonvolatile memories A and B and their connections The means for realizing the function of determining that the is normal is an example of the determination means.
更に、それぞれ不揮発性メモリAのコネクタαに不揮
発性メモリBが、不揮発性メモリBのコネクタβに不揮
発性メモリAが間違って接続され場合について説明す
る。Further, a case will be described in which the nonvolatile memory B is connected to the connector α of the nonvolatile memory A and the nonvolatile memory A is connected to the connector β of the nonvolatile memory B by mistake.
上記接続後電源がオンされると、この制御装置1の初
期設定がなされる(S1)。When the power is turned on after the connection, the control device 1 is initialized (S1).
そして、不揮発性メモリAのコネクタαに間違って接
続されている不揮発性メモリBの識別番号記憶領域B1お
よびチェックデータ記憶領域B2に記憶されている識別番
号およびチェックデータがCPU2により読み取られる(S
2)。Then, the identification number storage area B 1 and the check data storage area B 2 to the stored identification number and the check data in the nonvolatile memory B connected is read by CPU2 wrong connector α of the non-volatile memory A ( S
2).
更に、上記読み取った識別番号がROM3に記憶されてい
る識別番号(即ち、この接続場所(コネクタα)の不揮
発性メモリAの識別番号)と一致するかどうか判断され
る(前記識別番号チェック手段)(S3)。Further, it is determined whether or not the read identification number matches the identification number stored in the ROM 3 (that is, the identification number of the nonvolatile memory A at the connection location (connector α)) (the identification number checking means). (S3).
上記S3では、不揮発性メモリの接続が間違っているの
で、当然ながら識別番号が一致しないと判断され次のス
テップS10に移る。In the above S3, since the connection of the non-volatile memory is wrong, it is naturally determined that the identification numbers do not match, and the routine goes to the next step S10.
このステップS10では、ROM3に記憶されている他の不
揮発性メモリ(即ち、不揮発性メモリB)の識別番号と
の一致がチェックされる。In this step S10, a check is made to see if the identification number matches the identification number of another nonvolatile memory (that is, nonvolatile memory B) stored in the ROM3.
上記S10のチェックで識別番号が一致しなければ、こ
のコネクタαに間違って接続されている不揮発性メモリ
Bの異常と判断され、この不揮発性メモリBの接続場所
(コネクタα)を示すように不揮発性メモリAの異常と
例えば表示部6に表示される(S14)。If the identification numbers do not match in the check in S10, it is determined that the non-volatile memory B erroneously connected to the connector α is abnormal, and the non-volatile memory B is connected to indicate the connection location (connector α) of the non-volatile memory B. Is displayed on the display unit 6, for example, as an abnormality of the sex memory A (S14).
また、上記S10のチェックで識別番号が一致すれば、
コネクタαに間違って不揮発性メモリBが接続されたと
判断されて次のステップS11に移る。Also, if the identification numbers match in the above check of S10,
It is determined that the non-volatile memory B is erroneously connected to the connector α, and the routine goes to the next step S11.
更に、このステップS11では不揮発性メモリBのコネ
クタβに間違って接続されている不揮発性メモリAの識
別番号記憶領域A1およびチェックデータ記憶領域A2に記
憶されている識別番号およびチェックデータがCPU2に読
み取られ、次のステップS12へ移る。Furthermore, the identification number storage area A 1 and the check data storage area A 2 in the stored identification number and the check data in the nonvolatile memory A that wrong connectors β is connected this step S11, the non-volatile memory B is CPU2 And the process proceeds to the next step S12.
このステップS12では、上記読み取った識別番号ROM3
に記憶されている不揮発性メモリAの識別番号と一致す
るかどうか判断される。In this step S12, the read identification number ROM3
It is determined whether or not it matches the identification number of the non-volatile memory A stored in the non-volatile memory A.
上記S12でのチェックで識別番号が一致しなければ、
このコネクタβに間違って接続されている不揮発性メモ
リAの異常と判断され、この不揮発性メモリAの接続場
所(コネクタβ)を示すように不揮発性メモリBの異常
と例えば表示部6に表示される(S15)。If the identification numbers do not match in the check in S12 above,
It is determined that the non-volatile memory A is erroneously connected to the connector β, and an error of the non-volatile memory B is displayed on the display unit 6 to indicate the connection location (connector β) of the non-volatile memory A, for example. (S15).
また、上記S12のチェックで識別番号が一致すればコ
ネクタβに不揮発性メモリAが間違って接続されている
と判断され、次のステップS13に移る。If the identification numbers match in the check in S12, it is determined that the nonvolatile memory A is erroneously connected to the connector β, and the routine goes to the next step S13.
このステップS13では、それぞれ不揮発性メモリAの
コネクタαに不揮発性メモリBが、不揮発性メモリBの
コネクタβに不揮発性メモリAが間違って接続されたと
例えば表示部6に表示される。In this step S13, for example, the display unit 6 displays that the nonvolatile memory B is connected to the connector α of the nonvolatile memory A and the nonvolatile memory A is connected to the connector β of the nonvolatile memory B by mistake.
従って、複数の不揮発性メモリの差し込み違いを容易
に検出することができる。Therefore, it is possible to easily detect a difference in insertion of a plurality of nonvolatile memories.
上述した一連(S3,S10,S11,S12)の識別番号のチェッ
クが異常であった場合に他の不揮発性メモリの識別番号
との一致をチェックする機能を実現する手段が差し込み
違い判断手段の一例である。An example of a wrong insertion determination unit is a unit that realizes a function of checking a match with an identification number of another nonvolatile memory when the above-described series of (S3, S10, S11, S12) identification number checks are abnormal. It is.
また、上記S13で不揮発性メモリA,Bの接続間違いと判
断されたとき、更に次のステップS16で不揮発性メモリ
A,Bの記憶データの入れ替えがCPU2によりなされるよう
にしてもよい。When it is determined in S13 that the connection between the nonvolatile memories A and B is incorrect, the nonvolatile memory A and B are further determined in the next step S16.
The storage data of A and B may be exchanged by the CPU 2.
この場合、更に不揮発性メモリの差し込み違いを修正
するために両メモリを差しかえる手間が省かれる。In this case, it is possible to further save the trouble of switching between the two memories in order to correct a wrong insertion of the non-volatile memory.
ただし、この場合の不揮発性メモリは例えば電池内蔵
のRAM等により構成された書き替え可能な型式であると
する。However, it is assumed that the nonvolatile memory in this case is of a rewritable type constituted by, for example, a RAM with a built-in battery.
上述した上記S13で差し込み違いと判断されたとき、
不揮発性メモリの記憶データを入れ替える機能を実現す
る手段が入れ替え手段の一例である。When it is determined that the insertion is wrong in S13 described above,
Means for realizing the function of exchanging data stored in the nonvolatile memory is an example of the exchanging means.
なお、上記実施例では、2個の不揮発性メモリA,Bの
場合について述べたが、不揮発性メモリの個数が他の個
数(例えば3個あるいは4個)である場合においても全
く同様に処理することができる。In the above embodiment, the case of two nonvolatile memories A and B has been described. However, the same processing is performed when the number of nonvolatile memories is another number (for example, three or four). be able to.
第1の発明により複数の不揮発性メモリを具備してな
る制御装置において、上記各々の不揮発性メモリ領域内
に設けられ識別番号を記憶するための識別番号記憶領域
と、上記各々の不揮発性メモリ領域内に設けられ該不揮
発性メモリのチェックデータを記憶するためのチェック
データ記憶領域と、上記不揮発性メモリが当該制御装置
に接続された後、該不揮発性メモリの上記識別番号記憶
領域に記憶された識別番号を読み出してチェックする識
別番号チェック手段と、上記不揮発性メモリが当該制御
装置に接続された後、該不揮発性メモリの上記チェック
データ記録領域に記憶されたチェックデータを読み出し
てチェックするデータチェック手段と、上記識別番号チ
ェック手段および上記データチェック手段によるチェッ
クが共に正常であった場合に、上記各々の不揮発性メモ
リおよびその接続が正常であると判断する判断手段と、
上記識別番号チェック手段によるチェックが異常であっ
た場合に、他の不揮発性メモリの識別番号との一致をチ
ェックする差し込み違い判断手段とを具備してなること
を特徴とする制御装置が提供される。In a control device including a plurality of nonvolatile memories according to the first invention, an identification number storage area provided in each of the nonvolatile memory areas for storing an identification number, and each of the nonvolatile memory areas And a check data storage area for storing the check data of the nonvolatile memory, and the identification data storage area of the nonvolatile memory after the nonvolatile memory is connected to the control device. Identification number checking means for reading and checking an identification number; and data check for reading and checking check data stored in the check data recording area of the nonvolatile memory after the nonvolatile memory is connected to the control device. Means and the checks by the identification number checking means and the data checking means are both normal. If a determination means for non-volatile memory and its connection the each is determined to be normal,
If the check by the identification number check means is abnormal, a control device is provided which comprises a wrong insertion judgment means for checking the coincidence with an identification number of another nonvolatile memory. .
従って、複数の不揮発性メモリの不良と差し込み違い
の両方を容易に検出することができる。Therefore, it is possible to easily detect both a defect and a wrong insertion of a plurality of nonvolatile memories.
また、第2の発明により上記差し込み違い判断手段に
より差し込み違いと判断されたとき、不揮発性メモリの
記憶データを入れ替える入れ替え手段を更に付加してな
ることを特徴とする制御装置が提供される。Further, according to a second aspect of the present invention, there is provided a control device characterized by further comprising a switching means for replacing data stored in the nonvolatile memory when the insertion is judged to be wrong by the wrong insertion judging means.
従って、不揮発性メモリを差し替える手間が更に省か
れる。Therefore, the labor for replacing the non-volatile memory is further reduced.
第1図は本発明の一実施例に係る制御装置のブロック
図、第2図は同制御装置の不揮発性メモリの記憶領域を
示す模式図、第3図は同制御装置の不揮発性メモリのチ
ェック処理を示すフローチャートである。 〔符号の説明〕 1……制御装置 2……マイクロコンピュータ 3……ROM 4……入力ユニット 5……出力ユニット 6……表示部 A,B……不揮発性メモリ A1,B1……識別番号記憶領域 A2,B2……チェックデータ記憶領域FIG. 1 is a block diagram of a control device according to an embodiment of the present invention, FIG. 2 is a schematic diagram showing a storage area of a nonvolatile memory of the control device, and FIG. 3 is a check of the nonvolatile memory of the control device. It is a flowchart which shows a process. [Description of Signs] 1 ... Control device 2 ... Microcomputer 3 ... ROM 4 ... Input unit 5 ... Output unit 6 ... Display unit A, B ... Non-volatile memory A 1 , B 1 ... Identification Number storage area A 2 , B 2 …… Check data storage area
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 12/16 G06F 12/06 G11C 5/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 12/16 G06F 12/06 G11C 5/00
Claims (2)
装置において、 上記各々の不揮発性メモリ領域内に設けられ識別番号を
記憶するための識別番号記憶領域と、 上記各々の不揮発性メモリ領域内に設けられ該不揮発性
メモリのチェックデータを記憶するためのチェックデー
タ記憶領域と、 上記不揮発性メモリが当該制御装置に接続された後、該
不揮発性メモリの上記識別番号記憶領域に記憶された識
別番号を読み出してチェックする識別番号チェック手段
と、 上記不揮発性メモリが当該制御装置に接続された後、該
不揮発性メモリの上記チェックデータ記憶領域に記憶さ
れたチェックデータを読み出してチェックするデータチ
ェック手段と、 上記識別番号チェック手段および上記データチェック手
段によるチェックが共に正常であった場合に、上記各々
の不揮発性メモリおよびその接続が正常であると判断す
る判断手段と、 上記識別番号チェック手段によるチェックが異常であっ
た場合に、他の不揮発性メモリの識別番号との一致をチ
ェックする差し込み違い判断手段とを具備してなること
を特徴とする制御装置。1. A control device comprising a plurality of nonvolatile memories, an identification number storage area provided in each of the nonvolatile memory areas for storing an identification number, and each of the nonvolatile memory areas And a check data storage area for storing the check data of the nonvolatile memory, the check data being stored in the identification number storage area of the nonvolatile memory after the nonvolatile memory is connected to the control device. An identification number checking means for reading and checking an identification number; and a data check for reading and checking check data stored in the check data storage area of the nonvolatile memory after the nonvolatile memory is connected to the control device. Means and the checks by the identification number checking means and the data checking means are both normal. A determination unit for determining that each of the nonvolatile memories and the connection thereof are normal; and, when the check by the identification number check unit is abnormal, matching with the identification numbers of the other nonvolatile memories. A control device comprising: a wrong insertion judgment unit for checking.
装置において、 上記各々の不揮発性メモリ領域内に設けられ識別番号を
記憶するための識別番号記憶領域と、 上記各々の不揮発性メモリ領域内に設けられ該不揮発性
メモリのチェックデータを記憶するためのチェックデー
タ記憶領域と、 上記不揮発性メモリが当該制御装置に接続された後、該
不揮発性メモリの上記識別番号記憶領域に記憶された識
別番号を読み出してチェックする識別番号チェック手段
と、 上記不揮発性メモリが当該制御装置に接続された後、該
不揮発性メモリの上記チェックデータ記憶領域に記憶さ
れたチェックデータを読み出してチェックするデータチ
ェック手段と、 上記識別番号チェック手段および上記データチェック手
段によるチェックが共に正常であった場合に、上記各々
の不揮発性メモリおよびその接続が正常であると判断す
る判断手段と、 上記識別番号チェック手段によるチェックが異常であっ
た場合に、他の不揮発性メモリの識別番号との一致をチ
ェックする差し込み違い判断手段と、 該差し込み違い判断手段により差し込み違いと判断され
たとき、不揮発性メモリの記憶データを入れ替える入れ
替え手段とを具備してなることを特徴とする制御装置。2. A control device comprising a plurality of nonvolatile memories, comprising: an identification number storage area provided in each of the nonvolatile memory areas for storing an identification number; and each of the nonvolatile memory areas. And a check data storage area for storing the check data of the nonvolatile memory, the check data being stored in the identification number storage area of the nonvolatile memory after the nonvolatile memory is connected to the control device. An identification number checking means for reading and checking an identification number; and a data check for reading and checking check data stored in the check data storage area of the nonvolatile memory after the nonvolatile memory is connected to the control device. Means and the checks by the identification number checking means and the data checking means are both normal. A determination unit for determining that each of the nonvolatile memories and the connection thereof are normal; and, when the check by the identification number check unit is abnormal, matching with the identification numbers of the other nonvolatile memories. A control device comprising: a wrong insertion judgment unit for checking; and a replacement unit for replacing data stored in a non-volatile memory when the wrong insertion is judged by the wrong insertion judgment unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1199713A JP3044665B2 (en) | 1989-07-31 | 1989-07-31 | Control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1199713A JP3044665B2 (en) | 1989-07-31 | 1989-07-31 | Control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0363742A JPH0363742A (en) | 1991-03-19 |
JP3044665B2 true JP3044665B2 (en) | 2000-05-22 |
Family
ID=16412373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1199713A Expired - Fee Related JP3044665B2 (en) | 1989-07-31 | 1989-07-31 | Control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3044665B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62275376A (en) * | 1986-05-23 | 1987-11-30 | Canon Inc | Electronic equipment |
JPH0782460B2 (en) * | 1987-11-09 | 1995-09-06 | 沖電気工業株式会社 | How to check the recording medium |
-
1989
- 1989-07-31 JP JP1199713A patent/JP3044665B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH0363742A (en) | 1991-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4698808A (en) | Method for detecting intermittent error in volatile memory | |
EP0023821A2 (en) | Apparatus and method for checking a memory and a computer system including a memory and apparatus for checking the memory | |
EP0886211A2 (en) | Initial program load | |
JP3376306B2 (en) | Data processing apparatus and data processing method | |
US6539338B1 (en) | Self-diagnostic testing of a network interface adapter | |
JP3044665B2 (en) | Control device | |
JPH03147086A (en) | Ic card | |
CN111783162B (en) | Data protection implementation method and device and computer equipment | |
JP3342039B2 (en) | Processing unit that manages files | |
US5764659A (en) | Apparatus for preventing writing to a releasable storage device | |
JPH0784894A (en) | Method for writing nonvolatile memory | |
JPH04137153A (en) | Check system for connection route | |
JPH07271676A (en) | Memory chip insertion position check device | |
JP3314719B2 (en) | Flash EEPROM and its test method | |
JP3230743B2 (en) | Memory card data mismatch detection method and method | |
JP3315266B2 (en) | Self-diagnosis status display method | |
JP2697332B2 (en) | Operation setting information reliability improvement device | |
JPH0793505A (en) | Count integrating device | |
JP2984126B2 (en) | Memory card contact failure detection device | |
CN115562591A (en) | Reliable EEPROM data storage system, method and device | |
JPH07253904A (en) | Printed circuit board mounting test method and printed circuit board mounting test apparatus | |
JP2833928B2 (en) | Diagnostic initialization method | |
JPS61204648A (en) | Copying machine with self-diagnosing function | |
JPH02211532A (en) | System identification information managing system | |
CN117687833A (en) | Method, device and storage medium for testing data security |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090317 Year of fee payment: 9 |
|
LAPS | Cancellation because of no payment of annual fees |