JPS59229651A - Device for developing system - Google Patents

Device for developing system

Info

Publication number
JPS59229651A
JPS59229651A JP58102571A JP10257183A JPS59229651A JP S59229651 A JPS59229651 A JP S59229651A JP 58102571 A JP58102571 A JP 58102571A JP 10257183 A JP10257183 A JP 10257183A JP S59229651 A JPS59229651 A JP S59229651A
Authority
JP
Japan
Prior art keywords
memory
break
signal
brake
execution
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
JP58102571A
Other languages
Japanese (ja)
Inventor
Yuji Oota
祐二 太田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58102571A priority Critical patent/JPS59229651A/en
Publication of JPS59229651A publication Critical patent/JPS59229651A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To form a precise brake signal with a simple constitution by providing the titled device with a memory which is simultaneously selected in accordance with a memory access from a computer system developing the system. CONSTITUTION:The brake memory BM to be simultaneously selected in accordance with a memory access from the computer system developing the system is prepared. The contents of the brake memory BM are successively read out in accordance with the execution of a program. The brake memory BM supplies a brake signal allowing the execution to be continued if the read-out signal is ''0'' or stopping the execution if ''1'' to a brake control circuit BC. Receiving the brake signal, the brake control circuit BC stops the execution of the program in the microprocessor MCU.

Description

【発明の詳細な説明】 〔技術分野〕 この発明は、システム開発装置に関するもので、例えば
、ICE(インサーキット・エミュレータ)又はASE
 (アダプティブ・システム・エバリエター)のような
マイクロコンピュータのシステム開発装置に有効な技術
に関するものである。
Detailed Description of the Invention [Technical Field] The present invention relates to a system development device, such as an ICE (in-circuit emulator) or an ASE
This invention relates to technology that is effective for microcomputer system development devices such as the Adaptive System Evaluator (Adaptive System Evaluator).

〔背景技術〕[Background technology]

マイクロコンピュータを使ったシステムにおいては、小
規模なシステムで必要な機能しか備えていないのが普通
である。これに対してその情報処理は複雑になるため、
このようなシステムのデバッグにはシンクロスコープや
ロジックアナライザだけでは不十分で、プログラムの暴
走や再現性の乏しいシステム異常には対処しきれない。
Systems using microcomputers are usually small-scale and equipped with only the necessary functions. On the other hand, since the information processing becomes complicated,
Synchroscopes and logic analyzers alone are insufficient for debugging such systems, and cannot deal with runaway programs or system abnormalities that are poorly reproducible.

このようなシステムのデバッグ等には、プログラムの流
れを表示すること、ユーザーシステムが停止した直前の
バス情報及び外部信号を複数サイクルにわたっ°C取得
・表示すること等の機能を持った装置が必要となる。こ
のようなシステムのデバッグ等に用いられるのがICE
又はASE装置である。
For debugging such a system, a device with functions such as displaying the flow of the program and acquiring and displaying the bus information and external signals just before the user system stopped over multiple cycles in °C is required. It becomes necessary. ICE is used for debugging such systems.
Or an ASE device.

ICE又はASHに要求される機能の1つとして、特定
のプログラムステップにおいて、その実行を停止(ブレ
ーク)させる機能がある。このような機能を実現するた
め、例えば、特定の命令語を指定しておいて、実行中の
命令語とを比較することによっ°ζ上記ブレーク信号を
形成することが考えられる。しかし、この方式では、次
のような問題の生じることが本願発明者の研究によって
明らかにされた。  、 すなわち、複数種類の命令語でその実行を停止させる時
、その数に応じたラッチ回路とコンパレータが必要にな
ってしまう。また、命令語のみで判断するので、的確な
ブレークを行うことができくなってしまう。
One of the functions required of ICE or ASH is the ability to stop (break) the execution of a specific program step. In order to realize such a function, for example, it is conceivable to designate a specific instruction word and to form the above-mentioned break signal by comparing it with the instruction word being executed. However, research by the inventor of the present application has revealed that this method causes the following problems. That is, when stopping execution using multiple types of command words, latch circuits and comparators corresponding to the number of command words are required. Further, since the judgment is made only based on the command word, it becomes impossible to perform an accurate break.

〔発明の目的〕[Purpose of the invention]

この発明の目的は、簡単な構成により使い易いブレーク
機能を持ったシステム開発製筒を゛提供することにある
An object of the present invention is to provide a system development cylinder having a simple configuration and an easy-to-use break function.

この発明の前記ならびにその他の目的と新規な特徴は、
この明細書の記述および添付図面から明らかになるであ
ろう。
The above and other objects and novel features of this invention include:
It will become clear from the description of this specification and the accompanying drawings.

