JPH034338A - Debug system for information processor - Google Patents
Debug system for information processorInfo
- Publication number
- JPH034338A JPH034338A JP1137501A JP13750189A JPH034338A JP H034338 A JPH034338 A JP H034338A JP 1137501 A JP1137501 A JP 1137501A JP 13750189 A JP13750189 A JP 13750189A JP H034338 A JPH034338 A JP H034338A
- Authority
- JP
- Japan
- Prior art keywords
- debugging
- debug
- program
- information processing
- ram
- 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
Links
- 230000010365 information processing Effects 0.000 claims description 43
- 238000000034 method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 5
- 101150065817 ROM2 gene Proteins 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、デバッグ作業を容易に行なうことができる情
報処理装置のデバッグ作業に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to debugging of an information processing device, which allows debugging to be performed easily.
(従来の技術)
従来、情報処理装置のデバッグや故障診断のためには、
情報処理装置内の主制御素子をICソケットから引き抜
いて、このICソケットにデバッグ装置のコネクタを接
続するようにしていた。また、従来の情報処理装置とし
てデバッグ用のインタフェースを備えたものもあった。(Prior art) Conventionally, for debugging and fault diagnosis of information processing equipment,
The main control element within the information processing device is pulled out from the IC socket, and the connector of the debugging device is connected to this IC socket. Furthermore, some conventional information processing devices were equipped with a debugging interface.
第2図は、従来の情報処理装置の構成を示すブロック図
である。FIG. 2 is a block diagram showing the configuration of a conventional information processing device.
図示の情報処理装置は、制御部1と、リード・オンリ・
メモリ(以下、ROMという)2と、ランダム・アクセ
ス・メモリ(以下、RAMという)3と、常用インタフ
ェースコントローラ4と、デバッグ用インタフェースコ
ントローラ5等から成る。The illustrated information processing device includes a control unit 1, a read-only
It consists of a memory (hereinafter referred to as ROM) 2, a random access memory (hereinafter referred to as RAM) 3, a regular interface controller 4, a debugging interface controller 5, and the like.
制御部1は、プロセッサ11と、レジスタ12とから成
る。The control unit 1 includes a processor 11 and a register 12.
プロセッサ11は、RAM3に格納されたデータをレジ
スタ12に取出して演算処理し、RAM3に再格納する
。The processor 11 takes out the data stored in the RAM 3 into the register 12, performs arithmetic processing on the data, and stores the data in the RAM 3 again.
レジスタ12は、庵知のように高速の記憶素子から成る
。The register 12 consists of a high speed storage element like Ichi.
ROM2は、通常処理時にプログラムのローディングを
行なうためのローディングプログラムや基本的な制御プ
ログラムを格納している。The ROM 2 stores a loading program for loading programs during normal processing and a basic control program.
RAM3は、通常処理のプログラムやデータ、演算処理
結果等を一時的に格納する。The RAM 3 temporarily stores programs, data, arithmetic processing results, etc. for normal processing.
割込みコントローラ13は、制御部1の割込みレベルを
決定するものである。この割込みコントローラ13は、
デバッグ用インタフェース回路5に接続された割込み信
号線52がハイレベルになったとき、最優先の割込みレ
ベルを決定する。The interrupt controller 13 determines the interrupt level of the control section 1. This interrupt controller 13 is
When the interrupt signal line 52 connected to the debugging interface circuit 5 becomes high level, the highest priority interrupt level is determined.
ステータスレジスタ14は、制御部1のステータス情報
を格納するレジスタである。The status register 14 is a register that stores status information of the control unit 1.
データバス8は、制御部1と、ROM2と、RAM3と
、割込みコントローラ13と、ステータスレジスタ14
と、常用インタフェースコントローラ4と、デバッグ用
インタフェース回路5とに接続されている。The data bus 8 connects the control unit 1, ROM 2, RAM 3, interrupt controller 13, and status register 14.
, a regular interface controller 4, and a debugging interface circuit 5.
アドレスバス9は、制゛御部1と、ROM2と、RAM
3と、ステータスレジスタ14とに接続されている。The address bus 9 connects the control unit 1, ROM2, and RAM.
3 and the status register 14.
常用インタフェースコントローラ4は、例えば、周知の
R3232Cインタフエース用のもので、割込み信号と
データを所定の通信方式で送受信するものである。この
常用インタフェースコントローラ4の一端には、割込み
信号線53及びデータバス8が接続されている。この常
用インタフェースコントローラ4の他端には、常用コネ
クタ6が接続されている。The regular interface controller 4 is, for example, for the well-known R3232C interface, and is used to transmit and receive interrupt signals and data using a predetermined communication method. An interrupt signal line 53 and a data bus 8 are connected to one end of this common interface controller 4. A common connector 6 is connected to the other end of the common interface controller 4 .
デバッグ用インタフェース回路5は、割込み信号線52
、データバス8及びアドレスバス9をそのままデバッグ
用コネクタ7に接続するものである。このため、デバッ
グ用コネクタ7は、例えば、 128ビン程の大きなコ
ネクタとなっている。The debugging interface circuit 5 has an interrupt signal line 52
, the data bus 8 and the address bus 9 are directly connected to the debug connector 7. Therefore, the debugging connector 7 is a large connector with a capacity of, for example, 128 bins.
一方、デバッグ装置は、次のように構成されている。On the other hand, the debug device is configured as follows.
第2図に示すデバッグ装置は、プロセッサ21と、RO
M22と、RAM23と、割込み信号発生回路24と、
デバッグ用インタフェース回路25と、デイスプレィ2
7と、キーボード28と、プリンタ29等から成る。The debug device shown in FIG. 2 includes a processor 21, an RO
M22, RAM23, interrupt signal generation circuit 24,
Debug interface circuit 25 and display 2
7, a keyboard 28, a printer 29, etc.
プロセッサ21は、RAM23に格納されたデバッグ用
プログラムDに従って接続コード35を介して情報処理
装置のデバッグを行なう。The processor 21 debugs the information processing device via the connection code 35 according to the debugging program D stored in the RAM 23.
ROM22は、ファイル30からデバッグ用プログラム
DをRAM23にロードするデバッグ用ローディングプ
ログラムLを格納している。The ROM 22 stores a debug loading program L that loads a debug program D from the file 30 into the RAM 23 .
RAM23は、デバッグ用プログラムD、プロセッサ2
1の演算処理データ及び演算結果を一時的に格納する。The RAM 23 stores the debugging program D and the processor 2.
Temporarily stores the calculation processing data and calculation results of 1.
割込み信号発生回路24は、デバッグ用の割込み信号5
4を発生する。The interrupt signal generation circuit 24 generates an interrupt signal 5 for debugging.
Generates 4.
デバッグ用インタフェース回路25及びデバッグ用コネ
クタ26は、それぞれデバッグ用インタフェース回路5
及びデバッグ用コネクタ7と同様のものである。The debugging interface circuit 25 and the debugging connector 26 are connected to the debugging interface circuit 5, respectively.
and the same as the debugging connector 7.
デイスプレィ27は、デバッグの結果をオペレータに対
し表示するものである。The display 27 displays the results of debugging to the operator.
キーボード28は、オペレータがデバッグ時のパラメー
タの入力等を行なうものである。The keyboard 28 is used by the operator to input parameters during debugging.
プリンタ29は、デバッグの結果を印刷出力するもので
ある。The printer 29 prints out the results of debugging.
ファイル30は、磁気ディスク等から成り、デバッグ用
プログラムD等を格納している。The file 30 is made up of a magnetic disk or the like, and stores a debugging program D and the like.
データバス31は、プロセッサ21と、ROM22と、
RAM23と、デバッグ用インタフェース回路25と、
デイスプレィ27と、キーボード28と、プリンタ29
と、ファイル30とを接続するものである。The data bus 31 connects the processor 21, the ROM 22,
RAM 23, debugging interface circuit 25,
Display 27, keyboard 28, and printer 29
and the file 30.
アドレスバス32は、プロセッサ21と、ROM22と
、RAM23と、デバッグ用インタフェース回路25と
を接続するものである。The address bus 32 connects the processor 21, ROM 22, RAM 23, and debug interface circuit 25.
次に、上述した情報処理装置とデバッグ装置の動作を説
明する。Next, the operations of the above-mentioned information processing device and debugging device will be explained.
デバッグ装置と情報処理装置とは、デバッグ用コネクタ
26及び7によって接続コード35で接続される。デバ
ッグ装置のプロセッサ21が起動されると、ファイル3
oからROM22内のデバッグ用ローディングプログラ
ムLによってRAM23にデバッグ用プログラムDがロ
ードされる。The debug device and the information processing device are connected by a connection cord 35 through debug connectors 26 and 7. When the processor 21 of the debug device is started, the file 3
The debugging program D is loaded into the RAM 23 by the debugging loading program L in the ROM 22 from o.
プロセッサ21は、データバス31及びアドレスバス3
2、デバッグ用インタフェース回路25、デバッグ用コ
ネクタ26、接続コード35、デバッグ用コネクタ7、
デバッグ用インタフェース5、データバス8及びアドレ
スバス9を介してRAM23から制御部1のレジスタ1
2へのデータの書込みと、レジスタ12からRAM23
へのデータの読出し等のデバッグを行なう。The processor 21 has a data bus 31 and an address bus 3.
2, debugging interface circuit 25, debugging connector 26, connection cord 35, debugging connector 7,
The register 1 of the control unit 1 is transferred from the RAM 23 via the debugging interface 5, the data bus 8, and the address bus 9.
Writing data to 2 and writing data from register 12 to RAM 23
Perform debugging such as reading data to.
これらのデータの、書込みや読出しのデバッグの結果は
、デイスプレィ27に表示され、また、プリンタ29か
ら印刷出力される。The debugging results of writing and reading of these data are displayed on the display 27 and printed out from the printer 29.
(発明が解決しようとする課題)
ところが、以上のような情報処理装置のデバッグ方式に
は、次のような問題点があった。(Problems to be Solved by the Invention) However, the above debugging method for an information processing device has the following problems.
即ち、常用のインタフェースの他に、デバッグ用インタ
フェースが存在し、しかも、デバッグ用インタフェース
はアドレス情報も含むため、ハードウェアが増大すると
いう問題があった。That is, in addition to the commonly used interface, there is a debugging interface, and since the debugging interface also includes address information, there is a problem in that the amount of hardware increases.
また、デバッグ用インタフェースを設けない場合は、プ
ロセッサ11をICソケットから引き抜いて、このIC
ソケットに直接デバッグ装置を接続しなければならない
。このためには、情報処理装置を分解しなければならな
いので、デバッグ作業が非常に煩わしくなるという問題
があった。In addition, if a debugging interface is not provided, pull out the processor 11 from the IC socket and connect it to the IC.
You must connect a debug device directly to the socket. This requires disassembling the information processing device, which poses a problem in that debugging becomes extremely troublesome.
本発明は以上の点に着目してなされたもので、ハードウ
ェアを簡単にし、デバッグ作業を容易に行なえるように
した情報処理装置を提供することを目的とするものであ
る。The present invention has been made in view of the above points, and it is an object of the present invention to provide an information processing device that has simplified hardware and facilitates debugging.
(課題を解決するための手段)
本発明の情報処理装置のデバッグ方式は、情報処理装置
側に、デバッグ装置を接続する汎用インタフェースと、
当該デバッグ装置からデバッグ用プログラムをローディ
ングするとき、ローディング処理を行なうためのデバッ
グ用ローディングプログラムを格納したリード・オンリ
・メモリと、前記デバッグ用プログラムを格納するラン
ダム・アクセス・メモリとを備え、前記デバッグ装置側
に、前記情報処理装置に接続する汎用インタフェースと
、当該情報処理装置に前記デバッグ用プログラムを送信
するプロセッサとを備え、前記デバッグ用プログラムに
従って前記情報処理装置がデバッグを行なうことを特徴
とするものである。(Means for Solving the Problems) A debugging method for an information processing device according to the present invention includes a general-purpose interface for connecting the debugging device to the information processing device side;
When loading a debugging program from the debugging device, the debugging device includes a read-only memory storing a debugging loading program for performing loading processing, and a random access memory storing the debugging program; A device side is provided with a general-purpose interface that connects to the information processing device, and a processor that sends the debugging program to the information processing device, and the information processing device debugs according to the debugging program. It is something.
(作用)
以上の情報処理装置においては、デバッグ装置から汎用
インタフェースを介してデバッグ用プログラムが送られ
る。情報処理装置においては、第1図に示すように、R
OM2に格納されたデバッグ用ローディングプログラム
Lにより汎用インタフェースを介してデバッグ装置から
デバッグ用プログラムDをRAM3に格納する。そして
、制御部1がデバッグ用プログラムDに従って、RAM
3からレジスタ12へのデータの書込み、及びレジスタ
12からRAM3へのデータの読み込み等のデバッグを
行なう。その後、制御部1は、レジスタ12のデータの
書込みや読み込み等のデバッグの結果を、汎用インタフ
ェースを介してデバッグ装置に送る。(Operation) In the above information processing device, a debugging program is sent from the debugging device via the general-purpose interface. In an information processing device, as shown in FIG.
A debugging program D is stored in the RAM 3 from the debugging device via the general-purpose interface using the debugging loading program L stored in the OM2. Then, the control unit 1 stores the RAM in accordance with the debugging program D.
3 to the register 12, and reading data from the register 12 to the RAM 3. Thereafter, the control unit 1 sends the results of debugging such as writing and reading data in the register 12 to the debugging device via the general-purpose interface.
(実施例)
第1図は、本発明の情報処理装置のデバッグ方式の実施
例を示すブロック図である。(Embodiment) FIG. 1 is a block diagram showing an embodiment of a debugging method for an information processing apparatus according to the present invention.
図示の情報処理装置は、制御部1と、ROM2と、RA
M3と、汎用インタフェースコントローラ4等から成る
。The illustrated information processing device includes a control unit 1, a ROM 2, and an RA.
It consists of M3, general-purpose interface controller 4, etc.
制御部1は、従来と同様に、プロセッサ11と、レジス
タ12とから成る。その詳細については、重複する説明
を省略する。The control unit 1 includes a processor 11 and a register 12 as in the conventional case. Duplicate explanations of the details will be omitted.
ROM2は、通常処理時にプログラムのローディングを
行なうためのローディングプログラムや基本的な制御プ
ログラムを格納している。これに加えて、ROM2は、
デバッグ時にデバッグ用プログラムDのローディングを
行なうためのデバッグ用ローディングプログラムLを格
納している。The ROM 2 stores a loading program for loading programs during normal processing and a basic control program. In addition to this, ROM2 is
A debug loading program L for loading a debug program D during debugging is stored.
RAM3は、通常処理のプログラムやデータ、演算処理
結果等を一時的に格納する。これに加えて、RAM3は
、デバッグ用プログラムDやデバッグ時のデータ、デバ
ッグ結果等を一時的に格納する。The RAM 3 temporarily stores programs, data, arithmetic processing results, etc. for normal processing. In addition, the RAM 3 temporarily stores the debugging program D, debugging data, debugging results, and the like.
汎用インタフェースコントローラ41は、例えば、R5
232Cインタフエース用のもので、割込み信号とデー
タを所定の通信方式で送受信するものである。この汎用
インタフェースコントローラ41には、汎用コネクタ4
2が接続されている。The general-purpose interface controller 41 is, for example, R5.
It is for the H.232C interface and transmits and receives interrupt signals and data using a predetermined communication method. This general-purpose interface controller 41 includes a general-purpose connector 4.
2 are connected.
汎用インタフェースコントローラ41から出力される割
込み信号は、割込みレベル変換部15を介して割込みコ
ントローラ13に入力される。The interrupt signal output from the general-purpose interface controller 41 is input to the interrupt controller 13 via the interrupt level converter 15.
第3図は、割込みレベル変換部15の詳細な構成を示す
回路図である。FIG. 3 is a circuit diagram showing a detailed configuration of the interrupt level converter 15. As shown in FIG.
割込みレベル変換部15は、フリップフロップ61と、
2つのアンドゲート62.63とから成る。The interrupt level converter 15 includes a flip-flop 61 and
It consists of two AND gates 62 and 63.
フリップフロップ15の入力端子には、データ線64及
びトリガ信号線65が接続されている。A data line 64 and a trigger signal line 65 are connected to the input terminal of the flip-flop 15.
また、フリップフロップ15の出力端子及び反転出力端
子は、アンドゲート62及び63のそれぞれの一方の入
力端子に接続されている。Further, the output terminal and the inverted output terminal of the flip-flop 15 are connected to one input terminal of each of the AND gates 62 and 63.
トリガ信号線65を介′してのトリガ信号の入力により
、割込み信号線51がデバッグ時は割込み信号線52に
接続され、通常時は割込み信号線53に接続されるよう
にされる。このような信号線の切替は、情報処理装置に
設けられた切替スイッチ(図示省略)またはソフトウェ
アにより行なわれる。By inputting a trigger signal via the trigger signal line 65, the interrupt signal line 51 is connected to the interrupt signal line 52 during debugging, and to the interrupt signal line 53 during normal times. Such signal line switching is performed by a changeover switch (not shown) provided in the information processing device or by software.
第4図は、割込みレベル変換部の他の例を示す回路図で
ある。FIG. 4 is a circuit diagram showing another example of the interrupt level converter.
この図に示す割込みレベル変換部は、ショートプラグ6
6により構成されている。このようなショートプラグ6
6によれば、ハードウェアを最小化することができる。The interrupt level converter shown in this figure is the short plug 6.
6. Short plug like this 6
According to No. 6, the hardware can be minimized.
ここで、第1図の説明に戻る。Here, we return to the explanation of FIG.
割込みコントローラ13は、制御部1で行なわれる処理
の優先度に応じて、割込み信号のレベルを決定する。割
込み信号線52がハイレベルのときは、デバッグを正確
に行なうため、最優先の割込みレベルが決定される。The interrupt controller 13 determines the level of the interrupt signal according to the priority of the processing performed by the control unit 1. When the interrupt signal line 52 is at a high level, the highest priority interrupt level is determined to ensure accurate debugging.
また、従来と同様に、ステータスレジスタ14は、制御
部1のステータス情報を格納するレジスタである。Further, as in the prior art, the status register 14 is a register that stores status information of the control unit 1.
一方、デバッグ装置は、次のように構成されている。On the other hand, the debug device is configured as follows.
第1図に示すデバッグ装置は、プロセッサ21と、RO
M22と、RAM23と、割込み信号発生回路24と、
汎用インタフェースコントローラ43と、デイスプレィ
27と、キーボード28と、プリンタ29等から成る。The debug device shown in FIG. 1 includes a processor 21, an RO
M22, RAM23, interrupt signal generation circuit 24,
It consists of a general-purpose interface controller 43, a display 27, a keyboard 28, a printer 29, and the like.
プロセッサ21は、RAM23に格納されたデバッグ用
プログラムに従って汎用インタフェース43、汎用コネ
クタ44、接続コード45、汎用コネクタ42及び汎用
インタフェースコントローラ41を介してRAM23内
のデバッグ用プログラムDを情報処理装置に送る。The processor 21 sends the debugging program D in the RAM 23 to the information processing device via the general-purpose interface 43, the general-purpose connector 44, the connection code 45, the general-purpose connector 42, and the general-purpose interface controller 41 in accordance with the debugging program stored in the RAM 23.
ROM22は、ファイル30からデバッグ用プログラム
DをRAM23にロードするデバッグ用ローディングプ
ログラムLを格納している。The ROM 22 stores a debug loading program L that loads a debug program D from the file 30 into the RAM 23 .
RAM23は、デバッグ用プログラムD、プロセッサ2
1の演算処理データ及び演算結果を一時的に格納する。The RAM 23 stores the debugging program D and the processor 2.
Temporarily stores the calculation processing data and calculation results of 1.
割込み信号発生回路24は、デバッグ用の割込み信号を
発生する。The interrupt signal generation circuit 24 generates an interrupt signal for debugging.
汎用インタフェースコントローラ43及び汎用コネクタ
44は、それぞれ汎用インタフェースコントローラ41
及び汎用コネクタ42と同様のものである。The general-purpose interface controller 43 and the general-purpose connector 44 are connected to the general-purpose interface controller 41, respectively.
and the general-purpose connector 42.
デイスプレィ27、キーボード28、プリンタ29及び
ファイル30は、従来のものと同様であるので、重複す
る説明を省略する。The display 27, keyboard 28, printer 29, and file 30 are the same as those of the conventional ones, so a redundant explanation will be omitted.
データバス31は、プロセッサ21と、ROM22と、
RAM23と、汎用インタフェース回路43と、デイス
プレィ27と、キーボード28と、プリンタ29と、フ
ァイル3oとを接続するものである。The data bus 31 connects the processor 21, the ROM 22,
It connects the RAM 23, the general-purpose interface circuit 43, the display 27, the keyboard 28, the printer 29, and the file 3o.
アドレスバス32は、プロセッサ21と、ROM22と
、RAM23とを接続するものである。The address bus 32 connects the processor 21, ROM 22, and RAM 23.
次に、上述した情報処理装置とデバッグ装置の動作を説
明する。Next, the operations of the above-mentioned information processing device and debugging device will be explained.
デバッグ装置と情報処理装置とは、汎用コネクタ44.
42によって接続コード45で接続される。デバッグ装
置側では、プロセッサ21が起動されると、ファイル3
0からROM22内のデバッグ用ローディングプログラ
ムLによってRAM23にデバッグ用プログラムDがロ
ードされる。The debug device and the information processing device are connected to the general-purpose connector 44.
42 and is connected by a connection cord 45. On the debugging device side, when the processor 21 is started, the file 3
0, a debugging program D is loaded into the RAM 23 by a debugging loading program L in the ROM 22.
デバッグ装置のプロセッサ21は、接続コード45を介
して、デバッグ用割込み信号54、RAM23内のデバ
ッグ用プログラムD及びデバッグ用データを情報処理装
置へ送る。デバッグ装置から送信されるデバッグ用プロ
グラムD及びデバッグ用データは、情報処理装置により
、ROM2に格納されたデバッグ用ローディングプログ
ラムLに従ってRAM3に格納される。The processor 21 of the debug device sends the debug interrupt signal 54, the debug program D in the RAM 23, and the debug data to the information processing device via the connection code 45. The debug program D and debug data transmitted from the debug device are stored in the RAM 3 by the information processing device according to the debug loading program L stored in the ROM 2.
デバッグの際は、デバッグ装置の割込み信号発生回路2
4がデバッグ用割込み信号54を出力する。情報処理装
置側では、オペレータが図示しない切替スイッチを切替
えることにより、割込みレベル変換部15が割込み信号
線51を割込み信号線52に接続するようはされている
。これにより、割込みコントローラ13が最優先の割込
みレベルを決定し、制御部1は、すべての処理に優先し
てデバッグ処理を行なう。When debugging, interrupt signal generation circuit 2 of the debug device
4 outputs a debugging interrupt signal 54. On the information processing device side, the interrupt level converter 15 connects the interrupt signal line 51 to the interrupt signal line 52 by an operator switching a changeover switch (not shown). As a result, the interrupt controller 13 determines the highest priority interrupt level, and the control unit 1 performs debugging processing with priority over all other processing.
制御部1は、デバッグ用プログラムDに従って、汎用イ
ンタフェースからの送信データのコードに応じたデバッ
グを行なう。The control unit 1 performs debugging according to the code of the data transmitted from the general-purpose interface according to the debugging program D.
即ち、汎用インタフェースの送信データのコードが情報
処理装置内のレジスタ読出しを示すコードのとき、制御
部1は、このコードの後に続くデータを読出すべきレジ
スタを識別するための識別コードだと認識する。そして
、この識別コードにより指定されたレジスタのデータを
読出し、汎用インタフェースを介してデバッグ装置に返
送する。That is, when the code of the transmission data of the general-purpose interface is a code indicating reading of a register in the information processing device, the control unit 1 recognizes that the data following this code is an identification code for identifying the register to be read. . Then, the data in the register specified by this identification code is read and sent back to the debug device via the general-purpose interface.
一方、汎用インタフェースの送信データのコードが情報
処理装置内のレジスタ書込みを示すコードのとき、制御
部1は、このコードに続いて、レジスタの識別コード及
び書込みデータを受取る。On the other hand, when the code of the transmission data of the general-purpose interface is a code indicating writing to a register within the information processing device, the control unit 1 receives the register identification code and write data following this code.
そして、識別コードにより指定されたレジスタヘデータ
を書込む、その後、書込み終了を示すコードをデバッグ
装置に返送する。Then, data is written into the register specified by the identification code, and then a code indicating completion of writing is returned to the debug device.
同様に、RAM3等の情報処理装置内で制御部1が読出
し及び書込みが可能な記憶装置は、読出し及び書込みの
デバッグを行なうことができる。Similarly, a storage device such as RAM 3 in the information processing device that can be read and written by the control unit 1 can perform reading and writing debugging.
以上のようなデータの読出しや書込みのデバッグの結果
は、デバッグ装置のデイスプレィ27に表示され、また
、プリンタ29から印刷出力される。The results of debugging data reading and writing as described above are displayed on the display 27 of the debugging device and printed out from the printer 29.
本発明の情報処理装置は、以上の実施例に限定されない
。The information processing device of the present invention is not limited to the above embodiments.
即ち、上述した実施例においては、デバッグの結果がデ
バッグ装置のデイスプレィ等に表示されるようにしたが
、これに限らず、情報処理装置にデイスプレィ等がある
場合は、これに表示されるようにしても差し支えない。That is, in the above-described embodiment, the debugging results are displayed on the display of the debugging device, but the present invention is not limited to this, and if the information processing device has a display, the debugging results can be displayed on the display. There is no problem.
(発明の効果)
以上の構成の本発明の情報処理装置のデバッグ方式によ
れば、情報処理装置がデバッグ用ローディングプログラ
ムを格納し、デバッグ装置から汎用インタフェースを介
′してデバッグ用プログラムを格納し、このデバッグ用
プログラムにより自身でデバッグするようにしたので、
デバッグ用インタフェースを省略でき、ハードウェアの
削減を図ることができる。また、デバッグ用インタフェ
ースを備えていない情報処理装置については、装置を分
解して制御素子のICソケットにデバッグ装置を接続す
る等の煩雑な作業を省くことができる。(Effects of the Invention) According to the debugging method for an information processing device of the present invention configured as described above, the information processing device stores a debugging loading program, and the debugging program is stored from the debugging device via a general-purpose interface. , I decided to debug it myself using this debugging program, so
The debugging interface can be omitted and the amount of hardware can be reduced. Furthermore, for information processing devices that are not equipped with a debugging interface, it is possible to eliminate the complicated work of disassembling the device and connecting the debugging device to the IC socket of the control element.
第1図は本発明の情報処理装置のデバッグ方式を説明す
るブロック図、第2図は従来の情報処理装置のデバッグ
方式を説明するブロック図、第3図は第1図の割込み変
換部の詳細な構成を示す回路図、第4図は第1図の割込
み変換部の他の例を示す回路図である。
1・・・制御部、2・・・リード・オンリ・メモリ、3
・・・ランダム・アクセス・メモリ、21・・・プロセ
ッサ、
41.43・・・汎用インタフェースコントローラ、4
2.44・・・汎用コネクタ、45・・・接続コード、
L・・・デバッグ用ローディングプログラム、D・・・
デバッグ用プログラム。FIG. 1 is a block diagram explaining the debugging method of the information processing device of the present invention, FIG. 2 is a block diagram explaining the debugging method of the conventional information processing device, and FIG. 3 is the details of the interrupt converter shown in FIG. 1. FIG. 4 is a circuit diagram showing another example of the interrupt converter shown in FIG. 1. 1...Control unit, 2...Read-only memory, 3
...Random access memory, 21...Processor, 41.43...General-purpose interface controller, 4
2.44...General-purpose connector, 45...Connection cord,
L...Loading program for debugging, D...
Program for debugging.
Claims (1)
ングするとき、 ローディング処理を行なうためのデバッグ用ローディン
グプログラムを格納したリード・オンリ・メモリと、 前記デバッグ用プログラムを格納するランダム・アクセ
ス・メモリとを備え、 前記デバッグ装置側に、 前記情報処理装置に接続する汎用インタフェースと、 当該情報処理装置に前記デバッグ用プログラムを送信す
るプロセッサとを備え、 前記デバッグ用プログラムに従って前記情報処理装置が
デバッグを行なうことを特徴とする情報処理装置。[Claims] An information processing device includes: a general-purpose interface for connecting a debug device; and a read-only interface that stores a debug loading program for performing loading processing when loading a debug program from the debug device. a memory, and a random access memory for storing the debugging program, and the debugging device includes: a general-purpose interface for connecting to the information processing device; and a processor for transmitting the debugging program to the information processing device. An information processing device comprising: the information processing device debugging according to the debugging program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1137501A JPH034338A (en) | 1989-06-01 | 1989-06-01 | Debug system for information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1137501A JPH034338A (en) | 1989-06-01 | 1989-06-01 | Debug system for information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH034338A true JPH034338A (en) | 1991-01-10 |
Family
ID=15200141
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1137501A Pending JPH034338A (en) | 1989-06-01 | 1989-06-01 | Debug system for information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH034338A (en) |
-
1989
- 1989-06-01 JP JP1137501A patent/JPH034338A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4633417A (en) | Emulator for non-fixed instruction set VLSI devices | |
| CN100386743C (en) | A debugging method and system for an embedded system | |
| US6708289B1 (en) | Microcomputer, electronic equipment and debugging system | |
| JPH02224140A (en) | Interrupt test equipment | |
| JP2003263337A (en) | Microcomputer with built-in debug function | |
| US5655111A (en) | In-circuit emulator | |
| JPS58129568A (en) | Computer system with auxiliary service computor | |
| US4807178A (en) | Programmable sequence controller having indirect and direct input/output apparatus | |
| JPH034338A (en) | Debug system for information processor | |
| US7089140B1 (en) | Programmable logic device and method of testing a programmable logic device | |
| JP2584903B2 (en) | External device control method | |
| JP2659366B2 (en) | Debugging method and device | |
| JPS6238746B2 (en) | ||
| JPS62241041A (en) | Information processor | |
| JPH0587850B2 (en) | ||
| JPS6042496B2 (en) | Parity error processing method | |
| JP2954006B2 (en) | Emulation device and emulation method | |
| JPH11167501A (en) | Program debugging system and program debugging method | |
| JPH07121396A (en) | emulator | |
| JPS6214240A (en) | Program inspecting system | |
| JPH0529936B2 (en) | ||
| JPH1040133A (en) | Software simulator | |
| JP2000181699A (en) | Program processing control method and digital signal processing device | |
| JPH09293000A (en) | In-circuit emulator device | |
| JPS58123150A (en) | Data processing system |