[go: up one dir, main page]

JPH03229332A - Microcomputer system - Google Patents

Microcomputer system

Info

Publication number
JPH03229332A
JPH03229332A JP2024354A JP2435490A JPH03229332A JP H03229332 A JPH03229332 A JP H03229332A JP 2024354 A JP2024354 A JP 2024354A JP 2435490 A JP2435490 A JP 2435490A JP H03229332 A JPH03229332 A JP H03229332A
Authority
JP
Japan
Prior art keywords
input
nmi
program
ipl
cpu
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
JP2024354A
Other languages
Japanese (ja)
Inventor
Takeo Hashimoto
橋本 丈夫
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2024354A priority Critical patent/JPH03229332A/en
Publication of JPH03229332A publication Critical patent/JPH03229332A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Microcomputers (AREA)

Abstract

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

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、マイクロコンピュータシステムに係り、特に
ノンマスカブル割込みの処理プログラムがランダムアク
セスメモリに格納されるマイクロコンピュータシステム
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a microcomputer system, and particularly to a microcomputer system in which a non-maskable interrupt processing program is stored in a random access memory.

(従来の技術) たとえば16ビツトの中央処理ユニット(以下、CPU
と記す)においては、あらかじめ定義された割込みの1
つにノンマスカブル割込み(Non−Maskable
 Interrupt ;以下、NMIと記す)があり
、このNMIは優先度が最も高く、通常は、電源異常な
どの緊急割込みに使用される。このNM(は、CPUの
リセット解除により割込み受付けがiiJ能になり、ソ
フトウェア的には割込みをマスク(竺止)することがで
きない。
(Prior art) For example, a 16-bit central processing unit (hereinafter referred to as CPU)
), one of the predefined interrupts
A non-maskable interrupt (Non-Maskable interrupt)
This NMI has the highest priority and is normally used for emergency interrupts such as power failures. This NM() becomes capable of accepting interrupts by releasing the reset of the CPU, and cannot be masked (stopped) by software.