〔発明の概要〕[Summary of the invention]

本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば、下記の通りである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、システム開発を行うコンピュータシステムの
メモリアクセスに従って同時に選択されるメモリを設け
て、ブレークしたい箇所のアドレス部分に“1″又は“
0″のブレーク信号を書込み、その読み出しによりブレ
ーク信号を形成するものである。
In other words, provide a memory that is simultaneously selected according to the memory access of the computer system for system development, and write "1" or "" in the address part of the location where you want to break.
A break signal of 0'' is written and read out to form a break signal.

〔実施例〕〔Example〕

第1図には、この発明の一実施例を示すASHの概略外
観が示されている。
FIG. 1 shows a schematic external appearance of an ASH showing an embodiment of the present invention.

ボックスBOXには、上記ASEを構成するマイクロプ
ロセッサかを含まれており、MCU (マイクロプロセ
ッサ)コネクタ付きフラットケーブルを介してシステム
デバッグを行うべきユーザーシステムUMCのマイクロ
プロセッサMCU用のソケットに接続される。そして、
他方のフラットケーブルにより、システム開発装置EM
Sに接続されるものである。なお、特に制限されないが
、ユーザーシステム[J M Cが実際に動作される場
合には、そのマイクロプロセッサMCU用ソケットには
、ユーザーの望むプログラムが書込まれたROMをその
内部に持つ1チツプのマイクロブ17セツサMCU(マ
イクロコンピユー・クユニソHが実装される。
The box box contains the microprocessor that constitutes the ASE, and is connected to the microprocessor MCU socket of the user system UMC for system debugging via a flat cable with an MCU (microprocessor) connector. . and,
The other flat cable connects the system development equipment EM.
It is connected to S. Note that, although there are no particular restrictions, when the user system [JMC] is actually operated, its microprocessor MCU socket is equipped with a one-chip ROM containing a ROM in which the user's desired program is written. Microb 17 Setusa MCU (Microcomputer Kuuniso H is installed.

このような接続により、上記ボックスBOXのマイクロ
プロセッサは、上記システム開発装置EMSに含まれる
フロンピーディスク等の開発プログラム等に従って動作
するものであり、イ;・髪なデータの入力、プログラム
の作成、変更等はシステム開発装置EMSに結合されi
こキーボード等により行われ、必要なデータは、システ
ム開発装6:に結合されたディスプレイ装置等によって
表示される。
With such a connection, the microprocessor of the box box operates according to the development program, etc. on the floppy disk included in the system development device EMS, and performs various functions such as inputting data, creating programs, etc. Changes, etc. are integrated into the system development equipment EMS.
This is performed using a keyboard or the like, and the necessary data is displayed on a display device or the like connected to the system development device 6:.

第2図には、上記ブレーク凧能を説明する〕こめのシス
テムブlコフク図が示され°Cいる。
FIG. 2 shows a system diagram explaining the above-mentioned break kite function.

マイクロプロセッサMCUは、RAM (ランダム・ア
クセス・メモリ)を主記憶装置として、その特定のメモ
リエリアに書込まれたプログラムに従って所定のデータ
処理を行う。この実施例では、上記RAMと同じメモリ
空間を有するブレークメモリBMが設けられている。こ
のブレークメモリBMは、特に制限されないが、×1ビ
ット構成のRAMが用いられる。また、特に制限されな
いが、上記上記1Q装置における空きビットを利用する
ことが便利である。
The microprocessor MCU uses a RAM (random access memory) as its main storage and performs predetermined data processing according to a program written in a specific memory area. In this embodiment, a break memory BM having the same memory space as the RAM is provided. Although this break memory BM is not particularly limited, a RAM having a ×1 bit configuration is used. Further, although not particularly limited, it is convenient to utilize empty bits in the 1Q device.

この実施例では、プログラムデパック等のために、予め
ブレークしたいプログラムステップのアドレスを抜き出
しておいて、そのアトL/スをth定して、ブレークメ
モリBMに例えば1″を書込み、ブレークメモリBMの
他の部分は全て“0”にしておくものである。このよう
なブレーク信号のブレークメモリBMへの書込みは、例
えばソフトウェアによって、特定の命令語に対応したビ
ットパターンが得られるアドレスを検出して、自動的に
上記ブレーク信号の1”を書込むことによって行われる
In this embodiment, for program depacking, etc., the address of the program step to be broken is extracted in advance, the address L/th is determined, and 1'', for example, is written in the break memory BM. All other parts are set to "0". Writing such a break signal to the break memory BM is performed by, for example, software detecting an address where a bit pattern corresponding to a specific instruction word can be obtained. This is done by automatically writing the above break signal to 1''.

このような準備操作の後に、そのプログラムを実行させ
る。このプログラム実行に従って、上記ブレークメモリ
BMの内容が次々に読み出される。
After such preparatory operations, the program is executed. According to this program execution, the contents of the break memory BM are read out one after another.

そして、その読み出し信号が“0″ならばその実行を継
続させ、“1”ならばその実行を停止させるブレーク信
号Bをブレーク制御回路BCに供給するものである。ブ
レーク制御回路BCは、ブレーク信号Bが供給されるこ
とによって、マイクロプロセッサMCUのプログラム実
行を停止させ、例えばそのときのバス情頼等を表示する
Then, if the read signal is "0", the execution is continued, and if it is "1", the break signal B is supplied to the break control circuit BC, which causes the execution to be stopped. When the break control circuit BC is supplied with the break signal B, the break control circuit BC stops the program execution of the microprocessor MCU, and displays, for example, the bus information at that time.

ソフトウェアによって自動的にブレーク箇所を指定した
場合には、その命令語と同じビット構成ビットパターン
)のデータが書込まれたデータエリアに対してもブレー
ク信号が書込まれてしまう。
If a break location is automatically designated by software, a break signal will also be written to a data area where data with the same bit configuration (bit pattern) as that instruction word has been written.

そのため、この実施例では、マイクロプロセッサMCU
で形成された命令フェッチ信号LIRによって制御され
るゲート回路Gを通して、上記ブレークメモリBMから
のブレーク信号Bをブレーク制御回路BCに送出するよ
うにしている。これによって、上記設定したブレーク箇
所において正確にプログラムの実行を停止させることが
できる。
Therefore, in this embodiment, the microprocessor MCU
The break signal B from the break memory BM is sent to the break control circuit BC through the gate circuit G controlled by the instruction fetch signal LIR formed by the break memory BM. As a result, execution of the program can be stopped accurately at the break point set above.

なお、特に制限されないが、システムデバッグのとき、
マイクロプロセッサMCUは、内部ROMに書込まれた
プログラムによって動作するのではなく、RA Mに書
込才れたプログラムに従って動作するものである。
Although there are no particular restrictions, when debugging the system,
The microprocessor MCU operates not according to a program written in an internal ROM, but according to a program written in a RAM.

〔効 果〕〔effect〕

(11メモリアドレス空間と同しアトl/ス空間にブレ
ークメモリを設けることによって、直接ブレーク信号を
書込A、でおくものであるので、任意の複数箇所でのブ
レークを行うことができるという効果が得られる。
(By providing a break memory in the same address space as the 11 memory address space, the break signal is written directly to A, so the effect is that breaks can be made at any number of locations.) is obtained.

(2)上記(1)により、システノ、デバッグ等をすべ
きマイクロコンピュータシステムに対して適用tAWJ
の拡大を図ることができるという効果が得られる。
(2) According to (1) above, tAWJ is applied to microcomputer systems that require system monitoring, debugging, etc.
The effect is that it is possible to increase the number of people.

(3)上記(])及び(2)により、プログラムデバッ
グ等を効率よく行うことができるという効果が得られる
(3) The above (]) and (2) provide the effect that program debugging and the like can be performed efficiently.

