JPH0367348A - Surface switch control system for received data memory - Google Patents

Surface switch control system for received data memory

Info

Publication number
JPH0367348A
JPH0367348A JP1202990A JP20299089A JPH0367348A JP H0367348 A JPH0367348 A JP H0367348A JP 1202990 A JP1202990 A JP 1202990A JP 20299089 A JP20299089 A JP 20299089A JP H0367348 A JPH0367348 A JP H0367348A
Authority
JP
Japan
Prior art keywords
processor
data memory
error
check code
error check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1202990A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Nishida
光宏 西田
Masayuki Senoo
雅之 妹尾
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1202990A priority Critical patent/JPH0367348A/en
Publication of JPH0367348A publication Critical patent/JPH0367348A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the load of the software of a processor by performing the surface switch control of a data memory set at the reception side in terms of hardware with use of an error check code. CONSTITUTION:A transmission processor 31 is provided with an error check code generating circuit 33 which produces an error check code from the communication data. This produced check code is added to the communication data and sent to a reception processor and received by an error check circuit 44. The circuit 44 checks the errors with use of the received error check code. When the occurrence of an error is detected, the surface switching operation of a received data memory 42 is stopped. Thus the communication data having an error is never read out to a processor 43. As a result, the processor 43 always reads the correct communication. Then the load of the software of the processor 43 can be reduced.

Description

【発明の詳細な説明】 [W1要] 受信プロセッサ側に少なくとも2面からなる受信データ
メモリが備えられ、この受信データメモリを順次に面切
換えすることで、送信プロセッサ側から転送された通信
データが受信プロセッサ側に読み出されるように構成さ
れたプロセッサ間通信システムにおける受信データメモ
リの面切換え制御方式に関し。
[Detailed Description of the Invention] [W1 Required] A reception data memory consisting of at least two planes is provided on the reception processor side, and by sequentially switching the planes of this reception data memory, communication data transferred from the transmission processor side can be transferred. The present invention relates to a plane switching control method for a reception data memory in an interprocessor communication system configured to be read out to a reception processor side.

受信データメモリの面切換え制御をハードウェア回路に
より行うことで、受信側プロセッサのソフトウェア的な
負荷を軽減することを目的とし。
The purpose is to reduce the software load on the receiving processor by controlling the plane switching of the receiving data memory using a hardware circuit.

送信プロセッサ燗には通信データから誤り検査符号を生
成する誤り検査符号生成回路が備えられて、この生成回
路で生成した誤り検査符号が通信データに付加されて送
信され、受信プロセッサ測には受信した誤り検査符号に
より誤り発生を検査する誤り検査回路が備えられて、こ
の検査回路で謂り発生が検出された時に受信データメモ
リの面切換えが停止されるように構成される。
The transmitting processor is equipped with an error check code generation circuit that generates an error check code from communication data, and the error check code generated by this generation circuit is added to the communication data and transmitted, and the receiving processor measures the received error check code. An error check circuit for checking the occurrence of an error using an error check code is provided, and the configuration is such that when the check circuit detects the occurrence of an error, switching of the planes of the received data memory is stopped.

[産業上のf11用分野] 本発明はプロセッサ間通信システムにおける受信データ
メモリの面切換え制御方式に関する。
[Industrial F11 Field] The present invention relates to a plane switching control method for a received data memory in an inter-processor communication system.

例えばLAN (ローカル・エリア・ネットワーク)は
高速化、大容量化する傾向にあり、これに伴い、LAN
内のプロセッサが処理しなければならない情報量が増大
し、プロセッサの負担はますます増大する傾向にありま
た情報処理時間の短縮化が要求されている。このため、
受信データメモリの面切換え制御等をプロセッサに負担
をかけることなく実行することで、プロセッサの負荷を
少しでも軽減できることが必要とされている。
For example, LAN (Local Area Network) is becoming faster and has a larger capacity.
The amount of information that must be processed by a processor within the computer is increasing, and the burden on the processor is increasing, and there is a need to shorten the information processing time. For this reason,
There is a need to be able to reduce the load on the processor as much as possible by executing surface switching control of the received data memory without placing a burden on the processor.

