[go: up one dir, main page]

JPS6190223A - Reset device - Google Patents

Reset device

Info

Publication number
JPS6190223A
JPS6190223A JP59211051A JP21105184A JPS6190223A JP S6190223 A JPS6190223 A JP S6190223A JP 59211051 A JP59211051 A JP 59211051A JP 21105184 A JP21105184 A JP 21105184A JP S6190223 A JPS6190223 A JP S6190223A
Authority
JP
Japan
Prior art keywords
cartridge
rom
reset
rom cartridge
mpu
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
JP59211051A
Other languages
Japanese (ja)
Inventor
Taiji Nishio
太治 西尾
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP59211051A priority Critical patent/JPS6190223A/en
Publication of JPS6190223A publication Critical patent/JPS6190223A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (技術分野) 本発明は、マイクロプロセッサ(MPU)と制御プログ
ラムを格納した固定ROMと着脱OT能なROM(RO
Mカートリッジ)とで構成されるシステムに2いて、シ
ステム動作時にROMカートリッジを着脱した場合、前
記着脱時の影響によるプログラムの暴走を防止したメモ
リ装置着脱時のリセットに関するものである。
Detailed Description of the Invention (Technical Field) The present invention relates to a fixed ROM that stores a microprocessor (MPU) and a control program, and a removable ROM (ROM) that stores a microprocessor (MPU) and a control program.
This invention relates to a reset when a memory device is attached or detached, which prevents a program from running out of control due to the influence of the attachment or detachment when a ROM cartridge is attached or detached during system operation in a system configured with a ROM cartridge (M cartridge).

(従来技術) 従来、マイクロプロセッサを用いた構成として第4図に
示すものがあげられる−すなわちMPU制御回路5は、
まず制御プログラムを格納した固定ROM 1に基づき
、入出力装置3と記憶装置4及びFl、 OMカートリ
ッジ2の管理を行う◇つまり入出力装置3より入力され
たデータを制御プログラムに従い処理し記憶装置t4に
格納、そして必要ならば、入出力装置3にデータを送出
する。前記構成におい゛C1固定ROM1とは異なる処
理プログラムを格納したROMカートリッジ2をこの構
成に装着し、制御を固定ROM1よりROMカートリッ
ジ2へと移すことにより多種の処理及び各種の入出力装
置5に>m用することができる。
(Prior Art) Conventionally, a configuration using a microprocessor is shown in FIG. 4 - that is, the MPU control circuit 5 is
First, the input/output device 3, storage device 4, Fl, and OM cartridge 2 are managed based on the fixed ROM 1 storing the control program. In other words, data input from the input/output device 3 is processed according to the control program, and the storage device t4 and, if necessary, sends the data to the input/output device 3. In the above configuration, a ROM cartridge 2 storing a processing program different from that in the C1 fixed ROM 1 is installed in this configuration, and by transferring control from the fixed ROM 1 to the ROM cartridge 2, various types of processing and various input/output devices 5 can be performed. It can be used for m.

この構成において注意することは、システム゛が動作し
ている最中に、ROMカートリッジ2を装着すると、M
PU制御回路5とROMカートリッジ2とを接続する信
号線に装着時のノイズなどによる異常7jX発生しMP
Hの暴走を句す5T能性があることである。また、RO
Mカートリッジ2が前記構成に装置され7迎状態で制御
プログラムがROMカートリッジに移されている場合に
、ROMカートリッジがシステムより取り外されたとき
、制御プログラムがなくなることになりMPHの暴走を
起こしてしまう。MPUが暴走した場合、入出力装置5
の異常動作や記憶装置4の記憶内容が破壊されるという
危険がめる。
In this configuration, please note that if the ROM cartridge 2 is installed while the system is operating, the M
Abnormality 7jX occurs in the signal line connecting the PU control circuit 5 and the ROM cartridge 2 due to noise during installation, and the MP
It has a 5T ability that allows H to run out of control. Also, R.O.
When the M cartridge 2 is installed in the above configuration and the control program is transferred to the ROM cartridge in the 7-in-one state, when the ROM cartridge is removed from the system, the control program will be lost and the MPH will run out of control. . If the MPU goes out of control, the input/output device 5
There is a danger that the storage device 4 may malfunction or the storage contents of the storage device 4 may be destroyed.

