JP2755242B2 - Error notification method - Google Patents

Error notification method

Info

Publication number
JP2755242B2
JP2755242B2 JP7350132A JP35013295A JP2755242B2 JP 2755242 B2 JP2755242 B2 JP 2755242B2 JP 7350132 A JP7350132 A JP 7350132A JP 35013295 A JP35013295 A JP 35013295A JP 2755242 B2 JP2755242 B2 JP 2755242B2
Authority
JP
Japan
Prior art keywords
bus
error
information
processing
occurred
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
JP7350132A
Other languages
Japanese (ja)
Other versions
JPH09179793A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7350132A priority Critical patent/JP2755242B2/en
Publication of JPH09179793A publication Critical patent/JPH09179793A/en
Application granted granted Critical
Publication of JP2755242B2 publication Critical patent/JP2755242B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はエラー通知方式に関
し、特にバスシステムにおけるエラー通知方式に関す
る。
The present invention relates to an error notification system, and more particularly, to an error notification system in a bus system.

【0002】[0002]

【従来の技術】従来のバスエラー通知方式は、一般に、
バスに接続される装置がバス上でのエラーを検出した場
合、バスを介して、エラー通知信号を出力し、エラーの
発生を通知する。
2. Description of the Related Art A conventional bus error notification system generally includes:
When a device connected to the bus detects an error on the bus, the device outputs an error notification signal via the bus to notify occurrence of the error.

【0003】エラー種別の通知を行う従来のエラー通知
方式として、例えば、特開平2−143630号公報に
は、一本のエラー通知線でエラー種別とエラー検出装置
基板を通知することを可能とするエラー通知方式が提案
されている。すなわち、エラーを検出した場合に、検出
した非同期エラーをエラーの程度によって分類するエラ
ー分類化手段(エラー編集部)と、エラーが発生した装
置機番を検出するエラー装置機番検出手段と、上記エラ
ー分類化手段とエラー装置基板検出手段によって検出さ
れたエラーの分類とエラー装置基板の情報をエラー情報
フォーマットにもとづいてエラー通知線に送出するエラ
ー情報送出手段とを備えた、エラー通知方式が提案され
ている。
[0003] As a conventional error notification method for notifying an error type, for example, Japanese Patent Laid-Open No. 2-143630 discloses that an error type and an error detection device board can be notified by one error notification line. An error notification method has been proposed. That is, when an error is detected, an error classification unit (error editing unit) that classifies the detected asynchronous error according to the degree of the error, an error device number detection unit that detects a device number in which the error has occurred, An error notification method has been proposed, comprising: an error classification unit; an error information transmission unit that transmits an error classification detected by the error device substrate detection unit and information on the error device substrate to an error notification line based on an error information format. Have been.

【0004】図4、図5、及び図6は、上記特開平2−
143630号公報に提案されているエラー通知方式を
説明するための図である。
FIG. 4, FIG. 5, and FIG.
FIG. 1 is a diagram for explaining an error notification method proposed in Japanese Patent No. 143630.

【0005】図4を参照して、上記特開平2−1436
30号公報に提案されているエラー通知方式は、入力さ
れる非同期エラーを検出するエラー検出部1、検出した
エラーを分類するエラー編集部、自装置機番を出力する
自装置機番出力部3、エラー情報を後述の図5に示す情
報フォーマットで送出するエラー情報送出部4、エラー
情報送出部4を制御するエラー情報送出制御部、エラー
通知線6、及びエラー通知装置が収容されるステーショ
ンプロセッサ7、から構成される。
[0005] Referring to FIG.
The error notification method proposed in Japanese Patent Publication No. 30 is an error detecting unit 1 for detecting an input asynchronous error, an error editing unit for classifying detected errors, and a local device number output unit 3 for outputting a local device number. 5. An error information transmitting unit 4 for transmitting error information in an information format shown in FIG. 5 described below, an error information transmitting control unit for controlling the error information transmitting unit 4, an error notification line 6, and a station processor accommodating the error notification device. 7.

【0006】図5は、上記特開平2−143630号公
報に提案されているエラー通知方式におけるエラー情報
フォーマットを説明するための図である。
FIG. 5 is a diagram for explaining an error information format in the error notification system proposed in the above-mentioned Japanese Patent Application Laid-Open No. 2-143630.

【0007】図4及び図5を参照して、エラー情報送出
部4は、図5に示したフォーマットによって、エラー情
報を送出する。図5に示したエラー情報フォーマットに
おいて、ビット9はメジャーアラーム(MJA)表示
用、ビット8はマイナーアラーム表示用、ビット0〜7
は装置基板表示用である。
Referring to FIGS. 4 and 5, error information transmitting section 4 transmits error information in the format shown in FIG. In the error information format shown in FIG. 5, bit 9 is for displaying a major alarm (MJA), bit 8 is for displaying a minor alarm, bits 0 to 7
Is for device substrate display.

