JPS594337Y2 - Program automatic switching device - Google Patents

Program automatic switching device

Info

Publication number
JPS594337Y2
JPS594337Y2 JP10012579U JP10012579U JPS594337Y2 JP S594337 Y2 JPS594337 Y2 JP S594337Y2 JP 10012579 U JP10012579 U JP 10012579U JP 10012579 U JP10012579 U JP 10012579U JP S594337 Y2 JPS594337 Y2 JP S594337Y2
Authority
JP
Japan
Prior art keywords
tty
program
cpu board
teletypewriter
signal
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
JP10012579U
Other languages
Japanese (ja)
Other versions
JPS5619852U (en
Inventor
誠一郎 渡辺
Original Assignee
株式会社 日立メディコ
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 株式会社 日立メディコ filed Critical 株式会社 日立メディコ
Priority to JP10012579U priority Critical patent/JPS594337Y2/en
Publication of JPS5619852U publication Critical patent/JPS5619852U/ja
Application granted granted Critical
Publication of JPS594337Y2 publication Critical patent/JPS594337Y2/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 device for switching from a system program to a maintenance program such as debugging in a computer system, particularly a microcomputer system.

一般に、マイクロコンピュータシステムにおいて、シス
テムプログラムが何かの事故でこわれたり、あるいは、
システムプログラムを変更した場合、デバッグを行なう
必要があるが、このような場合、テレタイプライタ(以
下rTTY」と略称する)を接続してROMに常駐され
ているモニタプログラムによりデバッグを実行している
Generally, in a microcomputer system, the system program is corrupted due to some accident, or
When a system program is changed, it is necessary to debug it. In such cases, a teletypewriter (rTTY) is connected and debugging is performed using a monitor program resident in the ROM. .

前記のような場合、従来はCPU基板の電源を入れると
、まず、イニシャル処理として各入出力装置等の初期値
設定を行なう。
In the above case, conventionally, when the CPU board is powered on, initial values of each input/output device, etc. are set as an initial process.

このとき、前記CPU基板に設けられているシステムプ
ログラム起動スイッチを開き、モニタプログラム起動ス
イッチを手動1で投入して切り換え、デバッグを実行し
ているが、スイッチ切換の誤操作、モニタプログラムの
起動スイッチの投入忘れ等による作業能率の低下が問題
となっていた。
At this time, the system program start switch provided on the CPU board is opened, and the monitor program start switch is turned on manually to perform debugging. Decreased work efficiency due to forgetting to put in the product, etc., was a problem.

本考案は前記問題を解消するためになされたものであり
、モニタプログラムの動作にはTTYが必ず使われるこ
とに着目し、そのプログラムの起動がTTYの接続によ
り自動的に行なわれるようにしたことを特徴とするコン
ピュータシステムにおける自動プログラム切換装置を提
供するものである。
The present invention was made to solve the above problem, and focused on the fact that a TTY is always used to operate a monitor program, so that the program is automatically started by connecting a TTY. The present invention provides an automatic program switching device for a computer system characterized by:

以下実施例により本考案を詳細に説明する。The present invention will be explained in detail with reference to Examples below.

なお、全図において、同等の機能を有するものは同一記
号を付しである。
In addition, in all figures, parts having equivalent functions are given the same symbols.

第1図は、本考案の一実施例のブロック構成国である。FIG. 1 shows the block constituent countries of one embodiment of the present invention.

図において、1はマイクロコンピュータのCPU基板、
2はROMでありモニタプログラムを常駐している。
In the figure, 1 is the CPU board of the microcomputer;
2 is a ROM in which a monitor program resides.

3はRAM、4はTTYインターフェース、5はTTY
コネクタ、6はアドレスバス、7はデータバス、8は制
御信号線、9はTTYインターフェース4内に配設され
た3ステ一トゲート回路であり、TTYコネクタ5から
のTTY接続フラグ信号イとTTYインターフェース4
内に配設された命令デコード回路10からのフラグセン
ス信号口が入力されたとき出力するものである(第3図
参照)。
3 is RAM, 4 is TTY interface, 5 is TTY
connector, 6 is an address bus, 7 is a data bus, 8 is a control signal line, 9 is a 3-state gate circuit arranged in the TTY interface 4, and the TTY connection flag signal from the TTY connector 5 and the TTY interface 4
It outputs when the flag sense signal port from the instruction decoding circuit 10 disposed inside is input (see FIG. 3).

命令デコード回路10はCPU基板1によって決定され
るフラグセンス信号口等の命令信号を発生する回路であ
る。
The instruction decode circuit 10 is a circuit that generates instruction signals such as flag sense signal ports determined by the CPU board 1.

GNDは接地を示している。GND indicates grounding.

第2図は、第1図のTTYコネクタ5の詳細な構成国で
あり、5aはTTYインターフェース側のTTYコネク
タ部材であり、TTY接続検出端子11aとGND用端
子11 bを備えている。
FIG. 2 shows the detailed configuration of the TTY connector 5 shown in FIG. 1, and 5a is a TTY connector member on the TTY interface side, which includes a TTY connection detection terminal 11a and a GND terminal 11b.

5bはTTY側のTTYコネクタ部材であり、前記TT
Y接続検出端子11 a及びGND用端子11 bに対
応する端子11a′及び11b′を備えている。
5b is a TTY connector member on the TTY side;
It is provided with terminals 11a' and 11b' corresponding to the Y-connection detection terminal 11a and the GND terminal 11b.

12はプルアップ抵抗であり、電源(+ 5 V)と前
記TTY接続検出端子11 aとの間に接続されている
Reference numeral 12 denotes a pull-up resistor, which is connected between the power supply (+5 V) and the TTY connection detection terminal 11a.

13はジャンパ線であり、前記端子11a′と11b′
を接続する導体であって、TTYを接続したとき前記T
TYインターフェース側の端子の電位を接地するための
ものである。
13 is a jumper wire, which connects the terminals 11a' and 11b'
A conductor that connects the TTY when the TTY is connected.
This is for grounding the potential of the terminal on the TY interface side.

第3図は前記3ステ一トゲート回路9の動作を説明する
ための信号波形図であり、a図はTTYが接続されない
ときの各端子の信号波形図、b図はTTYが接続された
ときの各端子の信号波形図である。
FIG. 3 is a signal waveform diagram for explaining the operation of the three-state gate circuit 9. Figure a is a signal waveform diagram of each terminal when TTY is not connected, and diagram b is a diagram of signal waveforms at each terminal when TTY is connected. It is a signal waveform diagram of each terminal.

図において、イ及びイ′はTTYコネクタ5からのTT
Y接続フラグ信号、口は命令デコード回路10からのフ
ラグセンス信号、ハ及び八′は3ステ一トゲート回路9
の出力信号で゛ある。
In the figure, A and A' are TT from TTY connector 5.
Y connection flag signal, 口 is a flag sense signal from the instruction decoding circuit 10, C and 8' are 3-state gate circuit 9
This is the output signal of

次に、この実施例の動作を説明する。Next, the operation of this embodiment will be explained.

(1)TTYが接続されない場合の動作 CPU基板1の電源を投入すると、まず、イニシアル処
理として各入出力装置(図示していない)等の初期値設
定を行なう。
(1) Operation when no TTY is connected When the power of the CPU board 1 is turned on, initial values of each input/output device (not shown), etc. are set as an initial process.

その後TTYが接続されているか否かのフラグセンスが
行なわれる。
Thereafter, flag sensing is performed to determine whether or not the TTY is connected.

このときTTYが接続されていないため、3ステ一トゲ
ート回路9には第3図aに示されるTTY接続フラグ信
号イとフラグセンス信号口が入力され、その出力は「L
」レベルの「0」信号へとなる。
At this time, since the TTY is not connected, the TTY connection flag signal A and the flag sense signal port shown in FIG. 3A are input to the three-state gate circuit 9, and its output is
” level becomes the “0” signal.

この出力信号へによりフラグセンスの結果は「NO」と
なり、直接システムプログラムに分枝されてこのシステ
ムプログラムが実行される。
The result of sensing the flag in response to this output signal is "NO", and the program is directly branched to the system program, which is then executed.

(2)TTYが接続されている場合の動作フラグセンス
が行なわれるまでの動作は(1)の場合と同様であるが
、このフラグセンスが行なわれるとき、TTYが接続さ
れているため、3ステ一トゲート回路9には第3図すに
示されるTTY接続接続フラグ信号イソラグセンス信号
口が入力され、その出力は「H」レベルの「1」の信号
へ′となる。
(2) Operation when TTY is connected The operation until flag sensing is performed is the same as in case (1), but when this flag sensing is performed, since TTY is connected, 3 steps are performed. The TTY connection flag signal iso-lag sense signal port shown in FIG. 3 is input to the gate circuit 9, and its output becomes a signal of "1" at the "H" level.

この出力信号へ′によりフラグセンスの結果はrYES
、となりモニタプログラムに分枝されて、このモニタプ
ログラムが実行される。
The result of flag sensing is rYES due to this output signal.
, which is branched into a monitor program, and this monitor program is executed.

第4図は前記動作を流れ図で示したものである。FIG. 4 shows the above operation in a flowchart.

以上説明したように、本考案によれば、TTYを接続す
るだけでモニタプログラムの起動が自動的に切り換えら
れるので、従来のようにスイッチ切換の誤操作をしたり
、モニタプログラムの起動スイッチの投入を忘れたりす
ることはなく、作業能率も一段と向上させることができ
る。
As explained above, according to the present invention, the start of the monitor program is automatically switched just by connecting the TTY. You won't forget anything, and your work efficiency will be further improved.

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

第1図は本考案の一実施例のブロック構成図、第2図は
第1図のTTYコネクタ5の詳細構成図、第3図は第1
図の3ステ一トゲート回路9の動作説明のための信号波
形図、第4図は本実施例の動作の流れ図である。 1・・・・・・マイクロコンピュータのCPU基板、2
・・・・・・ROM、3・・・・・・RAM、4・・・
・・・TTYインターフェース、5・・・・・・TTY
コネクタ、5a、5b・・・・・・TTYコネクタ部材
、6・・・・・・アドレスバス、7・・・・・・データ
バス、8・・・・・・制御信号線、9・・・・・・3ス
テ一トゲート回路、10・・・・・・命令デコード回路
、11a。 il b、 11 a’、 11 b’・・−・−TT
Y接続検出端子、12・−−−−・プルアップ抵抗、1
3・・・・・・ジャンパ線。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a detailed diagram of the TTY connector 5 shown in FIG.
FIG. 4 is a signal waveform diagram for explaining the operation of the three-state gate circuit 9 shown in the figure, and FIG. 4 is a flowchart of the operation of this embodiment. 1...Microcomputer CPU board, 2
...ROM, 3...RAM, 4...
...TTY interface, 5...TTY
Connector, 5a, 5b... TTY connector member, 6... Address bus, 7... Data bus, 8... Control signal line, 9... . . . 3-state gate circuit, 10 . . . Instruction decode circuit, 11a. il b, 11 a', 11 b'...-TT
Y connection detection terminal, 12・----・Pull-up resistor, 1
3...Jumper wire.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] CPU基板に保守用プログラムが内蔵されているコンピ
ュータシステムにおいて、前記CPU基板に電位を有す
るテレタイプライタ接続検出端子と接地端子を配設し、
前記CPU基板にテレタイプライタを接続したとき前記
テレタイプライタ接続検出端子の電位を接地する手段と
、テレタイプライタ接続の有無により前記保守用プログ
ラムの起動を自動的に切り換える手段を備えたことを特
徴とするプログラム自動切換装置。
In a computer system in which a maintenance program is built into a CPU board, a teletypewriter connection detection terminal and a ground terminal having a potential are arranged on the CPU board,
The present invention further includes means for grounding the potential of the teletypewriter connection detection terminal when a teletypewriter is connected to the CPU board, and means for automatically switching activation of the maintenance program depending on whether or not the teletypewriter is connected. Features an automatic program switching device.
JP10012579U 1979-07-20 1979-07-20 Program automatic switching device Expired JPS594337Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10012579U JPS594337Y2 (en) 1979-07-20 1979-07-20 Program automatic switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10012579U JPS594337Y2 (en) 1979-07-20 1979-07-20 Program automatic switching device

