[go: up one dir, main page]

JPH01253044A - Input/output controller - Google Patents

Input/output controller

Info

Publication number
JPH01253044A
JPH01253044A JP63079999A JP7999988A JPH01253044A JP H01253044 A JPH01253044 A JP H01253044A JP 63079999 A JP63079999 A JP 63079999A JP 7999988 A JP7999988 A JP 7999988A JP H01253044 A JPH01253044 A JP H01253044A
Authority
JP
Japan
Prior art keywords
tester
input
microprogram
microprocessor
local memory
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
JP63079999A
Other languages
Japanese (ja)
Inventor
Hidenori Taniguchi
谷口 秀憲
Shingo Chiba
千葉 信吾
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP63079999A priority Critical patent/JPH01253044A/en
Publication of JPH01253044A publication Critical patent/JPH01253044A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To eliminate the need for an IC socket, etc., and to prevent the reliability from decreasing by writing a register in a microprogram and data in a local memory, and including a debug routine which can return to a normal run mode from a bug mode. CONSTITUTION:The input/output controller 1 receives a command from a tester 2 and then the microprogram stored in the local memory 12 enters the debug routine. Then when the command from the tester 2 is inputted, the contents of registers are displayed on the tester 2 through a tester interface 13 and data inputted from the tester 2 are written in the registers; and the contents of the local memory 12 are displayed on the tester 2 and the data inputted from the tester 2 are written in the local memory 12. Then the debug routine is finished with a command inputted from the tester 12 and the normal processing is restarted. Consequently, the need to mount the IC socket, etc., is eliminated and the reliability is prevented from decreasing.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、マイクロプロセッサを内蔵し、マイクロプロ
グラムによって制御を行う入出力制御装置に関し、特に
、マイクロプログラムのデバグに関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an input/output control device that incorporates a microprocessor and is controlled by a microprogram, and particularly relates to debugging of the microprogram.

従来の技術 従来、この種の入出力制御装置ではマイクロプログラム
のデバグを行う際にマイクロプロセッサの代わりにその
マイクロプロセッサ専用のデバク、装置、所謂インサー
キットエミュレータ等を組み込んでマイクロプログラム
のデパグを行っていた。
Conventional technology Conventionally, when debugging a microprogram with this type of input/output control device, a debugging device dedicated to the microprocessor, a so-called in-circuit emulator, etc., is installed instead of the microprocessor to debug the microprogram. Ta.

発明が解決しようとする課題 上述した従来の入出力制御装置ではマイクロプログラム
のデバグを行うためには人出力制御装置に使用されるマ
イクロプロセッサに専用のインサーキットエミュレータ
を購入しなければならず。
Problems to be Solved by the Invention In the conventional input/output control device described above, in order to debug a microprogram, it is necessary to purchase an in-circuit emulator dedicated to the microprocessor used in the human output control device.

このインサーキットエミュレータが高価な上に。This in-circuit emulator is expensive.

マイクロプログラムの開発・デバグ以外の用途にはほと
んど利用されることがないという欠点がある。
The drawback is that it is rarely used for purposes other than developing and debugging microprograms.

更に、入出力制御装置ではマイクロプロセッサの取り外
しを可能とするために、 ICソケット等を実装しなけ
ればならず、このICソケット等のために信頼度の低下
をまねくという欠点がある。
Furthermore, in order to make it possible to remove the microprocessor in the input/output control device, an IC socket or the like must be mounted, and this IC socket or the like has the disadvantage of lowering reliability.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能とした新規な入出力制御装置を提
供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a novel input/output control device that makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.

課題を解決するための手段 上記目的を達成する為に1本発明に係る入出力F’l制
御装置は、マイクロ命令を解読実行するマイクロプロセ
ッサと、マイクロプロセッサによって実行されるマイク
ロプログラム及び制御情報・入出力データを一時的に格
納するローカルメモリと、マイクロプロセッサと外部テ
スタとの情報の人出力を仲介し入出力制御装置と外部テ
スタとを着脱可能にするテスタインタフェースと、外部
テスタから入力したコマンドを解読しマイクロプログラ
ムを通常走行モードからデバグモードに変更しデバクモ
ードにおいてデバグモードに移行した時点でのマイクロ
プロセッサの状態を外部テスタに表示し前記テスタから
のコマンドによってマイクロプロセッサのレジスタロー
カルメモリの表示を行いまたレジスタ、ローカルメモリ
にデータを書込みデバグモードから通常走行モードへ戻
ることのデバグルーチンを含むマイクロプログラムとに
よって構成される。
Means for Solving the Problems In order to achieve the above object, an input/output F'l control device according to the present invention includes a microprocessor that decodes and executes microinstructions, a microprogram executed by the microprocessor, and control information. A local memory that temporarily stores input/output data, a tester interface that mediates the human output of information between the microprocessor and the external tester, and allows the input/output control device and external tester to be connected and detached, and commands input from the external tester. is decoded, the microprogram is changed from normal running mode to debug mode, the state of the microprocessor at the time of transition to debug mode is displayed on an external tester, and the register local memory of the microprocessor is displayed according to commands from the tester. It is composed of a microprogram including a debug routine for performing operations, writing data to registers and local memory, and returning from debug mode to normal running mode.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

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