【0008】次に、上記特開平2−143630号公報
に提案されているエラー通知方式の動作を説明する。図
4及び図5を参照して、このエラー通知方式によれば、
エラー検出部1で検出された数種の非同期エラーは、エ
ラー編集部2でメジャーエラーとマイナーエラーに分類
される。そして、エラー情報送出制御部5の制御によ
り、分類されたエラー種別情報と自装置機番送出部3か
ら出力されたエラー検出装置機番をエラー情報送出部4
から図5に示したフォーマットでエラー通知線に送出す
る。
Next, the operation of the error notification system proposed in Japanese Patent Laid-Open No. 2-143630 will be described. Referring to FIGS. 4 and 5, according to this error notification method,
Several types of asynchronous errors detected by the error detection unit 1 are classified into a major error and a minor error by the error editing unit 2. Under the control of the error information transmission control unit 5, the classified error type information and the error detection device number output from the own device number transmission unit 3 are transmitted to the error information transmission unit 4.
To the error notification line in the format shown in FIG.

【0009】図6は、以上説明したエラー通知方式が適
用された、上記特開平2−143630号公報に提案さ
れている、バスシステムのシステム構成を説明するため
の図である。
FIG. 6 is a diagram for explaining a system configuration of a bus system proposed in the above-mentioned Japanese Patent Application Laid-Open No. 2-143630 to which the above-described error notification system is applied.

【0010】図6を参照して、上記特開平2−1436
30号公報に提案されているバスシステムは、メインプ
ロセッサ(MP)8、ステーションプロセッサ(SP)
7、及びシステムバス(SB)9から構成され、ステー
ションプロセッサ7で非同期エラーが検出されると、シ
ステムバス9のエラー通知線6により、図5に示したフ
ォーマットで、メインプロセッサ8にエラーが通知され
る。
[0010] Referring to FIG.
The bus system proposed in Japanese Patent Publication No. 30 is a main processor (MP) 8 and a station processor (SP).
7 and a system bus (SB) 9. When an asynchronous error is detected by the station processor 7, an error is notified to the main processor 8 in the format shown in FIG. Is done.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、以上説
明した、例えば、上記特開平2−143630号公報に
提案されている従来のエラー通知方式及びバスシステム
においては、エラーが発生した転送サイクルを特定し、
リトライ等のエラー処理を実施することが不可能であ
る、という問題を有する。
However, in the above-described conventional error notification system and bus system proposed in, for example, JP-A-2-143630, a transfer cycle in which an error has occurred is specified. ,
There is a problem that it is impossible to perform error processing such as retry.

【0012】この理由は、上記特開平2−143630
号公報に提案されているエラー通知方式及びバスシステ
ムにおいては、エラーが発生したバススレーブ装置の機
番を通知するのみであるため、エラーに関係する通信を
管理したバスマスタ装置が不明であり、さらに、いずれ
の転送サイクルにおいて、エラーが発生したのかが不明
であるからである。
The reason is as described in the above-mentioned Japanese Patent Application Laid-Open No. 2-143630.
In the error notification system and the bus system proposed in Japanese Patent Application Laid-Open Publication No. H11-270, only the device number of the bus slave device in which the error has occurred is notified, and the bus master device that manages communication related to the error is unknown. This is because it is unclear in which transfer cycle an error has occurred.

【0013】従って、本発明は上記問題点に鑑みて為さ
れたものであって、検出されたエラーが、いずれのバス
マスタからの送信に対応するか、かつバスマスタのいず
れの転送サイクルに対応するものであるかを、バスマス
タに通知可能とするエラー通知方式を提供することを目
的とする。
Accordingly, the present invention has been made in view of the above-mentioned problems, and the detected error corresponds to the transmission from which bus master and to which transfer cycle of the bus master. It is an object of the present invention to provide an error notification method that enables a bus master to be notified of whether or not the above is true.