ところで、N〜II処理ブ処理テコグラムシステムプロ
グラムか初期プログラムローディング(以−ド、IPL
とt己す)(こよりランダムアクセスメモリ(以ド、R
A Nx h sピす)に格納される方式のマイクロコ
ンピュータシステムにおいて、従来は、IPL中にNM
1入力を禁止する手段かないので、rPL中(つまり、
NMI処理プログラムが未だセットされていない状態の
とき)にNMIが入力すると、CPUか暴走し、マイク
ロコンピュータシステムの周辺装置を破壊してしまう二
とがある。
By the way, the N to II processing block processing tecogram system program or initial program loading (hereinafter referred to as IPL)
Random access memory (hereinafter referred to as R)
Conventionally, in a microcomputer system that is stored in a
Since there is no way to prohibit one input, during rPL (that is,
If an NMI is input when the NMI processing program has not yet been set, the CPU may run out of control and the peripheral devices of the microcomputer system may be destroyed.

また、システムセントアップ時に、NM[処理プログラ
ムを含むシステムプログラムを5己憶している)aノビ
−ディスクをフロッピーディスク駆動装置に挿入する際
に、挿入方向の誤りとか挿入不足状態などの誤操作が生
じていると、システム動作開始後にfPLを正常に行な
うことができない。しかし、従来は、IPL異常を自動
的に検出してCPU動作を停止させたり、異常表示を行
う手段かないので、ユーザー力<I PL異常に気付が
なかったり、気付(まてに時間がががり、気付い7二B
、y点てシステム電照のオフ操作を行なう必要があり、
マイクロコンピュータシステムの使い勝手がよくない。
Also, when inserting the NM (which stores system programs including processing programs) into the floppy disk drive during system setup, errors such as incorrect insertion direction or insufficient insertion may occur. If this occurs, fPL cannot be performed normally after the system starts operating. However, conventionally, there is no way to automatically detect an IPL abnormality and stop the CPU operation or display the abnormality. , notice 72B
, it is necessary to turn off the system illumination at point y,
The microcomputer system is not easy to use.

(発明が解決しようとする。:1li)上記したように
従来のマイクロコン、ビュークシステムは、IPL中に
l’JM+が入力すると、CPUか暴走し、マイクロコ
ンピュータシステムの周辺装置を破壊してしまうという
問題がある。
(The invention attempts to solve the problem.: 1li) As mentioned above, in the conventional microcomputer and Buke system, when l'JM+ is input during IPL, the CPU goes out of control and destroys the peripheral devices of the microcomputer system. There is a problem with putting it away.

また、システムセントアップ時のfi&作などによりI
PLを正常に行なうことができない場合にIPL異常を
自動的に検出してCPU動作を停壮させたり異常表示を
行なう手段がないので、マイクロコンビュータンステム
の使い勝手がよくないという問題かある。
In addition, I
If PL cannot be performed normally, there is no means for automatically detecting IPL abnormality and slowing down CPU operation or displaying the abnormality, so there is a problem that the microcombutan stem is not easy to use.

本発明は、上記問題点を解決すべくなされた)。The present invention was made to solve the above problems).

のて、その目的は、IPL中でNMI処理プログラムが
未たセットされてぃtい状態のときにNMIか入力して
も、CPUかt走することを防止でき、CPUの旙走に
よる周辺装置の破壊を防止し得るマイクロコンピュータ
システムを提供することにある。
The purpose of this is to prevent the CPU from running even if an NMI is input when the NMI processing program is not yet set during IPL, and to prevent peripheral devices from running when the CPU runs. An object of the present invention is to provide a microcomputer system that can prevent destruction of the computer.

また、本発明の他の目的は、IPLを正常に行なうこと
かできない場合でも、IPLrAiを自動的に即時に検
出してCPU動作を停止、させるとともに異常状聾の表
示あるいは警報を発生させることが可能になり、システ
ムの使い勝手が向上するマイクロコンピュータシステム
を提供することにある。
Another object of the present invention is to automatically and immediately detect IPLrAi, stop CPU operation, and display an abnormal state of deafness or generate an alarm even if IPL cannot be performed normally. The object of the present invention is to provide a microcomputer system that enables the use of the system and improves the usability of the system.

[発明の構成コ (3題を解決するための手段) 第1の発明は、CPUと、初期設定プログラムが書込ま
れたROMと、NMI処理プログラムを含むシステムプ
ログラムを記憶しているデータ入力装置と、IPLによ
り上記データ入力装置に記憶されているシステムプログ
ラムが格納されるRAMと、割込み入力装置とを具備す
るマイクロコンピュータシステムにおいて、IPL中は
割込み入力装置からのCPUに幻するNM[の入力をf
g 11する手段を具備することを特徴とする。
[Configuration of the Invention (Means for Solving the Three Problems) The first invention is a data input device that stores a CPU, a ROM in which an initial setting program is written, and a system program including an NMI processing program. In a microcomputer system comprising: a RAM in which a system program stored in the data input device is stored by IPL; and an interrupt input device, during IPL, input of NM [that appears to the CPU from the interrupt input device] f
g11.

また、第2の発明は、第1の発明のマイクロコンピュー
タシステムにおいて、さらに、前記IPLの動作かシス
テムリセット動作後から一定時間内に行なわれたか否か
を検出し、IPLの動作が一定時間内にイアなわれなか
ったことを検出した場合にはCPUを強制的にリセット
するとともに動作異常状態の表示もしくは警報発生を行
なう制御手段を具備することを特徴とする。
Further, in the microcomputer system of the first invention, a second invention further includes detecting whether or not the IPL operation is performed within a certain period of time after the system reset operation; The present invention is characterized in that it includes a control means for forcibly resetting the CPU and displaying an abnormal operation state or issuing an alarm when it is detected that the CPU has failed.

(作 用) 第1の発明のマイクロコンビュータンステムでは、IP
L中のNMIの入力を禁止するNM1入力禁止手段を具
備しているので、IPL中でNMI処理プログラムが未
だセットされていない状態のときにNMIが入力しても
、CPUが暴走することを防止でき、CPUの!1走に
よる周辺装置の破壊を防止できる。
(Function) In the microcombutan stem of the first invention, the IP
Equipped with NM1 input prohibition means that prohibits input of NMI in L, even if NMI is input when the NMI processing program is not yet set during IPL, the CPU is prevented from going out of control. Yes, the CPU! It is possible to prevent damage to peripheral devices due to one run.

また、第2の発明のマイクロコンビュータンステムでは
、第]の発明のマイクロコンピュータシステムに対して
、さらに、IPLの動作がシステムリセット動作後から
一定時間内に行なわれなかったことを検出した場合には
CPUを強制的にリセットするとともに動作異常状態の
表示もしくは警報発生を行なう制御手段を具備している
ので、NMI処理プログラムを含むシステムプログラム
を記憶しているデータ入力装置に対するシステムセット
アツプ時の誤操作などによりIPLを正常二行なうこと
ができない場合でも、IPL異常を自動的に即時に検出
してCPU動作を停止させるとともに異常状態の表示あ
るいは警報を発生させることが可能になり、システムの
使い勝手が向上する。
Furthermore, in the microcomputer system of the second invention, when it is detected that the IPL operation has not been performed within a certain period of time after the system reset operation, in the microcomputer system of the second invention, Since it is equipped with a control means that forcibly resets the CPU and also displays an abnormal operation state or issues an alarm, it prevents erroneous operations during system setup of data input devices that store system programs including NMI processing programs. Even if IPL cannot be performed normally, it is possible to automatically and immediately detect an IPL abnormality, stop CPU operation, and display the abnormal condition or generate an alarm, improving system usability. .

(実施例) 以下、図面をづ照して本発明の一実施例を詳細に説明す
る。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は、たとえば銀行端末機、テラーなどのメインコ
ントローラに用いられる16ビントのマイクロコンピュ
ータシステムを示しており、10は16ビツトのCPU
 (たとえば米国インテル社8086) 、11および
12はCPUl0に接続されているRAMおよびROM
である。このRAMIIおよびROM12は、第2図に
示すメモリマツプのように、0〜1Mバイトの空間アド
レスを有し、物理的には、16ビツトを1ワ一ド単位と
したθ〜512にワードになっている。この場合、RA
MIIは、64にバンクセグメントの15個分があり、
アドレス領域00000(H)〜EFFFF(H)を有
する。また、ROMI 2は、64にバンクセグメント
の1個分があり、アドレス領域FOOOO(H)〜FF
FFF(H)を杓″する。
Figure 1 shows a 16-bit microcomputer system used as the main controller of bank terminals, tellers, etc., and 10 is a 16-bit CPU.
(For example, Intel 8086 in the United States), 11 and 12 are RAM and ROM connected to CPU10.
It is. As shown in the memory map shown in Figure 2, this RAM II and ROM 12 have space addresses of 0 to 1 Mbytes, and are physically arranged in words from θ to 512, with 16 bits in units of one word. There is. In this case, R.A.
MII has 15 bank segments in 64,
It has address areas 00000(H) to EFFFF(H). In addition, ROMI 2 has one bank segment at 64, and the address area FOOOO(H) to FF
Ladle FFF(H).

そして、ROM12には、IPLプログラム(ブートプ
ログラム)を含む初期設定プログラムが書込まれており
、システムリセット後に最初に実行される命令(IPL
プログラムのスタートアドレスへの直接ジャンプ命令)
がアドレスFFFF0 (H)から置かれている。
An initial setting program including an IPL program (boot program) is written in the ROM 12, and the first instruction (IPL
Direct jump instruction to the program start address)
is placed from address FFFF0 (H).

また、RAMI 1には、NMr処理プログラム(ルー
チン)を含むシステムプログラムがIPLにより格納さ
れる。この場合、アドレスDi”l【1nn(H)〜0
(13FF (H)までの1にバイトの領域が割込みポ
インタテーブルとして割当てられており、アドレス00
000 (H)〜00013(H)までは、あらかじめ
定義された割込みのポインタ領域であり、アドレス00
008 (H)〜0OOOB (H)の2ワード(4バ
イト)がNMIのポインタ領域であり、アドレス003
FF(H)以降の領域の一部にNM[処理プログラムが
置かれる。
Further, in RAMI 1, a system program including an NMr processing program (routine) is stored by IPL. In this case, the address Di”l [1nn(H) ~ 0
(A byte area of 1 up to 13FF (H) is allocated as an interrupt pointer table, and address 00
000 (H) to 00013 (H) is a predefined interrupt pointer area, starting at address 00
2 words (4 bytes) from 008 (H) to 0OOOB (H) are the NMI pointer area, and address 003
NM [processing program is placed in a part of the area after FF(H).

一方、13はデータ入力装置(本例ではNMI処理プロ
グラムを含むシステムプログラムを記憶している例えば
3.5インチのフロッピーディスクを駆動するフロッピ
ーディスク駆動装置)であり、J己憶しているシステム
プログラムがIPLIこよりRAMI 1に格納される
ように制御される。
On the other hand, 13 is a data input device (in this example, a floppy disk drive device that drives a 3.5-inch floppy disk, for example, which stores a system program including an NMI processing program); is controlled so that it is stored in RAMI 1 from IPLI.

14は割込み入力装置(たとえば電源異常噴出回路)で
ある。
14 is an interrupt input device (for example, a power supply abnormality ejection circuit).

さらに、本実施例では、上記したマイクロコンピュータ
システムにおいて、IPL中は割込み入力装置14から
のCPUl0に対するNMIの入力を71.するNMI
入力禁止手段2oと、システムリセット動作後から一定
時間内にIPLの動作が行なわれたか否かを検出し、[
PLの動作が一定時間内に行なわれなかったことを検出
した場合にはCPUl0を強制的にリセットするととも
に動作異常状態の表示(もしくは警報発生でもよい)を
行なう制御手段3oとを具備している。
Furthermore, in this embodiment, in the above-mentioned microcomputer system, during IPL, the NMI input from the interrupt input device 14 to the CPU10 is performed at 71. NMI to do
The input inhibiting means 2o detects whether or not an IPL operation has been performed within a certain period of time after the system reset operation, and [
It is equipped with a control means 3o that forcibly resets the CPU10 and displays an abnormal operation state (or may generate an alarm) when it is detected that the PL operation has not been performed within a certain period of time. .

すなわち、NM1入力禁止手段20は、二入力ナンドゲ
ート21と、NM1入力禁止/解除フリップフロップ回
路22と、二入力ナンドゲート23とからなる。ここで
、アクティブL”の二入力ナンドゲート21は、NMI
の割込みアドレス(00008H)をデコーダ(図示せ
ず)でデコードしたアクティブL”の信号MC5OOO
8HおよびCPUl0から供給されるアクティブL°の
メモリライト信号MWRが入力する。NMI入力禁止/
解除フリップフロップ回路22は、アクティブ′H″の
データ入力端子りおよびアクティブL゛のセット入力端
子SがV cc7T1源に接続されており、アクティブ
″H′のクロック入力端子CPに二入力ナンドゲート2
1の出力信号か入力し、アクティブL゛のリセット入力
端子RにアクティブL°のシステムリセット信号5CL
Rが入力する。アクティブ“H“の二入力ナンドゲート
23は、割込み入力装置14からのNM1入力信号およ
びフリップフロップ回路22のi’F柑データ出力端子
Qの出力信号が入力し、その出力信号がCPU10の割
込み端子の1つであるアクティブH″のNMI入力端子
NMIに入力する。
That is, the NM1 input inhibiting means 20 includes a two-input NAND gate 21, an NM1 input inhibiting/cancelling flip-flop circuit 22, and a two-input NAND gate 23. Here, the two-input NAND gate 21 with active L is NMI
The active L" signal MC5OOO is obtained by decoding the interrupt address (00008H) of
8H and an active L° memory write signal MWR supplied from CPU10 are input. NMI input prohibited/
The release flip-flop circuit 22 has an active ``H'' data input terminal and an active LOW set input terminal S connected to the Vcc7T1 source, and has an active ``H'' clock input terminal CP connected to a two-input NAND gate 2.
1 output signal is input, and the active L° system reset signal 5CL is input to the active L° reset input terminal R.
R enters. The active "H" two-input NAND gate 23 receives the NM1 input signal from the interrupt input device 14 and the output signal from the i'F data output terminal Q of the flip-flop circuit 22, and outputs the output signal from the interrupt terminal of the CPU 10. It is input to one active H'' NMI input terminal NMI.

また、制御手段30は、二人カッアゲート24と、タイ
マ回路25と、二人カッアゲート26と、IPLエラー
表示部27とからなる。ここで、アクティブL1の二人
カッアゲート24は、システムリセット信号5CLRお
よびフリップフロップ回路22の逆相データ出力端子Q
の出力信号か入力する。タイマ回路25は、二人カッア
ゲート24の出力信号かアクティブH”の入力端子Ti
nに入力し、H”レベルか入力してから一定時間経過後
に“L″レベルなる出力信号を出力端i’Toutに発
生する。アクティブL゛の二人カッアゲート26は、シ
ステムリセット信号5CLRおよびタイマ回路25の出
力信号が入力し、この二人カッアゲート26の出力信号
はCPUl0のアクティブL”のりセント入力−子R5
Tに入力するとともにアクティブL”のIPLエラー表
ホ部27に入力する。
Further, the control means 30 includes a two-person cover gate 24, a timer circuit 25, a two-person cover gate 26, and an IPL error display section 27. Here, the active L1 two-person gate 24 outputs the system reset signal 5CLR and the reverse phase data output terminal Q of the flip-flop circuit 22.
Input the output signal of The timer circuit 25 receives the output signal of the two-person gate 24 or the active H" input terminal Ti.
n, and after a certain period of time has elapsed since the input of the H level, an output signal of the "L" level is generated at the output terminal i'Tout. The output signal of the circuit 25 is input, and the output signal of the two-person gate 26 is input to the active L" input terminal of the CPU10.
At the same time, it is input to the IPL error table section 27 of "active L".

次に、上記マイクロコンピュータシステムの動作を説明
するが、基本的な動作は従来と同様である。すなわち、
ンステム電源力(オン:こなると、システムリセット発
生回路(図示せず)からアクティブL”のシステムリセ
ット信号5CLRが短期間発生し、二のシステムリセッ
ト信号5CLRが二人カッアゲート26を経てCP U
 1. Dのリセット入力端子RSTに入力する。CP
Ul0がシステムリセット1;号5CLRにより初期化
されると、CPUl0内の各セグメントレジスタ(図示
せず)および命令ポインタ(図示せず)が初期化され、
ROM12のアドレスFFFF0 (H)から置かれて
いる直接ジャンプ命令を最初に実行し、IPLを行ない
、データ入力装置13からRAM11のアドレス000
00(H)以降にシステムプログラムをローディングす
る。このようf五IPL時に、プログラムのローディン
グに順番を設け、NMI処理プログラムをローディング
した後にNMIの割込みアドレス(00008H)を指
定し、メモリライト信号MWRを活性化してNMI処理
プログラムの先頭アドレスデータを書込む。
Next, the operation of the above-mentioned microcomputer system will be explained, but the basic operation is the same as the conventional one. That is,
System power supply (on): When this happens, an active low system reset signal 5CLR is generated from the system reset generation circuit (not shown) for a short period of time, and the second system reset signal 5CLR is sent to the CPU via the two-pass gate 26.
1. It is input to the reset input terminal RST of D. C.P.
When Ul0 is initialized by system reset 1; No.5 CLR, each segment register (not shown) and instruction pointer (not shown) in CPU10 are initialized,
The direct jump instruction placed from address FFFF0 (H) in ROM 12 is first executed, IPL is performed, and data is transferred from address 000 of RAM 11 from data input device 13.
Load the system program after 00(H). In this way, at the time of f5 IPL, the program is loaded in an order, and after loading the NMI processing program, the NMI interrupt address (00008H) is specified, the memory write signal MWR is activated, and the start address data of the NMI processing program is written. It's crowded.

サラに、本実施例においては、システムリセット信号5
CLRによりNMI入力入力禁止/解除7ブ11707
1 データ圧力端子Qの出力信号が“L”レベルになり、二
入力ナンドゲート23は、割込み入力装置14からCP
Ul0のNM1入力端子N M Iに対するNMIの入
力を禁止する状態になる。そして、NMI処理プログラ
ムをローディングした後に、NMIの割込みアドレス(
OO008H)をデコードした1=号M C S 00
08Hが短期間“L°レベルになるとともにメモリライ
ト信号LIW Rか“Lルベルになると、二人カナンド
ゲート2]の出力信号が短期間“Lレベルになり、この
″Lルベル信号の終r後の“H”レベルがタロツク信号
として入力するフリツプフロツプ回路22かセットされ
てその正相データ出力端子Qの出力信号が“H″レベル
なるので、二入力ナンドゲート23は、割込み入力装置
〕4からCPU10に対するNMIの入力の禁止を解除
する状態になる。
Specifically, in this embodiment, the system reset signal 5
NMI input inhibition/cancellation by CLR 7 block 11707
1 The output signal of the data pressure terminal Q becomes "L" level, and the two-input NAND gate 23 receives the CP signal from the interrupt input device 14.
A state is entered in which the input of NMI to the NM1 input terminal NMI of Ul0 is prohibited. After loading the NMI processing program, the NMI interrupt address (
OO008H) decoded 1 = No. M C S 00
When 08H goes to "L level" for a short period of time and the memory write signal LIW R goes to "L level", the output signal of the two-man canand gate 2 goes to "L level" for a short period of time, and after the end of this "L level signal". Since the flip-flop circuit 22 to which the "H" level is input as a tally signal is set and the output signal of its positive phase data output terminal Q becomes "H" level, the two-input NAND gate 23 receives the NMI signal from the interrupt input device 4 to the CPU 10. The state will be such that the inhibition of input is lifted.

したがって、IPL中は割込み入力装置14からのC 
P U 1 0に対するNMIの入力を′MIFするこ
とが可能になる。
Therefore, during IPL, the C
It becomes possible to 'MIF' the input of NMI to P U 1 0.

一方、システムリセット信号5CLRが終了すると、二
人カッアゲート24の一方の入力信号(システムリセッ
ト信号5CLR)は“Hルベルになり、他方の入力信号
(7リツプフロツプ回路22の逆相データ出力端子Qの
出力信号)は°H″レベルになるので、二人カッアゲー
ト24の出力信号が“H“レベルになり、タイマ回路2
5の動作が開始してその出力信号が”H゛レベルなる。
On the other hand, when the system reset signal 5CLR ends, one input signal (system reset signal 5CLR) of the two-person gate 24 becomes the "H level", and the other input signal (the output of the negative phase data output terminal Q of the 7 lip-flop circuit 22 signal) goes to °H" level, the output signal of the two-man gate 24 goes to "H" level, and the timer circuit 2
5 starts and its output signal becomes "H" level.

この後、一定のタイマ時間内に、NMIの割込みアドレ
ス(00008H)をデコードしたアクティブ”L”の
信号M CS O008Hか発生して前記したようにフ
リップフロップ回路22かセットされて、その逆相デー
タ出力端子Qの出力信号が“L”レベルになると、二人
カッアゲート24の出力信号が“L゛レベルなり、タイ
マ回路25の動作がリセットされて、その出力信号は“
Hルーベルのまま変わらない。もし、一定のタイマ時間
内に、NMIの割込みアドレス(00008H’)をデ
コードしたアクティブL。
Thereafter, within a certain timer period, an active "L" signal MCS O008H decoded from the NMI interrupt address (00008H) is generated, the flip-flop circuit 22 is set as described above, and the reverse phase data is generated. When the output signal of the output terminal Q becomes "L" level, the output signal of the two-person gate 24 becomes "L" level, the operation of the timer circuit 25 is reset, and the output signal becomes "L" level.
H Rubel remains unchanged. If the NMI interrupt address (00008H') is decoded within a certain timer period, the active L signal is activated.

の信号MC5OOO8Hが発生しないと、フリップフロ
ップ回路22の逆相データ出力端子Qの出力信号が“H
“レベルのままであり、二入力ノアデート24の出力0
号は“H”レベルのままであり、タイマ時間経過後にタ
イマ回路25の出力信号が“L“レベルになる。これに
より、二人カッアゲート26の出力信号が“L″レベル
なり、CPUl0のリセソ]・入力端子R8Tに強制リ
セ、ト信号として入力するとともにIPLエラー表示部
27に表示イネーブル信号として入力する。
If the signal MC5OOO8H is not generated, the output signal of the reverse phase data output terminal Q of the flip-flop circuit 22 becomes “H”.
“It remains at the level, and the output of the two input nordate 24 is 0.
The signal remains at the "H" level, and after the timer time elapses, the output signal of the timer circuit 25 becomes the "L" level. As a result, the output signal of the two-person gate 26 becomes "L" level, and is inputted to the CPU10 input terminal R8T as a forced reset signal, and is also inputted to the IPL error display section 27 as a display enable signal.

ドがって、IPLの動作がシステムリセット動作後から
一定時間内に行なわれたか否かを自動的に即時に検出し
、IPLの動作が一定時間内に行なわれなかったことを
検出した場合には、CPU10を強制的にリセットする
とともに動作異常状態の表示を行なうことが可能になる
Therefore, it automatically and immediately detects whether or not the IPL operation has been performed within a certain period of time after the system reset operation, and when it is detected that the IPL operation has not been performed within the certain period of time. This makes it possible to forcibly reset the CPU 10 and display an abnormal operation state.

[発明の効果] 上述したように本発明のマイクロコンピュータシステム
によれば、IPL中てNMI処理プログラムが未だセッ
トされていない状態の時にNMIが入力しても、CPU
が暴走することを防止でき、CPUの暴走による周辺装
置の破壊を防止することができる。
[Effects of the Invention] As described above, according to the microcomputer system of the present invention, even if an NMI is input during IPL when the NMI processing program has not yet been set, the CPU
It is possible to prevent the CPU from running out of control, and it is possible to prevent peripheral devices from being destroyed due to a runaway CPU.

また、本発明のマイクロコンピュータシステムによれば
、NMI処理プログラムを含むシステムプログラムを記
憶しているデータ入力装置に対するシステムセットアツ
プ時の誤操作などにより1、 P Lを正常に行なうこ
とができない場合でも、iPL異常を自動的に即時に検
出してCPU動作を停止させるととしに異常状態の表示
あるいは警報を発生さ廿ることが可能になるので、シス
テムの使い勝手か向上する。
Further, according to the microcomputer system of the present invention, even if 1. PL cannot be performed normally due to an erroneous operation during system setup on a data input device that stores a system program including an NMI processing program, Since it is possible to automatically and immediately detect an iPL abnormality and stop the CPU operation, and also to display an abnormal state or generate an alarm, the usability of the system is improved.

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

?!51図は本発明のマイクロコンビュータンステムの
一実施例を示す構成説明図、第2図は第1図中のRA 
MおよびROMによるメモリマツプを示す図である。 10・・・CPU、11・・・RAM、12・・・RO
M。 13・・・データ入力装置(フロッピーディスク駆動装
置)、14・・割込み入力装置、20・・・NMI入力
pIk−手段、21・・・二入力ナンドゲート、22・
・NMI入力票止/解除フリップフロップ回路、23・
・二入力ナンドゲート、24・・・二人カッアゲート、
25・・・タイマ回路、26・・・二人カッアゲート、
27・・IPLエラー表示部、30・・・制御手段。
? ! FIG. 51 is a configuration explanatory diagram showing one embodiment of the microcombutan stem of the present invention, and FIG. 2 is an illustration of the RA in FIG.
FIG. 3 is a diagram showing a memory map using M and ROM. 10...CPU, 11...RAM, 12...RO
M. 13... Data input device (floppy disk drive), 14... Interrupt input device, 20... NMI input pIk-means, 21... Two-input NAND gate, 22...
・NMI input vote stop/release flip-flop circuit, 23・
・Two-input NAND gate, 24...Two-person Kaa gate,
25...Timer circuit, 26...Two person gate,
27... IPL error display unit, 30... Control means.

Claims (2)

【特許請求の範囲】[Claims] (1)中央処理ユニットと、初期設定プログラムが書込
まれたリードオンリメモリと、ノンマスカブル割込み処
理プログラムを含むシステムプログラムを記憶している
データ入力装置と、初期プログラムローディングにより
前記データ入力装置に記憶されているシステムプログラ
ムが格納されるランダムアクセスメモリと、割込み入力
装置とを具備するマイクロコンピュータシステムにおい
て、 初期プログラムローディング中は前記割込み入力装置か
らの前記中央処理ユニットに対するノンマスカブル割込
みの入力を禁止する手段を有することを特徴とするマイ
クロコンピュータシステム。
(1) A central processing unit, a read-only memory in which an initial setting program is written, and a data input device in which a system program including a non-maskable interrupt processing program is stored; In a microcomputer system, the microcomputer system includes a random access memory in which a system program is stored, and an interrupt input device, further comprising means for inhibiting input of non-maskable interrupts from the interrupt input device to the central processing unit during initial program loading. A microcomputer system comprising:
(2)前記初期プログラムローディングの動作がシステ
ムリセット動作後から一定時間内に行われたか否かを検
出し、初期プログラムローディングの動作が一定時間内
に行われなかったことを検出した場合には前記中央処理
ユニットを強制的にリセットするとともに動作異常状態
の表示もしくは警報発生を行なう制御手段をさらに具備
することを特徴とする請求項1記載のマイクロコンピュ
ータシステム。
(2) Detecting whether the initial program loading operation was performed within a certain period of time after the system reset operation, and if it is detected that the initial program loading operation was not performed within a certain period of time, the above-mentioned 2. The microcomputer system according to claim 1, further comprising control means for forcibly resetting the central processing unit and displaying an abnormal operation state or issuing an alarm.
JP2024354A 1990-02-05 1990-02-05 Microcomputer system Pending JPH03229332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2024354A JPH03229332A (en) 1990-02-05 1990-02-05 Microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2024354A JPH03229332A (en) 1990-02-05 1990-02-05 Microcomputer system

Publications (1)

Publication Number Publication Date
JPH03229332A true JPH03229332A (en) 1991-10-11

Family

ID=12135861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2024354A Pending JPH03229332A (en) 1990-02-05 1990-02-05 Microcomputer system

Country Status (1)

Country Link
JP (1) JPH03229332A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6000002A (en) * 1997-01-08 1999-12-07 Stmicroelectronics Gmbh Protection circuit for program-controlled electrical equipment
US7373529B2 (en) 2002-06-28 2008-05-13 Fujitsu Limited Performing a power supply check for an information storage device to increase power consumption in a stepwise manner
JP2015058751A (en) * 2013-09-17 2015-03-30 日立オートモティブシステムズ株式会社 Vehicle electronic control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6000002A (en) * 1997-01-08 1999-12-07 Stmicroelectronics Gmbh Protection circuit for program-controlled electrical equipment
EP0853282A3 (en) * 1997-01-08 2006-08-23 Sgs-Thomson Microelectronics Gmbh Protection circuit for a programmable electrical device
US7373529B2 (en) 2002-06-28 2008-05-13 Fujitsu Limited Performing a power supply check for an information storage device to increase power consumption in a stepwise manner
JP2015058751A (en) * 2013-09-17 2015-03-30 日立オートモティブシステムズ株式会社 Vehicle electronic control device

Similar Documents

Publication Publication Date Title
EP0312194B1 (en) Data processor having two modes of operation
JP4708016B2 (en) System and method for protection against unreliable system management code by re-instructing system management instructions and creating virtual machine containers
US7103738B2 (en) Semiconductor integrated circuit having improving program recovery capabilities
JPH03266051A (en) Security system for software
JPH01219982A (en) Ic card
JPS5992500A (en) Protection system for data processor
JPH03229332A (en) Microcomputer system
EP0117930A1 (en) Interactive work station with auxiliary microprocessor for storage protection
JP3317361B2 (en) Battery backup control method for memory
JPS59231800A (en) Preventing device for foul writing to main memory
JPS6250863B2 (en)
JPS63250753A (en) Memory access checking system
JPS59112494A (en) Memory testing system
JPS6195464A (en) Data protecting system
JPS6015762A (en) Main memory unauthorized write prevention device
JPS6014345A (en) Protecting system of program runaway
JPS6270956A (en) Memory protecting device
JPH02171935A (en) Runaway preventing circuit for microprocessor
JPH0212443A (en) Duplex processor
JPS63138437A (en) Program control system
JPS61121146A (en) Memory protection method
JPS6143334A (en) Microcomputer device
JPH011037A (en) Interrupt-driven information processing system
JPS6074060A (en) Storage protecting device
JP2008047025A (en) Microcontroller