第1図を参照するに1本発明に係る入出力制御袋M1は
、マイクロプロセッサ11.ローカルメモU12、テス
タインタフェース13及びデバイスインタフェース14
によって構成され、それぞれ内部バス15によって接続
されている。また、テスタインタフェース13はテスタ
2と例えばR3−232CJの汎用インタフェースで接
続されている。デバイスインタフェース14は入出力デ
バイス3と接続されてデータの入出力、入出力デバイス
の制御を行う。
Referring to FIG. 1, an input/output control bag M1 according to the present invention includes a microprocessor 11. Local memo U12, tester interface 13 and device interface 14
and are connected to each other by an internal bus 15. Further, the tester interface 13 is connected to the tester 2 through a general-purpose interface such as R3-232CJ. The device interface 14 is connected to the input/output device 3 to input/output data and control the input/output device.

通常、入出力制御装置1は上位装置(図示せず)からの
指令を受けて入出力デバイスの制御等を行っているが、
テスタ2からのコマンドを受けることによってローカル
メモリ12に格納されているマイクロプログラムはデバ
グルーチンにはいり、テスタ2からのコマンド入力待ち
となる。
Normally, the input/output control device 1 receives commands from a host device (not shown) and controls input/output devices.
Upon receiving the command from the tester 2, the microprogram stored in the local memory 12 enters a debug routine and waits for command input from the tester 2.

第2図はマイクロプログラムのデバグルーチンを示した
フローチャートである。
FIG. 2 is a flowchart showing a microprogram debug routine.

第2図において、デバグルーチンではテスタ2からのコ
マンドを入力し、そのコマンドに対応した処理を行う、
すなわち、レジスタの内容をテスタインタフェース13
を介してテスタ2に表示し、テスタ2から入力したデー
タをレジスタに書込み。
In FIG. 2, the debug routine inputs commands from tester 2 and performs processing corresponding to the commands.
In other words, the contents of the register are transferred to the tester interface 13.
Display on tester 2 via , and write the data input from tester 2 to the register.

ローカルメモリ12の内容をテスタ2に表示し5テスタ
2から入力したデータをローカルメモリ12に書込む。
The contents of the local memory 12 are displayed on the tester 2, and data input from the tester 2 is written into the local memory 12.

テスタ2から入力したコマンドによってテバグルーチン
を終了し、通常処理に戻ることができる。
A command input from the tester 2 can terminate the Tebug routine and return to normal processing.

発明の効果 以」二説明したように、本発明によれば、入出力制御装
置にテスタインタフェースをもうけ、マイクロプログラ
ムの処理によってテスタとのデータの入出力を行うこと
によって5比較的廉価な汎用インタフェースをもったテ
スタを接続することができ、マイクロプロセッサを取外
さないことでICソケット等が不用になり、信頼度の低
下を防止することができる効果が得られる。
Effects of the Invention As explained in Section 2, according to the present invention, a tester interface is provided in the input/output control device, and data input/output to and from the tester is performed through microprogram processing, thereby creating a relatively inexpensive general-purpose interface. Since the microprocessor is not removed, an IC socket or the like is not required, and a decrease in reliability can be prevented.

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

第1図は本発明に係る入出力制御装置のブロック構成図
、第2図はマイクロプログラム内のデバグルーチンのフ
ローチャートである。 1164人出力制御装置、260.テスタ、3゜9.入
出力デバイス、 11. 、 、マイクロプロセッサ(
MPU)、12. 、 、ローカルメモリ、 +3. 
、 、テスタインタフェース、14. 、 、デバイス
インタフェース
FIG. 1 is a block diagram of an input/output control device according to the present invention, and FIG. 2 is a flowchart of a debug routine in a microprogram. 1164 person output control device, 260. Tester, 3°9. Input/output device, 11. , , microprocessor (
MPU), 12. , ,Local memory, +3.
, ,Tester Interface, 14. , , device interface

Claims (1)

