JPH0355850B2 - - Google Patents

Info

Publication number
JPH0355850B2
JPH0355850B2 JP58194741A JP19474183A JPH0355850B2 JP H0355850 B2 JPH0355850 B2 JP H0355850B2 JP 58194741 A JP58194741 A JP 58194741A JP 19474183 A JP19474183 A JP 19474183A JP H0355850 B2 JPH0355850 B2 JP H0355850B2
Authority
JP
Japan
Prior art keywords
emulator
emulators
data
program development
development device
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
JP58194741A
Other languages
Japanese (ja)
Other versions
JPS6086632A (en
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 filed Critical
Priority to JP58194741A priority Critical patent/JPS6086632A/en
Publication of JPS6086632A publication Critical patent/JPS6086632A/en
Publication of JPH0355850B2 publication Critical patent/JPH0355850B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software

Landscapes

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

Description

【発明の詳細な説明】 技術分野 本発明はプログラム開発装置におけるデイバツ
グ方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a debugging method in a program development apparatus.

従来技術 従来のプログラム開発装置は1台の主プログラ
ム開発装置に夫々異なる周期のクロツク信号によ
り動作する複数のエミユレータを並列的に接続
し、プログラムのデイバツグを行つていた。然し
乍、エミユレータに接続されている生産システム
にあつてはエミユレータを略同期的にブレークし
てプログラムのデイバツグを行う必要を有してい
たが、夫々のエミユレータにおけるクロツク信号
の周期が異なるため、略同時に複数のエミユレー
タにおけるプログラムをデイバツグ出来ない問題
を有していた。また主プログラム開発装置と複数
のエミユレータとをデータ回線によりリンク状に
接続し、このデータ回線を介して伝送されたブレ
ークデータにより各エミユレータを動作させる形
式のシステムにあつては伝送されたブレークデー
タに基づいてエミユレータのブレーク処理を順次
実行するため、各エミユレータにおける処理時間
分遅延することにより各エミユレータを同期的に
ブレークさせることが出来なかつた。
Prior Art A conventional program development device debugs a program by connecting a plurality of emulators in parallel to one main program development device, each of which is operated by a clock signal of a different cycle. However, in production systems connected to emulators, it is necessary to break the emulators almost synchronously to debug the program, but since the clock signal cycles of each emulator are different, There was a problem in that it was not possible to debug programs on multiple emulators at the same time. In addition, in a system in which the main program development device and multiple emulators are connected in a linked manner via a data line, and each emulator is operated by break data transmitted via this data line, the transmitted break data may be Since the break processing of the emulators is executed sequentially based on the processing time, the processing time of each emulator is delayed, making it impossible to break each emulator synchronously.

発明の目的 本発明の目的は上記した従来の欠点を解決した
プログラム開発装置のデイバツグ方法を提供する
ことにある。
OBJECTS OF THE INVENTION An object of the present invention is to provide a debugging method for a program development apparatus that solves the above-mentioned conventional drawbacks.

実施例 以下、図面に従つて説明する。Example This will be explained below with reference to the drawings.

第1図において、基準ホスト1はコンピユータ
言語で作動するものであり、その出力は複数のエ
ミユレータ2,3,4に夫々ループ状接続されて
いる。そしてエミユレータ4の最終段出力は前記
基準ホスト1の入力側にリンク状に帰還接続され
ている。これら基準ホスト1及びエミユレータ
2,3,4はフオトカプラを有して2系統の光フ
アイバーケーブルOF1,OF2により接続されて
いる。上記光フアイバーケーブルOF1,OF2の
内、1系統はデータバス用、また他の1系統はク
ロツクバス用の回線として使用されている。尚、
上記エミユレータ2,3,4には夫々のターゲツ
ト装置5,6,7が接続されている。
In FIG. 1, a reference host 1 operates in a computer language, and its outputs are connected in a loop to a plurality of emulators 2, 3, and 4, respectively. The final stage output of the emulator 4 is connected back to the input side of the reference host 1 in the form of a link. These reference host 1 and emulators 2, 3, and 4 have photocouplers and are connected by two optical fiber cables OF1 and OF2. Of the optical fiber cables OF1 and OF2, one line is used as a data bus line, and the other line is used as a clock bus line. still,
Target devices 5, 6 and 7 are connected to the emulators 2, 3 and 4, respectively.

第2図において、メインバスには本システムを
動作するためのメインコントロール9、記憶バン
ク10、プリンタ11、インターフエイス12、
キーボード13、ROM14、RAM15、光送
受信部16が接続構成されている。またコンソー
ルには前記キーボード13とコンポジツト17及
びCRT18が接続されている。
In FIG. 2, the main bus includes a main control 9 for operating the system, a memory bank 10, a printer 11, an interface 12,
A keyboard 13, ROM 14, RAM 15, and optical transmitter/receiver 16 are connected and configured. Further, the keyboard 13, composite 17 and CRT 18 are connected to the console.

第3図において、各エミユレータ2,3,4の
エミユレーシヨンバス20にはCPU21、ROM
23、RAM24、制御部25、光受信部26が
夫々接続されている。前記制御部25にはターゲ
ツト27が接続されている。またホスト側の光受
信部16と各エミユレータ側の光受信部26には
2系統の光フアイバーケーブルOF1,OF2がリ
ンク状に接続されている。
In FIG. 3, the emulation bus 20 of each emulator 2, 3, and 4 includes a CPU 21 and a ROM.
23, RAM 24, control section 25, and optical receiving section 26 are connected to each other. A target 27 is connected to the control section 25. Further, two optical fiber cables OF1 and OF2 are connected in a link manner to the optical receiving section 16 on the host side and the optical receiving section 26 on each emulator side.

次に第4図において、前述したホスト及びエミ
ユレータには、例えばフラグ10バイバツフア256
バイトの記憶番地を有する共通バンクを備えてい
る。尚、この共通バンクの内、書換え可能なエリ
アは各エミユレータに対応するエリアである。こ
の共通バンクから送出されるデータは常にスター
トからエンドに亘つて順次各エミユレータ2,
3,4の共通バンクへ送り出される。そして各エ
ミユレータ2,3,4により受信されたデータは
常に共通バンク内のデータとの比較によりデータ
エラーを監視している。
Next, in FIG.
A common bank with byte storage addresses is provided. Incidentally, within this common bank, the rewritable area is an area corresponding to each emulator. Data sent from this common bank is always sent sequentially from start to end to each emulator 2,
It is sent to common banks 3 and 4. The data received by each emulator 2, 3, 4 is constantly compared with data in the common bank to monitor for data errors.

このようにループ状にリンクされた基準ホスト
1及びエミユレータ2,3,4は常に共通バンク
のエリアと比較することにより他からの要求の有
無を監視することが出来ると共に、共通バンクの
自己のエリアに要求を書込むことにより、自己の
要求を他のエミユレータ2,3,4及び、基準ホ
スト1に伝送することが出来る。即ち、基準ホス
ト1からのエミユレータ2へデータ伝送の要求が
発生した場合、基準ホスト1の共通バンクのホス
トエリアに要求を書込むと、各エミユレータ2,
3,4の共通バンクにホストの要求が伝送された
後、各リンクを一巡することにより基準ホスト1
側に要求が帰還されるため、共通バンクのホスト
エリアに書込まれた要求と帰還された要求との比
較が行われる。これにより書込まれた要求を確認
することが出来る。またエミユレータ2は自己に
対しての要求であることを確認した後、共通バン
クにおけるエミユレータ2のエリアに書込まれた
要求に対する処理を書込む。これにより基準ホス
ト1の共通バンクのエミユレータ2のエリアに処
理データが伝送される。この結果、基準ホスト1
はエミユレータ2が要求に対する処理を確認する
ことが出来る。更に、エミユレータ2はリンクを
一巡して自己のエリアに処理データが伝送されて
きた後、帰還された処理データと自己のエリアに
書込まれた処理データとを比較し、処理状態を確
認する。
The reference host 1 and emulators 2, 3, and 4, which are linked in a loop in this way, can monitor the presence or absence of requests from others by constantly comparing with the area of the common bank, and can monitor the presence or absence of requests from others by constantly comparing the area of the common bank with By writing a request to , it is possible to transmit its own request to other emulators 2 , 3 , 4 and the reference host 1 . That is, when a request for data transmission is generated from the reference host 1 to the emulator 2, when the request is written to the host area of the common bank of the reference host 1, each emulator 2,
After the host request is transmitted to the common banks 3 and 4, the reference host 1
Since the request is returned to the side, a comparison is made between the request written to the host area of the common bank and the returned request. This allows you to confirm the written request. Further, after confirming that the request is directed to itself, the emulator 2 writes the processing for the written request into the area of the emulator 2 in the common bank. As a result, the processing data is transmitted to the emulator 2 area of the common bank of the reference host 1. As a result, the reference host 1
The emulator 2 can check the processing for the request. Furthermore, after the processing data has been transmitted to its own area after going around the link, the emulator 2 compares the returned processing data with the processing data written in its own area to confirm the processing state.

次に本発明の光フアイバーケーブルとしてデー
タウエイの他にクロツク専用ウエイをリンク接続
している。
Next, as the optical fiber cable of the present invention, a dedicated clock way is linked in addition to the data way.

このクロツクウエイを介して伝送されるクロツ
ク信号は各エミユレータ2,3,4のデータ取込
み用のクロツク信号として使用され、このクロツ
ク信号により各エミユレータ2,3,4はデータ
の取込み、及び送り出しが制御される。
The clock signal transmitted via this clock way is used as a clock signal for data acquisition by each emulator 2, 3, and 4, and the data acquisition and transmission of each emulator 2, 3, and 4 is controlled by this clock signal. Ru.

即ち、第5図に示すように基準ホスト1がエミ
ユレータ2を同期的にブレークし、エミユレータ
2がブレークされると、クロツク信号がLOWに
変化すると共にそのエミユレータ2のCPU21
がホルトされる。これにより基準ホスト1がエミ
ユレータ2のCPU21がホルトされたことを検
出し、基準ホスト1のクロツク信号がLOWに変
化される。これによりエミユレータ3,4の
CPU21も略同期的にホルトされる。これによ
り各エミユレータ2,3,4を略同期的にブレー
クすることが出来る。そして基準ホスト1は各エ
ミユレータ2,3,4がブレークされたことを確
認した後、クロツク信号をリセツトし、データの
受取りを可能とする。
That is, as shown in FIG. 5, when the reference host 1 breaks the emulator 2 synchronously and the emulator 2 is broken, the clock signal changes to LOW and the CPU 21 of the emulator 2
is halted. As a result, the reference host 1 detects that the CPU 21 of the emulator 2 is halted, and the clock signal of the reference host 1 is changed to LOW. This allows emulators 3 and 4 to
The CPU 21 is also halted substantially synchronously. This allows each emulator 2, 3, and 4 to be broken substantially synchronously. After confirming that each emulator 2, 3, and 4 has been broken, the reference host 1 resets the clock signal and enables data reception.

尚、第5図に示すように基準ホスト1がデータ
を送り出した後、このデータを受け取るまでにエ
ミユレータ2,3,4の配置台数に応じたバイト
分遅延するが、クロツク信号により各エミユレー
タ2,3,4のCPU21をホルトすることによ
り実質的に同期した状態でブレークすることが出
来る。
As shown in FIG. 5, after the reference host 1 sends data, there is a byte delay depending on the number of emulators 2, 3, and 4 arranged until the data is received. By halting the third and fourth CPUs 21, it is possible to break in a substantially synchronized state.

従つて本実施例は基準ホスト1と各エミユレー
タ2,3,4とを2系統の光フアイバーケーブル
OF1,OF2によりリンク状に接続すると共に、
その内の一つをクロツク専用とすることにより各
エミユレータ2,3,4のCPU21を略同期的
にホルトしてブレークさせることが出来る。
Therefore, in this embodiment, the reference host 1 and each emulator 2, 3, 4 are connected using two optical fiber cables.
Connected like a link by OF1 and OF2,
By dedicating one of them to the clock, the CPUs 21 of each emulator 2, 3, and 4 can be halted and broken almost synchronously.

発明の効果 以上説明したように本発明は、主プログラム開
発装置と複数個のエミユレータとを2系統の光フ
アイバーケーブルによりループ状に接続したプロ
グラム開発装置にあつては、前記2系統の光フア
イバーケーブルの内、1系統はデータ伝送用ケー
ブル、また他の1系統はクロツク専用ケーブルと
し、このクロツク専用ケーブルにより伝送される
クロツク信号により複数のエミユレータを略同期
的にブレーク可能とするプログラム開発装置のデ
イバツグ方法である。
Effects of the Invention As explained above, the present invention provides a program development device in which a main program development device and a plurality of emulators are connected in a loop through two optical fiber cables. One system is a data transmission cable, and the other system is a clock-only cable, and this is a debugging program development device that can break multiple emulators almost synchronously using the clock signal transmitted by this clock-only cable. It's a method.

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

第1図は主プログラム開発装置と各エミユレー
タのリンク状態を示す説明図、第2図は主プログ
ラム開発装置のブロツク図、第3図は各エミユレ
ータのブロツク図、第4図は共通バンクを示す説
明図、第5図は動作状態を示す説明図である。 図中1は主プログラム開発装置としての基準ホ
スト、2,3,4はエミユレータ、OF1,OF2
は光フアイバーケーブルである。
Fig. 1 is an explanatory diagram showing the link status between the main program development device and each emulator, Fig. 2 is a block diagram of the main program development device, Fig. 3 is a block diagram of each emulator, and Fig. 4 is an explanatory diagram showing the common bank. FIG. 5 is an explanatory diagram showing the operating state. In the figure, 1 is the reference host as the main program development device, 2, 3, and 4 are emulators, OF1, OF2
is a fiber optic cable.

Claims (1)

【特許請求の範囲】 1 主プログラム開発装置と複数個のエミユレー
タとを2系統の光フアイバーケーブルによりルー
プ状に接続したプログラム開発装置にあつては、 前記2系統の光フアイバーケーブルの内、1系
統はデータ伝送用ケーブル、また他の1系統はク
ロツク専用ケーブルとし、このクロツク専用ケー
ブルにより伝送されるクロツク信号により複数の
エミユレータを略同期的にブレーク可能としたこ
とを特徴とするプログラム開発装置のデイバツグ
方法。
[Scope of Claims] 1. In a program development device in which a main program development device and a plurality of emulators are connected in a loop through two optical fiber cables, one of the two optical fiber cables is connected to one of the two optical fiber cables. A debugger for a program development device characterized in that one line is a data transmission cable, and the other line is a clock-only cable, and a plurality of emulators can be broken almost synchronously by a clock signal transmitted by the clock-only cable. Method.
JP58194741A 1983-10-17 1983-10-17 Debugging method of program developing device Granted JPS6086632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58194741A JPS6086632A (en) 1983-10-17 1983-10-17 Debugging method of program developing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58194741A JPS6086632A (en) 1983-10-17 1983-10-17 Debugging method of program developing device

Publications (2)

Publication Number Publication Date
JPS6086632A JPS6086632A (en) 1985-05-16
JPH0355850B2 true JPH0355850B2 (en) 1991-08-26

Family

ID=16329451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58194741A Granted JPS6086632A (en) 1983-10-17 1983-10-17 Debugging method of program developing device

Country Status (1)

Country Link
JP (1) JPS6086632A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5051888A (en) * 1988-12-30 1991-09-24 Hewlett Packard Company Data processing systems for coordinating measurement activity upon a plurality of emulators

Also Published As

Publication number Publication date
JPS6086632A (en) 1985-05-16

Similar Documents

Publication Publication Date Title
US4672570A (en) Network interface module and method
CN105550118B (en) debugging system and debugging method
US4684885A (en) Arrangement for on-line diagnostic testing of an off-line standby processor in a duplicated processor configuration
US5339405A (en) Command quiesce function
US6263305B1 (en) Software development supporting system and ROM emulation apparatus
KR20200062594A (en) Operating method in debugging system for vehicle
JPS6086632A (en) Debugging method of program developing device
WO2022053030A1 (en) Chip debugging method, chip, and chip debugging system
KR100329652B1 (en) Remote board control method using packet network
JP2003124947A (en) Daisy chain data input/output system by serial communication system
JP2710777B2 (en) Test circuit for intermediate control unit
SU943696A2 (en) Computer interface
JPH01111237A (en) Debugging device
JPH01111238A (en) Debugging device
JPS5886632A (en) Data processor
Potter et al. CAMAC Based Computer-Computer Communications via Microprocessor Data Links
Flanigan et al. Transputer link break-out box
JPS59142649A (en) Diagnostic test system of device
JPS5786966A (en) Double-system electronic computer device
JPH03260859A (en) Trace data recording system for inter-cpu communication
CN120105981A (en) A PCIE verification device and system
SU955013A1 (en) Device for interfacing computer to peripheral devices
JPH0587850B2 (en)
JPS58141055A (en) Signal transmitter on handshake system
JPH01149557A (en) Modem