JPH05233851A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPH05233851A
JPH05233851A JP4014921A JP1492192A JPH05233851A JP H05233851 A JPH05233851 A JP H05233851A JP 4014921 A JP4014921 A JP 4014921A JP 1492192 A JP1492192 A JP 1492192A JP H05233851 A JPH05233851 A JP H05233851A
Authority
JP
Japan
Prior art keywords
data value
microprocessor
value indicating
data
period
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
JP4014921A
Other languages
Japanese (ja)
Inventor
Hiroo Suyama
浩生 巣山
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4014921A priority Critical patent/JPH05233851A/en
Publication of JPH05233851A publication Critical patent/JPH05233851A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the privacy of a system provided with the microprocessor. CONSTITUTION:This microprocessor to be operated on any specified private condition is provided with a timer 1 to count the operating period of the microprocessor, register 2 to successively store data values showing the operating period, storage circuit 4 to store a data value showing operating limit specified in advance, comparator 3 to compare and collate the data value showing the operating period stored in the register 2 with the data value showing the operating limit stored in the storage circuit 4, at least, and when the data value showing the operating period exceeds the data value showing the operating limit, the function of a built-in CPU 5 is stopped through a control signal 102 outputted from the comparator 3.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマイクロプロセッサに関
し、特に機密保持・防犯装置用として用いられるマイク
ロプロセッサに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor, and more particularly to a microprocessor used for a security / crime prevention device.

【0002】[0002]

【従来の技術】従来、マイクロプロセッサに関して、そ
の稼働時間を測定する場合には、所定のソフトウェアを
用いて処理が行われている。図2に示されるのは、その
稼働時間測定時における回路構成を示し、また図3は、
その場合における処理手順を示す流れ図である。なお、
図2に示されるブロック図は、当該マイクロプロセッサ
の本発明に関係する部分のみを示す部分ブロック図であ
る。
2. Description of the Related Art Conventionally, for measuring the operating time of a microprocessor, a predetermined software is used for processing. 2 shows the circuit configuration at the time of measuring the operating time, and FIG. 3 shows
It is a flow chart which shows a processing procedure in that case. In addition,
The block diagram shown in FIG. 2 is a partial block diagram showing only a portion of the microprocessor concerned with the present invention.

【0003】図2および図3において、タイマ6に或る
時間値が設定されると、タイマ6においては入力される
クロック103を介してカウントを開始され、所定のカ
ウント値に到達すると、当該タイマ6よりはINT制御
信号104が出力され、CPU9のINT端子に入力さ
れる。このINT制御信号104を受けて、CPU9に
おいては、割込み処理動作に入り、図3の流れ図に示さ
れるスタートから当該プログラムが開始される。この割
込み処理の過程において、記憶回路(RAM)7に記憶
されている動作期間時間データが読出されて動作期間値
がプラスされ(ステップ31)、タイマ値が更新されて
(ステップ32)、その後当該割込処理より元の処理に
復帰して(ステップ33)、割込み処理は終了となり、
再度タイマ6におけるカウントが開始される。
2 and 3, when a certain time value is set in the timer 6, counting is started in the timer 6 via the input clock 103, and when a predetermined count value is reached, the timer is stopped. The INT control signal 104 is output from 6 and is input to the INT terminal of the CPU 9. In response to the INT control signal 104, the CPU 9 enters the interrupt processing operation, and the program is started from the start shown in the flowchart of FIG. In the process of this interrupt processing, the operating period time data stored in the memory circuit (RAM) 7 is read out, the operating period value is added (step 31), the timer value is updated (step 32), and then the relevant period value is updated. Returning to the original processing from the interrupt processing (step 33), the interrupt processing ends,
The timer 6 starts counting again.

【0004】また、稼働時間が所定の動作期限データの
値を越えたか否かを判定して処理を停止させる場合にお
いても、ソフトウェアにより処理が行われており、図4
の処理手順を示す流れ図において、記憶回路(RAM)
7からはマイクロプロセッサ自体の動作期間データ値
(B)が読出され、また記憶回路(ROM)8からは動
作期限データ値(A)が読出されて(ステップ41)、
これらの動作期間データ値(B)と動作期限データ値
(A)とが比較判定されて(ステップ42)、動作期間
データ値(B)が、動作期限データ値(A)以内である
場合には、通常の処理即ち通常のアプリケーション処理
が継続して行われ、また、動作期間データ値(B)が、
動作期限データ値(A)を越える場合には、プログラム
の実行機能が停止されて、処理は終了となる。
Further, even when it is determined whether the operating time exceeds the value of the predetermined operation time limit data and the processing is stopped, the processing is performed by the software.
In the flow chart showing the processing procedure of, the storage circuit (RAM)
The operation period data value (B) of the microprocessor itself is read from 7 and the operation time limit data value (A) is read from the memory circuit (ROM) 8 (step 41).
When the operation period data value (B) and the operation period data value (A) are compared and determined (step 42) and the operation period data value (B) is within the operation period data value (A), , Normal processing, that is, normal application processing is continuously performed, and the operation period data value (B) is
If the operation time limit data value (A) is exceeded, the execution function of the program is stopped and the processing ends.