【特許請求の範囲】 マイクロプログラムによって主な制御を行う入出力制御
装置において、 マイクロ命令を解読実行するマイクロプロセッサと、 前記マイクロプロセッサによって実行されるマイクロプ
ログラム及びマイクロプログラムを実行する為に必要な
制御情報、入出力データを一時的に格納するローカルメ
モリと、 前記マイクロプロセッサと外部テスタとの情報の入出力
を仲介し、該入出力制御装置と前記外部テスタを着脱可
能にするテスタインタフェースと、前記外部テスタから
入力したコマンドを解読しマイクロプログラムを通常走
行モードからデバグモードに変更し、該デバグモードに
おいて、デバグモードに移行した時点でのマイクロプロ
セッサ状態を前記テスタに表示し、前記テスタからの指
示に従ってマイクロプロセッサのレジスタ、ローカルメ
モリの表示を行い、また該レジスタ、ローカルメモリに
データを書込み、デバグモードから通常走行モードに戻
ることのできるデバグルーチンを含むマイクロプログラ
ムと、 によって構成されることを特徴とする入出力制御装置。
[Claims] An input/output control device that performs main control using a microprogram, comprising: a microprocessor that decodes and executes microinstructions, a microprogram executed by the microprocessor, and control necessary to execute the microprogram. a local memory for temporarily storing information and input/output data; a tester interface that mediates input/output of information between the microprocessor and the external tester and makes the input/output control device and the external tester detachable; Decoding commands input from an external tester, changing the microprogram from normal running mode to debug mode, displaying the microprocessor status at the time of transition to debug mode in the debug mode on the tester, and receiving instructions from the tester. a microprogram including a debug routine that can display registers and local memory of the microprocessor according to the instructions, write data to the registers and local memory, and return from debug mode to normal running mode. An input/output control device.
JP63079999A 1988-03-31 1988-03-31 Input/output controller Pending JPH01253044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63079999A JPH01253044A (en) 1988-03-31 1988-03-31 Input/output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63079999A JPH01253044A (en) 1988-03-31 1988-03-31 Input/output controller

Publications (1)

Publication Number Publication Date
JPH01253044A true JPH01253044A (en) 1989-10-09

Family

ID=13705989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63079999A Pending JPH01253044A (en) 1988-03-31 1988-03-31 Input/output controller

Country Status (1)

Country Link
JP (1) JPH01253044A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5936111A (en) * 1996-12-19 1999-08-10 Shin-Etsu Chemical Co., Ltd. Fluorinated amide compounds with a phenyl-Si-unsaturated group

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58140848A (en) * 1982-02-17 1983-08-20 Toshiba Corp Program execution controlling system
JPS6293733A (en) * 1985-10-18 1987-04-30 Nec Corp Microprogram control system data processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58140848A (en) * 1982-02-17 1983-08-20 Toshiba Corp Program execution controlling system
JPS6293733A (en) * 1985-10-18 1987-04-30 Nec Corp Microprogram control system data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5936111A (en) * 1996-12-19 1999-08-10 Shin-Etsu Chemical Co., Ltd. Fluorinated amide compounds with a phenyl-Si-unsaturated group

Similar Documents

Publication Publication Date Title
US5664199A (en) Microcomputer free from control of central processing unit (CPU) for receiving and writing instructions into memory independent of and during execution of CPU
US6094730A (en) Hardware-assisted firmware tracing method and apparatus
US5488728A (en) Microprocessor having a run/stop pin for accessing an idle mode
JPH02287635A (en) Debugging peripheral equipment for microcomputer,microprocessor and core processor integrated circuit
EP0194185A2 (en) Computer system having instruction surveillance configuration
JPH01253044A (en) Input/output controller
JPH01253043A (en) Input/output controller
JP2674873B2 (en) Step execution operation method of program development support device
JPH0773132A (en) Method and apparatus for observation of map register of inside memory
KR200181133Y1 (en) Central processing unit
KR0150161B1 (en) Device for displaying register and ram data
JPS6248865B2 (en)
JPH096641A (en) Information processor
JPH0135372B2 (en)
JPS62239242A (en) Debugging device
JPS6361341A (en) Program debugging device
JPS58134338A (en) Digital computer control method
JPH05108550A (en) Central processing unit
JPH07295851A (en) Data automation backup unit of micro-computer
JPS6414650A (en) Fault diagnostic method for input/output controller in computer system
JPH0373011B2 (en)
JPS62257544A (en) Display device for ram
JPH021032A (en) Emulation chip
JPS6091458A (en) Program debug device of microprocessor
JPS63244237A (en) Information processor