JPS62217347A - Bus diagnosing device - Google Patents
Bus diagnosing deviceInfo
- Publication number
- JPS62217347A JPS62217347A JP61060124A JP6012486A JPS62217347A JP S62217347 A JPS62217347 A JP S62217347A JP 61060124 A JP61060124 A JP 61060124A JP 6012486 A JP6012486 A JP 6012486A JP S62217347 A JPS62217347 A JP S62217347A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- data
- address
- microprocessor
- changeover switch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000002159 abnormal effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 101001106432 Homo sapiens Rod outer segment membrane protein 1 Proteins 0.000 description 3
- 102100021424 Rod outer segment membrane protein 1 Human genes 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 101100087530 Caenorhabditis elegans rom-1 gene Proteins 0.000 description 1
- 101100305983 Mus musculus Rom1 gene Proteins 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、マイクロプロセッサを搭載するノ・−ドウ
エアにおけるアドレスバス及びデータバスのハードウェ
ア故障を診断する装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a device for diagnosing hardware failures in an address bus and a data bus in a node equipped with a microprocessor.
第2図は従来のマイクロプロセッサを用いた装置を示す
ブロック構成図である。図において、1はマイクロプロ
グラム用メモリROM、2及び3はマイクロプログラム
用メモリROMIからの命令によって動作するシーケン
サ及びマイクロプロセッサ、4はマイクロプログラム用
メモリROM1からの命令を装置に必要なコントロール
信号に変換するロジック回路、5はアドレスバス6、デ
ータバス7、及びコントロールバス8が接続すしている
メモリRAM、9はパリティチェックジェネレータであ
る。FIG. 2 is a block diagram showing a device using a conventional microprocessor. In the figure, 1 is a microprogram memory ROM, 2 and 3 are a sequencer and a microprocessor that operate according to instructions from the microprogram memory ROMI, and 4 converts instructions from the microprogram memory ROM1 into control signals necessary for the device. 5 is a memory RAM to which an address bus 6, a data bus 7, and a control bus 8 are connected; 9 is a parity check generator.
次に、上記第2図に示す従来のマイクロプロセッサを用
いた装置の動作について説明する。マイクロプログラム
用メモリROM1によってシーケンサ2はアドレスを出
力し、アドレスバス6を介してメモリRAM5のアドレ
スを指定する。この時、アドレスデータをパリティチェ
ックジェネレータ9にてパリティチェックを行う。また
、マイクロプログラム用メモリROMIによってマイク
ロプロセッサ3は動作し、メモlJRAM5とのデ−夕
の入出力をデータバス78介して行う。この時、データ
をパリティチェックジェネレータ9にてパリティチェッ
クを行う。ロジック回路4はマイクロプログラム用メモ
リROMIからの命令を変換し、コントロールバス8を
介してメモリRAM5をイネーブルにする。Next, the operation of the device using the conventional microprocessor shown in FIG. 2 will be explained. The sequencer 2 outputs an address using the microprogram memory ROM1, and specifies the address of the memory RAM5 via the address bus 6. At this time, a parity check is performed on the address data by a parity check generator 9. Further, the microprocessor 3 is operated by the microprogram memory ROMI, and inputs and outputs data to and from the memory 1JRAM 5 via the data bus 78. At this time, a parity check is performed on the data by a parity check generator 9. Logic circuit 4 converts instructions from microprogram memory ROMI and enables memory RAM 5 via control bus 8.
上記従来のマイクロプロセッサを用いた装置は以上のよ
うに構成されているので、例えばアドレスバス6及びデ
ータバス7のうちの1本のバスが切断されていた場合に
、これは1ピツトの異常としてパリティ検出ができるが
、2本のバスが切断されていた場合は、これに対するパ
リティ検出ができずに正常とみなされてしまうという問
題点があった。Since the device using the conventional microprocessor is configured as described above, for example, if one of the address bus 6 and data bus 7 is disconnected, this will be treated as a one-pit abnormality. Although parity detection is possible, there is a problem in that if two buses are disconnected, parity detection cannot be performed for this and the bus is considered normal.
この発明は、かかる問題点を解決するためになされたも
ので、アドレスバス及びデータバスのハードウェア故障
をもれなく検出チェックできるバス診断装置を得ること
を目的とする。The present invention has been made to solve these problems, and it is an object of the present invention to provide a bus diagnostic device that can detect and check all hardware failures of address buses and data buses.
この発明に係るバス診断装置は、マイクロプロセッサを
用いた装置に切替えスイッチを設け、この切替えスイッ
チをコントロールバスを介しての信号によりスイッチン
グ動作させて、アドレスバストデータバスとをループ接
続させ、アドレスバスを介して最初に出力したアドレス
データと、データバスを介してもどって米たデータとを
マイクロプログラムにて比較チェックすることにより、
アドレスバス及びデータバスのハードウェア故障を診断
するようにしたものである。The bus diagnostic device according to the present invention is provided with a changeover switch in a device using a microprocessor, and the changeover switch is operated in response to a signal via a control bus to connect the address bus and data bus in a loop. By using a microprogram to compare and check the address data initially output via the data bus and the data returned via the data bus,
This system is designed to diagnose hardware failures in the address bus and data bus.
この発明のバス診断装置においては、マイクロプロセッ
サを用いた装置に設けた切替えスイッチは、常時はアド
レスバスとデータバスとを分離しており、コントロール
バスを介しての信号により切替えスイッチをスイッチン
グ動作させて、アドレスバスとデータバスとをループ接
続させるようにする。In the bus diagnostic device of the present invention, the changeover switch provided in the device using a microprocessor normally separates the address bus and the data bus, and the changeover switch is operated by a signal via the control bus. The address bus and data bus are connected in a loop.
第1図はこの発明の一実施例であるマイクロプロセッサ
を用いた装置におけるバス診断装置を示すブロック構成
図で、第2図に示す従来装置と同−又は相当部分は同一
符号を用いて表示してあり、その詳細な説明は省略する
。図において、10はコントロールバス8を介しての信
号によりスイッチング動作する切替えスイッチである。FIG. 1 is a block configuration diagram showing a bus diagnostic device in a device using a microprocessor, which is an embodiment of the present invention. The same or equivalent parts as in the conventional device shown in FIG. 2 are indicated by the same reference numerals. The detailed explanation will be omitted. In the figure, reference numeral 10 denotes a changeover switch that performs a switching operation in response to a signal via a control bus 8.
次に、上記第1図に示すこの発明の一実施例であるマイ
クロプロセッサ装置を用いた装置におけるバス診断装置
の動作について説明する。マイクロプログラム用メモリ
ROM1によ°つてシーケンサ2よりFFパターンアド
レスを出力する。この時、マイクロプログラム用メモリ
ROM1よりの命令をロジック回路4にて変換し、コン
トロールバス8を介しての信号により切替えスイッチ1
0をスイッチング動作させて、アドレスバス6とデータ
バス7とをループ接続させる。すると、アドレスバス6
のアドレスデータはデータバス7に乗ってマイクロプロ
セッサ3に取り込まれる。このようにして取り込まれた
データと、アドレスバス6を介して最初に出力したアド
レスデータとをマイクロプログラムにて比較チェックす
ることにより、データのどのビットが異常であるかが分
かり、これにより、アドレスバス6及びデータバス7の
ハードウェア故障をすべて診断することができる。Next, the operation of the bus diagnostic device in the device using the microprocessor device, which is an embodiment of the present invention shown in FIG. 1, will be explained. The sequencer 2 outputs the FF pattern address using the microprogram memory ROM1. At this time, the instruction from the microprogram memory ROM 1 is converted by the logic circuit 4, and the changeover switch 1 is sent by a signal via the control bus 8.
0 is operated to connect the address bus 6 and data bus 7 in a loop. Then address bus 6
The address data is taken into the microprocessor 3 on the data bus 7. By comparing and checking the data captured in this way with the address data first output via the address bus 6 using a microprogram, it is possible to find out which bit of the data is abnormal, and this allows the address All hardware failures on bus 6 and data bus 7 can be diagnosed.
この発明は以上説明したとおり、バス診断装置において
、アドレスバスとデータバスとを切替えスイッチを用い
てループ接続させ、アドレスバスを介して最初に出力し
たアドレスデータと、データバスを介してもどって来た
データとをマイクロプログラムにて比較チェックするよ
うに構成したので、切替えスイッチのような安価なスイ
ッチング素子を用いるだけで、アドレスバス及びデータ
バスのハードウェア故障を容易に、かつ確実に診断する
ことができるという優れた効果を奏するものである。As explained above, in a bus diagnostic device, the present invention connects an address bus and a data bus in a loop using a changeover switch, and outputs address data first through the address bus and returns through the data bus. Since the system is configured to compare and check the stored data using a microprogram, hardware failures in the address bus and data bus can be easily and reliably diagnosed simply by using inexpensive switching elements such as changeover switches. It has the excellent effect of being able to.
第1図はこの発明の一実施例であるマイクロプロセッサ
を用いた装置におけるバス診断装置を示すブロック構成
図、第2図は従来のマイクロプロセッサを用いた装置を
示すブロック構成図である。
図において、1・・・マイクロプログラム用メモリRO
M、2・・・シーケンサ、3・・・マイクロプロセッサ
、4・・・ロジック回路、5・・・メモリRAM、6・
・・アドレスバス、7・・・データバス、8・・・コン
トロールバス、9・・・パリティチェックジェネレータ
、10・・・切替えスイッチである。
なお、各図中、同一符号は同一、又は相当部分を示す。FIG. 1 is a block diagram showing a bus diagnostic device in a device using a microprocessor according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional device using a microprocessor. In the figure, 1... microprogram memory RO
M, 2... Sequencer, 3... Microprocessor, 4... Logic circuit, 5... Memory RAM, 6...
. . address bus, 7 . . . data bus, 8 . . . control bus, 9 . . . parity check generator, 10 . . . changeover switch. In each figure, the same reference numerals indicate the same or equivalent parts.
Claims (1)
アドレスバスとデータバスとを切替えスイッチを用いて
ループ接続させ、前記アドレスバスを介して最初に出力
したアドレスデータと、前記データバスを介してもどつ
て来たデータとをマイクロプログラムにて比較チェック
することにより、前記アドレスバス及びデータバスのハ
ードウェア故障を診断することを特徴とするバス診断装
置。In hardware equipped with a microprocessor,
The address bus and the data bus are connected in a loop using a changeover switch, and the address data first output via the address bus and the data returned via the data bus are compared and checked using a microprogram. A bus diagnostic device for diagnosing hardware failures of the address bus and data bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61060124A JPS62217347A (en) | 1986-03-18 | 1986-03-18 | Bus diagnosing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61060124A JPS62217347A (en) | 1986-03-18 | 1986-03-18 | Bus diagnosing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62217347A true JPS62217347A (en) | 1987-09-24 |
Family
ID=13133066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61060124A Pending JPS62217347A (en) | 1986-03-18 | 1986-03-18 | Bus diagnosing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62217347A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04175849A (en) * | 1990-11-07 | 1992-06-23 | Nec Corp | Bi-directional bus inspection system |
JP2011504579A (en) * | 2007-10-15 | 2011-02-10 | ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング | How to test an address bus in a logic module |
-
1986
- 1986-03-18 JP JP61060124A patent/JPS62217347A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04175849A (en) * | 1990-11-07 | 1992-06-23 | Nec Corp | Bi-directional bus inspection system |
JP2011504579A (en) * | 2007-10-15 | 2011-02-10 | ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング | How to test an address bus in a logic module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6382843A (en) | Troubleshooting device for electronic device of automobile | |
JPS62217347A (en) | Bus diagnosing device | |
JPS63163541A (en) | Error tolerance calculation system and method of recognizing error unit within the same, detecting position thereof and removing errors | |
JP2569892B2 (en) | Switching control monitoring circuit | |
JPS63283345A (en) | Diagnostic system for cross connecting device | |
JPH02173852A (en) | Bus diagnostic device | |
JPS6393001A (en) | Signal selecting device | |
JPS63181001A (en) | Fault diagnosing device | |
JPH0726762Y2 (en) | Bus mismatch circuit | |
JPH0662114A (en) | Inter-processor diagnostic processing system | |
JPH11338594A (en) | Defective contact detecting circuit | |
JPS6051136B2 (en) | Data error detection method | |
JPH05233375A (en) | Microprocessor | |
JPH07160521A (en) | Information processor with anti-fault function | |
JPS6378695A (en) | Line connecting device | |
JPS61194541A (en) | Diagnostic method of computer system and its device | |
GB2298932A (en) | A fail-safe multiplex system | |
JPH0233225A (en) | Relay operation diagnostic system | |
JPS6184743A (en) | Logic package incorporating diagnostic circuit | |
JPH11306477A (en) | Sensor terminal equipment | |
JPS6248146A (en) | Data processing device | |
JPS63227234A (en) | Bus fault detecting and diagnosing circuit | |
JPH01230139A (en) | Diagnostic circuit | |
JPH0363830A (en) | In-circuit emulator | |
JPS60258608A (en) | Diagnosis system of controller |