Publications (2)

Publication Number Publication Date
JPS5619852U JPS5619852U (en) 1981-02-21
JPS594337Y2 true JPS594337Y2 (en) 1984-02-08

Family

ID=29332853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10012579U Expired JPS594337Y2 (en) 1979-07-20 1979-07-20 Program automatic switching device

Country Status (1)

Country Link
JP (1) JPS594337Y2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56108152A (en) * 1980-01-31 1981-08-27 Toshiba Corp Microcomputer system

Also Published As

Publication number Publication date
JPS5619852U (en) 1981-02-21

Similar Documents

Publication Publication Date Title
JPS62247275A (en) Cpu identification circuit for in-circuit emulator
JPH0559457B2 (en)
JPS594337Y2 (en) Program automatic switching device
JPH1069339A (en) Interface mechanism for connecting external equipment
JPH0237064Y2 (en)
TWI447589B (en) Data exchange between an electronic payment terminal and a maintenance tool over a usb connection
JPH05153784A (en) Controller for inverter
JPH01158552A (en) Circuit for detecting coincidence of external interface
JPS61234415A (en) Board mounting type computer unit
KR880002982Y1 (en) Floppy disk driver
JPH0315940A (en) Printer output circuit
JPS61141037A (en) Microprocessor
JPH0350250U (en)
JPH0383143A (en) Emulation circuit device
JPS614236U (en) microcomputer system
JP3004469U (en) Plug connection device
JPH0342494Y2 (en)
JPH06324722A (en) Programmable controller
JPS59229652A (en) Adaptive system evaluator
JPS59174645U (en) Debugging device
JPS5943898U (en) Grain dryer control device
JPS6047062U (en) Data transmission method between programmable controller and program console
JPS60173639A (en) Interface circuit
JPH04317110A (en) Electronic equipment
JPS6237492B2 (en)