(目的) 本発明はこれらの欠点を除去するため、システム動作時
にROMカートリッジを着脱した場合、システムにリセ
ットを行うことによってMFHの暴走を防止したもので
ある。
(Objective) In order to eliminate these drawbacks, the present invention prevents the MFH from running out of control by resetting the system when a ROM cartridge is installed or removed during system operation.

(発明の概要) 本発明の概要は、前記目的を達成するために、マイクロ
プロセッサ(MPU)とその制御プログラムを格納した
固定ROMと着脱可能なROM(ROMカートリッジ)
とで構成されるシステムで、前記固定ROMと前記RO
Mカート+7ツジよリグログラムを読み取り実行し、そ
(−て新たな制御プログラムを必要とする場合、目的の
プログラムを格納した新たなROMカートリッジを、前
記システムのROMカートリッジと取り換えることによ
り、目的のプログラムを実行するという構成においてR
OMカートリッジ屑脱時にシステムにリセットを行なう
ものである。
(Summary of the Invention) In order to achieve the above object, the present invention provides a fixed ROM and a removable ROM (ROM cartridge) that store a microprocessor (MPU) and its control program.
A system consisting of the fixed ROM and the RO.
If a new control program is required after reading and executing the program using the M-cart +7, the target program can be executed by replacing the ROM cartridge of the system with a new ROM cartridge that stores the target program. In the configuration that executes R
This resets the system when OM cartridge debris is removed.

(実施例) 第1図は本発明の実施例の構成説明図である。(Example) FIG. 1 is an explanatory diagram of the configuration of an embodiment of the present invention.

同図に示すように、ROMカートリッジ検出装+46と
MPU制御回路5内のリセット回路51とを接続し、7
ステム動作時にROMカートリッジ2を着脱するとRO
Mカートリッジ検出装置6がリセットパルス信号を発生
し、MPU制御回路5内のリセット回路51が該リセッ
トパルス信号を受けてシステムリセットを行う。
As shown in the figure, the ROM cartridge detection device +46 and the reset circuit 51 in the MPU control circuit 5 are connected, and
When the ROM cartridge 2 is installed or removed during stem operation, RO
The M cartridge detection device 6 generates a reset pulse signal, and the reset circuit 51 in the MPU control circuit 5 receives the reset pulse signal and performs system reset.

第2図は、第1図におけるROMカートリッジ検出装置
6の一実施例であるo ROMカートリッジ2をシステ
ムに装着する場合、取り外し位置Cより装置AへとRO
Mカートリッジ2を移動させる。位置OK>いては、リ
セット回路への入力は1”であるが、位JBにおいてR
OMカートリッジ2の突起部がスイッチ7をONにする
ためリセット回路51への入力は′″Onとなる。そし
て装着の位f4に達するとスイッチはOFFとなり、リ
セット回路51への入力は′1”にもどる。この一連の
動作により、リセット回路51へはパルス状のリセット
信号8が入力される。
FIG. 2 shows an embodiment of the ROM cartridge detection device 6 in FIG.
Move the M cartridge 2. At position OK>, the input to the reset circuit is 1", but at position JB, R
Since the protrusion of the OM cartridge 2 turns on the switch 7, the input to the reset circuit 51 becomes ``On''. When the mounting position f4 is reached, the switch turns OFF and the input to the reset circuit 51 becomes ``1''. Return to Through this series of operations, a pulsed reset signal 8 is input to the reset circuit 51.

また、ROMカートリッジ2を取り外す場合、前記装着
時とは逆にROMカートリッジ2がその位置をA−+ 
B−+Cと移動する際にリセット回路51には、パ1”
→″0”→″′1N という裟滑時と同様なリセットパ
ルスが入力される。リセット回路51は前記リセットパ
ルスを受け、リセット回路51−\のリセット信号8が
°′0”の期間システムリセットを行う。
In addition, when removing the ROM cartridge 2, the ROM cartridge 2 is moved to its position A-+, contrary to when it is installed.
When moving from B-+C, the reset circuit 51 has a
→"0"→"'1N" A reset pulse similar to that at the time of slip is input.The reset circuit 51 receives the reset pulse, and the reset signal 8 of the reset circuit 51-\ resets the system for a period of °'0". I do.

第5図は、第1図のROMカートリッジ検出装瞠6の他
の実−1例である。ROMカートリッジ2がシステムに
装着されるとROMカートリッジ検出信号81は10″
となる。父、RO)dカートリッジ2がシステムに装着
されていない場合は、咳。
FIG. 5 shows another example of the ROM cartridge detection device 6 of FIG. 1. When the ROM cartridge 2 is installed in the system, the ROM cartridge detection signal 81 becomes 10''.
becomes. Father, RO) d If cartridge 2 is not installed in the system, cough.

