JP3839161B2 - 2-port memory diagnostic device, 2-port memory diagnostic monitoring device, and 2-port memory diagnostic method - Google Patents

2-port memory diagnostic device, 2-port memory diagnostic monitoring device, and 2-port memory diagnostic method Download PDF

Info

Publication number
JP3839161B2
JP3839161B2 JP10311798A JP10311798A JP3839161B2 JP 3839161 B2 JP3839161 B2 JP 3839161B2 JP 10311798 A JP10311798 A JP 10311798A JP 10311798 A JP10311798 A JP 10311798A JP 3839161 B2 JP3839161 B2 JP 3839161B2
Authority
JP
Japan
Prior art keywords
data
cpu
port memory
diagnosis
diagnostic
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
Application number
JP10311798A
Other languages
Japanese (ja)
Other versions
JPH11296442A (en
Inventor
剛志 柴田
毅 小林
智誓 吉尾
直丈 井上
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP10311798A priority Critical patent/JP3839161B2/en
Publication of JPH11296442A publication Critical patent/JPH11296442A/en
Application granted granted Critical
Publication of JP3839161B2 publication Critical patent/JP3839161B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、2ポートメモリの診断装置および2ポートメモリ診断のモニタリング装置および2ポートメモリの診断方法に関し、特にパーソナルコンピュータ等のコンピュータとコンピュータに装填された拡張ボードとのデータ通信のために拡張ボードに搭載されるような2ポートメモリの診断装置および2ポートメモリ診断のモニタリング装置および2ポートメモリの診断方法に関するものである。
【0002】
【従来の技術】
パーソナルコンピュータとその拡張スロットに実装された拡張ボードとの間のデータ伝送は、パーソナルコンピュータ側と拡張ボード側とにそれぞれポートを持ち、パーソナルコンピュータと拡張ボードの双方から任意にアクセスが可能な共有メモリである2ポートメモリを介して行われる。
【0003】
図12および図13は従来の2ポートメモリの診断装置を示している。これらの図において、100はパーソナルコンピュータ(パソコン)、200はパソコン100の拡張スロットに装着された拡張ボードを示しており、拡張ボード200に2ポートメモリ210が装備されている。2ポートメモリ210はアドレス1〜nの全域が診断エリアとなる。従来の診断装置では、診断はパーソナルコンピュータ側ポート診断と拡張ボード側ポート診断の2つのフェーズから成り、それぞれのフェーズは独立している。
【0004】
図12はパーソナルコンピュータ側ポート診断フェーズを示しており、この診断フェーズでは、パーソナルコンピュータ100は、データ書込み手段101によって任意データを2ポートメモリ210に書込み、データ読込み手段102によって2ポートメモリ210からデータを読み込み、データ比較手段103によって書込みデータと読込みデータの比較(照合)を行う。この間、拡張ボード200は2ポートメモリ210へのアクセスを停止する。
【0005】
図13は拡張ボード側ポート診断フェーズを示しており、この診断フェーズでは、拡張ボード200は、データ書込み手段201によって任意データを2ポートメモリ210に書込み、データ読込み手段202によって2ポートメモリ210からデータを読み込み、データ比較手段203によって書込みデータと読込みデータの比較(照合)を行う。この間、パーソナルコンピュータ100は2ポートメモリ210へのアクセスを停止する。図14は上述のようにパーソナルコンピュータ100と拡張ボード200のそれぞれで実行される診断プログラムのフローチャートである。
【0006】
まず、データ書込み手段101あるいは201によって任意データを2ポートメモリ210に書き込み(ステップS100)、書き込み完了後に、データ読込み手段102あるいは202によって2ポートメモリ210からデータを読み込み(ステップS101)、データ比較手段103あるいは203によって書込みデータと読込みデータの比較を行う(ステップS102)。書込みデータと読込みデータとが一致すれば(ステップS102肯定)、正常判定で終了する(ステップS103)。これに対し、書込みデータと読込みデータとが不一致すれば(ステップS102肯定)、エラー判定を行う(ステップS104)。
【0007】
また、別の従来の診断装置として、診断のために2ポートメモリとは別に、パーソナルコンピュータ側CPUと拡張ボード側CPU間の通信経路となる付加的なハードウェアを設け、2つの経路間でデータの比較を行うものがある。例えば、特開平2−205956号公報には、2ポートメモリの一方のポートに、一方のCPUからの割込み要求信号が入力された時、他方のポートから他方のCPUに割込み信号を出力するシステムにおいて、他方のポートからの割込み信号を一方のCPUに入力する経路と、一方のCPUからの割込み要求信号を他方のCPUへ入力する経路とを設け、割込み信号が送信されたことを送信経路を二重にすることによって確認する2ポートメモリの故障診断装置が示されている。
【0008】
【発明が解決しようとする課題】
従来における2ポートメモリ診断装置(前者)では、パーソナルコンピュータ側ポートと拡張ボード側ポートの診断がそれぞれ単独した個別のフェーズで行われているため、確実に一方から他方へ2ポートメモリを介してデータを送ることができる保障はない。例えば、一方が誤ったアドレスにデータの書込み、読み込みを行なっても、正常となり、厳格な診断が行われない。
【0009】
後者の2ポートメモリの故障診断装置は、データ送信経路を二重にして信頼性を高めたに過ぎず、この故障診断装置でも、依然として両データ送信経路が故障した場合や、2ポートメモリは正常であるが診断のために設けたデータ送信経路が故障した場合には、2ポートメモリが故障であると誤診断される問題がある。また、診断のために別のデータ転送経路をハードウェアにて付加しなければならない。
【0010】
この発明は、上述の如き問題点を解消するためになされたもので、特別なハードウェアの追加、変更なしに、パーソナルコンピュータと拡張ボード等とが協調して2ポートメモリを介したデータ送受信機能の診断を的確に行なう2ポートメモリの診断装置および2ポートメモリ診断のモニタリング装置および2ポートメモリの診断方法を得ることを目的としている。
【0011】
【課題を解決するための手段】
上述の目的を達成するために、この発明による2ポートメモリの診断装置は、第一のCPUと第二のCPUの双方がアクセス可能な2ポートメモリの診断装置において、前記第一のCPUと前記第二のCPUは、相手CPU側が書き込んだ2ポートメモリのデータ読み込データ読込み手段と、前記データ読込み手段によって2ポートメモリより読み込んだデータ可逆変換を施すデータ変換手段と、前記データ変換手段によって可逆変換されたデータ2ポートメモリに書き込データ書込み手段と、前記データ読込み手段によって読み込まれたデータに相手CPU側のデータ変換手段が施す可逆変換の逆変換を施したデータと自CPU側のデータ読込み手段によって2ポートメモリからデータを読み込む前に自CPU側のデータ書き込み手段が2ポートメモリに書き込んだデータと比較するデータ比較手段と、を有し、データ不一致によりエラー判定を行うものである。
【0012】
つぎの発明による2ポートメモリの診断装置は、前記第一のCPUと前記第二のCPUのいずれか一方の側の前記データ読込み手段によって、他方の側の前記データ書込み手段による2ポートメモリに対するデータ書込みによる2ポートメモリのデータ変化を監視し、タイムアウトによりエラー判定を行うものである。
【0013】
つぎの発明による2ポートメモリの診断装置は、前記第一のCPUから第二のCPUへの診断開始を知らせる診断開始通知手段と、前記第一のCPUから前記第二のCPUへの診断終了を知らせる診断終了通知手段と、前記第二のCPUにおいて前記第一のCPUからの診断開始通知を確認する診断開始確認手段と、前記第二のCPUにおいて前記第一のCPUからの診断終了通知を確認する診断終了確認手段とを有しているものである。
【0014】
つぎの発明による2ポートメモリの診断装置は、複数個の判断フラグエリアを画定、前記診断開始通知手段は複数個のすべての判断フラグエリアに診断開始値を書き込み、前記診断開始確認手段は複数個の判断フラグエリアの少なくとも一つの値が診断開始値になれば、それを可逆変換して元の判断フラグエリアに書き込み、前記診断開始通知手段がそれを読み出して可逆変換の逆変換を行い、逆変換後の値が判断フラグエリアに書き込んだ診断開始値と一致すれば診断を正常に開始し、前記診断終了通知手段は複数個のすべての判断フラグエリアに診断終了値を書き込み、前記診断終了確認手段は複数個の判断フラグエリアの少なくとも一つの値が診断終了値になれば、それを可逆変換して元の判断フラグエリアに書き込み、前記診断終了通知手段がそれを読み出して可逆変換の逆変換を行い、逆変換後の値が判断フラグエリアに書き込んだ診断終了値と一致すれば診断を正常に終了するものである。
【0015】
つぎの発明による2ポートメモリの診断装置は、前記データ変換手段が前記データ読込み手段によって2ポートメモリより読み込んだデータに施す可逆変換と、前記データ比較手段が前記データ読込み手段によって2ポートメモリより読み込んだデータに施す相手CPU側のデータ変換手段が施す可逆変換の逆変換で使用するデータ変換式を可変設定することができるものである。
【0016】
つぎの発明による2ポートメモリの診断装置は、前記第一のCPUはコンピュータ搭載されたCPUであり、第二のCPUは前記コンピュータの拡張スロットに実装された拡張ボード上のCPUであり、拡張ボードに設けられた2ポートメモリの診断を行うものである。
【0017】
また、上述の目的を達成するために、この発明による2ポートメモリ診断のモニタリング装置は、上述の発明による2ポートメモリの診断装置により2ポートメモリ診断を行われるコンピュータと他のコンピュータとが同一のネットワーク回線上に通信可能に接続され、2ポートメモリ診断の状態監視をネットワークを介して、他パーソナルコンピュータ上に通知、あるいは他パーソナルコンピュータから情報のアクセスをできるものである。
【0018】
また、上述の目的を達成するために、この発明による2ポートメモリの診断方法は、第一のCPUと第二のCPUの双方がアクセス可能な2ポートメモリの診断方法において、前記第一のCPUと前記第二のCPUの何れか一方のCPU側で2ポートメモリにデータの書き込みを行い、他方のCPU側で前記一方のCPU側が2ポートメモリに書き込んだデータを読み込み、この読み込んだデータ可逆変換をし、可逆変換されたデータ2ポートメモリに書き込み、前記一方のCPU側で、前記他方のCPU側が前記2ポートメモリに書き込んだデータを読み込み、その読み込んだデータに前記他方のCPU側の可逆変換の逆変換を施し、これと前記他方のCPU側が2ポートメモリからデータを読み込む前に自CPU側が書き込んだデータとを比較し、データ不一致によりエラー判定を行うものである。
【0019】
つぎの発明による2ポートメモリの診断方法は、前記第一のCPUと前記第二のCPUのいずれか一方のCPU側にて、他方のCPU側による2ポートメモリに対するデータ書込みによる2ポートメモリのデータ変化を監視し、タイムアウトによりエラー判定を行うものである。
【0020】
つぎの発明による2ポートメモリの診断方法は、前記第一のCPUから第二のCPUへの診断開始を知らせ、前記第二のCPUにおいて前記第一のCPUからの診断開始通知を確認し、また前記第一のCPUから前記第二のCPUへの診断終了を知らせ、前記第二のCPUにおいて前記第一のCPUからの診断終了通知を確認するものである。
【0021】
つぎの発明による2ポートメモリの診断方法は、複数個の判断フラグエリアを画定され、前記第一のCPU側から複数個のすべての判断フラグエリアに診断開始値を書き込み、複数個の判断フラグエリアの少なくとも一つの値が診断開始値になれば、それを前記第二のCPU側にて可逆変換して元の判断フラグエリアに書き込み、前記第一のCPU側にてそれを読み出して可逆変換の逆変換を行い、逆変換後の値が判断フラグエリアに書き込んだ診断開始値と一致すれば診断を正常に開始し、前記第一のCPU側から複数個のすべての判断フラグエリアに診断終了値を書き込み、複数個の判断フラグエリアの少なくとも一つの値が診断終了値になれば、それを前記第二のCPU側にて可逆変換して元の判断フラグエリアに書き込み、前記第一のCPU側にてそれを読み出して可逆変換の逆変換を行い、逆変換後の値が判断フラグエリアに書き込んだ診断終了値と一致すれば診断を正常に終了するものである。
【0022】
つぎの発明による2ポートメモリの診断方法は、2ポートメモリから読み込んだデータに施す可逆変換と、2ポートメモリから読み込んだデータに施す相手側CPUが施した可逆変換の逆変換で使用するデータ変換式を可変設定するものである。
【0023】
つぎの発明による2ポートメモリの診断方法は、前記第一のCPUはコンピュータ搭載されたCPUであり、第二のCPUは前記コンピュータの拡張スロットに実装された拡張ボード上のCPUであり、拡張ボードに設けられた2ポートメモリの診断を行うものである。
【0024】
【発明の実施の形態】
以下に添付の図を参照して、この発明に係る2ポートメモリの診断装置および2ポートメモリ診断のモニタリング装置および2ポートメモリの診断方法の実施の形態を詳細に説明する。
【0025】
実施の形態1.
図1は、この発明による2ポートメモリ診断装置の一つの実施の形態を示すハードウェア構成図、図2はそれのソフトウェアブロック図を示している。図1に示されているように、パーソナルコンピュータ10は、CPU11と、主記憶装置12とを有し、CPU11によってパソコン側診断プログラムを実行するができる。
【0026】
拡張ボード50は、CPU51と、主記憶装置52と、診断対象となる2ポートメモリ53とを有し、CPU51によって拡張ボード側診断プログラムを実行するができる。拡張ボード50には2ポートメモリ53の一部あるいはI/Oポートあるいは割込みポート等から成るリソース54が存在する。
【0027】
図2に示されているように、パーソナルコンピュータ10は、パソコン側ソフトウェアモジュール群(パソコン側診断プログラム)として、診断実行を制御する診断管理モジュール21と、データ読込みモジュール22と、データ変換モジュール23と、データ書込みモジュール24と、データ比較モジュール25と、診断開始通知モジュール26と、診断終了通知モジュール27と、変換モード設定モジュール28と、ネットワーク通信モジュール29とを格納されている。
【0028】
また、拡張ボード50は、拡張ボード側ソフトウェアモジュール群(拡張ボード側診断プログラム)として、診断実行を制御する診断管理モジュール61と、データ読込みモジュール62と、データ変換モジュール63と、データ書込みモジュール64と、データ比較モジュール65と、診断開始確認モジュール66と、診断終了確認モジュール67と、変換モード取得モジュール68とを格納されている。
【0029】
図3は、2ポートメモリ診断部のブロック図である。パーソナルコンピュータ10は、上述のパソコン側ソフトウェアモジュールの実行により、データ読込み手段31と、データ変換手段32と、データ書込み手段33と、データ比較手段34を具現化される。データ読込み手段31は、拡張ボード50がデータを2ポートメモリ53の診断エリアに書き込むのを待って2ポートメモリ53の診断エリアからデータを読み込む。待ち時間が一定時間を超えた場合、つまり一定時間内に拡張ボード50がデータを2ポートメモリ53の診断エリアにデータを書き込まない場合には、診断エリアの故障を検出したとしてタイムアウトエラーを返す。
【0030】
データ変換手段32はデータ読込み手段31から渡されたデータをパソコン側変換する。パソコン側変換は予めデータ変換手段32に格納された可逆変換であり、たとえば、ビット左ローテーションである。データ書込み手段33はデータ変換手段32から渡されたデータを2ポートメモリ53の診断エリアに書き込む。
【0031】
データ比較手段34は、データ読込み手段31から渡されたデータを拡張ボード側逆変換、たとえばビット反転(再ビット反転)し、ビット反転したデータとデータ書込み手段33あるいはデータ変換手段32から渡された書き込みデータと比較し、比較結果が不等である場合には、データ比較エラーを返す。拡張ボード50は、上述の拡張ボード側ソフトウェアモジュールの実行により、データ読込み手段71と、データ変換手段72と、データ書込み手段73と、データ比較手段74を具現化される。
【0032】
データ読込み手段71は、パーソナルコンピュータ10がデータを2ポートメモリ53の診断エリアに書き込むのを待って2ポートメモリ53の診断エリアからデータを読み込む。待ち時間が一定時間を超えた場合、つまり一定時間内にパーソナルコンピュータ10がデータを2ポートメモリ53の診断エリアに書き込まない場合には、診断エリアの故障を検出したとしてタイムアウトエラーを返す。
【0033】
データ変換手段72はデータ読込み手段71から渡されたデータを拡張ボード側変換する。拡張ボード側変換は、予めデータ変換手段72に格納された可逆変換であり、たとえば、ビット反転である。データ書込み手段73はデータ変換手段72から渡されたデータを2ポートメモリ53の診断エリアに書き込む。
【0034】
データ比較手段73は、データ読込み手段71から渡されたデータをパーソナルコンピュータ側逆変換、たとえばビット右ローテーションし、ビット右ローテーションしたデータとデータ書込み手段73あるいはデータ変換手段72から渡された書き込みデータと比較し、比較結果が不等である場合には、データ比較エラーを返す。
【0035】
つぎに、診断時のパーソナルコンピュータ10と拡張ボード50との間のデータの流れについて説明する。パーソナルコンピュータ10のデータ書込み手段33が、たとえば、“0001”なるデータを2ポートメモリ53の診断エリア(1)に書き込むと、拡張ボード50のデータ読込み手段71が2ポートメモリ53の診断エリア(1)より“0001”なるデータを読み取り、これをデータ変換手段72に渡す。
【0036】
データ変換手段72は、データ“0001”を“1110”にビット反転(拡張ボード側変換)し、このビット反転のデータ“1110”をデータ書込み手段75に渡す。データ書込み手段75はデータ変換手段72よりの“1110”になるデータを2ポートメモリ53の診断エリア(1)に書き込む。つぎに、パーソナルコンピュータ10のデータ読込み手段31が2ポートメモリ53の診断エリア(1)の“1110”なるデータを読み込み、これをデータ比較手段34に渡す。データ比較手段34は、データ“1110”を“0001”にビット反転(拡張ボード側逆変換)し、このデータと、データ書込み手段33が2ポートメモリ53の診断エリア(1)に書き込んだデータ“0001”とを比較する。
【0037】
以上のデータの流れは正常時の流れであり、異常時には、拡張ボード側逆変換したデータが“0001”にはならないので、比較結果は不一致になる。
【0038】
上述のように、パーソナルコンピュータ10側から2ポートメモリ53に渡してデータを拡張ボード50側でビット反転し、これを拡張ボード50側に2ポートメモリ53に返し、2ポートメモリ53に返されたデータをパーソナルコンピュータ10側で再度、ビット反転(元に戻す)し、これとパーソナルコンピュータ10側から2ポートメモリ53に渡したデータとを比較することは、パーソナルコンピュータ10側から2ポートメモリ53に渡したデータが拡張ボード50側で正しく受け取られ、そしてこのデータが拡張ボード50側よりパーソナルコンピュータ10側に正しく返されたか否かを判別することになる。
【0039】
また、拡張ボード50のデータ書込み手段73が、たとえば、“0011”なるデータを2ポートメモリ53の診断エリア(1)に書き込むと、パーソナルコンピュータ10のデータ読込み手段31が2ポートメモリ53の診断エリア(1)より“0011”なるデータを読み取り、これをデータ変換手段32に渡す。
【0040】
データ変換手段32は、データ“0011”を“0110”にビット左ローテーション(パソコン側変換)し、このビット左ローテーションのデータ“0110”をデータ書込み手段33に渡す。データ書込み手段33はデータ変換手段32よりの“0110”になるデータを2ポートメモリ53の診断エリア(1)に書き込む。つぎに、拡張ボード50のデータ読込み手段71が2ポートメモリ53の診断エリア(1)の“0110”なるデータを読み込み、これをデータ比較手段74に渡す。
【0041】
データ比較手段74は、データ“0110”を“0011”にビット右ローテーション(パソコン側逆変換)し、このデータと、データ書込み手段73が2ポートメモリ53の診断エリア(1)に書き込んだデータ“0011”とを比較する。以上のデータの流れは正常時の流れであり、異常時には、パソコン側逆変換したデータが“0011”にはならないので、比較結果は不一致になる。
【0042】
上述のように、拡張ボード50側から2ポートメモリ53に渡してデータをパーソナルコンピュータ10側でビット左ローテーションし、これを拡張ボード50側に2ポートメモリ53に返し、2ポートメモリ53に返されたデータを拡張ボード50側でビット右ローテーション(元に戻す)し、これと拡張ボード50側から2ポートメモリ53に渡したデータとを比較することは、拡張ボード50側から2ポートメモリ53に渡したデータがパーソナルコンピュータ10側で正しく受け取られ、そしてこのデータがパーソナルコンピュータ10側より拡張ボード50側に正しく返されたか否かを判別することになる。
【0043】
図4(a)、(b)は診断プログラムのフローチャートである。なお、(a)はパーソナルコンピュータ側、(b)は拡張ボード側の診断プログラムのフローチャートである。
【0044】
診断開始時点での2ポートメモリの状態は任意のものであるとする。診断を開始すると、拡張ボード側は2ポートメモリ53の診断エリアの初期データを読み込み(ステップS10)、その後、所定時間毎に2ポートメモリ53の診断エリアのデータを読み込み(ステップS11)、パーソナルコンピュータ10側からのデータ書き込み(ステップS30)によって2ポートメモリ53の診断エリアのデータが変化したか否かを判別する(ステップS12)。すなわち、パーソナルコンピュータ10側が2ポートメモリ53の診断エリアにデータを書き込むことによって2ポートメモリ53の診断エリアのデータが変化するのを待つ。この待ち時間を計時し、指定時間を超えると(ステップS13肯定)、タイムアウトエラーとなり、エラー処理を行う(ステップS20)。
【0045】
パーソナルコンピュータ10側は任意のデータを2ポートメモリの診断エリアに書き込み(ステップS30)、その後、所定時間毎に2ポートメモリ53の診断エリアのデータを読み込み(ステップS31)、拡張ボード50側からのデータ書き込み(ステップS14)によって2ポートメモリ53の診断エリアのデータが変化した否かを判別する(ステップS32)。すなわち、拡張ボード50側が2ポートメモリの診断エリアにデータを書き込むことによって2ポートメモリ53のデータが変化するのを待つ。この待ち時間を計時し、指定時間を超えると(ステップS33肯定)、タイムアウトエラーとなり、エラー処理を行う(ステップS36)。
【0046】
拡張ボード50側はステップS11による読込みデータを拡張ボード側変換して2ポートメモリ53の診断エリアに書き込み(ステップS14)、その後、再び、所定時間毎に2ポートメモリ53の診断エリアのデータを読み込み(ステップS15)、パーソナルコンピュータ10側からのデータ書き込み(ステップS30)によって2ポートメモリ53の診断エリアのデータが変化した否かを判別する(ステップS16)。この場合も、パーソナルコンピュータ10側が2ポートメモリ53の診断エリアにデータを書き込むことによって2ポートメモリ53の診断エリアのデータが変化するのを待ち、待ち時間が指定時間を超えると(ステップS17肯定)、タイムアウトエラーとなり、エラー処理を行う(ステップS20)。
【0047】
パーソナルコンピュータ10側は、ステップS30での書込みデータとステップS31での読込みデータを拡張ボード側逆変換したものとを比較し(ステップS34)、一致しない場合には(ステップS34否定)、データ比較エラーとなり、エラー処理を行う(ステップS36)。一致した場合には(ステップS34肯定)、ステップS31での読込みデータをパソコン側変換して2ポートメモリ53の診断エリアに書き込み(ステップS35)、ステップS31に戻って以後、同じ処理を繰り返す。
【0048】
拡張ボード50側は、ステップS14での書込みデータとステップS15での読込みデータをパソコン側逆変換したものとを比較し(ステップS18)、一致しない場合には(ステップS18否定)、データ比較エラーとなり、エラー処理を行う(ステップS20)。一致した場合には(ステップS34肯定)、ステップS15での読込みデータを拡張ボード側変換して2ポートメモリ53の診断エリアに書き込み、ステップS15に戻って以後、同じ処理を繰り返す。
【0049】
以上の診断は2ポートメモリ53のアドレス一つに対するものであるが、それぞれのCPUはこれを2ポートメモリ53の1〜nのすべてのアドレスに対して同様の診断を行なう。各アドレスに対して処理を行なう順番は問題ではない。
【0050】
パーソナルコンピュータの拡張スロットに拡張ボードを装着して使用する場合、拡張ボードを初めて装着したとき、定期的な検診時、拡張ボードがうまく動作しないとき、動作が不安定なとき、突然動作しなくなったときなどに拡張ボードの診断を実施する必要が生じる。
【0051】
拡張ボードの診断の中で、2ポートメモリ等のパーソナルコンピュータと拡張ボードとの間のインタフェース部分を診断する場合には、パーソナルコンピュータ側と拡張ボード側が互いに協調して診断を実施する方が、それぞれが単独で診断を実施する場合より確実に診断を行うことができる。
【0052】
しかし、協調して診断を実施するためには、パーソナルコンピュータと拡張ボードの間で診断の開始および終了を通知する手段を備える必要がある。これは、診断の開始および終了を通知できなければ、片側が診断を開始しても、もう片側は診断が開始したと分からないため、協調した動作ができないからである。
【0053】
上述のように、パーソナルコンピュータの拡張スロットに拡張ボードを装着する場合には、パーソナルコンピュータ側のハードウェアは特別なものとすることができない。このため、診断の開始および終了の通知に当たっては、パーソナルコンピュータと拡張ボードとのデータ授受に通常利用するリソース(メモリ、I/O、割り込み等)を使用して診断の開始・終了を通知しなければならない。また通知に使用するリソース自体に異常がある場合にも対応する必要がある。
【0054】
図5は、この発明による2ポートメモリの診断装置における診断開始・終了通知部を示している。なお、図5は2ポートメモリの診断装置診断の開始・終了通知部を抜粋して示しており、実際には図3に示されている2ポートメモリ診断部と組み合わせて使用される。
【0055】
パーソナルコンピュータ10は、上述のパソコン側ソフトウェアモジュールの実行により、診断開始通知手段35と、診断終了通知手段36を具現化される。診断開始通知手段35はパーソナルコンピュータ10から拡張ボード50へ診断開始を知らせ、診断終了通知手段36はパーソナルコンピュータ10から拡張ボード50へ診断終了を知らせる。拡張ボード50は、上述の拡張ボード側ソフトウェアモジュールの実行により、診断開始確認手段75と、診断終了確認手段76を具現化される。診断開始確認手段75はパーソナルコンピュータ10からの診断開始通知を確認し、診断終了確認手段76はパーソナルコンピュータ10からの診断終了通知を確認する。
【0056】
2ポートメモリ53の各診断エリア(1)〜(n)毎に診断フラグエリア(1)〜(n)が設けられている。診断フラグエリア(1)〜(n)は2ポートメモリあるいは他のリソースにある診断フラグ設定用として予め決定した領域である。この例では、診断フラグエリアを複数設けているが、診断フラグエリアが一つの場合にも、診断の開始・終了を通知することができる。
【0057】
簡単のため、まず診断フラグエリアが診断フラグエリア(1)の1つだけの場合について診断開始の動作を説明する。また、パソコン側変換演算としては「(読み出しデータ)−1」、拡張ボード側変換演算としては「(読み出しデータ)+1」を使用する場合を例に挙げて説明する。
【0058】
まず診断開始を通知するために、パーソナルコンピュータ10側から診断開始通知手段35によって診断フラグエリア(1)に診断開始を示す値、例えば“1”を書き込む。拡張ボード50側は診断開始確認手段75によって診断フラグエリア(1)に“1”が書き込まれたことを検知し、診断が開始されることを知る。つぎに拡張ボード側ではこの読み出したデータ“1”という値に拡張ボード側変換演算を実施する。すなわち「1+1」を計算する。そして、計算の結果、得られた“2" という値を診断フラグエリア(1)に書き込む。
【0059】
一方、パーソナルコンピュータ10側では、診断フラグエリア(1)の値が“2" に変わったことを検知し、この読み出したデータ“2”という値にパソコン側変換演算を実施する。すなわち「2−1」を計算する。そして計算の結果、得られた“1" という値が、初めにパーソナルコンピュータ10側から書き込んだ“1" という値と一致することを確認する。数値が一致することが確認できたら、診断を正常に開始する。
【0060】
このように確認処理を実施することにより、診断開始の通知がパーソナルコンピュータ10側から拡張ボード50側に伝達できたことを確認することができ、診断開始の通知が伝達できなかったために2ポートメモリ診断ができないという問題が発生しない。なお、診断終了通知、確認も同様に行われる
【0061】
つぎに、図6(a)、(b)を参照して診断を開始する処理の流れを説明する。なお、(a)はパーソナルコンピュータ10の診断開始通知手段35による処理フローを、(b)は拡張ボード50の診断開始確認手段75による処理フローをそれぞれ示している。
【0062】
パーソナルコンピュータ10から拡張ボード50の診断を開始するために、まず診断開始通知手段35は診断フラグエリア(1)から診断フラグエリア(n)までのすべての診断フラグエリアに診断開始を示す値を書き込む(ステップS40)。そして、診断フラグエリアの値が変化するのを待つ(ステップS41)。一方、拡張ボード50上の診断開始確認手段75は定期的に各診断フラグエリアの値を確認し、診断フラグエリアが診断開始を示す値となっていないかをチェックする(ステップS50)。一箇所でも診断開始を示す値が見つかった場合には、その診断フラグエリアの値を読み出し、可逆変換(拡張ボード側変換)した後に、その値を元の診断フラグエリアに書き込む(ステップS51)。
【0063】
診断フラグエリアの値が変化したことを受けて、診断開始通知手段35では、その診断フラグエリアの値を読み出し、逆変換(パソコン側変換)を実施する(ステップS42)。そして逆変換した値がステップS40で書き込んだ値と等しいか否かを確認する(ステップS43)。値が等しい場合には診断を正常に開始し(ステップS45)、等しくない場合には異常があるとして診断を中断する(ステップS46)。
【0064】
つぎに、図7(a)、(b)を参照して診断を終了する処理の流れを説明する。なお、(a)はパーソナルコンピュータ10の診断終了通知手段36による処理フローを、(b)は拡張ボード50の診断終了確認手段76による処理フローをそれぞれ示している。
【0065】
パーソナルコンピュータ10から拡張ボード50の診断を終了するために、まず診断終了通知手段36は診断フラグエリア(1)から診断フラグエリア(n)までのすべての診断フラグエリアに診断終了を示す値を書き込む(ステップS60)。そして、診断フラグエリアの値が変化するのを待つ(ステップS61)。一方、拡張ボード50の診断終了確認手段76は定期的に各診断フラグエリアの値を確認し、診断フラグエリアが診断終了を示す値となっていないかをチェックする(ステップS70)。一箇所でも診断終了を示す値が見つかった場合には、その診断フラグエリアの値を読み出し、可逆変換(拡張ボード側変換)した後に、その値を元の診断フラグエリアに書き込む(ステップS71)。
【0066】
診断フラグエリアの値が変化したことを受けて、診断終了通知手段76では、その診断フラグエリアの値を読み出し、逆変換(パソコン側変換)を実施する(ステップS62)。そして逆変換した値がステップS60で書き込んだ値と等しいか否かを確認する(ステップS63)。値が等しい場合には診断を正常に終了し(ステップS64)、等しくない場合には異常があるとして診断を中断する(ステップS65)。
【0067】
上述のようなのように、複数の診断フラグエリアを使用することにより、一部の診断フラグエリアに異常がある場合でも、診断を開始または終了しようとしたけれども、診断フラグエリアに正常に診断終了を示す値を書き込むことができないために診断が開始または終了されないという状況を回避して正常な診断フラグエリアにより診断を開始または終了することができ、また診断フラグエリアの値に可逆変換を実施し、その値を確認することにより、相手に確実に診断フラグエリアに書き込んだ値が届いていることを確認できる。
【0068】
実施の形態2.
図8は、この発明による2ポートメモリ診断装置の他の実施の形態を示すハードウェア構成図である。なお、図8において、図1に対応する部分は、図1に付した符号と同一の符号を付けて、その説明を省略する。この実施の形態では、上述の実施の形態のものに加えてリソース54に2ポートメモリ診断に使用するデータ変換モード設定テーブル55が定義されている。
【0069】
図9はリソース54内に設けられたデータ変換モード設定テーブル55の内部構成を示している。データ変換モード設定テーブル55は、パソコン側データ変換モード設定テーブル部Aと、拡張ボード側データ変換モード設定テーブル部Bとを有し、各設定テーブル部A、Bともに、変換演算指定子と変換演算値からなる可逆変換演算部をそれぞれn個持つ。
【0070】
この実施の形態では、パーソナルコンピュータ側CPU11は2ポートメモリ診断用データ変換方式をリソース54内に設けられているデータ変換モード設定テーブル55から読み取り、主記憶装置12上に格納されている2ポートメモリ診断プログラムに基づいて2ポートメモリ53とのデータ読込み比較、書き込みを実行する。拡張ボード50側についても同様で、拡張ボード側CPU51は2ポートメモリ診断用データ変換方式をリソース55内に設けられている変換モード設定テーブル55から読み取り、主記憶装置52上に格納されている2ポートメモリ診断プログラムに基づいて2ポートメモリ53とのデータ読込み比較、書き込みを実行する。
【0071】
パーソナルコンピュータ側CPU11および拡張ボード側CPU51が2ポートメモリ53に対するデータの読み書きを行うことにより、データ変換モード設定テーブル55に設定したデータ変換モードに対応する2ポートメモリ診断が実現される。データ変換モード設定テーブル55で定義されている可逆変換演算部は、データ変換の演算タイプを指定する変換演算指定子と、データ変換を演算するときの演算値を指定する変換演算値から構成される。
【0072】
あらかじめ「和」「差」「積」「除」「ビットシフト」「ビットローテーション」「ビット反転」などの各種演算タイプとそれに対応する指定子をパーソナルコンピュータ側主記憶装置12と拡張ボード側主記憶装置52に登録しておくことで、パーソナルコンピュータ側CPU11と拡張ボード側CPU51とが、データ変換モード設定テーブル55内に設定された可逆変換演算部の変換演算指定子と変換演算値を読み出すことにより、データ変換式を算出することが可能となる。例えば、変換演算指定子に「和」に相当する指定子を設定し、変換演算値に「1」を設定すると、各CPUはデータ変換式として、「読み出しデータ+1」を算出する。
【0073】
また、複数の演算タイプの組み合わせをするときは、可逆変換演算部を若い番号順に複数設定し、使用しない可逆変換演算部にはクリア設定をすることにより、各CPUが可逆変換演算部を順に読み出して複合データ変換式の算出を可能とすることができる。
【0074】
これらのことにより、2ポートメモリ診断時のパーソナルコンピュータ側CPU11と拡張ボード側CPU51の協調によるデータ送受信におけるデータ変換方式の変更を行うことができ、また数種類の変換モードについての2ポートメモリ診断を実行することで、より柔軟な2ポートメモリの診断を行うことができる。
【0075】
実施の形態3.
図10は、この発明による2ポートメモリ診断を行うパーソナルコンピュータのモニタニング方式を示している。図10において、400は2ポートメモリ診断を行っているパーソナルコンピュータ、401、402はパーソナルコンピュータ400とLAN、電話回線等による同一ネットワーク回線上にある他パーソナルコンピュータを示している。また、Daは2ポートメモリ診断情報を他パーソナルコンピュータ401、402へ通知するデータの流れを、Dbは他パーソナルコンピュータ401、402から2ポートメモリ診断情報を取得するデータの流れを示している。
【0076】
図11は、2ポートメモリ診断情報を他パーソナルコンピュータへ通知(または他パーソナルコンピュータから2ポートメモリ診断情報アクセス)するためフローチャートである。
【0077】
2ポートメモリ診断のモニタリングを開始後、一定間隔で(ステップS80)、その情報を他パーソナルコンピュータ401にメッセージを通知(またはメール送信)して自分のインターネットのホームページ情報のファイルを更新する(ステップS81)。パーソナルコンピュータ401を使用しているユーザは、定期的にパーソナルコンピュータ400からの2ポートメモリ診断状態の情報を受け取る形となる(データの流れDa)。また、パーソナルコンピュータ402のユーザーは、適宜インターネットのWWWブラウザーからパーソナルコンピュータ400のホームページをアクセスし、パーソナルコンピュータ400の2ポートメモリ診断状態の情報を取得することができる(データの流れDb)。
【0078】
物理的なメモリ故障の場合には、2ポートメモリ診断直後にそのエラーを検出することが可能であるが、2ポートメモリのアクセスタイミングや瞬間停電等によるエラーは長時間に渡る2ポートメモリの診断を行う必要性がある。本件はその長時間に渡る2ポートメモリ診断情報をリアルタイムに任意なパーソナルコンピュータに通知したり、任意なパーソナルコンピュータからの2ポートメモリ診断情報のアクセスを可能にし、作業効率の向上を図ることができる。
【0079】
【発明の効果】
以上の説明から理解される如く、この発明による2ポートメモリの診断装置にれば、第一のCPUと第二のCPUのうちの一方のCPUの側のデータ読込み手段が2ポートメモリのデータの読み込みを行ない、一方のCPUの側のデータ変換手段が一方のCPUの側のデータ読込み手段が2ポートメモリより読み込んだデータを可逆変換し、一方のCPUの側のデータ書込み手段が一方のCPUの側のデータ変換手段によって可逆変換されたデータを2ポートメモリに書き込み、他方のCPUの側のデータ読込み手段が一方のCPUの側のデータ書込み手段が2ポートメモリに書き込んだデータを読み込み、他方のCPUの側のデータ比較手段が他方のCPUの側のデータ変換手段が施す可逆変換の逆変換を施し、これと他方のCPU側のデータ読込み手段が2ポートメモリからデータを読み込む前に他方のCPU側のデータ書込み手段が書き込んだデータと比較し、データ不一致であればエラー判定を行うから、特別なハードウェアの追加、変更を行なうことなく、2ポートメモリの診断を双方のCPUの協調によるデータ送受信によって確実な診断が行うことができ、また既に2ポートメモリ上に存在するデータと同じデータを書込むことを回避し、相手側のデータ比較手段がデータの逆変換を行って読込みデータの整合性を検証することが可能になる。
【0080】
つぎの発明による2ポートメモリの診断装置によれば、第一のCPUと第二のCPUのいずれか一方の側の前記データ読込み手段によって、他方の側の前記データ書込み手段による2ポートメモリに対するデータ書込みによる2ポートメモリのデータ変化を監視し、タイムアウトによりエラー判定を行うから、特別なハードウェアの追加、変更を行なうことなく、相手側書込み待ち時間にタイムアウトによって2ポートメモリの異常を的確に検出することができる。
【0081】
つぎの発明による2ポートメモリの診断装置によれば、第一のCPUから診断開始通知手段によって第二のCPUへ診断開始を知らせ、第二のCPUにおいて診断開始確認手段によって第一のCPUからの診断開始通知を確認し、また第一のCPUから診断終了通知手段によって第二のCPUへ診断終了を知らせ、第二のCPUにおいて診断終了確認手段によって第一のCPUからの診断終了通知を確認するから、診断開始、診断終了の通知が第一のCPU側から第二のCPUに伝達できたことを確認することができ、診断開始、診断終了の通知が伝達できなかったために、2ポートメモリ診断が開始あるいは終了できないという問題の発生が確実に回避される。
【0082】
つぎの発明による2ポートメモリの診断装置によれば、複数の診断フラグエリアを使用し、一部の診断フラグエリアに異常がある場合でも、正常な診断フラグエリアにより診断を開始または終了することができ、また、診断フラグエリアの値に可逆変換を実施し、その値を確認することにより、相手に確実に診断フラグエリアに書き込んだ値が届いていることを確認することができる。
【0083】
つぎの発明による2ポートメモリの診断装置によれば、データ変換手段による読込みデータの可逆変換と、データ比較手段による読込データの可逆変換の逆変換で使用するデータ変換式を可変設定することができるから、柔軟な2ポートメモリの診断を行うことができる。
【0084】
つぎの発明による2ポートメモリの診断装置によれば、コンピュータの拡張スロットに実装された拡張ボードに設けられた2ポートメモリの診断を確実に行うことができる。
【0085】
つぎの発明による22ポートメモリ診断のモニタリング装置によれば、上述の発明による2ポートメモリの診断装置により2ポートメモリ診断を行われるコンピュータと他のコンピュータとが同一のネットワーク回線上に通信可能に接続され、2ポートメモリ診断の状態監視をネットワークを介して、他パーソナルコンピュータ上に通知、あるいは他パーソナルコンピュータから情報のアクセスをできるから、ネットワークを利用して、2ポートメモリ診断状態の情報を他のパーソナルコンピュータに通知したり、他のパーソナルコンピュータから2ポートメモリ診断状態情報のアクセスすることが容易になり、作業効率が向上する。
【0086】
つぎの発明による2ポートメモリの診断方法によれば、第一のCPUと第二のCPUの何れか一方のCPU側で2ポートメモリにデータの書き込みを行い、他方のCPU側で一方のCPU側が2ポートメモリに書き込んだデータを読み込み、この読み込んだデータ可逆変換をし、可逆変換されたデータ2ポートメモリに書き込み、一方のCPU側で、他方のCPU側が2ポートメモリに書き込んだデータを読み込み、その読み込んだデータに他方のCPU側の可逆変換の逆変換を施し、これと他方のCPU側が2ポートメモリからデータを読み込む前に自CPU側が書き込んだデータとを比較し、データ不一致によりエラー判定を行うから、特別なハードウェアの追加、変更を行なうことなく、2ポートメモリの診断を双方のCPUの協調によるデータ送受信によって確実な診断が行うことができ、また既に2ポートメモリ上に存在するデータと同じデータを書込むことを回避し、相手側のデータ比較手段がデータの逆変換を行って読込みデータの整合性を検証することが可能になる。
【0087】
つぎの発明による2ポートメモリの診断方法によれば、第一のCPUと第二のCPUのいずれか一方のCPU側にて、他方のCPU側による2ポートメモリに対するデータ書込みによる2ポートメモリのデータ変化を監視し、タイムアウトによりエラー判定を行うから、特別なハードウェアの追加、変更を行なうことなく、相手側書込み待ち時間にタイムアウトによって2ポートメモリの異常を的確に検出することができる。
【0088】
つぎの発明による2ポートメモリの診断方法によれば、第一のCPUから第二のCPUへの診断開始を知らせ、第二のCPUにおいて第一のCPUからの診断開始通知を確認し、また第一のCPUから第二のCPUへの診断終了を知らせ、第二のCPUにおいて前第一のCPUからの診断終了通知を確認するから、診断開始、診断終了の通知が第一のCPU側から第二のCPUに伝達できたことを確認することができ、診断開始、診断終了の通知が伝達できなかったために、2ポートメモリ診断が開始あるいは終了できないという問題が発生することを確実に回避できる。
【0089】
つぎの発明による2ポートメモリの診断方法によれば、複数の診断フラグエリアを使用し、一部の診断フラグエリアに異常がある場合でも、正常な診断フラグエリアにより診断を開始または終了することができ、また、診断フラグエリアの値に可逆変換を実施し、その値を確認することにより、相手に確実に診断フラグエリアに書き込んだ値が届いていることを確認することができる。
【0090】
つぎの発明による2ポートメモリの診断方法によれば、読込みデータの可逆変換と、読込データの可逆変換の逆変換で使用するデータ変換式を可変設定するから、柔軟な2ポートメモリの診断を行うことができる。
【0091】
つぎの発明による2ポートメモリの診断方法によれば、コンピュータの拡張スロットに実装された拡張ボードに設けられた2ポートメモリの診断を確実に行うことができる。
【図面の簡単な説明】
【図1】 この発明による2ポートメモリ診断装置の一つの実施の形態を示すハードウェア構成図である。
【図2】 この発明による2ポートメモリ診断装置の一つの実施の形態を示すソフトウェアブロック図を示している。
【図3】 この発明による2ポートメモリ診断装置における2ポートメモリ診断部の実施の形態を示すブロック図である。
【図4】 (a)、(b)はこの発明による2ポートメモリ診断装置における診断プログラムのフローチャートである。
【図5】 この発明による2ポートメモリ診断装置における診断開始・終了通知部の実施の形態を示すブロック図である。
【図6】 (a)、(b)は診断を開始する処理の流れをフローチャートである。
【図7】 (a)、(b)は診断を終了する処理の流れをフローチャートである。
【図8】 この発明による2ポートメモリ診断装置の他の実施の形態を示すハードウェア構成図である。
【図9】 この発明による2ポートメモリ診断装置におけるデータ変換モード設定テーブルの内部構成図である。
【図10】 この発明による2ポートメモリ診断のモニタリング装置の一つの実施の形態を示すシステム構成図である。
【図11】 この発明による2ポートメモリ診断のモニタリング処理を示すフローチャートである。
【図12】 従来の診断装置におけるパソコン側ポート診断フェーズのブロック図である。
【図13】 従来の診断装置における拡張ボード側ポート診断フェーズのブロック図である。
【図14】 従来の診断装置における診断プログラムのフローチャートである。
【符号の説明】
10 パーソナルコンピュータ、11 CPU、12 主記憶装置、21 診断管理モジュール、22 データ読込みモジュール、23 データ変換モジュール、24 データ書込みモジュール、25 データ比較モジュール、26 診断開始通知モジュール、27 診断終了通知モジュール、28 変換モード設定モジュール、29 ネットワーク通信モジュール、31 データ読込み手段、32データ変換手段、33 データ書込み手段、34 データ比較手段、35 診断開始通知手段、36 診断終了通知手段、50 拡張ボード、51 CPU、52 主記憶装置、53 2ポートメモリ、54 リソース、55 データ変換モード設定テーブル、61 診断管理モジュール、62 データ読込みモジュール、63 データ変換モジュール、64 データ書込みモジュール、65 データ比較モジュール、66 診断開始確認モジュール、67 診断終了確認モジュール、68 変換モード取得モジュール、71 データ読込み手段、72 データ変換手段、73 データ書込み手段、74 データ比較手段、75 診断開始確認手段、76 診断終了確認手段。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a 2-port memory diagnostic device, a 2-port memory diagnostic monitoring device, and a 2-port memory diagnostic method, and more particularly to an expansion board for data communication between a computer such as a personal computer and an expansion board loaded in the computer. The present invention relates to a 2-port memory diagnosis device, a 2-port memory diagnosis monitoring device, and a 2-port memory diagnosis method.
[0002]
[Prior art]
Data transmission between the personal computer and the expansion board installed in the expansion slot has a port on the personal computer side and the expansion board side, respectively, and a shared memory that can be accessed arbitrarily from both the personal computer and the expansion board This is done via a two-port memory.
[0003]
12 and 13 show a conventional 2-port memory diagnostic apparatus. In these drawings, reference numeral 100 denotes a personal computer (personal computer), and reference numeral 200 denotes an expansion board mounted in an expansion slot of the personal computer 100. The expansion board 200 is equipped with a two-port memory 210. In the 2-port memory 210, the entire area from addresses 1 to n is a diagnostic area. In the conventional diagnostic apparatus, diagnosis consists of two phases, port diagnosis on the personal computer side and port diagnosis on the extension board, and each phase is independent.
[0004]
FIG. 12 shows the port diagnosis phase on the personal computer side. In this diagnosis phase, the personal computer 100 writes arbitrary data to the 2-port memory 210 by the data writing means 101 and data from the 2-port memory 210 by the data reading means 102. The data comparison means 103 compares (collates) the written data with the read data. During this time, the expansion board 200 stops access to the 2-port memory 210.
[0005]
FIG. 13 shows an expansion board side port diagnosis phase. In this diagnosis phase, the expansion board 200 writes arbitrary data to the 2-port memory 210 by the data writing means 201 and data from the 2-port memory 210 by the data reading means 202. The data comparison means 203 compares (collates) the written data with the read data. During this time, the personal computer 100 stops accessing the 2-port memory 210. FIG. 14 is a flowchart of the diagnostic program executed by each of the personal computer 100 and the expansion board 200 as described above.
[0006]
First, arbitrary data is written to the 2-port memory 210 by the data writing means 101 or 201 (step S100), and after the writing is completed, data is read from the 2-port memory 210 by the data reading means 102 or 202 (step S101). The write data and the read data are compared at 103 or 203 (step S102). If the written data and the read data match (Yes at step S102), the process ends with normality determination (step S103). On the other hand, if the write data does not match the read data (Yes at step S102), an error determination is performed (step S104).
[0007]
In addition, as another conventional diagnostic device, additional hardware serving as a communication path between the personal computer side CPU and the expansion board side CPU is provided separately from the 2-port memory for diagnosis, and data is transmitted between the two paths. There is something to compare. For example, Japanese Patent Laid-Open No. 2-205956 discloses a system in which when an interrupt request signal from one CPU is input to one port of a 2-port memory, an interrupt signal is output from the other port to the other CPU. A path for inputting an interrupt signal from the other port to one CPU and a path for inputting an interrupt request signal from one CPU to the other CPU are provided. A failure diagnosis apparatus for a two-port memory that is confirmed by overlapping is shown.
[0008]
[Problems to be solved by the invention]
In the conventional 2-port memory diagnostic device (the former), since the diagnosis of the personal computer side port and the expansion board side port is performed in separate phases, data is surely transferred from one to the other via the 2-port memory. There is no guarantee that you can send. For example, even if one side writes or reads data to an incorrect address, it becomes normal and strict diagnosis is not performed.
[0009]
The latter two-port memory failure diagnosis device only improves the reliability by duplicating the data transmission path. Even in this failure diagnosis device, if both data transmission paths still fail or the two-port memory is normal However, when the data transmission path provided for diagnosis fails, there is a problem that the 2-port memory is misdiagnosed as a failure. In addition, another data transfer path must be added by hardware for diagnosis.
[0010]
The present invention has been made to solve the above-described problems, and a data transmission / reception function via a two-port memory in cooperation between a personal computer and an expansion board without adding or changing special hardware. It is an object of the present invention to obtain a 2-port memory diagnostic device, a 2-port memory diagnostic monitoring device, and a 2-port memory diagnostic method that accurately perform the above-described diagnosis.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, a two-port memory diagnostic device according to the present invention is a two-port memory diagnostic device accessible by both a first CPU and a second CPU. Second CPU The other CPU side wrote 2-port memory data The Read Mu Data reading means; By the data reading means Data read from 2-port memory In Reversible transformation Apply Data conversion means and data reversibly converted by the data conversion means The Write to 2-port memory Mu Data writing means; By the data reading means Read Mareta To the data Performed by data conversion means on the other CPU side Apply reverse transformation of reversible transformation Data and , Before data is read from the 2-port memory by the data reading means on the own CPU side, the data writing means on the own CPU side is loaded into the 2-port memory. Write What Data comparison means for comparing with data, and performing error determination based on data mismatch.
[0012]
According to a second aspect of the present invention, there is provided a diagnostic apparatus for a two-port memory, wherein the data reading means on one side of the first CPU and the second CPU causes the data writing means on the other side to store data for the two-port memory. Changes in data in the 2-port memory due to writing are monitored, and error determination is performed by timeout.
[0013]
A diagnostic device for a two-port memory according to the next invention comprises a diagnosis start notification means for notifying the start of diagnosis from the first CPU to the second CPU, and the end of diagnosis from the first CPU to the second CPU. A diagnosis end notification means for informing; a diagnosis start confirmation means for confirming a diagnosis start notification from the first CPU in the second CPU; and a diagnosis end notification from the first CPU in the second CPU Diagnostic end confirmation means.
[0014]
A diagnostic device for a two-port memory according to the next invention defines a plurality of judgment flag areas. Shi The diagnosis start notifying means writes the diagnosis start value in all of the plurality of determination flag areas, and the diagnosis start confirmation means is reversible if at least one value of the plurality of determination flag areas becomes the diagnosis start value. The data is converted and written in the original determination flag area, and the diagnosis start notification means reads it and performs reverse conversion of reversible conversion.If the value after reverse conversion matches the diagnosis start value written in the determination flag area, diagnosis is performed. The diagnosis end notification means writes the diagnosis end value in all the plurality of judgment flag areas, and the diagnosis end confirmation means determines that at least one value in the plurality of judgment flag areas becomes the diagnosis end value. , Reversibly transform it and write it in the original judgment flag area, the diagnosis end notification means reads it, performs reverse transformation of the reversible transformation, and the value after the inverse transformation is the judgment flag If consistent with a diagnosis end value written in the rear is to successfully complete diagnosis.
[0015]
The diagnostic device for a two-port memory according to the next invention is the data conversion means. Is applied to the data read from the 2-port memory by the data reading means. Reversible transformation and the data comparison means Performed by data conversion means on the partner CPU side that applies the data read from the 2-port memory by the data reading means. The data conversion formula used in the reverse conversion of the reversible conversion can be variably set.
[0016]
In the two-port memory diagnostic apparatus according to the next invention, the first CPU is a computer. In A second CPU is a CPU on an expansion board mounted in an expansion slot of the computer, and diagnoses a 2-port memory provided on the expansion board.
[0017]
In order to achieve the above-described object, the monitoring device for two-port memory diagnosis according to the present invention is the same as the computer in which the two-port memory diagnosis is performed by the two-port memory diagnosis device according to the present invention. It is communicably connected on a network line, and can monitor the status of the 2-port memory diagnosis on another personal computer or access information from the other personal computer via the network.
[0018]
In order to achieve the above-described object, the two-port memory diagnosis method according to the present invention is the two-port memory diagnosis method accessible by both the first CPU and the second CPU. And the second CPU writes data to the 2-port memory on the other CPU side, and the other CPU side The one CPU side 2-port memory Read the data written to Read data In Reversible transformation Out And reversibly transformed data The Write to 2-port memory See On the one CPU side, the data written on the two-port memory by the other CPU side is read, and the read data is On the other CPU side Apply the inverse of the reversible transformation, Before the other CPU reads data from the 2-port memory, Write What The data is compared with the data, and an error determination is performed based on the data mismatch.
[0019]
The two-port memory diagnosis method according to the next invention is the data of the two-port memory by writing data to the two-port memory on the CPU side of either the first CPU or the second CPU. Changes are monitored and error determination is performed by timeout.
[0020]
The two-port memory diagnosis method according to the next invention is to notify the diagnosis start from the first CPU to the second CPU, confirm the diagnosis start notification from the first CPU in the second CPU, The first CPU notifies the end of the diagnosis to the second CPU, and the second CPU confirms the diagnosis end notification from the first CPU.
[0021]
In the diagnosis method for a two-port memory according to the next invention, a plurality of judgment flag areas are defined, and a diagnosis start value is written to all of the plurality of judgment flag areas from the first CPU side. If at least one of the values becomes a diagnosis start value, it is reversibly converted on the second CPU side and written into the original determination flag area, and is read out on the first CPU side to perform reversible conversion. Reverse conversion is performed, and if the value after reverse conversion matches the diagnosis start value written in the determination flag area, the diagnosis starts normally, and the diagnosis end value is set in all the determination flag areas from the first CPU side. If at least one value in the plurality of determination flag areas becomes a diagnosis end value, the second CPU side reversibly converts it and writes it in the original determination flag area. Performs an inverse transformation of the reversible transform reads it in the CPU side, those values after inverse transformation is successfully complete diagnosis if consistent with a diagnosis end value written to the determination flag area.
[0022]
A diagnostic method for a two-port memory according to the next invention is as follows: Read from 2-port memory data Apply to Reversible transformation, Performed by the counterpart CPU for data read from 2-port memory The data conversion formula used in the reverse conversion of the reversible conversion is variably set.
[0023]
In the next two-port memory diagnosis method according to the present invention, the first CPU is a computer. In The second CPU is a CPU on an expansion board mounted in the expansion slot of the computer, and diagnoses the 2-port memory provided on the expansion board.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Exemplary embodiments of a 2-port memory diagnostic device, a 2-port memory diagnostic monitoring device, and a 2-port memory diagnostic method according to the present invention will be described below in detail with reference to the accompanying drawings.
[0025]
Embodiment 1 FIG.
FIG. 1 is a hardware configuration diagram showing an embodiment of a 2-port memory diagnostic apparatus according to the present invention, and FIG. 2 is a software block diagram thereof. As shown in FIG. 1, the personal computer 10 includes a CPU 11 and a main storage device 12, and can execute a personal computer side diagnostic program by the CPU 11.
[0026]
The expansion board 50 includes a CPU 51, a main storage device 52, and a 2-port memory 53 to be diagnosed, and the expansion board side diagnostic program can be executed by the CPU 51. The expansion board 50 has a resource 54 including a part of the 2-port memory 53 or an I / O port or an interrupt port.
[0027]
As shown in FIG. 2, the personal computer 10 includes, as a personal computer side software module group (personal computer side diagnostic program), a diagnostic management module 21 that controls diagnosis execution, a data reading module 22, a data conversion module 23, and the like. The data writing module 24, the data comparison module 25, the diagnosis start notification module 26, the diagnosis end notification module 27, the conversion mode setting module 28, and the network communication module 29 are stored.
[0028]
The expansion board 50 includes, as an expansion board side software module group (extension board side diagnosis program), a diagnosis management module 61 that controls diagnosis execution, a data reading module 62, a data conversion module 63, and a data writing module 64. A data comparison module 65, a diagnosis start confirmation module 66, a diagnosis end confirmation module 67, and a conversion mode acquisition module 68 are stored.
[0029]
FIG. 3 is a block diagram of the 2-port memory diagnostic unit. The personal computer 10 embodies the data reading means 31, the data converting means 32, the data writing means 33, and the data comparing means 34 by executing the above personal computer side software module. The data reading means 31 waits for the expansion board 50 to write data to the diagnostic area of the 2-port memory 53 and reads data from the diagnostic area of the 2-port memory 53. If the waiting time exceeds a certain time, that is, if the expansion board 50 does not write data in the diagnostic area of the 2-port memory 53 within the certain time, a timeout error is returned as a failure in the diagnostic area is detected.
[0030]
The data conversion means 32 converts the data passed from the data reading means 31 on the personal computer side. The personal computer side conversion is a reversible conversion stored in the data conversion means 32 in advance, for example, bit left rotation. The data writing means 33 writes the data passed from the data conversion means 32 in the diagnostic area of the 2-port memory 53.
[0031]
The data comparison unit 34 performs the inverse conversion on the extension board side, for example, bit inversion (re-bit inversion), and the bit-inverted data and the data writing unit 33 or the data conversion unit 32. If the comparison result is unequal, a data comparison error is returned. The expansion board 50 embodies data reading means 71, data converting means 72, data writing means 73, and data comparing means 74 by executing the above-described expansion board side software module.
[0032]
The data reading means 71 waits for the personal computer 10 to write data to the diagnostic area of the 2-port memory 53 and reads data from the diagnostic area of the 2-port memory 53. If the waiting time exceeds a certain time, that is, if the personal computer 10 does not write data in the diagnosis area of the 2-port memory 53 within a certain time, a time-out error is returned as a diagnosis area failure is detected.
[0033]
The data conversion means 72 converts the data passed from the data reading means 71 on the extension board side. The expansion board side conversion is a reversible conversion stored in the data conversion means 72 in advance, and is, for example, bit inversion. The data writing means 73 writes the data passed from the data converting means 72 to the diagnostic area of the 2-port memory 53.
[0034]
The data comparison unit 73 performs inverse conversion on the personal computer side of the data passed from the data reading unit 71, for example, bit right rotation, and the data that has been bit right rotated and the write data passed from the data writing unit 73 or the data conversion unit 72 If the comparison result is unequal, a data comparison error is returned.
[0035]
Next, a data flow between the personal computer 10 and the expansion board 50 at the time of diagnosis will be described. For example, when the data writing means 33 of the personal computer 10 writes data “0001” in the diagnostic area (1) of the 2-port memory 53, the data reading means 71 of the expansion board 50 is in the diagnostic area (1) of the 2-port memory 53. ), The data “0001” is read and transferred to the data conversion means 72.
[0036]
The data conversion unit 72 performs bit inversion (extension board side conversion) of the data “0001” to “1110”, and passes the bit inverted data “1110” to the data writing unit 75. The data writing means 75 writes the data “1110” from the data converting means 72 to the diagnostic area (1) of the 2-port memory 53. Next, the data reading means 31 of the personal computer 10 reads the data “1110” in the diagnostic area (1) of the 2-port memory 53 and passes it to the data comparing means 34. The data comparison unit 34 bit-inverts the data “1110” to “0001” (inversion on the expansion board side), and this data and the data “data written by the data writing unit 33 in the diagnostic area (1) of the 2-port memory 53” Compare with 0001 ".
[0037]
The above-described data flow is a normal flow, and in the case of an abnormality, the data obtained by reverse conversion on the expansion board side does not become “0001”, so the comparison results do not match.
[0038]
As described above, the data is transferred from the personal computer 10 side to the 2-port memory 53, and the data is bit-inverted on the expansion board 50 side, returned to the 2-port memory 53 on the expansion board 50 side, and returned to the 2-port memory 53. The data is inverted (returned) again on the personal computer 10 side, and this is compared with the data passed from the personal computer 10 side to the 2-port memory 53 to the 2-port memory 53 from the personal computer 10 side. It is determined whether or not the passed data is correctly received on the expansion board 50 side and this data is correctly returned from the expansion board 50 side to the personal computer 10 side.
[0039]
When the data writing means 73 of the expansion board 50 writes, for example, data “0011” in the diagnostic area (1) of the 2-port memory 53, the data reading means 31 of the personal computer 10 is in the diagnostic area of the 2-port memory 53. The data “0011” is read from (1) and transferred to the data conversion means 32.
[0040]
The data conversion means 32 performs bit left rotation (computer side conversion) of the data “0011” to “0110”, and passes this bit left rotation data “0110” to the data writing means 33. The data writing means 33 writes the data “0110” from the data conversion means 32 in the diagnostic area (1) of the 2-port memory 53. Next, the data reading means 71 of the expansion board 50 reads the data “0110” in the diagnostic area (1) of the 2-port memory 53 and passes it to the data comparing means 74.
[0041]
The data comparison means 74 bit-rotates the data “0110” to “0011” (inverse conversion on the personal computer side), and the data “data written by the data writing means 73 in the diagnostic area (1) of the 2-port memory 53”. Compare with 0011 ". The above data flow is a normal flow, and when abnormal, the personal computer side inversely converted data does not become “0011”, so the comparison results are inconsistent.
[0042]
As described above, the data is transferred to the 2-port memory 53 from the expansion board 50 side, and the data is bit-left rotated on the personal computer 10 side, returned to the 2-port memory 53 on the expansion board 50 side, and returned to the 2-port memory 53. The bit right rotation (return to the original) on the expansion board 50 side and comparing this with the data passed from the expansion board 50 side to the 2-port memory 53 means that the data is transferred from the expansion board 50 side to the 2-port memory 53. The passed data is correctly received on the personal computer 10 side, and it is determined whether or not this data is correctly returned from the personal computer 10 side to the expansion board 50 side.
[0043]
4A and 4B are flowcharts of the diagnostic program. Note that (a) is a flowchart of the diagnostic program on the personal computer side, and (b) is a flowchart of the diagnostic program on the expansion board side.
[0044]
Assume that the state of the 2-port memory at the start of diagnosis is arbitrary. When the diagnosis is started, the expansion board reads the initial data of the diagnostic area of the 2-port memory 53 (step S10), and then reads the data of the diagnostic area of the 2-port memory 53 every predetermined time (step S11). It is determined whether or not the data in the diagnostic area of the 2-port memory 53 has changed due to the data writing from the 10 side (step S30) (step S12). That is, the personal computer 10 side waits for the data in the diagnostic area of the 2-port memory 53 to change by writing data in the diagnostic area of the 2-port memory 53. When the waiting time is counted and the specified time is exceeded (Yes at Step S13), a time-out error occurs and error processing is performed (Step S20).
[0045]
The personal computer 10 side writes arbitrary data to the diagnostic area of the 2-port memory (step S30), and then reads the data of the diagnostic area of the 2-port memory 53 every predetermined time (step S31). It is determined whether or not the data in the diagnostic area of the 2-port memory 53 has changed due to the data writing (step S14) (step S32). That is, the expansion board 50 side waits for the data in the 2-port memory 53 to change by writing data in the diagnostic area of the 2-port memory. When this waiting time is counted and the specified time is exceeded (Yes at Step S33), a time-out error occurs and error processing is performed (Step S36).
[0046]
The expansion board 50 side converts the read data in step S11 to the expansion board side and writes it in the diagnostic area of the 2-port memory 53 (step S14), and then reads the data in the diagnostic area of the 2-port memory 53 again every predetermined time. (Step S15), it is determined whether or not the data in the diagnostic area of the 2-port memory 53 has changed due to data writing from the personal computer 10 side (Step S30) (Step S16). Also in this case, the personal computer 10 waits for the data in the diagnostic area of the 2-port memory 53 to change by writing data in the diagnostic area of the 2-port memory 53, and if the waiting time exceeds the specified time (Yes in step S17). A time-out error occurs and error processing is performed (step S20).
[0047]
The personal computer 10 compares the data written in step S30 and the read data obtained in step S31 and reversely converted on the expansion board side (step S34). If they do not match (No in step S34), a data comparison error occurs. Thus, error processing is performed (step S36). If they match (Yes at Step S34), the read data at Step S31 is converted on the personal computer side and written in the diagnostic area of the 2-port memory 53 (Step S35), and after returning to Step S31, the same processing is repeated.
[0048]
The expansion board 50 side compares the write data in step S14 with the read data in step S15 and reversely converted on the personal computer side (step S18). If they do not match (No in step S18), a data comparison error occurs. Then, error processing is performed (step S20). If they match (Yes in step S34), the read data in step S15 is converted on the extension board side and written in the diagnostic area of the 2-port memory 53. After returning to step S15, the same processing is repeated.
[0049]
The above diagnosis is for one address of the 2-port memory 53, and each CPU performs the same diagnosis for all addresses 1 to n of the 2-port memory 53. The order of processing for each address is not a problem.
[0050]
When an expansion board is installed in the expansion slot of a personal computer, when the expansion board is installed for the first time, at regular checkups, when the expansion board does not work well, when the operation is unstable, it suddenly stopped working Sometimes it is necessary to perform an expansion board diagnosis.
[0051]
When diagnosing the interface part between a personal computer such as a 2-port memory and an expansion board in the diagnosis of the expansion board, the personal computer side and the expansion board side should perform the diagnosis in cooperation with each other. However, the diagnosis can be performed more reliably than when the diagnosis is performed alone.
[0052]
However, in order to perform diagnosis in cooperation, it is necessary to provide means for notifying the start and end of diagnosis between the personal computer and the expansion board. This is because if the start and end of the diagnosis cannot be notified, even if one side starts the diagnosis, the other side does not know that the diagnosis has started, so a coordinated operation cannot be performed.
[0053]
As described above, when the expansion board is mounted in the expansion slot of the personal computer, the hardware on the personal computer side cannot be special. Therefore, when starting and ending the diagnosis, the diagnosis start / end must be notified using resources (memory, I / O, interrupt, etc.) normally used for data exchange between the personal computer and the expansion board. I must. Moreover, it is necessary to cope with the case where there is an abnormality in the resource itself used for notification.
[0054]
FIG. 5 shows a diagnosis start / end notification unit in the 2-port memory diagnosis apparatus according to the present invention. FIG. 5 shows the start / end notification unit of the diagnostic device diagnosis of the 2-port memory, which is actually used in combination with the 2-port memory diagnostic unit shown in FIG.
[0055]
The personal computer 10 embodies diagnosis start notifying means 35 and diagnosis end notifying means 36 by executing the above personal computer side software module. Diagnosis start notifying means 35 notifies the start of diagnosis from the personal computer 10 to the extension board 50, and diagnosis end notifying means 36 notifies the end of diagnosis from the personal computer 10 to the extension board 50. The expansion board 50 embodies diagnosis start confirmation means 75 and diagnosis end confirmation means 76 by executing the above-described expansion board side software module. The diagnosis start confirmation unit 75 confirms the diagnosis start notification from the personal computer 10, and the diagnosis end confirmation unit 76 confirms the diagnosis end notification from the personal computer 10.
[0056]
Diagnosis flag areas (1) to (n) are provided for the respective diagnosis areas (1) to (n) of the 2-port memory 53. The diagnostic flag areas (1) to (n) are predetermined areas for setting diagnostic flags in the two-port memory or other resources. In this example, a plurality of diagnosis flag areas are provided, but even when there is only one diagnosis flag area, the start / end of diagnosis can be notified.
[0057]
For simplicity, the diagnosis start operation will be described first in the case where there is only one diagnosis flag area (1). Further, a case where “(read data) −1” is used as the personal computer side conversion operation and “(read data) +1” is used as the expansion board side conversion operation will be described as an example.
[0058]
First, in order to notify the start of diagnosis, a value indicating the start of diagnosis, for example, “1” is written in the diagnosis flag area (1) by the diagnosis start notifying means 35 from the personal computer 10 side. The expansion board 50 side detects that “1” has been written in the diagnosis flag area (1) by the diagnosis start confirmation means 75 and knows that the diagnosis is started. Next, on the expansion board side, the expansion board side conversion operation is performed on the read data “1”. That is, “1 + 1” is calculated. Then, the value “2” obtained as a result of the calculation is written in the diagnosis flag area (1).
[0059]
On the other hand, on the personal computer 10 side, it is detected that the value of the diagnostic flag area (1) has changed to “2”, and the personal computer side conversion calculation is performed on the read data “2”. That is, “2-1” is calculated. As a result of the calculation, it is confirmed that the obtained value “1” matches the value “1” written from the personal computer 10 side first. If it is confirmed that the values match, the diagnosis is started normally.
[0060]
By performing the confirmation process in this manner, it is possible to confirm that the diagnosis start notification has been transmitted from the personal computer 10 side to the expansion board 50 side, and the diagnosis start notification has not been transmitted. The problem of being unable to diagnose does not occur. The diagnosis end notification and confirmation are performed in the same way.
[0061]
Next, the flow of processing for starting diagnosis will be described with reference to FIGS. 6 (a) and 6 (b). 4A shows a processing flow by the diagnosis start notifying unit 35 of the personal computer 10, and FIG. 4B shows a processing flow by the diagnosis start confirming unit 75 of the expansion board 50.
[0062]
In order to start the diagnosis of the expansion board 50 from the personal computer 10, the diagnosis start notifying means 35 first writes values indicating the start of diagnosis in all the diagnosis flag areas from the diagnosis flag area (1) to the diagnosis flag area (n). (Step S40). And it waits for the value of a diagnostic flag area to change (step S41). On the other hand, the diagnosis start confirmation means 75 on the expansion board 50 periodically confirms the value of each diagnosis flag area, and checks whether the diagnosis flag area has a value indicating the start of diagnosis (step S50). When a value indicating the start of diagnosis is found even at one location, the value in the diagnosis flag area is read out, and after reversible conversion (extension board side conversion), the value is written in the original diagnosis flag area (step S51).
[0063]
In response to the change in the value of the diagnosis flag area, the diagnosis start notification means 35 reads the value of the diagnosis flag area and performs reverse conversion (PC side conversion) (step S42). Then, it is confirmed whether or not the inversely converted value is equal to the value written in step S40 (step S43). If the values are equal, the diagnosis is started normally (step S45), and if they are not equal, the diagnosis is interrupted because there is an abnormality (step S46).
[0064]
Next, a flow of processing for ending diagnosis will be described with reference to FIGS. 7 (a) and 7 (b). 2A shows a processing flow by the diagnosis end notifying unit 36 of the personal computer 10, and FIG. 2B shows a processing flow by the diagnosis end confirmation unit 76 of the expansion board 50.
[0065]
In order to end the diagnosis of the expansion board 50 from the personal computer 10, the diagnosis end notifying means 36 first writes values indicating the end of diagnosis in all the diagnosis flag areas from the diagnosis flag area (1) to the diagnosis flag area (n). (Step S60). And it waits for the value of a diagnostic flag area to change (step S61). On the other hand, the diagnosis end confirmation means 76 of the expansion board 50 periodically checks the value of each diagnosis flag area and checks whether the diagnosis flag area has a value indicating the end of diagnosis (step S70). When a value indicating the end of diagnosis is found even at one location, the value in the diagnosis flag area is read out, and after reversible conversion (extension board side conversion), the value is written in the original diagnosis flag area (step S71).
[0066]
In response to the change in the value of the diagnosis flag area, the diagnosis end notification means 76 reads the value of the diagnosis flag area and performs reverse conversion (PC side conversion) (step S62). Then, it is confirmed whether or not the inversely converted value is equal to the value written in step S60 (step S63). If the values are equal, the diagnosis ends normally (step S64). If they are not equal, the diagnosis is interrupted because there is an abnormality (step S65).
[0067]
As described above, by using a plurality of diagnosis flag areas, even if some diagnosis flag areas are abnormal, an attempt was made to start or end the diagnosis, but the diagnosis flag area is normally terminated. The diagnosis can not be started or ended because the value indicated cannot be written, so that the diagnosis can be started or ended by a normal diagnosis flag area, and the value of the diagnosis flag area can be reversibly converted. By confirming the value, it can be confirmed that the value written in the diagnosis flag area is surely delivered to the other party.
[0068]
Embodiment 2. FIG.
FIG. 8 is a hardware configuration diagram showing another embodiment of the 2-port memory diagnostic device according to the present invention. 8, parts corresponding to those in FIG. 1 are denoted by the same reference numerals as those in FIG. 1, and description thereof is omitted. In this embodiment, a data conversion mode setting table 55 used for 2-port memory diagnosis is defined in the resource 54 in addition to the above-described embodiment.
[0069]
FIG. 9 shows the internal structure of the data conversion mode setting table 55 provided in the resource 54. The data conversion mode setting table 55 has a personal computer side data conversion mode setting table part A and an expansion board side data conversion mode setting table part B. Both the setting table parts A and B have a conversion operation specifier and a conversion operation. Each has n reversible transformation operation units consisting of values.
[0070]
In this embodiment, the personal computer side CPU 11 reads the 2-port memory diagnostic data conversion method from the data conversion mode setting table 55 provided in the resource 54, and stores the 2-port memory stored in the main storage device 12. Based on the diagnostic program, data reading comparison and writing with the 2-port memory 53 are executed. The same applies to the expansion board 50 side. The expansion board side CPU 51 reads the 2-port memory diagnostic data conversion method from the conversion mode setting table 55 provided in the resource 55 and stores it on the main storage device 52. Based on the port memory diagnosis program, data reading comparison and writing with the 2-port memory 53 are executed.
[0071]
When the personal computer side CPU 11 and the expansion board side CPU 51 read / write data to / from the 2-port memory 53, a 2-port memory diagnosis corresponding to the data conversion mode set in the data conversion mode setting table 55 is realized. The reversible conversion operation unit defined in the data conversion mode setting table 55 includes a conversion operation specifier that specifies an operation type for data conversion, and a conversion operation value that specifies an operation value when performing data conversion. .
[0072]
Various arithmetic types such as “sum”, “difference”, “product”, “division”, “bit shift”, “bit rotation”, “bit inversion” and the corresponding specifiers are stored in the personal computer side main storage device 12 and the expansion board side main memory. By registering in the device 52, the personal computer side CPU 11 and the expansion board side CPU 51 read the conversion calculation specifier and the conversion calculation value of the reversible conversion calculation unit set in the data conversion mode setting table 55. The data conversion formula can be calculated. For example, when a specifier corresponding to “sum” is set as the conversion calculation specifier and “1” is set as the conversion calculation value, each CPU calculates “read data + 1” as a data conversion formula.
[0073]
Also, when combining a plurality of calculation types, a plurality of reversible transformation calculation units are set in ascending order of numbers, and a clear setting is set for a reversible conversion calculation unit that is not used, so that each CPU reads out the reversible conversion calculation unit in order. Thus, it is possible to calculate a composite data conversion formula.
[0074]
As a result, it is possible to change the data conversion method in the data transmission / reception by the cooperation of the personal computer side CPU 11 and the expansion board side CPU 51 at the time of the 2-port memory diagnosis, and execute the 2-port memory diagnosis for several kinds of conversion modes. By doing so, more flexible diagnosis of the 2-port memory can be performed.
[0075]
Embodiment 3 FIG.
FIG. 10 shows a monitoring method of a personal computer for performing 2-port memory diagnosis according to the present invention. In FIG. 10, reference numeral 400 denotes a personal computer performing a two-port memory diagnosis, and 401 and 402 denote personal computers 400 and other personal computers on the same network line such as a LAN or a telephone line. Da represents a data flow for notifying the other personal computers 401 and 402 of the 2-port memory diagnostic information, and Db represents a data flow for obtaining the 2-port memory diagnostic information from the other personal computers 401 and 402.
[0076]
FIG. 11 is a flowchart for notifying other personal computers of 2-port memory diagnostic information (or accessing 2-port memory diagnostic information from other personal computers).
[0077]
After monitoring of the two-port memory diagnosis is started (step S80), a message is sent (or sent by e-mail) to the other personal computer 401 with the information, and the Internet homepage information file is updated (step S81). ). A user using the personal computer 401 periodically receives information on the 2-port memory diagnosis state from the personal computer 400 (data flow Da). In addition, the user of the personal computer 402 can appropriately access the homepage of the personal computer 400 from a WWW browser on the Internet and acquire information on the 2-port memory diagnosis status of the personal computer 400 (data flow Db).
[0078]
In the case of a physical memory failure, it is possible to detect the error immediately after the 2-port memory diagnosis. However, an error due to the access timing of the 2-port memory or a momentary power failure etc. can be diagnosed for a long time. There is a need to do. In this case, the 2-port memory diagnostic information over a long period of time can be notified to an arbitrary personal computer in real time, or the 2-port memory diagnostic information can be accessed from an arbitrary personal computer, thereby improving work efficiency. .
[0079]
【The invention's effect】
As can be understood from the above description, the two-port memory diagnostic apparatus according to the present invention Yo Then, the data reading means on the side of one of the first CPU and the second CPU reads the data in the 2-port memory. ,one The data conversion means on the CPU side The data reading means on one CPU side reversibly converts the data read from the 2-port memory, and the data writing means on one CPU side is on the side of one CPU. Data reversibly converted by data conversion means 2 Data reading means for writing to the port memory and on the other CPU side The data writing means on one CPU side reads the data written in the 2-port memory, and the other CPU side Data comparison means Is performed by the data conversion means on the other CPU side. Apply the inverse of the reversible transformation, The data writing means on the other CPU side wrote before the data reading means on the other CPU side read the data from the 2-port memory. Compared to data, if the data does not match, an error determination is made. Therefore, the diagnosis of the 2-port memory should be performed reliably by data transmission / reception by the cooperation of both CPUs without adding or changing special hardware. It is also possible to avoid writing the same data as the data already existing in the 2-port memory, and the data comparison means on the other side can invert the data to verify the consistency of the read data Become.
[0080]
According to the two-port memory diagnostic apparatus of the next invention, the data reading means on one side of either the first CPU or the second CPU causes data on the two-port memory by the data writing means on the other side. Monitors data changes in the 2-port memory due to writing and determines errors based on timeouts. Accurately detects abnormalities in 2-port memory due to timeouts in the other party's write wait time without adding or changing special hardware. can do.
[0081]
According to the two-port memory diagnosis device of the next invention, the first CPU notifies the second CPU by the diagnosis start notifying means, and the second CPU notifies the second CPU by the diagnosis start confirming means from the first CPU. Confirm the diagnosis start notification, notify the second CPU by the diagnosis end notification means from the first CPU, and confirm the diagnosis end notification from the first CPU by the diagnosis end confirmation means in the second CPU. From this, it can be confirmed that the notification of diagnosis start and diagnosis end was transmitted from the first CPU side to the second CPU, and the notification of diagnosis start and diagnosis end could not be transmitted. The problem of the inability to start or end is reliably avoided.
[0082]
According to the two-port memory diagnosis device of the next invention, a plurality of diagnosis flag areas are used, and even when some of the diagnosis flag areas are abnormal, the diagnosis can be started or ended with a normal diagnosis flag area. In addition, by performing reversible conversion on the value in the diagnostic flag area and confirming the value, it is possible to confirm that the value written in the diagnostic flag area has reached the other party.
[0083]
According to the diagnostic device for a two-port memory according to the next invention, it is possible to variably set the data conversion formula used in the reversible conversion of the read data by the data conversion means and the reverse conversion of the read data by the data comparison means. Therefore, flexible diagnosis of the 2-port memory can be performed.
[0084]
According to the 2-port memory diagnostic apparatus of the next invention, the 2-port memory provided on the expansion board mounted in the expansion slot of the computer can be diagnosed reliably.
[0085]
According to the monitoring device for 22 port memory diagnosis according to the next invention, the computer for performing the 2 port memory diagnosis by the diagnostic device for 2 port memory according to the above invention and another computer are communicably connected on the same network line. The monitoring of the status of the 2-port memory diagnosis can be notified to other personal computers via the network, or the information can be accessed from the other personal computers. It becomes easy to notify the personal computer and to access the 2-port memory diagnosis status information from another personal computer, and the work efficiency is improved.
[0086]
According to the two-port memory diagnosis method of the next invention, data is written to the two-port memory on either the first CPU or the second CPU side, and the other CPU side. One CPU side 2-port memory Read the data written to Read data In Reversible transformation Out And reversibly transformed data The Write to 2-port memory See On one CPU side, the other CPU side reads the data written in the 2-port memory, and the read data On the other CPU side Apply the inverse of the reversible transformation, Before the other CPU reads data from the 2-port memory, Write What Since data is compared and error determination is performed due to data mismatch, 2-port memory diagnosis can be performed reliably by data transmission / reception by the cooperation of both CPUs without adding or changing special hardware. In addition, it is possible to avoid writing the same data as the data already existing in the 2-port memory, and it is possible to verify the consistency of the read data by the data comparison means on the other side performing reverse conversion of the data. .
[0087]
According to the two-port memory diagnostic method of the next invention, the data of the two-port memory is written by writing data to the two-port memory on the CPU side of either the first CPU or the second CPU. Since the change is monitored and an error is determined by a timeout, an abnormality in the 2-port memory can be accurately detected by the timeout in the other party write waiting time without adding or changing any special hardware.
[0088]
According to the two-port memory diagnosis method of the next invention, the diagnosis start notification from the first CPU to the second CPU is notified, and the diagnosis start notification from the first CPU is confirmed in the second CPU. Since the end of diagnosis from one CPU to the second CPU is notified, and the second CPU confirms the diagnosis end notification from the previous first CPU, the diagnosis start notification and the diagnosis end notification are sent from the first CPU side. It is possible to confirm that it has been transmitted to the second CPU, and it is possible to reliably avoid the problem that the two-port memory diagnosis cannot be started or ended because the diagnosis start and diagnosis end notifications have not been transmitted.
[0089]
According to the two-port memory diagnosis method of the next invention, a plurality of diagnosis flag areas are used, and even when some diagnosis flag areas are abnormal, diagnosis can be started or ended with a normal diagnosis flag area. In addition, by performing reversible conversion on the value in the diagnostic flag area and confirming the value, it is possible to confirm that the value written in the diagnostic flag area has reached the other party.
[0090]
According to the two-port memory diagnosis method of the next invention, since the data conversion formula used in the reversible conversion of the read data and the reverse conversion of the read data is variably set, the diagnosis of the flexible two-port memory is performed. be able to.
[0091]
According to the two-port memory diagnosis method of the next invention, the diagnosis of the two-port memory provided on the expansion board mounted in the expansion slot of the computer can be reliably performed.
[Brief description of the drawings]
FIG. 1 is a hardware configuration diagram showing one embodiment of a two-port memory diagnostic device according to the present invention.
FIG. 2 is a software block diagram showing an embodiment of a two-port memory diagnostic device according to the present invention.
FIG. 3 is a block diagram showing an embodiment of a 2-port memory diagnostic unit in the 2-port memory diagnostic device according to the present invention;
FIGS. 4A and 4B are flowcharts of a diagnostic program in the two-port memory diagnostic apparatus according to the present invention.
FIG. 5 is a block diagram showing an embodiment of a diagnosis start / end notification unit in the two-port memory diagnostic device according to the present invention.
FIGS. 6A and 6B are flowcharts showing a flow of processing for starting diagnosis.
FIGS. 7A and 7B are flowcharts showing the flow of processing for ending diagnosis.
FIG. 8 is a hardware configuration diagram showing another embodiment of the two-port memory diagnostic device according to the present invention.
FIG. 9 is an internal configuration diagram of a data conversion mode setting table in the 2-port memory diagnostic device according to the present invention.
FIG. 10 is a system configuration diagram showing one embodiment of a monitoring device for 2-port memory diagnosis according to the present invention.
FIG. 11 is a flowchart showing monitoring processing for 2-port memory diagnosis according to the present invention.
FIG. 12 is a block diagram of a personal computer-side port diagnostic phase in a conventional diagnostic apparatus.
FIG. 13 is a block diagram of an expansion board side port diagnosis phase in a conventional diagnosis device.
FIG. 14 is a flowchart of a diagnostic program in a conventional diagnostic apparatus.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Personal computer, 11 CPU, 12 Main storage device, 21 Diagnosis management module, 22 Data reading module, 23 Data conversion module, 24 Data writing module, 25 Data comparison module, 26 Diagnosis start notification module, 27 Diagnosis end notification module, 28 Conversion mode setting module, 29 Network communication module, 31 Data reading means, 32 Data conversion means, 33 Data writing means, 34 Data comparison means, 35 Diagnosis start notifying means, 36 Diagnosis end notifying means, 50 Expansion board, 51 CPU, 52 Main memory, 53 2-port memory, 54 resources, 55 Data conversion mode setting table, 61 Diagnosis management module, 62 Data reading module, 63 Data conversion module, 64 Data writing module , 65 Data comparison module, 66 Diagnosis start confirmation module, 67 Diagnosis end confirmation module, 68 Conversion mode acquisition module, 71 Data reading means, 72 Data conversion means, 73 Data writing means, 74 Data comparison means, 75 Diagnosis start confirmation means, 76 Diagnosis end confirmation means.