【0014】[0014]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、複数のバスマスタと、複数のバススレー
ブと、を接続して構成されるバスシステムにおけるエラ
ー通知方式であって、前記複数のバススレーブは、受信
時に発生したエラー及び/又は受信したデータの処理に
ついて発生したエラーの内容を示す情報と、前記複数の
バスマスタのうち、該エラーが発生した際にバス転送サ
イクルを管理していたバスマスタを識別するための情報
と、該エラーに関わる前記バス転送サイクルの処理番号
を識別するための識別情報と、から構成されてなるエラ
ーコマンドを送信する手段を備え、前記複数のバスマス
タは、前記送信されたエラーコマンドを受信する手段
を、備え、前記複数のバスマスタと前記複数のバススレ
ーブとを接続するための共通のバスラインに、さらに前
記エラーコマンドを伝送するための信号線を付加し、
記エラーが発生するタイミングに依存することなく、該
エラーが発生した前記バススレーブから、該エラーに関
わる前記バス転送サイクルを管理した前記バスマスタ
へ、該エラーが発生したバス転送サイクルの処理番号及
び該エラーの内容を示す情報を送信可能に構成されてな
ることを特徴とするエラー通知方式を提供する。
According to one aspect of the present invention, there is provided an error notification method in a bus system configured by connecting a plurality of bus masters and a plurality of bus slaves. The bus slave manages information indicating an error generated at the time of reception and / or an error generated in processing of received data, and a bus transfer cycle among the plurality of bus masters when the error occurs. Means for transmitting an error command, comprising: information for identifying a bus master that has performed, and identification information for identifying a processing number of the bus transfer cycle related to the error, wherein the plurality of bus masters include: Means for receiving the transmitted error command, wherein the plurality of bus masters and the plurality of bus threads
To a common bus line for connecting
A signal line for transmitting the error command is added to the bus master, which manages the bus transfer cycle related to the error, from the bus slave in which the error occurs without depending on the timing at which the error occurs. An error notification method is provided which is configured to be able to transmit a processing number of a bus transfer cycle in which the error has occurred and information indicating the content of the error.

【0015】上記構成のもと、本発明によれば、バスマ
スタ装置は、処理ナンバカウンタから入力された処理ナ
ンバを付加した転送サイクルの情報を処理情報記憶部に
格納しておく。バスマスタ装置はバス上に設置した処理
コード信号線を介して、バスマスタ装置を識別するため
の情報と、採番した転送サイクルの処理ナンバと、をバ
ススレーブ装置へ転送する。バススレーブ側は、バスマ
スタ装置を識別するための情報と、採番した転送サイク
ルの処理ナンバと、を受信し、処理コード記憶部に格納
しておく。
With the above arrangement, according to the present invention, the bus master device stores in the processing information storage section information on the transfer cycle to which the processing number input from the processing number counter is added. The bus master device transfers the information for identifying the bus master device and the processing number of the numbered transfer cycle to the bus slave device via the processing code signal line installed on the bus. The bus slave side receives the information for identifying the bus master device and the processing number of the numbered transfer cycle, and stores it in the processing code storage unit.

【0016】共通バスラインを介して、データ転送が終
了した後、データを受信したバススレーブ装置内でエラ
ーが発生した場合には、このバススレーブ装置は、処理
コード記憶部に格納しておいた、バスマスタ装置を識別
するための情報、及び転送サイクル情報を読み出し、エ
ラー情報を付加した情報を、再び処理コード信号線を介
して、読み出された情報によって示される所定のバスマ
スタ装置へ通知する。
If an error occurs in the bus slave device that has received the data after the data transfer is completed via the common bus line, this bus slave device is stored in the processing code storage unit. Then, the information for identifying the bus master device and the transfer cycle information are read out, and the information added with the error information is again notified to the predetermined bus master device indicated by the read out information via the processing code signal line.

【0017】この結果、所定のバスマスタ装置が、いず
れの転送サイクルにおいて、エラーが発生したのかを認
識することが可能とされ、さらに、処理情報記憶部に格
納しておいた情報を読み出すことにより、再度データの
送信をエラーが発生したバススレーブ装置に対して行
う、リトライ等のエラー対応処理の実行が可能とされ
る。
As a result, a predetermined bus master device can recognize in which transfer cycle an error has occurred, and further, by reading information stored in the processing information storage section, It is possible to execute an error handling process such as a retry to perform data transmission again to the bus slave device in which the error has occurred.

【0018】[0018]

【発明の実施の形態】本発明の実施の形態を図面を参照
して以下に説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】図1は、本発明の一実施形態を説明するた
めのブロック図である。
FIG. 1 is a block diagram for explaining an embodiment of the present invention.

【0020】図1を参照して、本発明の一実施形態に係
るエラー通知方式を適用したエラー通知装置は、バスマ
スタ装置10と、バススレーブ装置20と、このバスマ
スタ装置10とバススレーブ装置20とを互いに接続す
るための共通バス31及び処理コード信号線32と、か
ら構成される。なお、図1において、バスマスタ装置1
0及びバススレーブ装置20は、図示の都合上一つずつ
しか図示していないが、共通バスライン31及び処理コ
ード信号線32には、複数のバスマスタ装置及び複数の
バススレーブ装置が接続されている。
Referring to FIG. 1, an error notification device to which an error notification method according to an embodiment of the present invention is applied includes a bus master device 10, a bus slave device 20, and a bus master device 10 and a bus slave device 20. , And a common bus 31 and a processing code signal line 32 for connecting each other. In FIG. 1, the bus master device 1
Although only one 0 and one bus slave device 20 are shown for the sake of illustration, a plurality of bus master devices and a plurality of bus slave devices are connected to the common bus line 31 and the processing code signal line 32. .