【発明が解決しようとする課題】上述した従来のマイク
ロプロセッサにおいては、ソフトウェアを介して動作期
間の更新を行い、また動作期間データ値等を読出してい
る。しかし、この方法においては、当該ソフトウェアを
削除/変更することにより、この機能を容易に削除し変
更することができるために、特定の防秘条件下において
運用されるマイクロプロセッサに対しては、適合し得な
いという欠点がある。
In the conventional microprocessor described above, the operating period is updated via software, and the operating period data value and the like are read out. However, in this method, since this function can be easily deleted and changed by deleting / changing the software, it is suitable for a microprocessor operated under a specific security condition. It has the drawback that it cannot.

【0005】[0005]

【課題を解決するための手段】本発明のマイクロプロセ
ッサは、特定の防秘条件下において運用されるマイクロ
プロセッサにおいて、当該マイクロプロセッサの運用動
作期間を示すデータ値を逐次格納する第1のデータ記憶
手段と、当該マイクロプロセッサに対して、予め規定さ
れる運用動作期限を示すデータ値を格納する第2のデー
タ記憶手段と、前記第1のデータ記憶手段に格納されて
いる運用動作期間を示すデータ値と、前記第2のデータ
記憶手段に格納されている運用動作期限を示すデータ値
とを比較照合する運用動作期間比較手段と、を少なくと
も備えており、前記運用動作期間を示すデータ値が前記
運用動作期限を示すデータ値を越える時点において、前
記運用動作期間比較手段より出力される制御信号を介し
て、内蔵するCPUの機能を停止することを特徴として
いる。
A microprocessor according to the present invention is a microprocessor which is operated under a specific security condition, in which a first data storage for sequentially storing a data value indicating an operation operation period of the microprocessor. Means, a second data storage means for storing a data value indicating a predetermined operational operation time limit for the microprocessor, and data indicating the operational operation period stored in the first data storage means. At least an operation operation period comparison means for comparing and collating a value with a data value indicating the operation operation time limit stored in the second data storage means, wherein the data value indicating the operation operation period is At the time when the data value indicating the operational operation time limit is exceeded, the built-in CP is transmitted via the control signal output from the operational operation period comparison means It is characterized by stopping the function.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0007】図1は本発明の一実施例を示す部分ブロッ
ク図であり、本発明に関与する部分のみが示されてい
る。図1に示されるように、本実施例の部分回路として
は、タイマ1と、レジスタ2と、コンパレータ3と、記
憶回路4と、CPU5とを備えて構成される。
FIG. 1 is a partial block diagram showing an embodiment of the present invention, and only a portion related to the present invention is shown. As shown in FIG. 1, the partial circuit of this embodiment includes a timer 1, a register 2, a comparator 3, a memory circuit 4, and a CPU 5.

【0008】図1において、タイマ1においては、クロ
ック101を介してカウントが行われ、その結果として
出力されるの動作期間データの値はレジスタ2に入力さ
れて格納される。このレジスタ2に格納される動作期間
データの値は、コンパレータ3を介して、記憶回路4に
保持されている動作期限データの値と比較され、レジス
タ2に格納されている動作期間データの値が、記憶回路
4に保持されている動作期限データの値よりも大きい場
合には、コンパレータ3より、CPU5の動作を制御す
る制御信号102が、インアクティブな信号として連続
的に出力されてCPU5のREADY端子に入力され、
CPU5においては、この制御信号を受けて、ウェイト
・サイクルが繰返して生成される状態となり、その機能
動作は完全に停止される。また、コンパレータ3におい
て、レジスタ2に格納されている動作期間データの値
が、記憶回路4に保持されている動作期限データの値以
内である場合には、コンパレータ3より制御信号102
が出力されることはなく、CPU5においては正常の処
理動作が行われる。
In FIG. 1, in the timer 1, counting is performed via the clock 101, and the value of the operation period data output as a result is input to and stored in the register 2. The value of the operating period data stored in the register 2 is compared with the value of the operating period data held in the memory circuit 4 via the comparator 3, and the value of the operating period data stored in the register 2 is determined. If it is larger than the value of the operation time limit data held in the memory circuit 4, the control signal 102 for controlling the operation of the CPU 5 is continuously output from the comparator 3 as an inactive signal and the READY of the CPU 5 is read. Input to the terminal,
In response to this control signal, CPU 5 enters a state in which wait cycles are repeatedly generated, and its functional operation is completely stopped. Further, in the comparator 3, when the value of the operation period data stored in the register 2 is within the value of the operation deadline data held in the memory circuit 4, the control signal 102 is output from the comparator 3.
Is not output, and the CPU 5 performs a normal processing operation.