[従来の技術] 従来9例えばマルチプロセッサ構成の装置においてマイ
クロプロセッサ間でMPU通信を行う場合、受信側装置
にダブルバヅファ構成(2面構成)の受信データメモリ
を用意し、この受信データメモリのメモリ面を交互に面
切換えして通信データを順次に書き込み、その書込み側
面とは反対側のメモリ面から通信データを順次に受信側
プロセッサに読み出すようにしている。
[Prior Art] Conventionally 9 For example, when MPU communication is performed between microprocessors in a device with a multiprocessor configuration, a receive data memory with a double buffer configuration (two-sided configuration) is prepared in the receiving device, and the memory surface of this receive data memory is Communication data is sequentially written by alternately switching sides, and the communication data is sequentially read out to the receiving processor from the memory side opposite to the writing side.

このMPtJPt中に、伝送路での異常等によって通信
情報の内容に誤りが発生した場合9通常通りに面切換え
を行って受信データメモリから書込みデータを受信側プ
ロセッサに読み込むと、誤り発生した誤情報が読み込ま
れることになり、システムの通信異常を引き起こす原因
となる。このため、受信側プロセッサはソフトウェア処
理によりエラー発生の有無を確認して、エラー発生時に
は面切換えを停止するように面切換えの可否を判断して
いる。
During this MPtJPt, if an error occurs in the content of the communication information due to an abnormality in the transmission path, etc. 9 If the plane is switched as usual and the write data is read from the reception data memory to the receiving processor, the error information will be loaded, causing a system communication error. For this reason, the receiving processor uses software processing to check whether an error has occurred, and determines whether or not side switching is possible so that when an error occurs, side switching is stopped.

[発明が解決しようとする課題] このため、受信側プロセッサは、常にアラーム発生の有
無を監視して面切換え制御を行う処理をソフトウェアに
より実行しなければならないが。
[Problems to be Solved by the Invention] For this reason, the receiving processor must always monitor whether an alarm has occurred and perform surface switching control using software.

この処理は受信側プロセッサへのソフトウェア的負荷を
増大させている。特にプロセッサの処理負荷が大きい大
型LAN等のシステムでは、がかる面切換え制御処理の
ソフトウェア的負担が無視できないものとなる。
This processing increases the software load on the receiving processor. Particularly in systems such as large LANs where the processing load on the processor is large, the software burden of such surface switching control processing cannot be ignored.

したがって本発明の目的は、受信データメモリの面切換
え制御をハードウェア回路で行うことにより、受信側プ
ロセッサのソフトウェア的負荷を軽減することにある。
Therefore, an object of the present invention is to reduce the software load on the receiving processor by controlling the plane switching of the receiving data memory using a hardware circuit.

C課題を解決するための手段J 第1図は本発明に係る原理説明図である。CMeans to solve the problemJ FIG. 1 is a diagram explaining the principle of the present invention.

図において、31は送信側プロセッサ、32は送信デー
タメモリ、33は誤り検査符号生成回路、34は多重化
部、41は分離部、42は受信データメモリ、43は受
信側プロセッサ、44は誤り検査回路、45は面切換え
回路である・本発明に係る受信データメモリの面切換え
制御方式は・受信プロセッサ43 II+に少なくとも
2面からなる受信データメモリ42が備えられ、この受
信データメモリ42を順次に面切換えすることで、送信
プロセッサ31測から転送された通信データが受信プロ
セッサ43側に読み出されるように構成されたプロセッ
サ間通信システムにおいて・送信プロセッサ31側には
通信データから誤り検査符号を生成する誤り検査符号生
成回路33が備えられて、この生成回路33で生成した
誤り検査符号が通信データに付加されて送信され、受信
プロセッサ43側には受信した誤り検査符号により誤り
発生を検査する誤り検査回路44が備えられて、この検
査回路で誤り発生が検出された時に受信データメモリ4
2の面切換えが停止されるように構成される。
In the figure, 31 is a transmitting side processor, 32 is a transmitting data memory, 33 is an error check code generation circuit, 34 is a multiplexing section, 41 is a demultiplexing section, 42 is a receiving data memory, 43 is a receiving side processor, and 44 is an error checker. The circuit 45 is a surface switching circuit.The surface switching control method of the received data memory according to the present invention is as follows.The receiving processor 43 II+ is equipped with a receiving data memory 42 consisting of at least two surfaces, and the receiving data memory 42 is sequentially operated. In an inter-processor communication system configured such that the communication data transferred from the transmitting processor 31 is read out to the receiving processor 43 side by switching the plane, the transmitting processor 31 side generates an error check code from the communication data. An error check code generation circuit 33 is provided, and the error check code generated by the generation circuit 33 is added to communication data and transmitted, and the reception processor 43 side has an error check that checks for error occurrence using the received error check code. A circuit 44 is provided, and when an error occurrence is detected in this inspection circuit, the received data memory 4
The second plane switching is stopped.

[作用J 送信側では通信データを送信する際に生成回路33でこ
の通信データから誤り検査符号を生成し、多重化部34
でこの誤り検査符号を通信データに付加して受信■すに
送る。
[Operation J: On the transmitting side, when transmitting communication data, the generation circuit 33 generates an error check code from this communication data, and the multiplexer 34
This error check code is added to the communication data and sent to the receiver.

受信側では分離部41により通信データと誤り検査符号
を分離し、誤り検査回路44で誤り検査符号に基づいて
伝送路の障害等で通信データに誤りが生じたか否かをチ
エツクする。誤りが発生していない場合には面切換え回
路45により受信データメモリ42の面切換えを交互に
行って、受信した通信データの受信データメモリ42へ
の書込みと、受信データメモリ42からプロセッサ43
への通信データの読出しとを行う。
On the receiving side, a separation unit 41 separates the communication data and an error check code, and an error check circuit 44 checks based on the error check code whether an error has occurred in the communication data due to a fault in the transmission path or the like. If no error has occurred, the plane switching circuit 45 alternately switches the planes of the received data memory 42 to write the received communication data to the received data memory 42 and from the received data memory 42 to the processor 43.
Read communication data to and from.

一方、誤り検査回路44により誤り発生が検出された場
合には、その誤り検出が面切換え回路45に通知され、
それにより面切換え回路45は受信データメモリ42の
面切換えを停止する。これにより誤り発生した通信デー
タがプロセッサ43に読み出されることを防止でき、プ
ロセッサ43は誤り発生を自身で監視しなくとも常に正
しい通信データを読み取れるようになるので、誤り発生
監視に必要であったソフトウェア処理が削減される。
On the other hand, if the error check circuit 44 detects the occurrence of an error, the error detection is notified to the surface switching circuit 45,
Thereby, the plane switching circuit 45 stops switching the planes of the received data memory 42. This prevents error-generated communication data from being read by the processor 43, and allows the processor 43 to always read correct communication data without having to monitor the error occurrence itself. Processing is reduced.

[実施例] 以下9図面を参照して本発明の詳細な説明する。第2図
には本発明の一実施例としての受信データメモリの面切
換え制御方式を用いたマイクロプロセッサ間通信システ
ムが示される。
[Example] The present invention will be described in detail below with reference to nine drawings. FIG. 2 shows an inter-microprocessor communication system using a receive data memory surface switching control method as an embodiment of the present invention.

通信装置(マスク側装置)1の送信部はマイクロプロセ
ッサ11.2面構成の送信データメモリ部12.送信コ
マンド部14.CRC検査符号発生部15.多重化部1
6等を含み構成される。また通信装置(スレーブ測装置
)2の受信部はマイクロプロセッサ21.2面構成の受
信データメモリ部22.受信コマンド部24.CRC検
査部25、分離化部261面切換え信号生成部27を含
み構成される。なお0通信装置1にも通信装置2の受信
部と同様な回路が備えられ、また通信装置2にも通信装
置lの送信部と同様な回路が備えられているものである
が、第2図ではこれらの図示を省略している。
The transmitting section of the communication device (mask side device) 1 includes a microprocessor 11, a two-sided transmit data memory section 12. Transmission command section 14. CRC check code generator 15. Multiplexer 1
It consists of 6 etc. The receiving section of the communication device (slave measuring device) 2 includes a microprocessor 21, a received data memory section 22, and a two-sided receiving data memory section 22. Reception command section 24. It is configured to include a CRC inspection section 25, a separation section 261, and a side switching signal generation section 27. Note that the communication device 1 is also equipped with a circuit similar to the receiving section of the communication device 2, and the communication device 2 is also equipped with a circuit similar to the transmitting section of the communication device 1. These figures are omitted here.

通信装置lにおいて、送信データメモリ部12は送信す
べきMPU通信データがマイクロプロセッサ11により
設定されるメモリであり、一方のメモリ面に通信データ
が書き込まれている間に他方のメモリ面から通信データ
が読み出されて多重化部I6を介して送信されるように
書込みと読出しとが交互に行われるようになっている。
In the communication device I, the transmission data memory unit 12 is a memory in which MPU communication data to be transmitted is set by the microprocessor 11, and while communication data is being written to one memory surface, communication data is written from the other memory surface. Writing and reading are performed alternately so that the data is read out and transmitted via the multiplexer I6.

送信コマンド部14はマイクロプロセッサ11により送
信通知(送信コマンドCMD)が設定される回路であり
、この送信コマンドCMDとしてはコマンドの全ビット
がオール”0”以外の任意のデータが用いられる。この
送信コマンド部14からは送信データメモリ12に面切
換え信号が送られると共に、設定された送信コマンドC
MDが多重化部16に送出されるようになっている。
The transmission command section 14 is a circuit in which a transmission notification (transmission command CMD) is set by the microprocessor 11, and any data other than all "0" bits of the command is used as the transmission command CMD. The transmission command unit 14 sends a side switching signal to the transmission data memory 12, and also sends the set transmission command C.
The MD is sent to the multiplexing section 16.

CRC検査符号発生部15は送信データメモリ部12の
通信データについてCRC符号(巡回冗長符号)を生成
する回路であり、生成されたCRC符号は多重化部16
に送られる。
The CRC check code generation section 15 is a circuit that generates a CRC code (cyclic redundancy code) for the communication data in the transmission data memory section 12, and the generated CRC code is sent to the multiplexing section 16.
sent to.

多重化部【6は送信データメモリ12がらの通信データ
DT、送信コマンド部14からの送信コマンドCMD、
CRC検査符号発生部15からのCRC符号を多重化し
て送信する回路である。
Multiplexing unit [6 is communication data DT from the transmission data memory 12, transmission command CMD from the transmission command unit 14,
This circuit multiplexes and transmits the CRC codes from the CRC check code generator 15.

通信装置2において2分離化部26は受信信号から通信
データDT、受信コマンドCMD、CRC符号を分離し
、それぞれ通信データDTを受信データメモリ部22に
、受信コマンドCMDを受信コマンド部24に、CRC
符号をCRC検査部25に出力する回路である。
In the communication device 2, the two-separation unit 26 separates the communication data DT, reception command CMD, and CRC code from the received signal, and stores the communication data DT in the reception data memory unit 22, the reception command CMD in the reception command unit 24, and the CRC code.
This circuit outputs the code to the CRC inspection section 25.

受信データメモリ部22は2面からなり、一方の面に通
信データDTが書き込まれている時に他方の面から既に
書き込まれた通信データがマイクロプロセッサ21に読
み出されるように書込みと読出しの面切換えが交互に行
われるように構成されている。
The reception data memory section 22 has two sides, and the writing and reading sides can be switched so that when the communication data DT is written on one side, the communication data already written on the other side is read out by the microprocessor 21. It is designed to take place alternately.

受信コマンド部24は送信側から送られてきた送信コマ
ンドCMDが受信コマンドCMDとして設定される回路
であり、その受信コマンドCMDの内容はマイクロプロ
セッサ21により適宜読み取られるようになっている。
The reception command section 24 is a circuit in which the transmission command CMD sent from the transmitting side is set as the reception command CMD, and the contents of the reception command CMD are read by the microprocessor 21 as appropriate.

CRC検査部25は受信したCRC符号に基づき伝送路
等で発生した障害により受信データに誤りが生じたか否
かを検査する回路であり、誤り発生時には面切換え信号
生成部27にアラーム(CRCエラー検出信号)ALM
を送出する。
The CRC inspection unit 25 is a circuit that inspects whether an error has occurred in the received data due to a failure occurring in the transmission path based on the received CRC code.When an error occurs, an alarm (CRC error detection) is sent to the side switching signal generation unit 27. signal) ALM
Send out.

面切換え信号生成部27は通常時は受信データメモリ部
22にこれらの面を交互に切り換える面切換え信号を出
力している回路であるが、アラームALMの受信時には
この面切換えを停止するよう構成されている。
The plane switching signal generation unit 27 is a circuit that normally outputs a plane switching signal to the received data memory unit 22 to alternately switch these planes, but it is configured to stop this plane switching when an alarm ALM is received. ing.

第3図にはこの面切換え信号生成部27および受信デー
タメモリ部23周辺の詳細な構成が示される。この回路
は、伝送系アドレス発生部278で発生した書込みアド
レスと、MPU系アドレス発生部279で発生した読出
しアドレスを、それぞれセレクタ272.273で振り
分けて受信データメモリ22..22.に交互にアドレ
ス入力させるようになっており、セレクタ272.27
3の切換えは面切換え制御部271からの制御信号CN
Tにより行われる。
FIG. 3 shows the detailed configuration of the surface switching signal generation section 27 and the reception data memory section 23. This circuit distributes the write address generated by the transmission system address generation section 278 and the read address generated at the MPU system address generation section 279 by selectors 272 and 273, respectively, and distributes them to the received data memory 22. .. 22. Addresses are input alternately to selectors 272 and 27.
3 is controlled by the control signal CN from the surface switching control section 271.
It is done by T.

また3ステートバッファ274,275により受信デー
タメモリ22..22□に伝送系データ(伝送路からの
書込みデータ)を交互にデータ入力させ、一方、3ステ
ートバツフア276.277により受信データメモリ2
2..22□からのMPLI系データ(プロセッサ21
への読出しデータ)の読出しを交互に行えるよう構成さ
れており、これら3ステートバツフアの状態制御は面切
換え制御部271からの制御信号CNTにより行われる
In addition, the received data memory 22 . .. 22□ alternately inputs transmission system data (write data from the transmission path), while 3-state buffers 276 and 277 input data to the reception data memory 2.
2. .. MPLI data from 22□ (processor 21
The state of these three-state buffers is controlled by a control signal CNT from the plane switching control section 271.

面切換え制御部271には受信データメモリ22、.2
2□が面切換えを行うタイミングを定める切換えタイミ
ング信号CTGと、CRC検査部25からのアラームA
LMが入力されており、これらの信号に基づき制御信号
CNTを制御するよう構成されている。
The side switching control section 271 includes the received data memory 22, . 2
A switching timing signal CTG that determines the timing at which 2□ performs surface switching and an alarm A from the CRC inspection unit 25.
LM is input, and the control signal CNT is controlled based on these signals.

以下、実施例装置の動作を説明する。The operation of the embodiment device will be explained below.

まず9通信装置1において、マイクロプロセッサ11の
ソフトウェア処理によりMPU通信データが送信データ
メモリ部12の一方の面に設定される。この通信データ
設定終了後、プロセッサ21により送信コマンド部14
に送信コマンドCMD(オール”O“以外のデータ)が
書き込まれる。
First, in the communication device 9 1 , MPU communication data is set in one side of the transmission data memory section 12 by software processing of the microprocessor 11 . After completing this communication data setting, the processor 21 sends the transmission command section 14
A transmission command CMD (data other than all "O") is written in.

この送信コマンドCMDの身込みが終了すると、送信デ
ータメモリ部12に面切換え信号が出力されて送信デー
タメモリ部12の面切換えが行われ、これに書き込まれ
た通信データDTが多重化部16を通して通信装置2側
に送信される。
When this transmission command CMD has been stored, a plane switching signal is output to the transmission data memory section 12 to switch the plane of the transmission data memory section 12, and the communication data DT written therein is passed through the multiplexing section 16. It is transmitted to the communication device 2 side.

これと共に、送信コマンド部14から多重化部16に送
信コマンドCMDが送られ、ここで通信データDTに付
加されるよう多重化が行われて送信される。この送信さ
れた送信コマンドCMDはMPUJ信デー少データを受
信側に通知する情報として使われる。
At the same time, a transmission command CMD is sent from the transmission command section 14 to the multiplexing section 16, where it is multiplexed and transmitted so as to be added to the communication data DT. This transmitted transmission command CMD is used as information to notify the receiving side of the MPUJ communication data loss data.

同時に、CRC検査符号発生発生部15では送信データ
メモリ12から読み出されたMPU通信データのCRC
チエツクを行ってCRC符号を生成し、これを多重化部
16でMPU通信データDTと送信コマンドCMDに付
加して送信する。
At the same time, the CRC check code generation unit 15 checks the CRC of the MPU communication data read from the transmission data memory 12.
The check is performed to generate a CRC code, which is added to the MPU communication data DT and the transmission command CMD by the multiplexer 16 and transmitted.

受信側装置2では、送信側装置lから受信した信号を分
離化部26により通信データDTと受信コマンドCMD
とCRC符号とに分離し、それぞれ受信データメモリ2
5に入力させる。
In the receiving device 2, the signal received from the transmitting device 1 is separated into communication data DT and reception command CMD by the demultiplexing unit 26.
and CRC code, and store each in the received data memory 2.
5.

受信データメモリ部22は受信した通信データDTを、
交互に選択される一方の面に書き込むことで蓄積する。
The received data memory section 22 stores the received communication data DT,
It is accumulated by writing on one side which is selected alternately.

同時にCRC検査部25は受信したCRC符号をチエツ
クすることで受信した通信データDTに誤りが発生して
いるか否かを調べ。
At the same time, the CRC checker 25 checks the received CRC code to determine whether an error has occurred in the received communication data DT.

誤り検出された異常時にはアラームALMを面切換え信
号生成部27に出力する。
When an error is detected as an error, an alarm ALM is output to the surface switching signal generation section 27.

面切換え信号生成部27は、誤り発生のない正常時には
、受信した通信データDTを受信データメモリ部22の
一方の面に書き込むと同時に、他方の面から既に書き込
まれた通信データをマイクロプロセッサ21011に読
み出すように面切換え信号の発生を制御しているが、誤
り発生によりアラームALMの入力時にはこの面切換え
信号を固定して受信データメモリ部22で面切換えが行
われないようにする。これにより受信データが異常な場
合には、メモリの面切換えが停止され、マイクロプロセ
ッサ21側に異常な受信データが読み込まれることが防
止される。それによりマイクロプロセッサ21に対して
は常に正常な通信データのみが見せられることになる。
During normal operation without errors, the side switching signal generation unit 27 writes the received communication data DT to one side of the received data memory unit 22, and at the same time writes the communication data already written from the other side to the microprocessor 21011. The generation of the surface switching signal is controlled so that the surface switching signal is read, but when an error occurs and an alarm ALM is input, this surface switching signal is fixed to prevent surface switching in the received data memory section 22. As a result, if the received data is abnormal, memory side switching is stopped, and abnormal reception data is prevented from being read into the microprocessor 21 side. As a result, only normal communication data is always shown to the microprocessor 21.

マイクロプロセッサ21は受信コマンド部24に書き込
まれたデータを監視しており、これが受信コマンドCM
Dであることを検出すると、受信データメモリ部22か
らMPLI通信データの読出しを行う。
The microprocessor 21 monitors the data written in the reception command section 24, and this is the reception command CM.
When it is detected that it is D, MPLI communication data is read from the received data memory section 22.

なお、誤り発生のためマイクロプロセッサ21に読み出
されなかったMPU通信データについては、これらの記
録をとっておいて、マイクロプロセッサ2日が後に一括
して対策処置することになる。
Note that MPU communication data that was not read out by the microprocessor 21 due to an error occurrence will be recorded, and the microprocessor will take countermeasures at a later date.

本発明の実施例にあたっては峙々の変形形態が可能であ
る。例えば上述の実旅例ではMPU通信データの誤り発
生を検査する符号としてCRC符号を用いたが、もちろ
んこれに限られるものではなく9例えばパリティチエツ
ク符号のような他の鍾々の誤り検査符号も利用できる。
Numerous variations are possible in embodiments of the invention. For example, in the above-mentioned actual journey example, a CRC code was used as a code for checking the occurrence of errors in MPU communication data, but of course the code is not limited to this, and other error checking codes such as parity check codes can also be used. Available.

また送受信用のデータメモリは2面構成としたが、勿論
、 3[n以上の構成になっていてもかまわないもので
ある。
Furthermore, although the data memory for transmission and reception has a two-sided structure, it is of course possible to have a structure of 3[n or more.

[発明の効果] 以上説明したように9本発明によれば、MPU通信デー
タのエラー検出をハードウェア回路により行って、正常
時にダブルバッファの面切換えを、異常時に面切換え帰
山を行うよう制御部しているため、マイクロプロセッサ
I11には常に正常な通信データだけが見えることにな
り、よってマイクロプロセッサは通信データのエラーの
有無を意識せずに読み出すだけでよくなり、これにより
プロセッサのソフトウェアにかかる負荷を削減すること
が可能になる。
[Effects of the Invention] As explained above, according to the present invention, the error detection of MPU communication data is performed by a hardware circuit, and the control unit is configured to switch the plane of the double buffer when normal and to switch planes and return to the mountain when abnormal. Therefore, the microprocessor I11 always sees only normal communication data, and the microprocessor only needs to read the communication data without being aware of whether or not there are errors. It becomes possible to reduce the load.

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

第1図は本発明に係る原理説明図。 第2図は本発明の一実施例としての受信データメモリの
面切換え制御方式を用いたプロセッサ間通信システムを
示すブロック図、および。 第3図は実施例におけるダブルバッファ面切換え制御回
路部分を示すブロック図である。 図において。 1.2・・・通信装置 11.21・・・マイクロプロセッサ 12・・・送信データメモリ 14・・・送信コマンド部 15・・・CRC検査検査符号発 生日・・・多重化部 22・・・受信データメモリ部 24・・・受信コマンド部 25・・・CRC検査部 26・・・分離化部 27・・・面切換え信号生成部 271・・・面切換え制御部 272.273・・・セレクタ 274〜277・・・3ステートバツフア278・・・
伝送系アドレス発生部
FIG. 1 is a diagram explaining the principle of the present invention. FIG. 2 is a block diagram showing an inter-processor communication system using a plane switching control method of a received data memory as an embodiment of the present invention; FIG. 3 is a block diagram showing the double buffer surface switching control circuit portion in the embodiment. In fig. 1.2...Communication device 11.21...Microprocessor 12...Transmission data memory 14...Transmission command section 15...CRC inspection check code generation date...Multiplex section 22... Received data memory section 24... Reception command section 25... CRC inspection section 26... Separation section 27... Plane switching signal generation section 271... Plane switching control section 272, 273... Selector 274 ~277...3 state buffer 278...
Transmission address generator

Claims (1)

【特許請求の範囲】 受信プロセッサ(43)側に少なくとも2面からなる受
信データメモリ(42)が備えられ、この受信データメ
モリ(42)を順次に面切換えすることで、送信プロセ
ッサ(31)側か転送された通信データが受信プロセッ
サ(43)側に読み出されるように構成されたプロセッ
サ間通信システムにおいて、 送信プロセッサ(31)側には通信データから誤り検査
符号を生成する誤り検査符号生成回路(33)が備えら
れて、この生成回路(33)で生成した誤り検査符号が
通信データに付加されて送信され、 受信プロセッサ(43)側には受信した誤り検査符号に
より誤り発生を検査する誤り検査回路(44)が備えら
れて、この検査回路(44)で誤り発生が検出された時
に該受信データメモリ(42)の面切換えが停止される
ように構成された受信データメモリの面切換え制御方式
[Claims] A reception data memory (42) consisting of at least two planes is provided on the reception processor (43) side, and by sequentially switching the planes of this reception data memory (42), the transmission processor (31) side In an inter-processor communication system configured such that the communication data transferred is read out to the receiving processor (43) side, the transmitting processor (31) side includes an error check code generation circuit (which generates an error check code from the communication data). 33), the error check code generated by this generation circuit (33) is added to the communication data and transmitted, and the receiving processor (43) side is equipped with an error check code that checks for error occurrence using the received error check code. A surface switching control method for a received data memory, comprising a circuit (44) and configured to stop switching the surface of the received data memory (42) when the occurrence of an error is detected by the inspection circuit (44). .
JP1202990A 1989-08-04 1989-08-04 Surface switch control system for received data memory Pending JPH0367348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1202990A JPH0367348A (en) 1989-08-04 1989-08-04 Surface switch control system for received data memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1202990A JPH0367348A (en) 1989-08-04 1989-08-04 Surface switch control system for received data memory

Publications (1)

Publication Number Publication Date
JPH0367348A true JPH0367348A (en) 1991-03-22

Family

ID=16466506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1202990A Pending JPH0367348A (en) 1989-08-04 1989-08-04 Surface switch control system for received data memory

Country Status (1)

Country Link
JP (1) JPH0367348A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008509583A (en) * 2004-08-05 2008-03-27 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Method and apparatus for accessing data in message memory of communication module

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008509583A (en) * 2004-08-05 2008-03-27 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Method and apparatus for accessing data in message memory of communication module

Similar Documents

Publication Publication Date Title
JP3988146B2 (en) Multi-node system, inter-node crossbar switch, node, switch program and node program
JPH0375834A (en) Apparatus and method of sequentially correcting parity
CN114615106B (en) Ring data processing system, method and network equipment
JPH0367348A (en) Surface switch control system for received data memory
KR100258080B1 (en) Dual control equipment based on input/output operation
JPH0934852A (en) Cluster system
JP2637653B2 (en) Redundant controller
JPH1027115A (en) Fault information sampling circuit for computer system
JP2946541B2 (en) Redundant control system
JPH05289896A (en) Fault tolerant computer
JP2698449B2 (en) Failure notification unit
JP2712284B2 (en) Erroneous data output prevention method at the time of line switching of data transmission equipment
JP3063435B2 (en) Instantaneous interruption redundant switching method
JPS5857843A (en) Check system for data line exchange
JPH0152774B2 (en)
JPH06103251A (en) Monitor and control system for information processor
JPH0324601A (en) Control method
JPS59157759A (en) Dual system
JPH05151186A (en) Fault tolerant system
JPH0784897A (en) Information processing system suitable for data transfer between equipments
JPS6160139A (en) Error correction system
JPS62264796A (en) Information supervising system
JPS63198430A (en) Time division multiplexer
JPS61264445A (en) Duplex data fetching system
JPS63182761A (en) Bus diagnozing system