【0021】より詳細には、バスマスタ装置10は、バ
ス制御部11、処理コード制御部12、処理コード記憶
部13、処理ナンバカウンタ14、及び処理情報記憶部
15、から構成されている。また、バススレーブ装置2
0は、バス制御部21、処理コード制御部22、処理コ
ード記憶部23、処理ナンバカウンタ24、及び処理情
報記憶部25、から構成されている。さらに、共通バス
30は、複数本デジタル信号線が束ねられた、コマン
ド、及びデータを伝送するための共通バスライン31
と、処理コードライン32と、から構成されている。
More specifically, the bus master device 10 includes a bus control unit 11, a processing code control unit 12, a processing code storage unit 13, a processing number counter 14, and a processing information storage unit 15. Also, the bus slave device 2
0 is composed of a bus control unit 21, a processing code control unit 22, a processing code storage unit 23, a processing number counter 24, and a processing information storage unit 25. Further, the common bus 30 includes a common bus line 31 for transmitting commands and data in which a plurality of digital signal lines are bundled.
And a processing code line 32.

【0022】バスマスタ装置10は、共通バスライン3
1を介して行われる、データの送信を管理する。バスス
レーブ装置20は、バスマスタ装置10の管理下におい
て、データの送信及び受信を行う。共通バスライン31
は複数本のテジタル信号線を束ねたものであってデータ
伝送用のバスである。処理コードライン32は処理コー
ドを伝送する。なお、本実施形態においては、処理コー
ドライン32は複数本設けられることにより、パラレル
にエラーコマンドを伝送可能とされているが、処理コー
ドライン32を一本として、複数ビットから成るエラー
コマンドをシリアル伝送するようにしてもよいことは勿
論である。
The bus master device 10 has a common bus line 3
1 manages the transmission of data. The bus slave device 20 transmits and receives data under the control of the bus master device 10. Common bus line 31
Is a data transmission bus which is a bundle of a plurality of digital signal lines. The processing code line 32 transmits the processing code. In the present embodiment, a plurality of processing code lines 32 are provided so that an error command can be transmitted in parallel. However, a single processing code line 32 is used to serially transmit an error command composed of a plurality of bits. Of course, it may be transmitted.

【0023】バスマスタ装置10において、バス制御部
11は、コマンド及びデータ送信制御を行う。処理コー
ド制御部12は、処理コードの生成、処理コード送信及
び受信制御を行う。処理コード記憶部13は、生成され
た処理コードを一時格納する。処理ナンバカウンタ14
は、バスマスタ装置10が転送サイクルを実行する毎
に、この転送サイクルの処理番号を採番する。処理情報
記憶部15は、処理ナンバカウンタ14から採番された
処理ナンバが付加された、転送サイクルの情報を格納す
る。
In the bus master device 10, a bus control unit 11 performs command and data transmission control. The processing code control unit 12 performs processing code generation, processing code transmission, and reception control. The processing code storage unit 13 temporarily stores the generated processing code. Processing number counter 14
Each time the bus master device 10 executes a transfer cycle, it assigns a process number of this transfer cycle. The processing information storage unit 15 stores information on the transfer cycle to which the processing number assigned from the processing number counter 14 is added.

【0024】バススレーブ装置20において、バス制御
部21は、コマンド及びデータ受信制御を行う。処理コ
ード制御部22は、処理コードの受信及び送信制御を行
う。処理情報記憶部23は受信された処理コードを記憶
する。処理ナンバカウンタ24は、通常使用されない
が、バススレーブ装置20がバスマスタとなる際には、
処理ナンバカウンタ14と同様に、転送サイクルが実行
される毎に新たな転送サイクルナンバを生成する。処理
情報記憶部15は、受信された転送サイクルの情報を格
納する。
In the bus slave device 20, a bus control unit 21 performs command and data reception control. The processing code control unit 22 controls reception and transmission of the processing code. The processing information storage unit 23 stores the received processing code. Although the processing number counter 24 is not normally used, when the bus slave device 20 becomes a bus master,
Similar to the processing number counter 14, a new transfer cycle number is generated each time a transfer cycle is executed. The processing information storage unit 15 stores the information of the received transfer cycle.

【0025】図2は、図1に示した本発明の一実施形態
に係るエラーコマンドのビットマップ(フォーマット)
の一例を説明するための図である。
FIG. 2 shows a bit map (format) of the error command according to the embodiment of the present invention shown in FIG.
FIG. 6 is a diagram for explaining an example of the embodiment.

【0026】図1及び図2を参照して、エラーコマンド
は、バスマスタ装置10内に設けられた処理コード制御
部12から送信され、バススレーブ装置20内に設けら
れた処理コード制御部22に受信される、図2に示した
エラーコマンドは、一ビットの使用・未使用切換ビット
41、一ビットのエラー通知ビット42、三ビットのエ
ラー種別通知ビット43、及び五ビットのナンバビット
44、から構成されている。
Referring to FIGS. 1 and 2, the error command is transmitted from processing code control unit 12 provided in bus master device 10 and received by processing code control unit 22 provided in bus slave device 20. The error command shown in FIG. 2 includes a 1-bit used / unused switching bit 41, a 1-bit error notification bit 42, a 3-bit error type notification bit 43, and a 5-bit number bit 44. Have been.

