JPS6027422B2 - Microcomputer unit testing equipment - Google Patents

Microcomputer unit testing equipment

Info

Publication number
JPS6027422B2
JPS6027422B2 JP52006544A JP654477A JPS6027422B2 JP S6027422 B2 JPS6027422 B2 JP S6027422B2 JP 52006544 A JP52006544 A JP 52006544A JP 654477 A JP654477 A JP 654477A JP S6027422 B2 JPS6027422 B2 JP S6027422B2
Authority
JP
Japan
Prior art keywords
microcomputer unit
circuit
unit
microcomputer
address
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
Application number
JP52006544A
Other languages
Japanese (ja)
Other versions
JPS5391642A (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
Nippon 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP52006544A priority Critical patent/JPS6027422B2/en
Publication of JPS5391642A publication Critical patent/JPS5391642A/en
Publication of JPS6027422B2 publication Critical patent/JPS6027422B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は、電子装置に搭載されたマイクロコンピュータ
ユニットのハードウエアおよびソフトウェア機能試験装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a hardware and software function testing device for a microcomputer unit installed in an electronic device.

従釆、電子装置に搭載されたマイクロコンピュータユニ
ットのハードウエアおよびソフトウエアの機能を、工場
における製造試験時並びに納入先における現地調整時お
よび保守時に試験するためには、マイクロコンピュータ
ユニットの動作を制御するとともにその状態を表示し、
マイクロコンピュータユニットの内部レジスタおよびメ
モリの内容を読み書きする機能を持った制御回路と操作
盤を常時は使用しないにもかかわらず電子装置毎に備え
ておく必要があり、そのため電子装鷹は大形かつ高価に
なるとともに、電子装置の試験時にこれらの制御回路と
操作盤の試験をも行なわなければならないという欠点が
あった。
In order to test the functions of the hardware and software of the microcomputer unit installed in electronic equipment during manufacturing tests at the factory and during on-site adjustments and maintenance at the delivery destination, it is necessary to control the operation of the microcomputer unit. and display its status,
It is necessary to have a control circuit and operation panel for each electronic device, which has the function of reading and writing the contents of the internal registers and memory of the microcomputer unit, even though they are not used all the time. In addition to being expensive, these control circuits and operation panels must also be tested when testing the electronic device.

本発明は、マイクロコンピュータユニットが搭載された
電子装置に必要の都度接続し、外部よりこのマイクロコ
ンピュータユニットの動作を制御するとともにその状態
を表示し、マイクロコンピュータユニットの内部レジス
タとメモリに対して書込みおよび議取りができるマイク
ロコンピュータユニット試験装置を用いることによって
、上記欠点を解決し、電子装置の小形化、経済化を可能
とするとともに工場における製造試験時並びに納入先に
おける現地調整時および保守時において電子装置に搭載
されたマイクロコンピュータユニットのハードウェアお
よびソフトウェア機能試験が能率的に出来る試験装置を
提供するものである。
The present invention connects a microcomputer unit to an electronic device equipped with it whenever necessary, controls the operation of the microcomputer unit from the outside, displays its status, and writes data to the internal registers and memory of the microcomputer unit. By using a microcomputer unit testing device that can conduct and discuss operations, the above-mentioned drawbacks can be solved, making it possible to make electronic devices more compact and economical. The present invention provides a test device that can efficiently test the hardware and software functions of a microcomputer unit installed in an electronic device.

上記目的を達成するための本発明の基本的な構成は、マ
イクロコンピュータユニットを搭載した電子装置に接続
されマイクロコンピュータユニットの入出力信号を試験
装置本体に引き込むための入出力バスケーブルと、露鍵
操作によりマイクロコンピュータユニットの動作を制御
するとともに表示素子により動作の状態が議取れ、同様
にマイクロコンピュータユニットの内部レジスタおよび
メモリに対して書込みおよび読取りが行なえる試験装置
本体とを有する。次に図面を参照して本発明の−実施例
を説明する。
The basic configuration of the present invention to achieve the above object includes an input/output bus cable that is connected to an electronic device equipped with a microcomputer unit and draws input/output signals of the microcomputer unit into the main body of the test equipment, and an open key. The testing apparatus main body is capable of controlling the operation of the microcomputer unit by operation, and the status of the operation can be discussed by means of a display element, and also capable of writing and reading data into and from the internal registers and memory of the microcomputer unit. Next, embodiments of the present invention will be described with reference to the drawings.

図は本発明の一実施例を示すブロック図である。本実施
例は、被制御装置であるマイクロコンピュータユニット
3を搭載し、このマイクロコンピュータユニット3とは
入出力線A,8で接続され、制御される被制御部4を有
する電子装置1と、マイクロコンピュータユニットが現
在実行しているアドレスとあらかじめ設定されたアドレ
スとの比較を行なうアドレス一致検出回路5、マイクロ
コンピュータユニットの動作状態を制御するマイクロコ
ンピュータユニット制御回路6、マイクロコンピュータ
ユニットのメモリの読み書きを行なうダイレクトメモリ
アクセス回路7、マイクロコンピュータユニットへの割
込信号を送出する割込回路8、マイクロコンピュータユ
ニット内のレジスタ内容の読み書きを行なうための強制
割込回路9、マイクロコンピュータユニット試験装置を
操作するための操作部10、入出力信号バスケーブル×
およびYを有するマイクロコンピュータユニット試験装
置2とで構成される。次に本試験装置を用いて、任意の
アドレスよりマイクロコンピュータユニットのプログラ
ムを実行開始させた後、プログラムに割込み、割込処理
が終了した時点でプログラムの実行を停止させ、メモリ
内容を確認するという一連の試験を例にとり、本試験装
置の動作を説明する。
The figure is a block diagram showing one embodiment of the present invention. This embodiment is equipped with a microcomputer unit 3 which is a controlled device, and is connected to the microcomputer unit 3 through input/output lines A and 8, and includes an electronic device 1 having a controlled section 4 to be controlled, and An address match detection circuit 5 that compares the address currently being executed by the computer unit with a preset address, a microcomputer unit control circuit 6 that controls the operating state of the microcomputer unit, and a microcomputer unit control circuit 6 that controls reading and writing of the memory of the microcomputer unit. A direct memory access circuit 7 to perform operations, an interrupt circuit 8 to send an interrupt signal to the microcomputer unit, a forced interrupt circuit 9 to read and write register contents in the microcomputer unit, and a microcomputer unit testing device. Operation unit 10, input/output signal bus cable for
and a microcomputer unit testing device 2 having Y. Next, using this test equipment, after starting the execution of the program in the microcomputer unit from an arbitrary address, interrupting the program, and stopping the execution of the program when the interrupt processing is completed, and checking the memory contents. The operation of this test device will be explained using a series of tests as an example.

まず操作部10の霞鍵操作によりアドレス一致検出回路
5に割込処理終了時点のプログラムアドレスを設定する
。同様にして、ダイレクトメモリアクセス回路7を起動
し、マイクロコンピュータユニット3のメモリヘプ,p
」グラムスタートアドレスデータの書込みを指示すると
、回路7は出力信号バスケーブルYに信号を送出する。
マイクロコンピュータユニット3はこの信号を受信する
と内部メモリの指定されたエリアにこのプログラムスタ
ートアドレスデータを書込む。以上の準備を行なった後
、操作部10の竜鍵を操作し、強制割込回路9を起動す
ると回路9は出力信号バスケーブルYに信号を送出する
。マイクロコンピュータユニット3はこの信号を受信す
るとその内部レジスタの一つであるプログラムカウンタ
の値をあらかじめメモリに設定されているプログラムス
タートアドレスに書き換え、そのアドレスよりプログラ
ムを実行開始する。次に操作部10の亀鍵を操作し、割
込回路8を起動すると回路8は出力信号バスケーブルY
に信号を送出する。マイクロコンピュータユニット3は
この信号を受信すると現在実行中のプログラムを中断し
、割込処理プログラムを実行する。アドレス一致検出回
路5はマイクロコンピュータユニット3が入力信号バス
ケーブルXを通して送って来る現在実行中のプログラム
アドレス情報と先に設定した割込処理終了時点のプログ
ラムアドレスとが一致すると、マイクロコンピュータユ
ニット制御回路6に検出信号を送出するとともに操作部
101こ表示信号を送出する。マイクロコンピュータユ
ニット制御回路6はこの検出信号を受信すると、出力信
号バスケーブルYに制御回路を送出するとともに操作部
10‘こ表示信号を送出する。マイクロコンピュータユ
ニット3はこの制御信号を受信すると、プログラムの実
行を停止し、応答信号を入力信号バスケープルXに送出
する。操作部10は回路5および回路6からの表示信号
並びにこの応答信号を表示素子に表示する。この表示を
確任した後、操作部10の露鍵を操作し、ダイレクトメ
モリアクセス回路7を起動し、マイクロコンピュータユ
ニット3のメモリ内容読取りを指示すると、回路7は出
力信号バスケーブルYに信号を送出する。マイクロコン
ピュータユニット3はこの信号を受信すると、メモIJ
内容を入力信号バスケーブルXに送出する。ダイレクト
メモリアクセス回路7はこのメモリ内容を受信すると操
作部10‘こ表示信号を送出する。操作部10はこの表
示信号を表示素子に表示する。このように本発明のマイ
クロコンピュータユニット試験装置においては、マイク
ロコンピュータユニットが搭載された電子装置に必要の
都度接続することにより、電子装置の外部からマイクロ
コンピュータユニットに対して動作の制御、動作状態の
読取り、内部レジスタおよびメモリへの書込み、議取り
ができ、電子装置毎に本試験装置と同等の機能を持った
制御回路と操作盤を備えておく必要がなく、電子装置の
小形化および経済化の要求を満たし、能率的に電子装置
に搭載されたマイクロコンピュータユニットのハードウ
エアおよびソフトウェア機能試験を行なうことが出来る
First, the program address at the end of the interrupt process is set in the address match detection circuit 5 by operating the Kasumi key on the operation unit 10. Similarly, the direct memory access circuit 7 is activated, and the memory hep, p of the microcomputer unit 3 is activated.
” When the writing of the gram start address data is instructed, the circuit 7 sends a signal to the output signal bus cable Y.
When the microcomputer unit 3 receives this signal, it writes this program start address data into the designated area of the internal memory. After making the above preparations, the forced interrupt circuit 9 is activated by operating the dragon key on the operation unit 10, and the circuit 9 sends a signal to the output signal bus cable Y. When the microcomputer unit 3 receives this signal, it rewrites the value of the program counter, which is one of its internal registers, to a program start address previously set in the memory, and starts executing the program from that address. Next, operate the turtle key on the operation unit 10 to start the interrupt circuit 8, and the circuit 8 will be connected to the output signal bus cable Y.
send a signal to. When the microcomputer unit 3 receives this signal, it interrupts the currently executing program and executes the interrupt processing program. When the address match detection circuit 5 matches the currently running program address information sent from the microcomputer unit 3 through the input signal bus cable 6 and a display signal to the operating section 101. When the microcomputer unit control circuit 6 receives this detection signal, it sends out a control circuit to the output signal bus cable Y and also sends out a display signal to the operating section 10'. When the microcomputer unit 3 receives this control signal, it stops executing the program and sends a response signal to the input signal bus scale X. The operation unit 10 displays the display signals from the circuits 5 and 6 as well as the response signals on a display element. After confirming this display, operate the open key on the operation unit 10 to activate the direct memory access circuit 7 and instruct the microcomputer unit 3 to read the memory contents.The circuit 7 sends a signal to the output signal bus cable Y. Send. When the microcomputer unit 3 receives this signal, the memo IJ
Sends the contents to input signal bus cable X. When the direct memory access circuit 7 receives this memory content, it sends out a display signal to the operating section 10'. The operation unit 10 displays this display signal on a display element. As described above, in the microcomputer unit testing device of the present invention, by connecting the microcomputer unit to the electronic device equipped with it whenever necessary, it is possible to control the operation of the microcomputer unit from outside the electronic device and to check the operating state. It can read, write to internal registers and memory, and conduct discussions, and there is no need for each electronic device to have a control circuit and operation panel with the same functions as this test device, making electronic devices more compact and economical. It is possible to efficiently test the hardware and software functions of microcomputer units installed in electronic devices.

本発明は以上説明したように、入出力バスケーブルと試
験装置本体とにより試験装置を構成することにより、従
来電子装置毎に必要であったマイクロコンピュータユニ
ットを直接制御し操作するための機能を削除し、電子装
置の小形化、経済化を図ることが出来るとともに試験の
能率化を図ることが出釆る。図面の簡単な説明図は本発
明の一実施例を示した、マイクロコンピュータユニット
試験装置の機能ブロック図である。
As explained above, the present invention eliminates the function to directly control and operate the microcomputer unit, which was conventionally required for each electronic device, by configuring the test device with the input/output bus cable and the test device main body. This makes it possible to make electronic devices smaller and more economical, and to improve the efficiency of testing. A simple explanatory diagram of the drawing is a functional block diagram of a microcomputer unit testing device showing one embodiment of the present invention.

1・・・・・・マイクロコンピュータユニットを搭載し
た電子装置、2・・・・・・マイクロコンピュータユニ
ット試験装置、3・・・・・・電子装置に搭載されたマ
イクロコンピュータユニット、4……マイクロコンピュ
ータユニットによって制御される電子装置の一部、5・
・・・・・アドレス一致検出回路、6・・・・・・マイ
クロコンピュータユニット制御回路、7・・・・・・ダ
イレクトメモリアクセス回路、8・・…・割込回路、9
…・・・強制割込回路、10・・・・・・操作部、A・
・・・・・マイクロコンピュータユニットの入力信号線
、B・・・・・・マイク。
1...Electronic device equipped with a microcomputer unit, 2...Microcomputer unit testing device, 3...Microcomputer unit mounted on an electronic device, 4...Micro Part of an electronic device controlled by a computer unit, 5.
... Address match detection circuit, 6 ... Microcomputer unit control circuit, 7 ... Direct memory access circuit, 8 ... Interrupt circuit, 9
...Forced interrupt circuit, 10... Operation unit, A.
...Input signal line of microcomputer unit, B...Microphone.

Claims (1)

【特許請求の範囲】[Claims] 1 試験されるマイクロコンピユータユニツトが現在実
行しているアドレスとあらかじめ設定されたアドレスと
の比較を行なうアドレス一致検出回路と、 前記マイク
ロコンピユータユニツトの動作状態を制御するマイクロ
コンピユータユニツト制御回路と、 前記マイクロコン
ピユータユニツトのメモリの読み書きを行なうダイレク
トメモリアクセス回路と、 前記マイクロコンピユータ
ユニツトへ割込信号を送出する割込回路と、 前記マイ
クロコンピユータユニツト内のレジスタ内容の読み書き
を行なうための強制込回路と、 試験操作情報を入力す
るための操作部と、 前記マイクロコンピユータユニツ
トの入出力信号を引き込むための入出力バスケーブルと
、を備えたことを特徴とするマイクロコンピユータユニ
ツト試験装置。
1. An address match detection circuit that compares the address currently being executed by the microcomputer unit to be tested with a preset address; a microcomputer unit control circuit that controls the operating state of the microcomputer unit; A direct memory access circuit for reading and writing the memory of a computer unit, an interrupt circuit for sending an interrupt signal to the microcomputer unit, a forcing circuit for reading and writing register contents in the microcomputer unit, and a test. A microcomputer unit testing device comprising: an operation section for inputting operation information; and an input/output bus cable for inputting input/output signals of the microcomputer unit.
JP52006544A 1977-01-24 1977-01-24 Microcomputer unit testing equipment Expired JPS6027422B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52006544A JPS6027422B2 (en) 1977-01-24 1977-01-24 Microcomputer unit testing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52006544A JPS6027422B2 (en) 1977-01-24 1977-01-24 Microcomputer unit testing equipment

Publications (2)

Publication Number Publication Date
JPS5391642A JPS5391642A (en) 1978-08-11
JPS6027422B2 true JPS6027422B2 (en) 1985-06-28

Family

ID=11641271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52006544A Expired JPS6027422B2 (en) 1977-01-24 1977-01-24 Microcomputer unit testing equipment

Country Status (1)

Country Link
JP (1) JPS6027422B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57113155A (en) * 1980-12-29 1982-07-14 Matsushita Electric Ind Co Ltd Program inspection device for one-chip microcomputer

Also Published As

Publication number Publication date
JPS5391642A (en) 1978-08-11

Similar Documents

Publication Publication Date Title
US5850512A (en) Bus analyzer and method for testing internal data paths thereof
US7089170B2 (en) System and method for testing an embedded microprocessor system containing physical and/or simulated hardware
US5771474A (en) Method for testing electronic control devices
JPH0259937A (en) Ic card
US4985893A (en) Circuit testing apparatus
JPS6027422B2 (en) Microcomputer unit testing equipment
JPH0399334A (en) Program down loading type emulator
JPS59202547A (en) Debugging device
JPS61250764A (en) Microprocessor device
JPS592056B2 (en) Microcomputer program counter
JPS59189459A (en) Operation analyzing device of microprocessor system
JPH02163842A (en) Program evaluating device for microcomputer
JPH0233178B2 (en)
JPH05120063A (en) Debugging system for microprocessor and debugging panel for the same
JPH05296801A (en) Measuring apparatus
JPH01253043A (en) Input/output controller
JPS63305437A (en) System state tracer
JPH04131942A (en) Data writing/reading method for memory monitoring device
JPH01156838A (en) Test system for instruction of central processing unit
JPH04148244A (en) Software evaluating device
WO1990001734A1 (en) Trace control method for pc
JPH01237846A (en) Processor system with debugging function
JPH04181332A (en) Controller check circuit
JPS5887639A (en) Information processor
JPH03105430A (en) Unit function test system