検出信号81は1”となっている。ROMカー? +7
ツジ検出装置?!、6け、該検出信号81が00”→″
′1”、1”→″′0”へと変化した時のみ一定期間“
0#となるパルス状のリセット信号(図示せず)をリセ
ット回路51に送り、該リセット回路51はリセット信
号が0”の期間、システムリセットを行う。
Detection signal 81 is 1”.ROM car? +7
Tsuji detection device? ! , 6th digit, the detection signal 81 is 00"→"
``1'', for a certain period of time only when changing from 1'' to ``0''
A pulse-like reset signal (not shown) that becomes 0# is sent to the reset circuit 51, and the reset circuit 51 performs system reset while the reset signal is 0''.

システムがリセットされると、まずMP[7は固定RO
Mを読み取り実行し、人出刃装置、記憶装置、 ’l”
t OMカートリッジ等の管理を行なう。MP[Jl−
、LROMカートリッジのメモリエリアを参照すること
によつ−C,システムOftOMカートリッジのイ丁無
を判別することができ、ROMカートリッジが装置され
ていて、さらにRQ 1!カートリツジの制御プログラ
ムを必要とする場曾、制?!1 tl−i*1定ROM
よりROMカートリッジに移す。
When the system is reset, first MP [7 is fixed RO
Read and execute M, insert the blade device, storage device, 'l''
t Manage OM cartridges, etc. MP[Jl-
By referring to the memory area of the LROM cartridge, it is possible to determine whether the system OfOM cartridge is empty or not, and if the ROM cartridge is installed, and RQ 1! Is there a system that requires a cartridge control program? ! 1 tl-i*1 constant ROM
Transfer to a ROM cartridge.

またシステムにROMカートリッジがJ4置されていな
い場合、MPUがROMカートリッジの内容を読み取り
実行することのないよう!・cして2けば・MPUがR
OMカートリッジの着脱によって暴走を起こすことを防
止することができる。
Also, if a ROM cartridge is not installed in the system, make sure that the MPU does not read and execute the contents of the ROM cartridge!・If you do c and get 2, ・MPU is R.
It is possible to prevent runaway caused by attachment and detachment of the OM cartridge.

(効果) 以上説明したように、本発明によればMPUを用いたシ
ステムが動作時に、制御プログラムを格納したROMカ
ートリッジの脱着を行った場合、MPHに設けたリセッ
ト手段により、ROMカートリッジ脱着の影響によるシ
ステムの誤動作を有効に防止することができる。
(Effects) As explained above, according to the present invention, when a ROM cartridge storing a control program is attached or detached during operation of a system using an MPU, the reset means provided in the MPH can control the effect of the ROM cartridge attachment or detachment. It is possible to effectively prevent system malfunctions due to

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

第1図は本発明の構成説明図である。第2図は本発明の
一実施例を示す図である0第3図は、本発明の他の実施
例を示す図である。第4図は、従来例の構成説明図であ
る。 2・・・・・・ROMカートリッジ 5・・・・・・MPU制御回路 6・・・・・・ROMカートリッジ検出装置51・・・
・・・リセット回路 第2r!1
FIG. 1 is an explanatory diagram of the configuration of the present invention. FIG. 2 is a diagram showing one embodiment of the present invention. FIG. 3 is a diagram showing another embodiment of the present invention. FIG. 4 is an explanatory diagram of the configuration of a conventional example. 2...ROM cartridge 5...MPU control circuit 6...ROM cartridge detection device 51...
...Reset circuit 2nd r! 1

Claims (1)

【特許請求の範囲】[Claims]  マイクロプロセッサ(MPU)とその制御プログラム
を格納した固定メモリと着脱可能なメモリとで構成され
るシステムで、前記着脱可能なメモリの着脱を検出する
手段と、該手段からの信号に基づいて前記マイクロプロ
セッサにリセットをかけるためのリセット回路とから成
ることを特徴とするリセット装置。
A system consisting of a microprocessor (MPU), a fixed memory that stores its control program, and a removable memory, and includes means for detecting attachment/detachment of the removable memory, and a means for detecting attachment/detachment of the removable memory, and A reset device comprising a reset circuit for resetting a processor.
JP59211051A 1984-10-08 1984-10-08 Reset device Pending JPS6190223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59211051A JPS6190223A (en) 1984-10-08 1984-10-08 Reset device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59211051A JPS6190223A (en) 1984-10-08 1984-10-08 Reset device

Publications (1)

Publication Number Publication Date
JPS6190223A true JPS6190223A (en) 1986-05-08

Family

ID=16599568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59211051A Pending JPS6190223A (en) 1984-10-08 1984-10-08 Reset device

Country Status (1)

Country Link
JP (1) JPS6190223A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63234488A (en) * 1987-03-23 1988-09-29 Toshiba Corp Control system for replacement of rom cartridge
JPH01296368A (en) * 1988-05-25 1989-11-29 Nippon Chemicon Corp Microcomputer system using memory card
EP0370493A2 (en) * 1988-11-21 1990-05-30 Oki Electric Industry Co., Ltd. Electric circuit device with an improved cartridge connection circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63234488A (en) * 1987-03-23 1988-09-29 Toshiba Corp Control system for replacement of rom cartridge
JPH01296368A (en) * 1988-05-25 1989-11-29 Nippon Chemicon Corp Microcomputer system using memory card
EP0370493A2 (en) * 1988-11-21 1990-05-30 Oki Electric Industry Co., Ltd. Electric circuit device with an improved cartridge connection circuit

Similar Documents

Publication Publication Date Title
JP2658697B2 (en) Watch dock timer circuit
US7103738B2 (en) Semiconductor integrated circuit having improving program recovery capabilities
JPS6190223A (en) Reset device
JPH02216545A (en) Execution hysteresis storage device
JPH0683488A (en) Reset control circuit
JPH05143518A (en) System starting system
JPS5818684B2 (en) Erroneous writing prevention method for magnetic tape control device
JPS54157046A (en) Memory error preservation system
JPS57123457A (en) Malfunction detecting system
KR850006743A (en) System for bypass control during computer pipeline operation
JPH0833803B2 (en) Storage controller
JPH0640299B2 (en) Peripheral device Medium input processing control method
JPS5856261A (en) Recording device control system
JPH0449571A (en) Magnetic disk controller
JPS63211054A (en) How to reuse online DASD journals
JPH039487B2 (en)
JPS61160146A (en) Control system of address stack pointer device
JPS5621251A (en) Retrial control system
JPS63155245A (en) Semiconductor disk data backup method
JPS60544A (en) Controlling system of electric power supply
JPH0476138B2 (en)
JPS63225833A (en) micro computer
JPS61168060A (en) Data processor
JPS6299846A (en) I/O device sense data collection method
JPS6354616A (en) Microcomputer system