【0027】処理コード使用・未使用切換ビット41
は、オン状態で処理コードラインが使用状態にあること
を示す。エラー通知ビット42は、バススレーブ装置2
0において、所定のエラーが発生し、バススレーブ装置
20が、このエラーをバスマスタ装置10へ送信する際
に、オン状態にされ、それ以外はオフ状態にされる。エ
ラー種別通知ビット43は、バススレーブ装置20によ
ってオン又はオフ状態とされる、エラーの種別を通知す
るためのビットである。ナンバビット44は、バスマス
タの識別情報であるプロセッサナンバ及び転送サイクル
の処理ナンバを通知するためのビットである。
Processing code use / non-use switching bit 41
Indicates that the processing code line is in use in the ON state. The error notification bit 42 indicates that the bus slave device 2
At 0, a predetermined error occurs, and the bus slave device 20 is turned on when transmitting this error to the bus master device 10, and is turned off otherwise. The error type notification bit 43 is a bit for notifying the type of error which is turned on or off by the bus slave device 20. The number bit 44 is a bit for notifying the processor number which is the identification information of the bus master and the processing number of the transfer cycle.

【0028】次に、本発明の一実施形態に係るエラー通
知装置の動作を説明する。
Next, the operation of the error notification device according to one embodiment of the present invention will be described.

【0029】図3(A)及び図3(B)は、図1に示し
た本発明の一実施形態に係るエラー通知装置がエラー情
報を含む処理コードをバスを介して、送信又は受信する
タイミングを説明するための図であり、図3(A)は、
バスマスタからバススレーブへのバス転送動作を説明す
るためのタイミング図であり、図3(B)は、エラー通
知処理を説明するためのタイミング図である。
FIGS. 3A and 3B show timings at which the error notification device according to the embodiment of the present invention shown in FIG. 1 transmits or receives a processing code including error information via a bus. FIG. 3A is a diagram for explaining
FIG. 3B is a timing chart for explaining a bus transfer operation from a bus master to a bus slave, and FIG. 3B is a timing chart for explaining an error notification process.

【0030】図1、図2及び図3を参照して、本発明の
一実施形態に係るエラー通知装置によれば、バスマスタ
装置10が、バス制御部11によって制御されるコマン
ド及びデータを送信するための転送サイクルを行う際
に、処理ナンバカウンタ14から、この転送サイクルの
処理ナンバカウンタが採番され、この採番された処理ナ
ンバが付加された所定の情報が処理情報記憶部15に格
納される。処理コード制御部12によって、処理情報記
録部15が記憶する処理ナンバ及びプロセッサナンバが
エラーコマンドのナンバビット44に書き込まれると共
に、処理コード使用・未使用切換ビット41がオン状態
にセットされる。
Referring to FIG. 1, FIG. 2 and FIG. 3, according to the error notification device according to one embodiment of the present invention, bus master device 10 transmits commands and data controlled by bus control unit 11. When a transfer cycle is performed, the processing number counter of this transfer cycle is numbered from the processing number counter 14, and predetermined information to which the numbered processing number is added is stored in the processing information storage unit 15. You. The processing code control unit 12 writes the processing number and the processor number stored in the processing information recording unit 15 into the number bit 44 of the error command, and sets the processing code use / unused switching bit 41 to the ON state.

【0031】バス制御部11によって、コマンドフェー
ズ51においてコマンドが共通バスライン31を介して
送信されると同時に、処理コード制御部12によって、
プロセッサナンバ61が処理コードライン32を介して
送信される。続いて、バス制御部11によって、データ
フェーズ52においてデータが共通バスライン31を介
して送信されると同時に、処理コード制御部12によっ
て、処理ナンバが処理コードライン32を介して送信さ
れる。また、これらの送信の間、処理コード使用・未使
用切換ビット41はオン状態とされ、処理コードライン
32の内、一本の信号線を介して、処理コードライン3
2が使用状態にあることが伝送される(図3(A)参
照)。
At the same time that the command is transmitted via the common bus line 31 in the command phase 51 by the bus control unit 11, the processing code control unit 12
The processor number 61 is transmitted via the processing code line 32. Subsequently, in the data phase 52, data is transmitted via the common bus line 31 by the bus control unit 11, and at the same time, the processing number is transmitted via the processing code line 32 by the processing code control unit 12. During these transmissions, the processing code use / unused switching bit 41 is turned on, and the processing code line 3 is transmitted via one of the processing code lines 32.
2 is transmitted (see FIG. 3A).