(4)主記憶装置の空きビットを利用し7てブレークメ
モリを構成することによって、システムの簡素化を達成
できるという効果が得られる。
(4) By configuring the break memory using empty bits in the main memory, the system can be simplified.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、この発明は上記実施例に限定される
ものではな(、その要旨を逸脱しない範囲で種々変更可
能であることはいうまでもない。例えば、上記ゲート回
路Gを省略するものであってよい、また、ブレークメモ
リBMに@0”を書込むことによって、ブレーク箇所を
指定するようにするものであってもよい。
Although the invention made by the present inventor has been specifically explained based on Examples above, this invention is not limited to the above Examples (although it is possible to make various changes without departing from the gist of the invention). For example, the gate circuit G may be omitted, or the break location may be specified by writing @0'' into the break memory BM.

〔利用分野] この発明は、マイクロコンピュータシステムのシステム
デバッグ等を行う装置として広く利用できるものである
[Field of Application] The present invention can be widely used as a device for performing system debugging of a microcomputer system.

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

第1図は、この発明の一実施例を示すASE装置の概略
外観図、 第2図は、そのブレーク機能を説明するためのシステム
ブロック図である。 BOX・・ボックス、EMS・・システム5[i11装
置装置S、UMC・・ユーザーシステム、MCU・・マ
イクロプロセッサ、BM・・ブレークメモリ、BC・・
ブレーク制御回路、RA M・・主記憶装置、G・・ゲ
ート回路、AD・・アドレスバス、DA・・データパス
FIG. 1 is a schematic external view of an ASE device showing an embodiment of the present invention, and FIG. 2 is a system block diagram for explaining its break function. BOX...Box, EMS...System 5 [i11 device S, UMC...User system, MCU...Microprocessor, BM...Break memory, BC...
Break control circuit, RAM...main memory, G...gate circuit, AD...address bus, DA...data path

Claims (1)

【特許請求の範囲】 1、システム開発を行うコンピュータシステムのメモリ
アクセスに従って同時に選択されるメモリを設け、この
メモリから睨み出された特定の信号をプログラム実行の
ブレーク信号とする回路を含むことを特徴とするシステ
ム開発装置。 2、上記ブレーク信号は、命令フェッチ信号によって制
御されるゲート回路を介して形成されるものであること
を特徴とする特許請求の1a囲第1項記載のシステム開
発装置。 3、上記メモリは、×1ビット構成のRA Mであり、
その記憶情報の“1”又は“0”がブレーク信号として
設定され、及び取り出されるものであることを特徴とす
る特許請求の範囲第1又は第2項記載のシステム開発装
置。 4、上記メモリは、主記憶装置の空きビットを利用する
ものであること/jj’ I+、徴とするf?許請求の
範囲第1、第2又は第3項記載のシステム開発装置。
[Claims] 1. The present invention is characterized by including a circuit that provides a memory that is simultaneously selected according to the memory access of a computer system that performs system development, and uses a specific signal detected from this memory as a break signal for program execution. system development equipment. 2. The system development apparatus according to claim 1, wherein the break signal is generated via a gate circuit controlled by an instruction fetch signal. 3. The above memory is a RAM with a ×1 bit configuration,
3. The system development apparatus according to claim 1, wherein "1" or "0" of the stored information is set and taken out as a break signal. 4. The above memory uses empty bits of the main storage device/jj' I+, f? A system development apparatus according to claim 1, 2, or 3.
JP58102571A 1983-06-10 1983-06-10 Device for developing system Pending JPS59229651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58102571A JPS59229651A (en) 1983-06-10 1983-06-10 Device for developing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58102571A JPS59229651A (en) 1983-06-10 1983-06-10 Device for developing system

Publications (1)

Publication Number Publication Date
JPS59229651A true JPS59229651A (en) 1984-12-24

Family

ID=14330909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58102571A Pending JPS59229651A (en) 1983-06-10 1983-06-10 Device for developing system

Country Status (1)

Country Link
JP (1) JPS59229651A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6234238A (en) * 1985-08-07 1987-02-14 Mitsubishi Electric Corp Microprocessor
JPS6290734A (en) * 1985-10-17 1987-04-25 Sanyo Electric Co Ltd Debugging device
JPH0261719A (en) * 1988-08-27 1990-03-01 Sapiensu:Kk Memory device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6234238A (en) * 1985-08-07 1987-02-14 Mitsubishi Electric Corp Microprocessor
JPS6290734A (en) * 1985-10-17 1987-04-25 Sanyo Electric Co Ltd Debugging device
JPH0261719A (en) * 1988-08-27 1990-03-01 Sapiensu:Kk Memory device
JPH0550013B2 (en) * 1988-08-27 1993-07-27 Sapiensu Kk

Similar Documents

Publication Publication Date Title
EP0165517A2 (en) Emulator for non-fixed instruction set VLSI devices
JPS601643B2 (en) Initialization circuit for digital computers
US5129079A (en) Computer system having subinstruction surveillance capability
JPS59229651A (en) Device for developing system
US3465297A (en) Program protection arrangement
JP3000779B2 (en) Information collection method of processor execution status
JPH01155452A (en) System for confirming connection of data processing system
JPS59202547A (en) Debugging device
JPH0233178B2 (en)
JPS60160447A (en) Programmable controller
JPS626498A (en) Memory appreciating device
JPS60147849A (en) System for debugging microprogram
JPH0588946A (en) History memory write system
JPS6244299B2 (en)
JPS61145652A (en) Program debug device
JPH0792768B2 (en) Microcomputer
JPS61138344A (en) Debugging system
JPS59229607A (en) Programmable controller
JPS59226950A (en) Information processor
JPS6276756A (en) Semiconductor device with self-inspecting circuit
JPH0335696B2 (en)
JPH0272439A (en) Trace system and trace substrate structure of memory contained in mpu chip
JPS63111547A (en) Memory control system
JPS59167766A (en) Memory access system
JPS6019271A (en) Data channel device