JPH07104801B2 - Program development equipment - Google Patents

Program development equipment

Info

Publication number
JPH07104801B2
JPH07104801B2 JP63278871A JP27887188A JPH07104801B2 JP H07104801 B2 JPH07104801 B2 JP H07104801B2 JP 63278871 A JP63278871 A JP 63278871A JP 27887188 A JP27887188 A JP 27887188A JP H07104801 B2 JPH07104801 B2 JP H07104801B2
Authority
JP
Japan
Prior art keywords
break
evaluation
application system
program
evaluation chip
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
JP63278871A
Other languages
Japanese (ja)
Other versions
JPH02123433A (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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63278871A priority Critical patent/JPH07104801B2/en
Publication of JPH02123433A publication Critical patent/JPH02123433A/en
Publication of JPH07104801B2 publication Critical patent/JPH07104801B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラム開発装置に関する。The present invention relates to a program development device.

〔従来の技術〕[Conventional technology]

従来のプログラム開発装置(以下ICEという)の構成お
よび動作を第3図を参照して説明する。マイクロコンピ
ュータを用いた応用システム310はマイクロコンピュー
タの実装されるソケット311とプログラムの記憶されたR
OM312を含み、ICE300はマクロコンピュータと同様の動
作を行なう評価用マイクロコンピュータ(以下、エバチ
ップという)301,エバチップ301が応用システム310上の
ROM312の内容を順次実行し、所定の状態となったときに
エバチップ301を停止(以下、ブレークと言う)させる
ブレーク制御回路304,エバチップ301をブレークさせる
条件を設定したり、表示装置(以下、CRTと言う)303の
ブレークの制御などを行なうスーパーバイザ302から構
成されている。
The configuration and operation of a conventional program development device (hereinafter referred to as ICE) will be described with reference to FIG. An application system 310 using a microcomputer is a socket 311 in which the microcomputer is mounted and an R storing a program.
The ICE300 includes the OM312, the ICE300 performs the same operation as the macro computer (hereinafter referred to as the EVA chip) 301, the EVA chip 301 on the application system 310.
The contents of the ROM 312 are sequentially executed, and the break control circuit 304 for stopping the evaluation chip 301 (hereinafter, referred to as a break) when a predetermined state is set, the condition for breaking the evaluation chip 301, and the display device (hereinafter, CRT) are set. It is composed of a supervisor 302 that controls the break of the 303.

ICE300は応用システム310のマイクロコンピュータが実
装されるソケット311に接続され、実際にマイクロコン
ピュータがプログラムを実行しているのと同様にエバチ
ップ301を制御してプログラム開発を行なうことができ
る。
The ICE 300 is connected to the socket 311 in which the microcomputer of the application system 310 is mounted, and the evaluation chip 301 can be controlled in the same manner as when the microcomputer is actually executing the program to develop the program.

ここで実際にICE300を使用者がブレーク動作をICE300に
行なわせる場合の制御について説明する。
Here, the control when the user actually causes the ICE300 to perform a break operation will be described.

スーパーバイザ302はICE300の使用者が設定したブレー
ク条件、たとえばプログラムの100番地を実行したらブ
レークというような条件をブレーク制御回路304にブレ
ーク設定ライン306を介して設定する。ブレーク制御回
路304はエバチップ301が100番地の命令を実行するかど
うかをエバチップステータス307をモニタしている。
The supervisor 302 sets a break condition set by the user of the ICE 300, for example, a condition such as a break when the program 100 is executed, to the break control circuit 304 via the break setting line 306. The break control circuit 304 monitors the evaluation chip status 307 as to whether the evaluation chip 301 executes the instruction at address 100.

エバチップ301が100番地の命令を実行し、ブレークの条
件がとれると、ブレーク制御回路304はブレーク出力305
を出力し、エバチップ301を停止させるとともにスーパ
ーバイザ302に通知する。
When the evaluation chip 301 executes the instruction at address 100 and the break condition is met, the break control circuit 304 outputs the break output 305.
Is output to stop the evaluation chip 301 and notify the supervisor 302.

ここでスーパーバイザ302はエバチップ301を応用システ
ム310から分離し、あらかじめ定められた手順に従っ
て、エバチップ301に各種レジスタの内容や、ステータ
スを出力させ、スーパーバイザ302はこれをCRT303など
に表示する。
Here, the supervisor 302 separates the evaluation chip 301 from the application system 310, causes the evaluation chip 301 to output the contents and status of various registers according to a predetermined procedure, and the supervisor 302 displays this on the CRT 303 or the like.

エバチップ301はこの期間、応用システム310から分離さ
れ、スーパーバイザ302に対して各種レジスタの内容等
を出力する処理を行っているため、ROM312上のプログラ
ムは実行することができない。これは応用システム310
がモータ制御を行なっているような場合には大きな問題
となる。応用システム310はモータに接続され、モータ
はマイクロコンピュータ制御されなければならないが、
ブレークが発生したときは、エバチップ301は応用シス
テム310から分離され、レジスタの内容などをスーパー
バイザ302へ出力する処理を行っているため、モータの
制御は行なわれなくなり応用システム310が暴走する可
能性がある。
During this period, the evaluation chip 301 is separated from the application system 310 and performs processing for outputting the contents of various registers to the supervisor 302, so that the program on the ROM 312 cannot be executed. This is an application system 310
Is a big problem when the motor control is performed. The application system 310 is connected to the motor, which must be microcomputer controlled,
When a break occurs, the evaluation chip 301 is separated from the application system 310 and the process of outputting the contents of the register to the supervisor 302 is performed. Therefore, the motor is not controlled and the application system 310 may run out of control. is there.

またエバチップ301が高速にレジスタ内容などの出力処
理を行ない、直ちに応用システム310に再接続したとし
ても実時間(以下、リアルタイムと言う)でプログラム
を実行したことにはならず、マイクロコンピュータが実
際にプログラムを実行したのとは動作タイミングが異な
りICEとしての機能をはたすことができない。
Even if the evaluation chip 301 performs high-speed output processing of register contents and the like and immediately reconnects to the application system 310, it does not mean that the program is executed in real time (hereinafter, referred to as real time), and the microcomputer does not actually execute. The operation timing is different from when the program is executed and the function as ICE cannot be achieved.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来のICEでは応用システムがモータなどの稼
働部分を制御するような場合、ブレークが発生すると、
ICE中のエバチップが応用システムと分離されてしまう
ためモータなどが制御不能となり暴走する可能性がある
という欠点があった。
In the above-mentioned conventional ICE, when a break occurs when the application system controls the operating part such as a motor,
Since the evaluation chip in the ICE is separated from the application system, there is a drawback that the motor etc. may become uncontrollable and run out of control.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明のプログラム開発装置は、ICEが接続された応用
システム上のプログラムを並列に実行し、所定のブレー
ク条件を検出するとブレークする第1のエバチップ群
と、ブレークせずに常にリアルタイムで動作する第2の
エバチップとを備え、前記第1のエバチップは対応した
停止条件を検出したときに順次停止する手段を備えてい
る。
The program development apparatus of the present invention executes a program on an application system to which an ICE is connected in parallel and breaks when a predetermined break condition is detected, and a first evaluation chip group that always breaks in real time without breaking. The first evaluation chip is provided with means for sequentially stopping when a corresponding stop condition is detected.

〔実施例〕〔Example〕

本発明について図面を参照して説明する。 The present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

ICE100はブレーク条件を設定することのできないエバチ
ップ101と、スーパーバイザ108が設定するブレーク条件
が整うとブレークするエバチップ102,103,104とを含ん
で構成される。
The ICE 100 is configured to include an evaluation chip 101 for which break conditions cannot be set, and evaluation chips 102, 103, 104 that break when the break conditions set by the supervisor 108 are satisfied.

各エバチップは応用システム110に並列に接続されてお
り、ICE100から応用システム110への出力113はエバチッ
プ101の出力を使用し、応用システム110からの出力114
は各エバチップ101,102,103,104へ並列に接続されてい
る。
Each evaluation chip is connected in parallel to the application system 110, and the output 113 from the ICE 100 to the application system 110 uses the output of the evaluation chip 101 and the output 114 from the application system 110.
Are connected in parallel to each evaluation chip 101, 102, 103, 104.

ブレーク制御回路105,106,107はエバチップ102,103,104
に対応してそれぞれ設定されており、スーパーバイザ10
8が設定したブレーク条件と、エバチップの出力するス
テータス109,110,111とを比較し、一致するとブレーク
出力112,113,114を出力し、スーパーバイザ108へ通知す
ると同時に対応するエバチップを停止させる。
Break control circuits 105, 106, 107 are evaluation chips 102, 103, 104.
It is set corresponding to each, and supervisor 10
The break conditions set by 8 are compared with the statuses 109, 110, 111 output by the evaluation chip, and if they match, the break outputs 112, 113, 114 are output, the supervisor 108 is notified, and at the same time the corresponding evaluation chip is stopped.

ここでブレーク制御回路105に設定してあるブレーク条
件が整ったとすると、スーパーバイザ108はエバチップ1
02を応用システム110から切り離し、ブレークさせて、
その時の各種レジスタなどのステータスを保持させる。
If the break condition set in the break control circuit 105 is satisfied here, the supervisor 108 sets the evaluation chip 1
Disconnect 02 from application system 110, break it,
The status of various registers at that time is retained.

その他のエバチップ101,103,104は停止していないので
応用システム110のプログラムのリアルタイム実行と並
行して、スーパーバイザー108はエバチップ102がブレー
クした時の各種ステータスを読み出し、CRT109などに表
示することができる。
Since the other evaluation chips 101, 103, 104 are not stopped, the supervisor 108 can read out various statuses when the evaluation chip 102 breaks and display them on the CRT 109 or the like in parallel with the real-time execution of the program of the application system 110.

以下、同様にエバチップ103,104がブレークしてもエバ
チップ101はブレークしないため常に応用システム110上
のROM112の内容をリアルタイムで実行することができる
ので応用システム110が暴走し、制御不能となることは
ない。
Similarly, even if the evaluation chips 103 and 104 break, the evaluation chip 101 does not break, so that the contents of the ROM 112 on the application system 110 can always be executed in real time, so that the application system 110 does not run out of control and become uncontrollable.

またブレーク後でも各ブレーク時の各種ステータスは対
応するエバチップが保持しているのでステータスをあと
で読み出して確保することができる。さらに本実施例で
はブレークポイントは3ポイントまで設定できるが、エ
バチップとブレーク制御回路を追加することによりブレ
ークポイントを自由に増やすことができる。
Even after the break, various statuses at each break are held by the corresponding evaluation chip, so that the status can be read and secured later. Further, in this embodiment, the number of break points can be set up to 3, but the number of break points can be freely increased by adding an evaluation chip and a break control circuit.

第2図は本発明の第2の実施例を示すブロック図であ
る。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

第1の実施例ではブレークポイントの数が3を越えると
ブレークができないが、本実施例ではブレークポイント
が3つまではブレークが発生してもリアルタイムでプロ
グラムを実行し、ブレークポイントが4以上必要な場合
にはリアルタイムでプログラムは実行できないがブレー
クを可能とする。第1の実施例と異なるのはエバチップ
101に対し、ブレーク制御回路201が付加されているだけ
である。エバチップ102,103,104の動作は第1の実施例
と同様で、これらのエバチップがブレークしても、応用
システム110はエバチップ101によりリアルタイムでプロ
グラムを実行することができる。
In the first embodiment, a break cannot be made if the number of break points exceeds 3, but in the present embodiment, even if a break occurs up to three break points, the program is executed in real time and four or more break points are required. In this case, the program cannot be executed in real time, but a break is possible. The difference from the first embodiment is the evaluation chip.
The break control circuit 201 is only added to 101. The operations of the evaluation chips 102, 103, 104 are similar to those of the first embodiment. Even if these evaluation chips break, the application system 110 can execute the program in real time by the evaluation chip 101.

4ポイント以上のブレークが必要な場合にはエバチップ
101を使用し、スーパーバイザ108はブレークの条件をブ
レーク制御回路201に設定し、ブレークの条件が整うと
エバチップ101は応用システム110から切離されて内部ス
テータスなどをスーパーバイザ108へ通知する。本実施
例のICEではブレークについて2種類の動作を行なわせ
ることができるので、応用システム中の可動部が動作し
ているルーチン中のブレークはエバチップ102,103,104
を使用し、その他はエバチップ101を使用するようにし
て効率の良いプログラム開発を行うことが可能である。
EVA chip when a break of 4 points or more is required
Using 101, the supervisor 108 sets the break condition in the break control circuit 201, and when the break condition is satisfied, the evaluation chip 101 is disconnected from the application system 110 and notifies the supervisor 108 of the internal status and the like. Since the ICE of this embodiment can perform two types of operations for breaks, the breaks during the routine in which the movable part in the application system is operating are the evaluation chips 102, 103, 104.
Is used, and the evaluation chip 101 is used for others, and efficient program development can be performed.

〔発明の効果〕〔The invention's effect〕

本発明のICEはブレークにより各種レジスタの出力処理
などを実行中でも、応用システムと分離されずに、応用
システム上のプログラムをリアルタイムで実行できると
いう効果がある。
The ICE of the present invention has an effect that a program on the application system can be executed in real time without being separated from the application system even while executing output processing of various registers due to the break.

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

第1図は本発明の第1の実施例のブロック図、第2図は
本発明の第2の実施例のブロック図、第3図は従来の一
例を示すブロック図である。 110,310……応用システム、110,310……ソケット、112,
312……ROM、101,102,103,104,301……エバチップ、10
5,106,107,201,304……ブレーク制御回路、108,302……
スーパーバイザ、109,303……CRT、100,300……ICE。
FIG. 1 is a block diagram of a first embodiment of the present invention, FIG. 2 is a block diagram of a second embodiment of the present invention, and FIG. 3 is a block diagram showing an example of a conventional technique. 110,310 …… Application system, 110,310 …… Socket, 112,
312 …… ROM, 101,102,103,104,301 …… Evaluation chip, 10
5,106,107,201,304 …… Break control circuit, 108,302 ……
Supervisor, 109,303 …… CRT, 100,300 …… ICE.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】あらかじめ設定された停止条件を検出する
と停止し、停止時の状態をモニタできるマイクロコンピ
ュータのプログラム開発装置において、前記停止条件を
検出したときに停止する第一の評価用マイクロコンピュ
ータ群と、停止せずに常に実時間で動作する第二の評価
用マイクロコンピュータとを備え、前記第一,第二の評
価用マイクロコンピュータはプログラム開発装置が接続
された応用システム上のプログラムを並列に実行し、前
記第一の評価用マイクロコンピュータは対応した停止条
件を検出したときに順次停止する手段を備え、前記プロ
グラムを実時間で実行することと平行して停止時の各種
内部状態をモニタできることを特徴とするプログラム開
発装置。
1. A program development apparatus for a microcomputer that stops when a preset stop condition is detected and can monitor the state at the time of stop. A first evaluation microcomputer group that stops when the stop condition is detected. And a second evaluation microcomputer that always operates in real time without stopping, and the first and second evaluation microcomputers execute programs in an application system to which a program development device is connected in parallel. The first evaluation microcomputer is provided with means for sequentially stopping when the corresponding stop condition is detected, and the various internal states at the time of stop can be monitored in parallel with executing the program in real time. A program development device characterized by.
JP63278871A 1988-11-02 1988-11-02 Program development equipment Expired - Lifetime JPH07104801B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63278871A JPH07104801B2 (en) 1988-11-02 1988-11-02 Program development equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63278871A JPH07104801B2 (en) 1988-11-02 1988-11-02 Program development equipment

Publications (2)

Publication Number Publication Date
JPH02123433A JPH02123433A (en) 1990-05-10
JPH07104801B2 true JPH07104801B2 (en) 1995-11-13

Family

ID=17603281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63278871A Expired - Lifetime JPH07104801B2 (en) 1988-11-02 1988-11-02 Program development equipment

Country Status (1)

Country Link
JP (1) JPH07104801B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60107146A (en) * 1983-11-14 1985-06-12 Sharp Corp Debug system of lsi

Also Published As

Publication number Publication date
JPH02123433A (en) 1990-05-10

Similar Documents

Publication Publication Date Title
KR860700302A (en) Redundant processor system and its operation change method
US5202976A (en) Method and apparatus for coordinating measurement activity upon a plurality of emulators
JPH07104801B2 (en) Program development equipment
JPH06324721A (en) Method for detecting falling-off of connection unit
JP2845616B2 (en) Multiprocessor system
JPS60134942A (en) Backup system for abnormal state
JPS5688519A (en) System switching device
JPS6371739A (en) Monitoring device for microcomputer system
JPS59202547A (en) Debugging device
JP2735019B2 (en) How to debug
JPH05250222A (en) Cpu monitoring device
JPS6113627B2 (en)
KR100477138B1 (en) Personal computer systems
JPH0758470B2 (en) Virtual machine interrupt control method
JPH07182203A (en) Microcomputer development supporting device
JPH0540510A (en) Controller
JPH03257638A (en) Multiprocessor control system
JPS63216162A (en) Debugging system
JPH05274173A (en) Pseudo fault setting system
JPH04246737A (en) In-circuit emulator
JPH0594328A (en) Debugger and emulator
JPH01286598A (en) Exchange program debugging system
JPH08179958A (en) Electronic device for control
JPS62151943A (en) Test system for microcomputer
JPH02129730A (en) Fault processor