【0032】バススレーブ装置20は、処理コード制御
部22において、バスマスタ10から送信されたエラー
コマンドを受信し、この受信したエラーコマンド中の処
理コード(ナンバ情報)を受信し、この処理コード(ナ
ンバ情報)を、処理コード記憶部23に格納しておく。
The bus slave device 20 receives the error command transmitted from the bus master 10 in the processing code control section 22, receives the processing code (number information) in the received error command, and receives the processing code (number). (Information) is stored in the processing code storage unit 23.

【0033】バスマスタ装置10から送信されたデータ
の受信が終了した後に、バススレーブ装置20がエラー
を検出した場合には、バススレーブ装置20は、格納し
ておいた処理コードを処理コード記憶部23から読み出
す。処理コード制御部22は、エラー通知ビット42を
オン状態にし、発生したエラーの種別に対応したエラー
コードを、エラー通知ビット43にセットし、このエラ
ーが発生した転送サイクルの処理ナンバをナンバビット
44にセットする。
When the bus slave device 20 detects an error after the reception of the data transmitted from the bus master device 10, the bus slave device 20 stores the stored processing code in the processing code storage unit 23. Read from The processing code control unit 22 turns on the error notification bit 42, sets an error code corresponding to the type of error that has occurred in the error notification bit 43, and sets the processing number of the transfer cycle in which this error has occurred to the number bit 44. Set to.

【0034】バススレーブ装置20においては、送信の
許可を獲得した際に、処理コード使用・未使用切換ビッ
ト41及びエラー通知ビット42がオン状態とされ、所
定のエラー種別通知ビット43が、所定の転送サイクル
の処理ナンバ及びバスマスタ装置10を示すプロセッサ
ナンバが書き込まれたエラーコマンドを、図3(B)の
タイミング図に示すように、処理コードライン32を介
して、バスマスタ装置10へ送信する。
In the bus slave device 20, when the transmission permission is obtained, the processing code use / unused switching bit 41 and the error notification bit 42 are turned on, and the predetermined error type notification bit 43 is set to the predetermined error type notification bit 43. An error command in which the processing number of the transfer cycle and the processor number indicating the bus master device 10 are written is transmitted to the bus master device 10 via the processing code line 32 as shown in the timing chart of FIG.

【0035】バスマスタ装置10は、バススレーブ装置
20から送信されるエラーコマンド中の処理コード(エ
ラーコマンド)を監視し、処理コードライン32が使用
状態であることを認識すると共に、エラーコマンド中の
プロセッサナンバから、このエラーコマンドが自身へ向
けて送信されたものであることを確認(認識)し、エラ
ーコマンド中の処理ナンバから、いずれのバス転送サイ
クルについてバススレーブ装置20においてエラーが発
生したのかを認識し、さらに、エラーコマンド中のエラ
ー種別通知ビット43から、上記エラーの種別を認識す
ることが可能とされる。
The bus master device 10 monitors the processing code (error command) in the error command transmitted from the bus slave device 20, recognizes that the processing code line 32 is in use, and recognizes the processor in the error command. The number confirms (recognizes) that this error command was transmitted to itself, and from the processing number in the error command, which bus transfer cycle the error occurred in the bus slave device 20 based on the processing number in the error command. Recognition, and the type of the error can be recognized from the error type notification bit 43 in the error command.

【0036】これによって、バスマスタ装置10は、処
理情報記憶部15に格納しておいた処理情報を読み出す
ことにより、通信のリトライ等、エラー種別に対応した
処理を実行することが可能とされる。
Thus, the bus master device 10 can execute processing corresponding to the type of error, such as retry of communication, by reading the processing information stored in the processing information storage unit 15.

【0037】なお、本実施形態においては、バススレー
ブ装置20からバスマスタ装置10への割り込みの要求
を通知するための信号線を付加することにより、この割
り込み信号線を介してバススレーブ装置20は、バスマ
スタ装置10へエラーコマンドを送信するための許可を
受けるようにしてもよい。
In the present embodiment, by adding a signal line for notifying an interrupt request from the bus slave device 20 to the bus master device 10, the bus slave device 20 can be connected via the interrupt signal line. Permission to transmit an error command to the bus master device 10 may be received.

【0038】以上、本発明を上記実施形態に基づいて説
明したが、本発明は上記実施形態にのみ限定されるもの
ではなく、本発明の原理に基づく各種態様をとることは
勿論である。
Although the present invention has been described based on the above embodiment, the present invention is not limited to the above embodiment, but may take various forms based on the principle of the present invention.

【0039】[0039]