Claims (13)

第一のCPUと第二のCPUの双方がアクセス可能な2ポートメモリの診断装置において、
前記第一のCPUと前記第二のCPUは、
相手CPU側が書き込んだ2ポートメモリのデータ読み込データ読込み手段と、
前記データ読込み手段によって2ポートメモリより読み込んだデータ可逆変換を施すデータ変換手段と、
前記データ変換手段によって可逆変換されたデータ2ポートメモリに書き込データ書込み手段と、
前記データ読込み手段によって読み込まれたデータに相手CPU側のデータ変換手段が施す可逆変換の逆変換を施したデータと自CPU側のデータ読込み手段によって2ポートメモリからデータを読み込む前に自CPU側のデータ書き込み手段が2ポートメモリに書き込んだデータと比較するデータ比較手段と、
を有し、データ不一致によりエラー判定を行うことを特徴とする2ポートメモリの診断装置。
In a 2-port memory diagnostic device accessible by both the first CPU and the second CPU,
The first CPU and the second CPU are:
And the write-free data reading means reading the data of the two-port memory written by the partner CPU side,
A data converting means for performing a reversible transform on the read data from the 2-port memory by said data reading means,
And write no-data write means to write the reversible transform data into two-port memory by said data conversion means,
Own CPU before the read data subjected to inverse transformation of the reversible transform of the data converting unit of the partner CPU side read- Mareta data applied by the data reading means, the data from the two-port memory by the current CPU side of the data reading means and data comparing means the side of the data writing means is compared with the write I write data to the two-port memory,
A diagnostic apparatus for a two-port memory, characterized in that an error determination is made based on data mismatch.
前記第一のCPUと前記第二のCPUのいずれか一方の側の前記データ読込み手段によって、他方の側の前記データ書込み手段による2ポートメモリに対するデータ書込みによる2ポートメモリのデータ変化を監視し、タイムアウトによりエラー判定を行うことを特徴とする請求項1に記載の2ポートメモリの診断装置。  The data reading means on either one of the first CPU and the second CPU monitors the data change in the 2-port memory due to data writing to the 2-port memory by the data writing means on the other side, 2. The diagnostic apparatus for a two-port memory according to claim 1, wherein an error determination is made by a timeout. 前記第一のCPUから第二のCPUへの診断開始を知らせる診断開始通知手段と、
前記第一のCPUから前記第二のCPUへの診断終了を知らせる診断終了通知手段と、
前記第二のCPUにおいて前記第一のCPUからの診断開始通知を確認する診断開始確認手段と、
前記第二のCPUにおいて前記第一のCPUからの診断終了通知を確認する診断終了確認手段と、
を有していることを特徴とする請求項1または2に記載の2ポートメモリの診断装置。
Diagnosis start notifying means for notifying the start of diagnosis from the first CPU to the second CPU;
Diagnosis end notification means for notifying the end of diagnosis from the first CPU to the second CPU;
A diagnosis start confirmation means for confirming a diagnosis start notification from the first CPU in the second CPU;
A diagnosis end confirmation means for confirming a diagnosis end notification from the first CPU in the second CPU;
The diagnostic apparatus for a two-port memory according to claim 1, wherein:
複数個の判断フラグエリアを画定、前記診断開始通知手段は複数個のすべての判断フラグエリアに診断開始値を書き込み、前記診断開始確認手段は複数個の判断フラグエリアの少なくとも一つの値が診断開始値になれば、それを可逆変換して元の判断フラグエリアに書き込み、前記診断開始通知手段がそれを読み出して可逆変換の逆変換を行い、逆変換後の値が判断フラグエリアに書き込んだ診断開始値と一致すれば診断を正常に開始し、前記診断終了通知手段は複数個のすべての判断フラグエリアに診断終了値を書き込み、前記診断終了確認手段は複数個の判断フラグエリアの少なくとも一つの値が診断終了値になれば、それを可逆変換して元の判断フラグエリアに書き込み、前記診断終了通知手段がそれを読み出して可逆変換の逆変換を行い、逆変換後の値が判断フラグエリアに書き込んだ診断終了値と一致すれば診断を正常に終了することを特徴する請求項3に記載の2ポートメモリの診断装置。 Defining a plurality of determination flag area, the diagnostic start notification means writes the diagnosis start values for all decision flag area of a plurality, at least one value is diagnostic of the diagnostic start confirmation means a plurality of determination flag area If it becomes the start value, it is reversibly converted and written in the original determination flag area, the diagnosis start notification means reads it, performs reverse conversion of reversible conversion, and the value after reverse conversion is written in the determination flag area If it matches the diagnosis start value, the diagnosis starts normally, the diagnosis end notifying means writes the diagnosis end value in all of the plurality of judgment flag areas, and the diagnosis end confirmation means is at least one of the plurality of judgment flag areas. If one value becomes the diagnosis end value, it is reversibly converted and written in the original determination flag area, and the diagnosis end notification means reads it and performs reverse conversion of reversible conversion. Performed, the diagnostic device of the two-port memory according to claim 3, characterized in that the value after inverse transformation is completed successfully diagnosed if consistent with a diagnosis end value written to the determination flag area. 前記データ変換手段が前記データ読込み手段によって2ポートメモリより読み込んだデータに施す可逆変換と、前記データ比較手段が前記データ読込み手段によって2ポートメモリより読み込んだデータに施す相手CPU側のデータ変換手段が施す可逆変換の逆変換で使用するデータ変換式を可変設定することができることを特徴とする請求項1〜4のいずれか一つに記載の2ポートメモリの診断装置。A reversible transform to be applied to data read from the two-port memory by said data converting means the data reading means, said data comparing means said data reading means by mating CPU side of the data conversion means for subjecting the read data from the two-port memory is diagnostic apparatus of the two-port memory according to the data conversion formula to be used in the inverse transformation of the reversible transform to any one of claims 1 to 4, characterized in that it can be variably set to perform. 前記第一のCPUはコンピュータ搭載されたCPUであり、第二のCPUは前記コンピュータの拡張スロットに実装された拡張ボード上のCPUであり、拡張ボードに設けられた2ポートメモリの診断を行うことを特徴とする請求項1〜5のいずれか一つに記載の2ポートメモリの診断装置。Said first CPU is a CPU mounted in the computer, the second CPU is a CPU on the computer expansion slot mounted the expansion board of the diagnosis of the two-port memory provided in an expansion board The diagnostic apparatus for a two-port memory according to any one of claims 1 to 5, wherein: 請求項1〜6のいずれか一つに記載の2ポートメモリの診断装置により2ポートメモリ診断を行われるコンピュータと他のコンピュータとが同一のネットワーク回線上に通信可能に接続され、2ポートメモリ診断の状態監視をネットワークを介して、他パーソナルコンピュータ上に通知、あるいは他パーソナルコンピュータから情報のアクセスをできることを特徴する2ポートメモリ診断のモニタリング装置。  A computer for performing two-port memory diagnosis by the two-port memory diagnosis device according to any one of claims 1 to 6 and another computer are connected to be communicable on the same network line. A monitoring device for two-port memory diagnosis, characterized in that the status monitoring of the computer can be notified to another personal computer via a network or information can be accessed from the other personal computer. 第一のCPUと第二のCPUの双方がアクセス可能な2ポートメモリの診断方法において、
前記第一のCPUと前記第二のCPUの何れか一方のCPU側で2ポートメモリにデータの書き込みを行い、他方のCPU側で前記一方のCPU側が2ポートメモリに書き込んだデータを読み込み、この読み込んだデータ可逆変換をし、可逆変換されたデータ2ポートメモリに書き込み、前記一方のCPU側で、前記他方のCPU側が前記2ポートメモリに書き込んだデータを読み込み、その読み込んだデータに前記他方のCPU側の可逆変換の逆変換を施し、これと前記他方のCPU側が2ポートメモリからデータを読み込む前に自CPU側が書き込んだデータとを比較し、データ不一致によりエラー判定を行うことを特徴とする2ポートメモリの診断方法。
In the diagnostic method for a two-port memory accessible by both the first CPU and the second CPU,
Either the first CPU or the second CPU writes data to the 2-port memory on the CPU side, and the other CPU side reads the data written to the 2-port memory by the one CPU side. and facilities reversible transformation on the read data, write the reversible transform data into two-port memory, said at one CPU side, the other CPU side reads the data written in the two-port memory, read the performing inverse transform of said other CPU side of the reversible transform to the data and compares the data they own CPU side is written write I before reading the data from this and the other CPU side is two-port memory, the error determined by data inconsistency A method for diagnosing a two-port memory, comprising:
前記第一のCPUと前記第二のCPUのいずれか一方のCPU側にて、他方のCPU側による2ポートメモリに対するデータ書込みによる2ポートメモリのデータ変化を監視し、タイムアウトによりエラー判定を行うことを特徴とする請求項8に記載の2ポートメモリの診断方法。The CPU side of either the first CPU or the second CPU monitors the data change of the 2-port memory due to data writing to the 2-port memory by the other CPU side, and performs error determination by timeout. diagnostic method for two-port memory of claim 8, feature a. 前記第一のCPUから第二のCPUへの診断開始を知らせ、前記第二のCPUにおいて前記第一のCPUからの診断開始通知を確認し、また前記第一のCPUから前記第二のCPUへの診断終了を知らせ、前記第二のCPUにおいて前記第一のCPUからの診断終了通知を確認することを特徴とする請求項8または9に記載の2ポートメモリの診断方法。  Notification of diagnosis start from the first CPU to the second CPU, confirmation of diagnosis start notification from the first CPU in the second CPU, and from the first CPU to the second CPU 10. The diagnosis method for a two-port memory according to claim 8, wherein the second CPU confirms the diagnosis end notification from the first CPU. 複数個の判断フラグエリアを画定、前記第一のCPU側から複数個のすべての判断フラグエリアに診断開始値を書き込み、複数個の判断フラグエリアの少なくとも一つの値が診断開始値になれば、それを前記第二のCPU側にて可逆変換して元の判断フラグエリアに書き込み、前記第一のCPU側にてそれを読み出して可逆変換の逆変換を行い、逆変換後の値が判断フラグエリアに書き込んだ診断開始値と一致すれば診断を正常に開始し、前記第一のCPU側から複数個のすべての判断フラグエリアに診断終了値を書き込み、複数個の判断フラグエリアの少なくとも一つの値が診断終了値になれば、それを前記第二のCPU側にて可逆変換して元の判断フラグエリアに書き込み、前記第一のCPU側にてそれを読み出して可逆変換の逆変換を行い、逆変換後の値が判断フラグエリアに書き込んだ診断終了値と一致すれば診断を正常に終了することを特徴する請求項10に記載の2ポートメモリの診断方法。 Defining a plurality of determination flag area, writes the diagnosis start value to the first all determination flag area from CPU side of a plurality of, if at least one value of the plurality of determination flag area for diagnosis start value , Reversibly transform it on the second CPU side and write it to the original judgment flag area, read it on the first CPU side and perform reverse transform of the reversible transform, and determine the value after the inverse transform If it coincides with the diagnosis start value written in the flag area, the diagnosis is started normally, and the diagnosis end value is written in all the plurality of determination flag areas from the first CPU, and at least one of the plurality of determination flag areas is written. If one of the values is the diagnosis end value, it is reversibly converted on the second CPU side and written to the original determination flag area, and is read on the first CPU side to reverse the reversible conversion. Performs two-port diagnostic method of the memory according to claim 10, the value after the inverse transform is characterized in that completes successfully diagnosed if consistent with a diagnosis end value written to the determination flag area. 2ポートメモリから読み込んだデータに施す可逆変換と、2ポートメモリから読み込んだデータに施す相手側CPUが施した可逆変換の逆変換で使用するデータ変換式を可変設定することを特徴とする請求項8〜11のいずれか一つに記載の2ポートメモリの診断方法。A reversible transform to be applied to read data from the 2-port memory, the claims data conversion formula to be used in the inverse transformation of the reversible transformation subjected the counterpart CPU performing the data read from the two-port memory, wherein the set variably The diagnostic method for a two-port memory according to any one of 8 to 11. 前記第一のCPUはコンピュータ搭載されたCPUであり、第二のCPUは前記コンピュータの拡張スロットに実装された拡張ボード上のCPUであり、拡張ボードに設けられた2ポートメモリの診断を行うことを特徴とする請求項8〜12のいずれか一つに記載の2ポートメモリの診断方法。Said first CPU is a CPU mounted in the computer, the second CPU is a CPU on the computer expansion slot mounted the expansion board of the diagnosis of the two-port memory provided in an expansion board The diagnostic method for a two-port memory according to any one of claims 8 to 12.
JP10311798A 1998-04-14 1998-04-14 2-port memory diagnostic device, 2-port memory diagnostic monitoring device, and 2-port memory diagnostic method Expired - Fee Related JP3839161B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10311798A JP3839161B2 (en) 1998-04-14 1998-04-14 2-port memory diagnostic device, 2-port memory diagnostic monitoring device, and 2-port memory diagnostic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10311798A JP3839161B2 (en) 1998-04-14 1998-04-14 2-port memory diagnostic device, 2-port memory diagnostic monitoring device, and 2-port memory diagnostic method

Publications (2)

Publication Number Publication Date
JPH11296442A JPH11296442A (en) 1999-10-29
JP3839161B2 true JP3839161B2 (en) 2006-11-01

Family

ID=14345656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10311798A Expired - Fee Related JP3839161B2 (en) 1998-04-14 1998-04-14 2-port memory diagnostic device, 2-port memory diagnostic monitoring device, and 2-port memory diagnostic method

Country Status (1)

Country Link
JP (1) JP3839161B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9965005B2 (en) 2016-02-26 2018-05-08 Samsung Electronics Co., Ltd. Memory diagnosis system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9965005B2 (en) 2016-02-26 2018-05-08 Samsung Electronics Co., Ltd. Memory diagnosis system

Also Published As

Publication number Publication date
JPH11296442A (en) 1999-10-29

Similar Documents

Publication Publication Date Title
US5367697A (en) Means for providing a graceful power shut-down capability in a multiprocessor system having certain processors not inherently having a power shut-down capability
JP3839161B2 (en) 2-port memory diagnostic device, 2-port memory diagnostic monitoring device, and 2-port memory diagnostic method
JP4592242B2 (en) Server / client system
JPH07183891A (en) Computer system
JP3412725B2 (en) Remote maintenance equipment for distributed systems
KR0130418B1 (en) Method for auto-self diagnosis and decovery of dual common bus resource and processor in the full electronic switching system
JPS6061850A (en) Computer system
JP2998804B2 (en) Multi-microprocessor system
KR100431467B1 (en) System of Duplicating between Two Processors and Managing Method thereof
JPH10269148A (en) Circuit configuration element diagnosing device
JPH05224964A (en) Bus abnormality information system
TW424178B (en) Device and method for control power arbitration of data process system
JP3190694B2 (en) Diagnostic method for local memory
JPH04275664A (en) Mutual monitoring method and device between processors
JPS6158063A (en) Data processing device
JPH03160529A (en) Duplex computer system
JP2008242592A (en) Memory monitoring circuit, information processing apparatus and memory monitoring method
CN113608914A (en) Chip, chip function safety detection method, medium and electronic equipment
JP2531080B2 (en) Bus adapter switching method
KR930002857B1 (en) System formation table making-up method for multi-processor system
JPH083796B2 (en) Communication method in duplexer
JPS5842491B2 (en) Fault recognition method in multiprocessor system
JP2001282571A (en) Event tracing method
JPH0335346A (en) Mutual diagnostic method for multicomputer system
KR20010097281A (en) Method for diagnosing program loaded data in running mobile communication exchange

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060516

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060707

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060801

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060802

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090811

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100811

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110811

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110811

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130811

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees