JPH0346855B2 - - Google Patents

Info

Publication number
JPH0346855B2
JPH0346855B2 JP58057037A JP5703783A JPH0346855B2 JP H0346855 B2 JPH0346855 B2 JP H0346855B2 JP 58057037 A JP58057037 A JP 58057037A JP 5703783 A JP5703783 A JP 5703783A JP H0346855 B2 JPH0346855 B2 JP H0346855B2
Authority
JP
Japan
Prior art keywords
mpu
microprocessor
direct memory
memory access
mem
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 - Lifetime
Application number
JP58057037A
Other languages
Japanese (ja)
Other versions
JPS59183447A (en
Inventor
Katsunori Kusakabe
Makoto Imamura
Tadashi Yoshino
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.)
Iwatsu Electric Co Ltd
Original Assignee
Iwatsu 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 Iwatsu Electric Co Ltd filed Critical Iwatsu Electric Co Ltd
Priority to JP58057037A priority Critical patent/JPS59183447A/en
Publication of JPS59183447A publication Critical patent/JPS59183447A/en
Publication of JPH0346855B2 publication Critical patent/JPH0346855B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/073Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、マイクロプロセツサ・システム等を
複数個設け、相互にデータを転送するシステムに
おいて、そのデータ転送する手段としてダイレク
ト・メモリ・アクセスを用いる情報処理システム
における障害監視方式に関するものである。 ダイレクト・メモリ・アクセス(DMA)によ
る情報の転送は、図1に示すように、ダイレク
ト・メモリ・アクセス・コントローラDMACが
用いられ、データ・バスDB及びアドレス・バス
の使用要求、使用許可という確認がマイクロプロ
セツサMPUとダイレクト・メモリ・アクセス・
コントローラDMACの間でなされる。この確認
の後、マイクロプロセツサMPUのデータ・バス
とアドレス・バスは切り離されてしまい、ダイレ
クト・メモリ・アクセス・コントローラDMAC
の制御下でI/Oポート等とメモリMEMの間の
情報転送動作がなされる。ダイレクト・メモリ・
アクセス・コントローラDMACは転送を扱うも
のであり、アドレスの生成を行うためにアドレ
ス・バスは、図3に示すように、マイクロプロセ
ツサMPUとの間で切り換えがなされる。又、ダ
イレクト・メモリ・アクセス・コントローラ
DMACは転送を扱うものであるから、データの
生成は行なわない。従つて、図4に示すようにデ
ータ・バスDBを切り離すかどうかのみのスイツ
チングとなる。 次に、データ・バスDBのスイツチングを、図
5に示すように、アドレス・バスと同様に切り代
るという形のスイツチングに拡大し、ダイレク
ト・メモリ・アクセス・コントローラDMACが
支配しているDMAモードの時にのみ生きるデー
タ・バスDB及びI/O等を図2のように設けて
いるものもある。 さらに、図1,図2の例の応用例として、図6
の構成が得られる。すなわち、互いに独立して処
理を行うマイクロプロセツサMPU0,MPU1が存
在し、かつ、これらの間に情報の転送を要するシ
ステムである。これは次のように動作する。 マイクロプロセツサMPU0(MPU1)がダイ
レクト・メモリ・アクセス・リクエストDMA
RQTをダイレクト・メモリ・アクセス・コン
トローラDMACに出力する。この場合、メモ
リMEM0又はMEM1のスタート番地、ストツ
プ番地又は転送バイト数等をダイレクト・メモ
リ・アクセス・コントローラDMACに入力す
ることも当然行なわれる。 ダイレクト・メモリ・アクセス・コントロー
ラDMACは、これを受けマイクロプロセツサ
MPU1(MPU0)に明瞭に伝える。 マイクロプロセツサMPU1(MPU0)がよけ
れば、グラントGNTを返す。 ダイレクト・メモリ・アクセス・コントロー
ラDMACは、これも明瞭にマイクロプロセツ
サMPU0(MPU1)に伝える。 ここでバス・スイツチBSが動作する。 ダイレクト・メモリ・アクセス・コントロー
ラDMACは、ダイレクト・メモリ・アクセ
ス・アドレスDMAA0,DMAA1を生成し出力
する。 メモリMEM0,MEM1相互間の情報転送が
なされる。 以上のように図6の例は、プロセツサ間通信を
メモリ間のダイレクト・メモリ・アクセス転送で
行う一つの方式である。 図6の点線で囲んで示す部分は、おのおの図7
の様に構成されており、マイクロプロセツサ
MPUが使用するメモリMEM空間全てが使用出
来なくなる。すなわち、メモリMEMに入るアド
レス及びデータのラインが全てスイツチングされ
るからである。この様な構成がメモリMEM0
MEM1についてなされたシステムは、情報の転
送がなされている間マイクロプロセツサMPU0
MPU1の双方とも不動作であり、システム動作は
もちろんのこと監視の動作も完全に停止せざるを
得ず、この間になんらかの理由によりダイレク
ト・メモリ・アクセス・コントローラDMACに
障害が発生し、マイクロプロセツサMPU0
MPU1の動作、すなわちシステムの動作に戻れな
いという事態に対する対策は第3のプロセツサ等
を導入する構成しか存在しない。 本発明は、最小のハードウエアの追加により、
上記のような障害監視を行うことのできる障害監
視方式を提供するものである。 以下本発明を詳細に説明する。 本発明では、図8に示すように、マイクロプロ
セツサMPU0(MPU1)の各メモリMEM0
(MEM1)を、ダイレクト・メモリ・アドレス
転送としてマイクロプロセツサMPU0(MPU1
のメモリ空間から切り離されるメモリ空間
MEMaと、常にマイクロプロセツサMPU0
(MPU1)のメモリ空間に残るメモリ空間MEMb
の2つに分ける。のメモリMEMbのアドレス
及びデータはマイクロプロセツサMPU0(MPU1
と常に直結させる。一方、のメモリMEMa
アドレスおよびデータがスイツチングされた後に
接続される。 実際のDMA転送の動作は、図9に示す状態監
視フローに従つてダイレクト・メモリ・アクセ
ス・コントローラDMACが監視を行い、次の状
態に移るまでの時間だけ監視を行つて規定時間内
に次の状態に移らなかつた時には、“ERROR”
となり、そのERROR情報をマイクロプロセツサ
MPU0(MPU1)に通報することができる。 マイクロプロセツサMPU0(MPU1)では、メ
モリMEMb内のプログラムによりそのERROR情
報を読み取り、プログラムによりDMA転送のや
り直し命令をダイレクト・メモリ・アクセス・コ
ントローラDMACに対して発出する。 一般に、DMA転送を始めてしまうと、指定し
た転送ブロツクMEMaの動作が終了するまでは、
プログラムは何ら関与できない。 二つのマイクロプロセツサMPU0,MPU1でメ
モリ間のデータ転送をする場合、マイクロプロセ
ツサMPU0からDMA転送し、マイクロプロセツ
サMPU1がそのデータを受け取る場合に一つの転
送ブロツクの動作が完全に終了するまで、マイク
ロプロセツサMPU0,MPU1は待つことになる。 このような方式を採用すれば、マイクロプロセ
ツサMPU0がDMA転送を実行した場合、マイク
ロプロセツサMPU0はメモリMEMb内のプログラ
ムによりDMA転送中の状態を監視し、ERROR
の発生時に、再度DMA転送を行うか、中止する
かを判断することができる。 ダイレクト・メモリ・アドレス・コントローラ
DMACの動作中にマイクロプロセツサMPU0
(MPU1)側で監視できる状態フラグは、状態遷
移を示す表1内の図6に示されたRQT
(REQUEST)、GNT(GRANT)、及びSTART
1,START2,DMA転送中の計5個のフラグ
がある。DMA転送中の正常な動作は、状態1乃
至状態6のシースケンスにて終了する。このフラ
グの状態を図9に示す状態監視フローチヤートの
如く、状態毎に任意の規定時間内に状態が変化す
るか否かを監視することができる。
The present invention relates to a fault monitoring method in an information processing system that uses direct memory access as a data transfer means in a system that includes a plurality of microprocessor systems and the like and transfers data between them. As shown in Figure 1, the direct memory access controller (DMAC) is used to transfer information using direct memory access (DMA), and the request and permission to use the data bus DB and address bus are confirmed. Microprocessor MPU and direct memory access
Made between controller DMAC. After this confirmation, the data bus and address bus of the microprocessor MPU are disconnected and the direct memory access controller DMAC
Information transfer operations between I/O ports etc. and memory MEM are performed under the control of . direct memory
The access controller DMAC handles transfers, and to generate addresses, the address bus is switched to and from the microprocessor MPU, as shown in FIG. Also, direct memory access controller
Since DMAC handles transfer, it does not generate data. Therefore, as shown in FIG. 4, the only switching required is whether or not to disconnect the data bus DB. Next, as shown in Figure 5, the switching of the data bus DB is expanded to switching in the same manner as the address bus, and the DMA mode dominated by the direct memory access controller DMAC is Some devices are provided with data buses DB, I/O, etc., which are active only when Furthermore, as an application example of the examples in Figs. 1 and 2, Fig. 6
The following configuration is obtained. That is, this is a system in which there are microprocessors MPU 0 and MPU 1 that perform processing independently of each other, and information needs to be transferred between them. This works like this: Microprocessor MPU 0 (MPU 1 ) direct memory access request DMA
Output RQT to direct memory access controller DMAC. In this case, it is natural to input the start address, stop address, number of transferred bytes, etc. of the memory MEM 0 or MEM 1 to the direct memory access controller DMAC. The direct memory access controller DMAC is a microprocessor.
Communicate clearly to MPU 1 (MPU 0 ). If microprocessor MPU 1 (MPU 0 ) is OK, return grant GNT. The direct memory access controller DMAC also clearly communicates this to the microprocessor MPU 0 (MPU 1 ). This is where the bus switch BS operates. The direct memory access controller DMAC generates and outputs direct memory access addresses DMAA 0 and DMAA 1 . Information is transferred between the memories MEM 0 and MEM 1 . As described above, the example shown in FIG. 6 is one method in which communication between processors is performed by direct memory access transfer between memories. The parts surrounded by dotted lines in Figure 6 correspond to Figure 7.
The microprocessor
All of the memory MEM space used by the MPU becomes unusable. That is, all address and data lines entering the memory MEM are switched. This kind of configuration is memory MEM 0 ,
The system made for MEM 1 uses microprocessor MPU 0 ,
Both MPU 1 were inoperative, and not only system operation but also monitoring operations had to be completely stopped. During this time, for some reason, a failure occurred in the direct memory access controller DMAC, and the microprocessor Setusa MPU 0 ,
The only solution to the situation where it is impossible to return to the operation of the MPU 1 , that is, the operation of the system, is to introduce a third processor or the like. The present invention, with minimal addition of hardware,
This invention provides a fault monitoring method that can perform fault monitoring as described above. The present invention will be explained in detail below. In the present invention, as shown in FIG. 8, each memory MEM 0 of the microprocessor MPU 0 (MPU 1 )
(MEM 1 ) to the microprocessor MPU 0 (MPU 1 ) as a direct memory address transfer.
memory space that is separated from the memory space of
MEM a and always microprocessor MPU 0
Memory space remaining in the memory space of (MPU 1 ) MEM b
Divide into two parts. The address and data of memory MEM b of microprocessor MPU 0 (MPU 1 )
Always connect directly with On the other hand, the memory MEM a is connected after the address and data have been switched. The actual DMA transfer operation is monitored by the direct memory access controller DMAC according to the status monitoring flow shown in Figure 9.The direct memory access controller DMAC monitors only the time until moving to the next state, and transfers the data to the next state within a specified time. “ERROR” when the state does not change.
Then, the ERROR information is sent to the microprocessor.
Can report to MPU 0 (MPU 1 ). In the microprocessor MPU 0 (MPU 1 ), the program in the memory MEM b reads the ERROR information, and the program issues a command to redo the DMA transfer to the direct memory access controller DMAC. Generally, once a DMA transfer is started, the transfer will continue until the specified transfer block MEM a completes its operation.
The program cannot be involved in any way. When data is transferred between memories between two microprocessors MPU 0 and MPU 1 , the operation of one transfer block is completed when microprocessor MPU 0 performs DMA transfer and microprocessor MPU 1 receives the data. Microprocessors MPU 0 and MPU 1 will wait until the process is completed. If such a method is adopted, when microprocessor MPU 0 executes a DMA transfer, microprocessor MPU 0 will monitor the status of the DMA transfer using the program in memory MEM b , and will detect an ERROR.
When this occurs, it can be determined whether to perform the DMA transfer again or cancel it. direct memory address controller
Microprocessor MPU 0 during DMAC operation
The status flags that can be monitored on the (MPU 1 ) side are the RQTs shown in Figure 6 in Table 1, which shows status transitions.
(REQUEST), GNT (GRANT), and START
There are a total of 5 flags: 1, START 2, and DMA transfer in progress. Normal operation during DMA transfer ends with the sequence of states 1 to 6. As shown in the status monitoring flowchart shown in FIG. 9, the status of this flag can be monitored for each status to see if it changes within an arbitrary specified time.

【表】 以上のように、本発明ではグレイト・メモリ・
アクセス・コントローラ(DMAC)とマイクロ
プロセツサ(MPU)との間で表1に示すフラグ
をマイクロプロセツサMPU1(MPU0)で監視す
ることができるように構成されており、それらの
フラグをマイクロプロセツサ(MPU)の管轄す
るメモリの群に記憶されているプログラムによ
り、監視を行なつている。このように監視のため
の機能をソフトウエアにより行なわせ、ハードウ
エアの増加を最小限にとどめることができる。 以上は、メモリを共用する2つのマイクロプロ
セツサ間でのDMA転送について述べたが、本発
明は、さらに、メモリを上記の2つの群に分ける
という手段はDMA転送時にもマイクロプロセツ
サを動作させるシステム全ての応用出来る手段と
言える。
[Table] As described above, in the present invention, the great memory
The microprocessor MPU 1 (MPU 0 ) is configured to monitor the flags shown in Table 1 between the access controller (DMAC) and the microprocessor (MPU). Monitoring is performed by a program stored in a group of memories under the jurisdiction of the processor (MPU). In this way, the monitoring function is performed by software, and the increase in hardware can be kept to a minimum. The above has described DMA transfer between two microprocessors that share memory, but the present invention further provides that the means of dividing the memory into the two groups described above allows the microprocessor to operate even during DMA transfer. It can be said that it is a method that can be applied to all systems.

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

図1,図6は従来のダイレクト・メモリ・アク
セスによる情報転送の例を示すブロツク図、図2
は図1の例の変形例を示すブロツク図、図3,図
4,図5は図1の例における一部変形例を示すブ
ロツク図、図7は図6の例に用いられる一部回路
の具体例を示すブロツク図、図8は本発明方式の
実施例の主要部を示すブロツク図、図9は本発明
方式の動作を説明するための動作フローチヤート
である。 DMAC……ダイレクト・メモリ・アクセス・
コントローラ、DMAA……ダイレクト・メモ
リ・アクセス・アドレス、DB……データ、バ
ス、MPU,MPU0,MPU1……マイクロプロセ
ツサ、DEC……デコーダ、MEM,MEM0
MEM1……メモリ、BS……バス・スイツチ、
ACB……アドレス/コントロール・バス、D…
…データ、A……アドレス、CS……チツプ・セ
レクト、DMAD……ダイレクト・メモリ・アク
セス・データ・バス、R/W……リード/ライ
ト、S……スイツチ。
Figures 1 and 6 are block diagrams showing examples of information transfer using conventional direct memory access, and Figure 2.
is a block diagram showing a modification of the example in FIG. 1, FIGS. 3, 4, and 5 are block diagrams showing a partial modification of the example in FIG. 1, and FIG. 7 is a block diagram showing a partial modification of the example in FIG. FIG. 8 is a block diagram showing a main part of an embodiment of the system of the present invention, and FIG. 9 is an operation flowchart for explaining the operation of the system of the present invention. DMAC……Direct memory access
Controller, DMAA...Direct memory access address, DB...Data, bus, MPU, MPU 0 , MPU 1 ...Microprocessor, DEC...Decoder, MEM, MEM 0 ,
MEM 1 ...Memory, BS...Bus switch,
ACB...Address/control bus, D...
...Data, A...Address, CS...Chip select, DMAD...Direct memory access data bus, R/W...Read/Write, S...Switch.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のマイクロプロセツサと該複数のマイク
ロプロセツサにそれぞれ対応する複数のメモリと
を有し前記複数のマイクロプロセツサ間の情報伝
達手段には前記複数のメモリ相互間のダイレク
ト・メモリ・アクセス転送を用いる情報処理シス
テムにおいて、前記複数のメモリの各々は二つの
群に分けられ、一方の群は該メモリを管轄する前
記マイクロプロセツサにより制御し、該メモリに
は前記ダイレクト・メモリ・アクセス転送を監視
するプログラムを記憶させて該監視を行い、他方
の群は前記複数のメモリ間での情報転送を行う領
域として前記情報伝達手段により管轄する如く構
成して、前記マイクロプロセツサにより前記情報
伝達手段を監視することを特徴とする情報処理シ
ステムにおける障害監視方式。
1. It has a plurality of microprocessors and a plurality of memories corresponding to the plurality of microprocessors, and the means for transmitting information between the plurality of microprocessors includes direct memory access transfer between the plurality of memories. In an information processing system using the above, each of the plurality of memories is divided into two groups, one group is controlled by the microprocessor that controls the memory, and the memory has the direct memory access transfer. A program to be monitored is stored and the monitoring is performed, and the other group is configured to be under the control of the information transmission means as an area for transferring information between the plurality of memories, and the information transmission means is controlled by the microprocessor. A failure monitoring method in an information processing system characterized by monitoring.
JP58057037A 1983-04-01 1983-04-01 Fault monitor system Granted JPS59183447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58057037A JPS59183447A (en) 1983-04-01 1983-04-01 Fault monitor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58057037A JPS59183447A (en) 1983-04-01 1983-04-01 Fault monitor system

Publications (2)

Publication Number Publication Date
JPS59183447A JPS59183447A (en) 1984-10-18
JPH0346855B2 true JPH0346855B2 (en) 1991-07-17

Family

ID=13044241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58057037A Granted JPS59183447A (en) 1983-04-01 1983-04-01 Fault monitor system

Country Status (1)

Country Link
JP (1) JPS59183447A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0746318B2 (en) * 1987-01-23 1995-05-17 日本電気株式会社 Microcomputer development support device
JP2579003B2 (en) * 1989-11-30 1997-02-05 松下電送株式会社 Data transfer device between memories

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55116124A (en) * 1979-03-01 1980-09-06 Nippon Telegr & Teleph Corp <Ntt> Information processor
JPS5671129A (en) * 1979-11-15 1981-06-13 Fujitsu Ltd Data processing system
JPS57150059A (en) * 1981-02-11 1982-09-16 Siemens Ag Multi-microcomputer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55116124A (en) * 1979-03-01 1980-09-06 Nippon Telegr & Teleph Corp <Ntt> Information processor
JPS5671129A (en) * 1979-11-15 1981-06-13 Fujitsu Ltd Data processing system
JPS57150059A (en) * 1981-02-11 1982-09-16 Siemens Ag Multi-microcomputer

Also Published As

Publication number Publication date
JPS59183447A (en) 1984-10-18

Similar Documents

Publication Publication Date Title
JP2661733B2 (en) Data processing system
JP2886856B2 (en) Redundant bus connection method
US5410650A (en) Message control system for data communication system
JPS63255759A (en) Control system
JPS6334494B2 (en)
JPH08106399A (en) Multiprocessor system
JPH0346855B2 (en)
JPS59214397A (en) Relieving system for call information
JPS638500B2 (en)
GB2146810A (en) Achieving redundancy in a distributed process control system
JP2705955B2 (en) Parallel information processing device
JPS59146362A (en) Interface switching control system
JPH01283657A (en) Dynamic constitution changing method for input/output control system having cross call function
JPS60134352A (en) Duplex bus control device
JPS61271555A (en) Transferring system for direct memory access
JP2985188B2 (en) Redundant computer system
JPH11259325A (en) Duplex system and information processing method for the same
JPS62103756A (en) Multiprocessing system
JPH05175980A (en) Inter-system cross connectible communication control system
JP2000347706A (en) Plant controller
JPS58217060A (en) Backup system of decentralized computer system
JPH01147763A (en) Input/output control system for terminal concentrator
JPH08320842A (en) Data transfer control system
JPS62179044A (en) Multicomputer system
JPS58202643A (en) Controlling system of communication bus route