【発明の効果】以上説明したように、本発明によれば、
バスマスタからのデータ転送終了後に、バススレーブに
おいて、エラーが検出された場合であっても、検出され
たエラーが、いずれのバスマスタによって管理されたも
のか、及びこの管理したバスマスタ装置のいずれの転送
サイクルに対応するエラーであるか、さらに、検出され
たエラーの種別を、バスマスタに通知することが可能と
され、バスマスタは、エラー種別に対応した処理を実行
することが可能とされるという効果を奏する。
As described above, according to the present invention,
After the data transfer from the bus master is completed, even if an error is detected in the bus slave, the detected error is managed by which bus master and which transfer cycle of the managed bus master device. Or the type of the detected error can be notified to the bus master, and the bus master can execute a process corresponding to the error type. .

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

【図1】本発明の一実施形態に係るエラー通知装置の概
略構成を説明する図である。
FIG. 1 is a diagram illustrating a schematic configuration of an error notification device according to an embodiment of the present invention.

【図2】本発明の一実施形態に係るエラーコマンドのビ
ットマップを説明するための図である。
FIG. 2 is a diagram illustrating a bitmap of an error command according to an embodiment of the present invention.

【図3】本発明の一実施形態に係るエラー通知装置の動
作を説明するための図である。 (A)バスマスタからバススレーブへのバス転送動作を
説明するためのタイミング図である。 (B)エラー通知処理を説明するためのタイミング図で
ある。
FIG. 3 is a diagram for explaining an operation of the error notification device according to one embodiment of the present invention. FIG. 3A is a timing chart for explaining a bus transfer operation from a bus master to a bus slave. FIG. 6B is a timing chart for explaining an error notification process.

【図4】従来の、エラー通知方式の概略構成を説明する
ための図である。
FIG. 4 is a diagram for explaining a schematic configuration of a conventional error notification method.

【図5】従来の、エラー通知方式におけるエラー情報の
フォーマットを説明するための図である。
FIG. 5 is a diagram for explaining a format of error information in a conventional error notification method.

【図6】従来の、エラー通知方式が適用された、バスを
用いたシステムの構成を説明するための図である。
FIG. 6 is a diagram for explaining a configuration of a system using a bus to which a conventional error notification method is applied.

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

10 バスマスタ装置 11 バス制御部 12 処理コード制御部 13 処理コード記憶部 14 処理ナンバカウンタ 15 処理情報記憶部 20 バススレーブ装置 21 バス制御部 22 処理コード制御部 23 処理コード記憶部 24 処理ナンバカウンタ 25 処理情報記憶部 30 共通バス 31 共通バスライン 32 処理コードライン 41 処理コード使用・未使用切替ビット 42 エラー通知ビット 43 エラー種別通知ビット 44 ナンバビット 51 コマンドフェーズ 52 データフェーズ 61 プロセッサナンバ 62 処理ナンバ 71 エラー識別情報 81 エラー通知情報 91 処理コード使用・未使用切換情報 Reference Signs List 10 bus master device 11 bus control unit 12 processing code control unit 13 processing code storage unit 14 processing number counter 15 processing information storage unit 20 bus slave device 21 bus control unit 22 processing code control unit 23 processing code storage unit 24 processing number counter 25 processing Information storage unit 30 Common bus 31 Common bus line 32 Processing code line 41 Processing code use / non-use switching bit 42 Error notification bit 43 Error type notification bit 44 Number bit 51 Command phase 52 Data phase 61 Processor number 62 Processing number 71 Error identification Information 81 Error notification information 91 Processing code use / non-use switching information

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のバスマスタと、複数のバススレーブ
と、を接続して構成されるバスシステムにおけるエラー
通知方式であって、 前記複数のバススレーブは、受信時に発生したエラー及
び/又は受信したデータの処理について発生したエラー
の内容を示す情報と、前記複数のバスマスタのうち、該
エラーが発生した際にバス転送サイクルを管理していた
バスマスタを識別するための情報と、該エラーに関わる
前記バス転送サイクルの処理番号を識別するための識別
情報と、から構成されてなるエラーコマンドを送信する
手段を備え、 前記複数のバスマスタは、前記送信されたエラーコマン
ドを受信する手段を、備え、前記複数のバスマスタと前記複数のバススレーブとを接
続するための共通のバスラインに、さらに前記エラーコ
マンドを伝送するための信号線を付加し、 前記エラーが発生するタイミングに依存することなく、
該エラーが発生した前記バススレーブから、該エラーに
関わる前記バス転送サイクルを管理した前記バスマスタ
へ、該エラーが発生したバス転送サイクルの処理番号及
び該エラーの内容を示す情報を送信可能に構成されてな
ることを特徴とするエラー通知方式。
An error notification system in a bus system configured by connecting a plurality of bus masters and a plurality of bus slaves, wherein the plurality of bus slaves receive an error generated at the time of reception and / or receive the error. Information indicating the content of an error that has occurred in data processing, information for identifying a bus master that has managed a bus transfer cycle when the error has occurred among the plurality of bus masters, and information related to the error. and means for transmitting identification information for identifying the process number of the bus transfer cycle, the error commands that consist of, the plurality of bus masters, the means for receiving the transmitted error command, wherein said Connecting a plurality of bus masters to the plurality of bus slaves
To the common bus line for
A signal line for transmitting the command, without depending on the timing at which the error occurs,
The bus slave in which the error has occurred is configured to be able to transmit the processing number of the bus transfer cycle in which the error has occurred and information indicating the content of the error to the bus master which has managed the bus transfer cycle relating to the error. An error notification method characterized by:
【請求項2】前記共通のバスラインに、前記複数の前記
エラーが発生したバススレーブから、該エラーが発生し
た際のバス転送サイクルを管理していたバスマスタへ、
前記エラーコマンドを送信するための許可を求めるため
の信号線をさらに付加したことを特徴とする請求項1記
載のエラー通知方式。
2. The system according to claim 1, wherein the common bus line includes a plurality of
If the error occurred from the bus slave where the error occurred,
To the bus master who managed the bus transfer cycle when
To ask for permission to send the error command
2. The error notification system according to claim 1 , further comprising:
【請求項3】複数のバスマスタと、複数のバススレーブ
と、を接続して構成されるバスシステムのエラー通知方
式であって、 前記バスマスタは各々、データ、バスマスタを識別する
ための情報、及びバス転送サイクルの処理番号を識別す
るための情報を送信し、 前記複数のバススレーブのうち、前記送信された情報を
受信して格納し、該受 信完了後に、該格納された情報の
処理に関するエラーが発生したバススレーブは、該情報
の送信を管理したバスマスタに、該格納されたバスマス
タを識別するための情報と、バス転送サイクルの処理番
号を識別するための情報と、該発生したエラーの内容を
示す情報と、を送信する ことを特徴とするエラー通知方
式。
3. A plurality of bus masters and a plurality of bus slaves
Error notification for a bus system configured by connecting
A wherein said bus master and each identifies data, the bus master
Information and the processing number of the bus transfer cycle.
For transmitting the transmitted information among the plurality of bus slaves.
Receive and store, after receiving signals completion, the information that is the stored
The bus slave in which the processing error occurred has the information
The bus master that manages the transmission of the
For identifying data and the processing number of the bus transfer cycle
Information for identifying the issue and the content of the error that occurred.
And an information notification method.
JP7350132A 1995-12-23 1995-12-23 Error notification method Expired - Fee Related JP2755242B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7350132A JP2755242B2 (en) 1995-12-23 1995-12-23 Error notification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7350132A JP2755242B2 (en) 1995-12-23 1995-12-23 Error notification method