【0009】なお、前述のコンパレータ3より出力され
る制御信号102により、当該マイクロプロセッサのプ
ラグラム・カウンタの機能を停止させることによって
も、CPU5の機能を停止させることができる。
The function of the CPU 5 can also be stopped by stopping the function of the program counter of the microprocessor by the control signal 102 output from the comparator 3.

【0010】[0010]

【発明の効果】以上説明したように、本発明は、従来は
ソフトウェアにより処理していた動作期間に関する処理
を、全て当該マイクロプロセッサ内のハードウェアを介
して行うことにより、ソフトウェアの書換え等に対し
て、防秘対策効果が高いという効果がある。
As described above, according to the present invention, the processing related to the operation period, which has been conventionally processed by software, is performed through the hardware in the microprocessor, so that the software can be rewritten. Therefore, there is an effect that the security measures are highly effective.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】従来例を示すブロック図である。FIG. 2 is a block diagram showing a conventional example.

【図3】従来例における処理手順を示す流れ図である。FIG. 3 is a flowchart showing a processing procedure in a conventional example.

【図4】従来例における処理手順を示す流れ図である。FIG. 4 is a flowchart showing a processing procedure in a conventional example.

【符号の説明】[Explanation of symbols]

1、6 タイマ 2 レジスタ 3 コンパレータ 4 記憶回路 5、9 CPU 7 記憶回路(RAM) 8 記憶回路(ROM) 1, 6 timer 2 register 3 comparator 4 storage circuit 5, 9 CPU 7 storage circuit (RAM) 8 storage circuit (ROM)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 特定の防秘条件下において運用されるマ
イクロプロセッサにおいて、 当該マイクロプロセッサの運用動作期間を示すデータ値
を逐次格納する第1のデータ記憶手段と、 当該マイクロプロセッサに対して、予め規定される運用
動作期限を示すデータ値を格納する第2のデータ記憶手
段と、 前記第1のデータ記憶手段に格納されている運用動作期
間を示すデータ値と、前記第2のデータ記憶手段に格納
されている運用動作期限を示すデータ値とを比較照合す
る運用動作期間比較手段と、 を少なくとも備えており、前記運用動作期間を示すデー
タ値が前記運用動作期限を示すデータ値を越える時点に
おいて、前記運用動作期間比較手段より出力される制御
信号を介して、内蔵するCPUの機能を停止することを
特徴とするマイクロプロセッサ。
1. In a microprocessor operated under a specific security condition, first data storage means for sequentially storing a data value indicating an operation operation period of the microprocessor, and the microprocessor in advance. A second data storage means for storing a data value indicating a prescribed operational operation time limit; a data value indicating an operational operation period stored in the first data storage means; and a second data storage means An operation operation period comparison means for comparing and collating with a stored data value indicating the operation operation time limit, and at a time point when the data value indicating the operation operation time period exceeds the data value indicating the operation operation time limit. A micro controller characterized in that the function of a built-in CPU is stopped through a control signal output from the operational operation period comparison means. Processor.
JP4014921A 1992-01-30 1992-01-30 Microprocessor Pending JPH05233851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4014921A JPH05233851A (en) 1992-01-30 1992-01-30 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4014921A JPH05233851A (en) 1992-01-30 1992-01-30 Microprocessor

Publications (1)

Publication Number Publication Date
JPH05233851A true JPH05233851A (en) 1993-09-10

Family

ID=11874429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4014921A Pending JPH05233851A (en) 1992-01-30 1992-01-30 Microprocessor

Country Status (1)

Country Link
JP (1) JPH05233851A (en)

Similar Documents

Publication Publication Date Title
JPH05108218A (en) Computer system
JPH05233851A (en) Microprocessor
JPS6240735B2 (en)
JP4439711B2 (en) Data processing apparatus and system
JPH0573296A (en) Microcomputer
JPH0683652A (en) Microcomputer system
JP3403846B2 (en) Data saving device
JPH0635757A (en) Abnormality detector of cpu
JPH02137054A (en) Information processor
JPH02264340A (en) Microprocessor
JPH03192452A (en) Interruption processing method for device input/output driver program
JPS642981B2 (en)
JPS6267655A (en) Microcomputer
JP2503838Y2 (en) Microprocessor device
JP2557785Y2 (en) Single chip microcomputer
JP3341164B2 (en) Programmable controller
JPS6316317A (en) Resetting device for computer system
JPS61153871A (en) Electronic register device
JPS61148538A (en) Operation processor
JPH05216701A (en) Recovery time adjusting circuit for input/output instruction
JPH0581041A (en) Information processor
JPH0675780A (en) Interruption controller
JPS63120340A (en) Data processor
JPH0683671A (en) Operation monitoring circuit for semiconductor device
JPH02120999A (en) Power supply interruption processor for electronic apparatus

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990309