Publications (2)

Publication Number Publication Date
JPH09179793A JPH09179793A (en) 1997-07-11
JP2755242B2 true JP2755242B2 (en) 1998-05-20

Family

ID=18408449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7350132A Expired - Fee Related JP2755242B2 (en) 1995-12-23 1995-12-23 Error notification method

Country Status (1)

Country Link
JP (1) JP2755242B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760854B2 (en) * 2000-01-15 2004-07-06 Cirrus Logic, Inc. Method and apparatus for handling a framing error at a serial interface by forcing invalid commands to be read upon determine the command is invalid
JP6426031B2 (en) * 2015-03-13 2018-11-21 ルネサスエレクトロニクス株式会社 Semiconductor device and control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01292554A (en) * 1988-05-20 1989-11-24 Nec Corp Check system for firmware sequence

Also Published As

Publication number Publication date
JPH09179793A (en) 1997-07-11

Similar Documents

Publication Publication Date Title
EP0589499B1 (en) A multistation communication bus system, and a master station and a slave station for use in such system
EP2028571B1 (en) Method of detecting disconnection and power discontinuity of I/O unit connected to numerical controller
US4712213A (en) Flip status line
JPS58502027A (en) Peripherals adapted to monitor low data rate serial input/output interfaces
CN109154925A (en) Communication equipment, communication means, program and communication system
JP2755242B2 (en) Error notification method
JP2000293485A (en) Communication interface
KR20160043378A (en) Apparatus and method for updating vehicle device having multiple modules
JP3134256B2 (en) Printer bidirectional communication method
JP2770809B2 (en) Polling data collection method
JP3262130B2 (en) Information processing device
JP3784624B2 (en) Communication direction switching method
JP2653269B2 (en) Multi-access communication device
JPH0122300Y2 (en)
JP2576236B2 (en) Communication method of programmable controller
JP2708366B2 (en) Data processing system and auxiliary control device
JPH0234518B2 (en)
JPH1023048A (en) Communication control method
JPS5831437A (en) Data receiver
JPH09237237A (en) Remote input/output device
JPH09212605A (en) Data transmitter
JPH04136769U (en) data carrier
JPS5942875B2 (en) Pattern data transfer output method
JPS619743A (en) Logging control method
JPH04223733A (en) Serial communication system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980203

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

Free format text: PAYMENT UNTIL: 20080306

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090306

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090306

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100306

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100306

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110306

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees