JPH0744258A - Reactivating method for electronic equipment - Google Patents

Reactivating method for electronic equipment

Info

Publication number
JPH0744258A
JPH0744258A JP5187815A JP18781593A JPH0744258A JP H0744258 A JPH0744258 A JP H0744258A JP 5187815 A JP5187815 A JP 5187815A JP 18781593 A JP18781593 A JP 18781593A JP H0744258 A JPH0744258 A JP H0744258A
Authority
JP
Japan
Prior art keywords
electronic device
cpu
card
controller
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.)
Pending
Application number
JP5187815A
Other languages
Japanese (ja)
Inventor
Tetsuo Otsuka
哲夫 大塚
Sho Kumagai
祥 熊谷
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP5187815A priority Critical patent/JPH0744258A/en
Publication of JPH0744258A publication Critical patent/JPH0744258A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To release the hang-up state of an electronic equipment in which a CPU is integrated only when a specific device is mounted. CONSTITUTION:When an IC card is mounted on an IC card reader, and a power source input terminal is set as +5V (S11-S12), the CPU of the IC card sets and SEND signal, outputted through the IC card reader to the I/O controller of the electronic equipment, to 'on' (S13). Then, after the lapse of 10msec, the CPU turns 'off' the SEND signal (S14-S15), and discriminates whether or not a RECEIVE signal outputted by the I/O controller is turned 'on' (S16). Then, when it is not turned 'on', the CPU judge that the hang-up state of the electronic equipment is obtained, and sets a RESET signal outputted to the CPU of the electronic equipment main body and a sub-CPU in the I/O controller to 'on' (S17). Thus, the electronic equipment can be reactivated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子機器が何らかの原
因でハングアップ(hung up)状態になったとき、ある特
定の装置を使用しなければ上記ハングアップ状態が解除
されないようにした電子機器の再起動方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device in which, when the electronic device is hung up for some reason, the hung-up condition is not released unless a specific device is used. Regarding how to restart.

【0002】[0002]

【従来の技術】最近の電子機器は、多機能に伴いマイク
ロコンピュータ(micro computer) 内蔵のものが多くな
ってきている。このような電子機器は、ROM(リード
・オンリ・メモリ)に内蔵されているプログラムをCP
U(Central Processing Unit)が実行することにより上
記多機能化を実現している。
2. Description of the Related Art Recently, many electronic devices have a built-in microcomputer due to their multi-functionality. Such an electronic device uses a program stored in a ROM (Read Only Memory) as a CP.
The multi-functionalization is realized by execution by a U (Central Processing Unit).

【0003】しかしながら、このようなマイクロコンピ
ュータ組み込み型の電子機器においては、静電気等によ
りCPUのプログラム実行動作が異常となり(例えば、
プログラムが暴走し、プログラムが止まらなくなる)、
データ入力が不可能となる、いわゆるハングアップ状態
になることがある。また、電子機器を不法にいじくった
場合にもハングアップ状態になることがある。
However, in such a microcomputer-embedded electronic device, the program execution operation of the CPU becomes abnormal due to static electricity or the like (for example,
The program runs out of control and the program doesn't stop),
In some cases, it becomes a so-called hang-up state where data cannot be input. In addition, even if the electronic device is illegally tampered with, it may be in a hang-up state.

【0004】[0004]

【発明が解決しようとする課題】従来、上記ハングアッ
プ状態を解除するためには、通常電源のスイッチをいっ
たんオフにしてから再びオンにする、またはACコンセ
ントをいったんプラグから抜いてから再び差し込むなど
の操作を行えばよかった。
Conventionally, in order to cancel the above-mentioned hang-up state, the switch of the normal power supply is once turned off and then turned on again, or the AC outlet is once unplugged and then plugged again. I should have done the operation.

【0005】しかしながら、ある種の電子機器において
は、上記のような誰でもが知っているような公知の操作
でハングアップが解除されてしまっては困る場合があ
る。例えば、無断で他人に使用されたくない場合や、デ
ータの表示機能を有する電子機器においては個人のプラ
イバシーや機密事項に係わる重要なデータが外部記憶装
置や不揮発性メモリ等に記憶されている場合等である。
However, in some types of electronic equipment, it may be a problem if the hang-up is canceled by the above-described known operation known to anyone. For example, if you do not want to be used by others without permission, or if important data related to personal privacy or confidential matters is stored in an external storage device or non-volatile memory in an electronic device that has a data display function, etc. Is.

【0006】上記のような場合においては、持ち主が知
っている特別な操作によりハングアップが解除されるの
が望ましい。本発明は、上記のような理由に鑑み、CP
Uが組み込まれている電子機器がハングアップ状態にあ
るとき、特定の装置を装着した場合に、そのハングアッ
プ状態が解除されて、該電子機器を再起動できるような
電子機器の再起動方法を提供することである。
In the above case, it is desirable that the hang-up be released by a special operation known by the owner. The present invention has been made in consideration of the above-mentioned reasons.
A method for restarting an electronic device in which the electronic device incorporating U is in a hung-up state and the hung-up state is canceled and the electronic device can be restarted when a specific device is attached Is to provide.

【0007】[0007]

【課題を解決するための手段】本発明は、CPUが内蔵
され、該CPUが予め組み込まれているプログラムを実
行することにより所定の機能を実現する電子機器がハン
グアップ状態になったときの該電子機器の再起動方法に
関する。
According to the present invention, a CPU is built-in, and when an electronic device which realizes a predetermined function by executing a program in which the CPU is installed in advance is in a hang-up state, The present invention relates to a method for restarting an electronic device.

【0008】そして、ある特定の装置を前記電子機器に
装着し、該特定の装置が前記電子機器との間で予め定め
られた方式で信号の送受信を試み、該信号の送受信が成
功したときに、上記特定の装置から前記電子機器のCP
Uをリセットさせてハングアップ状態にある電子機器を
再起動させることを特徴とする。
When a specific device is attached to the electronic device, the specific device tries to transmit / receive a signal to / from the electronic device by a predetermined method, and when the signal is successfully transmitted / received, , CP of the electronic device from the specific device
It is characterized in that U is reset and the electronic device in the hang-up state is restarted.

【0009】上記特定の装置は、例えばICカードであ
り、上記電子機器は、例えば本体のCPU以外にICカ
ードリーダ及び該ICカードリーダが接続されるI/O
コントローラを備えた電子機器である。該I/Oコント
ローラは、例えばCPU(サブCPU)を内蔵してお
り、上記I/Oコントローラは該サブCPUによって各
種I/O制御を行う。そして、上記ICカードを上記I
Cカードリーダに装着すると、ICカードはICカード
リーダを介しI/Oコントローラに対し送受信を送る。
I/Oコントローラが正常に動作している場合には、I
/Oコントローラは所定時間以外に応答信号をICカー
ドに返すが、ハングアップ状態にあるときには、上記I
Cカードから出力された送信信号を検出できず上記応答
信号はICカードに返されない。ICカードは、上記応
答信号を所定時間以上経過しても受信できない場合に
は、IOコントローラがハングアップ状態にあると判断
し、ICカードリーダを介し電子機器本体のCPU及び
I/OコントローラのサブCPUをリセットさせ、電子
機器を再起動させる。
The specific device is, for example, an IC card, and the electronic device is, for example, an IC card reader and an I / O to which the IC card reader is connected in addition to the CPU of the main body.
It is an electronic device including a controller. The I / O controller includes, for example, a CPU (sub CPU), and the I / O controller performs various I / O control by the sub CPU. Then, the IC card is replaced with the I
When mounted on the C card reader, the IC card sends and receives data to and from the I / O controller via the IC card reader.
If the I / O controller is operating normally, I
The / O controller returns a response signal to the IC card at a time other than the predetermined time.
The transmission signal output from the C card cannot be detected and the response signal is not returned to the IC card. If the IC card cannot receive the response signal for a predetermined time or more, the IC card determines that the IO controller is in the hung-up state, and the CPU of the electronic device main body and the sub unit of the I / O controller are connected via the IC card reader. The CPU is reset and the electronic device is restarted.

【0010】[0010]

【作用】本発明の作用は、以下の通りである。上記特定
の装置を電子機器に装着すると、該特定の装置は該電子
機器に対し予め定められた方式で応答を求める信号を送
信する。このとき、該電子機器がハングアップ状態であ
れば、電子機器は上記特定の装置からの信号の入力を検
知できず、上記信号に対する応答信号を上記電子機器に
返すことはできない。
The operation of the present invention is as follows. When the specific device is attached to an electronic device, the specific device transmits a signal for a response to the electronic device in a predetermined method. At this time, if the electronic device is in a hung-up state, the electronic device cannot detect the input of a signal from the specific device and cannot return a response signal to the signal to the electronic device.

【0011】この場合、上記特定の装置は上記電子機器
との間での信号の送受が不成功に終わったと判断し、上
記電子機器のCPUをリセットさせる。したがって、上
記以外の方法での上記CPUのリセットを不可能にする
ことにより、ある特定の装置が電子機器に装着されたと
き、ハングアップ状態にある該電子機器のCPUをリセ
ットさせて、該電子器を再起動させるようにすることが
できる。
In this case, the specific device determines that the signal transmission / reception with the electronic device has been unsuccessful, and resets the CPU of the electronic device. Therefore, by disabling the resetting of the CPU by a method other than the above, when a specific device is attached to an electronic device, the CPU of the electronic device in a hung-up state is reset to cause the electronic device to be reset. The vessel can be restarted.

【0012】[0012]

【実施例】以下、図面を参照しながら本発明の実施例を
説明する。本実施例は、ICカードリーダを備えた電子
機器がハングアップ状態になったときに、該ICカード
リーダにICカードを装着するとにより上記ハングアッ
プ状態を解除させるものである。
Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, when an electronic device equipped with an IC card reader is in a hang-up state, an IC card is attached to the IC card reader to cancel the hang-up state.

【0013】図1は、本実施例におけるICカード10
内部の回路構成を示すブロック図である。同図におい
て、CPU12は後述するICカードリーダ180を介
して電子機器との間で情報の読み出し/書き込みを行う
と共に、上記電子機器がハングアップ状態にある時には
これを検出し、該ハングアップ状態を解除するために上
記電子機器内のCPUをリセットさせる。
FIG. 1 shows an IC card 10 according to this embodiment.
It is a block diagram showing an internal circuit configuration. In the figure, the CPU 12 reads / writes information from / to an electronic device via an IC card reader 180 described later, detects the electronic device when the electronic device is in a hung-up state, and detects the hang-up state. In order to release it, the CPU in the electronic device is reset.

【0014】ROM14は、上記CPU12により実行
されるプログラムを格納すると共に、各種データを格納
する。このROM14は、例えばEEPROM(Electr
ically Erasable Programmable ROM)等のようなデータ
の読み出し/書き込みが可能な不揮発性メモリから成
る。
The ROM 14 stores the program executed by the CPU 12 and various data. The ROM 14 is, for example, an EEPROM (Electr
It consists of a non-volatile memory that can read / write data, such as an Erasable Programmable ROM.

【0015】このICカード10は、Vcc,RST,
RCV,SND、及びI/Oの5種類の端子を備えてい
る。これらの端子の機能を以下に示す。 Vcc・・・CPU12動作用の電源電圧(+5V)の
入力端子 RST・・・リセット信号の出力端子 RCV・・・RECEIVE信号の入力端子 SND・・・SEND信号の出力端子 DB・・・ データのシリアル入出力端子 次に、図2は上記ICカード10が装着される。ICカ
ードリーダ180を備えた電子機器の回路構成を示すブ
ロック図である。
This IC card 10 has Vcc, RST,
It has five types of terminals: RCV, SND, and I / O. The functions of these terminals are shown below. Vcc: Power supply voltage (+ 5V) input terminal for CPU12 operation RST: Reset signal output terminal RCV: RECEIVE signal input terminal SND: SEND signal output terminal DB: Data serial Input / Output Terminal Next, in FIG. 2, the IC card 10 is mounted. It is a block diagram showing a circuit configuration of an electronic device including an IC card reader 180.

【0016】同図において、機器全体の制御を行うCP
U110には、バス120を介してROM130、RA
M140、表示コントローラ150、及びI/Oコント
ローラ160が接続されている。
In the figure, a CP for controlling the entire equipment
ROM 130, RA to U110 via bus 120
The M140, the display controller 150, and the I / O controller 160 are connected.

【0017】ROM(リード・オンリ・メモリ)130
は、CPU110が実行するプログラムを格納してい
る。RAM(ランダム・アクセス・メモリ)140は、
CPU110の作業域やI/Oコントローラ160を介
して入出力されるデータの入出力バッファ等に用いられ
る。
ROM (Read Only Memory) 130
Stores a program executed by the CPU 110. RAM (random access memory) 140 is
It is used as a work area of the CPU 110 and an input / output buffer for data input / output via the I / O controller 160.

【0018】表示コントローラ150は、液晶ディスプ
レイ等から成る表示部170を制御して、該表示部17
0に所定の画面を表示させる。I/Oコントローラ16
0は、CPU110からの制御信号に応じて、フローピ
ィディスク等の外部記憶装置に対するデータの入出力を
制御する。この制御は、内蔵のCPU162(以後、サ
ブCPU162と表現する)により行う。またICカー
ドリーダ180とも接続されている。
The display controller 150 controls the display section 170, which is a liquid crystal display or the like, to display the display section 17.
A predetermined screen is displayed on 0. I / O controller 16
0 controls input / output of data to / from an external storage device such as a floppy disk in response to a control signal from the CPU 110. This control is performed by the built-in CPU 162 (hereinafter referred to as the sub CPU 162). It is also connected to the IC card reader 180.

【0019】ICカードリーダ180は、前記ICカー
ド10が装着される装置であり、ICカード100とI
/Oコントローラ160間での信号の送受信を制御す
る。すなわち、ICカード10から入力されるSEND
信号をI/Oコントローラ160に出力すると共に、該
I/Oコントローラ160が該SEND信号に応答して
送信してくるRECEIVE信号をICカード10に出
力する。また、ICカードリーダ180は、ICカード
10からリセット信号(RESET信号)が入力される
と、電子機器100本体のCPU110及びI/Oコン
トローラ160内のサブCPU162に対してそれらを
リセットするためのリセット信号(RESET信号)を
出力する。また、さらにI/Oコントローラ160は電
子機器100本体の電源部から+5Vの電源電圧が供給
され、この電圧をICカード10にも供給する。
The IC card reader 180 is a device to which the IC card 10 is attached, and is the IC card 100 and I
Controlling transmission and reception of signals between the / O controllers 160. That is, SEND input from the IC card 10
The signal is output to the I / O controller 160, and at the same time, the I / O controller 160 outputs the RECEIVE signal transmitted in response to the SEND signal to the IC card 10. Further, when the IC card 10 receives a reset signal (RESET signal) from the IC card 10, the IC card reader 180 resets the CPU 110 of the electronic device 100 and the sub CPU 162 in the I / O controller 160 to reset them. A signal (RESET signal) is output. Further, the I / O controller 160 is supplied with a power supply voltage of +5 V from the power supply unit of the electronic device 100 main body, and also supplies this voltage to the IC card 10.

【0020】次に、上記構成の電子機器100のICカ
ードリーダ180にICカード10を装着した場合の動
作を図3乃至図5のフローチャートを参照しながら説明
する。
Next, the operation when the IC card 10 is attached to the IC card reader 180 of the electronic device 100 having the above-mentioned configuration will be described with reference to the flowcharts of FIGS.

【0021】図3は、ICカード10がICカードリー
ダ180に装着されたときの、ICカード10のCPU
12の動作を説明するフローチャートである。ICカー
ド10がICカードリーダ180に装着されたとき、電
子機器100の電源がオンになっていれば、ICカード
リーダ180を介しICカード10の端子Vccに電源
電圧が供給され、ICカード10の電源がオン(POWER
ON) になり、ICカード10のCPU12の動作が開始
される(S11)。
FIG. 3 shows the CPU of the IC card 10 when the IC card 10 is attached to the IC card reader 180.
12 is a flowchart illustrating the operation of No. 12. If the electronic device 100 is powered on when the IC card 10 is attached to the IC card reader 180, the power supply voltage is supplied to the terminal Vcc of the IC card 10 via the IC card reader 180, and Power on (POWER
It is turned on, and the operation of the CPU 12 of the IC card 10 is started (S11).

【0022】CPU12は、端子Vccの電圧が+5V
に立ち上るのを監視し(S12)、+5Vまで立ち上る
と(S12,YES)、端子SNDからICカードリー
ダ180を介しI/Oコントローラ160へ送信される
SEND信号をオン(ON)に設定する(S13)。そ
して、このSEND信号を10msecの間オンにし続ける
(S14,S15)。
The voltage of the terminal Vcc of the CPU 12 is + 5V.
When rising to + 5V (S12, YES), the SEND signal transmitted from the terminal SND to the I / O controller 160 via the IC card reader 180 is set to ON (S13). ). Then, the SEND signal is kept on for 10 msec (S14, S15).

【0023】本実施例においては、電子機器100本体
のCPU110及びI/Oコントローラ160内のサブ
CPU162が正常な状態にあれば、I/Oコントロー
ラ160が上記SEND信号がオンになった後10msec以
内にICカード180の端子RCVに入力されるREC
EIVE信号がオン(ON)となるように設計されてい
る。
In this embodiment, if the CPU 110 of the electronic device 100 main body and the sub CPU 162 in the I / O controller 160 are in a normal state, within 10 msec after the I / O controller 160 turns on the SEND signal. REC input to the terminal RCV of the IC card 180
The EIVE signal is designed to be turned on.

【0024】CPU12は、SEND信号をオンにして
から10msec経過後に端子RCVに入力されるRECEI
VE信号がオンになっているか調べ(S16)、オンに
なっていなければ(S16、NO)端子RESETから
出力するRESET信号をオン(ON)に設定して、該
RESET信号をICカードリーダ180を介し電子機
器100本体のCPU110並びにI/Oコントローラ
160内のサブCPU162の各リセット信号入力端子
に加え、該CPU110及び該サブCPU162をリセ
ットさせ、電子機器100を再起動させる(S17)。
The CPU 12 receives the RECEI signal input to the terminal RCV 10 msec after the SEND signal is turned on.
It is checked whether the VE signal is on (S16), and if it is not on (S16, NO), the RESET signal output from the terminal RESET is set to on (ON), and the RESET signal is sent to the IC card reader 180. Via the reset signal input terminals of the CPU 110 of the electronic device 100 main body and the sub CPU 162 in the I / O controller 160, the CPU 110 and the sub CPU 162 are reset, and the electronic device 100 is restarted (S17).

【0025】このように、ICカード10はSEND信
号をオンにした後、10msecが経過しても、ICカードリ
ーダ180を介して受信するI/Oコントローラ160
出力のRECEIVE信号がオンにならないときには、
電子機器100のCPU110またはI/Oコントロー
ラ160のサブCPU162がハングアップ状態にある
ものと判断し、該CPU110及び該サブCPU162
をリセットさせる。
As described above, the IC card 10 receives the I / O controller 160 via the IC card reader 180 even if 10 msec has elapsed after the SEND signal was turned on.
If the output RECEIVE signal does not turn on,
It is determined that the CPU 110 of the electronic device 100 or the sub CPU 162 of the I / O controller 160 is in the hung-up state, and the CPU 110 and the sub CPU 162 are
To reset.

【0026】一方、上記ステップS16でRECEIV
E信号がオンになっていれば、ICカードリーダ180
を介してICカード10からデータを読み出すまたはI
Cカード10に対してデータを書き込む等の所定の正常
処理を行う(S18)。
On the other hand, in step S16, RECEIV
If E signal is on, IC card reader 180
Read data from IC card 10 via
A predetermined normal process such as writing data to the C card 10 is performed (S18).

【0027】次に、図4はICカードリーダ180から
入力されるSEND信号がオン(ON)になったときの
I/Oコントローラ160内のサブCPU162の動作
を説明するフローチャートである。
Next, FIG. 4 is a flow chart for explaining the operation of the sub CPU 162 in the I / O controller 160 when the SEND signal input from the IC card reader 180 is turned on.

【0028】ICカード10のCPU12が端子SND
すなわちSEND信号をオン(ON)にすると(図3の
フローチャートのステップS13に対応)、ICカード
リーダ180を介してI/Oコントローラ160内の端
子iRQに外部割り込みがかかる。
The CPU 12 of the IC card 10 uses the terminal SND
That is, when the SEND signal is turned on (corresponding to step S13 in the flowchart of FIG. 3), an external interrupt is applied to the terminal iRQ in the I / O controller 160 via the IC card reader 180.

【0029】このとき、I/Oコントローラ160内の
サブCPU162が正常に動作していれば、サブCPU
162はこの割り込みにより図4のフローチャートに示
す割り込み処理ルーチンを実行し、ICカードリーダ1
80に出力するRECEIVE信号をオン(ON)に設
定する(S21)。
At this time, if the sub CPU 162 in the I / O controller 160 is operating normally, the sub CPU
This interrupt causes the IC card reader 162 to execute the interrupt processing routine shown in the flowchart of FIG.
The RECEIVE signal output to 80 is set to ON (S21).

【0030】これにより、ICカードリーダ180を介
してICカード10の入力端子RCVすなわちRECE
IVE信号が、上記ICカード10から出力されるSE
ND信号がオン(ON)に設定されてから10msec以内に
オン(ON)に設定される。
As a result, the input terminal RCV of the IC card 10, that is, RACE, is passed through the IC card reader 180.
SE that the IVE signal is output from the IC card 10
It is turned on within 10 msec after the ND signal is turned on.

【0031】一方、電子機器100本体のCPU110
またはI/Oコントローラ160内のサブCPU162
がハングアップ状態にあれば、サブCPU162は上記
端子iRQに入力される割り込みを検出することはでき
ない。このため、この場合にはICカード10の端子R
CVに入力されるRECEIVE信号はON(オン)と
はならない。
On the other hand, the CPU 110 of the main body of the electronic device 100
Alternatively, the sub CPU 162 in the I / O controller 160
Is in a hang-up state, the sub CPU 162 cannot detect the interrupt input to the terminal iRQ. Therefore, in this case, the terminal R of the IC card 10
The RECEIVE signal input to the CV does not turn ON.

【0032】したがって、ICカード10のCPU12
は、SEND信号をオン(ON)にしてから、10msec経
過後にRECEIVE信号がオン(ON)に設定される
か否かを調べることにより、電子機器100本体のCP
U110またはI/Oコントローラ160内のサブCP
U162がハングアップ状態にあるか否かを検出でき
る。
Therefore, the CPU 12 of the IC card 10
Checks whether or not the RECEIVE signal is set to ON (ON) 10 msec after the SEND signal is turned ON, and the CP of the electronic device 100 main body is checked.
Sub-CP in U110 or I / O controller 160
It is possible to detect whether U162 is in the hang-up state.

【0033】次に、図5は、図3のフローチャートのス
テップS17でICカード10の端子RSTから出力さ
れるRESET信号がオン(ON)に設定されたときに
対応する電子機器100の本体のCPU110及びI/
Oコントローラ160のサブCPU162の動作を説明
するフローチャートである。
Next, FIG. 5 shows the CPU 110 of the main body of the electronic device 100 corresponding to when the RESET signal output from the terminal RST of the IC card 10 is set to ON in step S17 of the flowchart of FIG. And I /
6 is a flowchart illustrating an operation of a sub CPU 162 of the O controller 160.

【0034】上述したように、ICカード10の端子R
STすなわちRESET信号がオン(ON)に設定され
ると(図3のフローチャートのステップS17に対
応)、ICカードリーダ180を介し電子機器100本
体のCPU110及びI/Oコントローラ160内のサ
ブCPU162に入力されるRESET信号がオン(O
N)となり上記CPU110及び上記サブCPU162
は図5のフローチャートに示す処理を実行する。
As described above, the terminal R of the IC card 10
When ST, that is, the RESET signal is set to ON (corresponding to step S17 in the flowchart of FIG. 3), it is input to the CPU 110 of the electronic device 100 main body and the sub CPU 162 in the I / O controller 160 via the IC card reader 180. RESET signal turned on (O
N) and the CPU 110 and the sub CPU 162.
Executes the processing shown in the flowchart of FIG.

【0035】すなわち、CPU110は、ROM130
の所定のアドレスから実行を開始して、初期化ルーチン
の実行等により、RAM140及び表示コントローラ1
50の初期設定を行う。また、サブCPU162もI/
Oコントローラ160を初期設定する(S31)。
That is, the CPU 110 has the ROM 130.
Execution from a predetermined address of the RAM 140 and the display controller 1 by executing an initialization routine or the like.
Initialize 50. In addition, the sub CPU 162 is also I /
The O controller 160 is initialized (S31).

【0036】そして、以後、通常の所定の動作を開始す
る(S32)。このように、電子機器100本体のCP
U110及びI/Oコントローラ160内のサブCPU
162は、RESET信号がON(オン)になることに
より電子機器100を初期状態に戻し、電子機器100
を再起動させる。
After that, a normal predetermined operation is started (S32). In this way, the CP of the electronic device 100 main body
Sub CPU in U110 and I / O controller 160
162 returns the electronic device 100 to the initial state when the RESET signal is turned on, and the electronic device 100
To restart.

【0037】尚、上記実施例では、SEND信号とRE
CEIVE信号の送受により電子機器100のハングア
ップ状態を検出するようにしているが、本発明はこのよ
うな方法に限定されるものではなく、所定のデータのや
り取りにより電子機器がハングアップ状態にあるか否か
を検出するようにしてもよい。
In the above embodiment, the SEND signal and RE
Although the hang-up state of the electronic device 100 is detected by transmitting / receiving the CEIVE signal, the present invention is not limited to such a method, and the electronic device is in the hang-up state by exchanging predetermined data. Whether or not it may be detected.

【0038】また、本発明が適用される電子機器は、上
記実施例のようにI/Oコントローラを備えたものに限
定されるものではなく、CPUを内蔵している全ての電
子機器に適用可能なものである。
The electronic equipment to which the present invention is applied is not limited to the one provided with the I / O controller as in the above-mentioned embodiment, but can be applied to all electronic equipment having a built-in CPU. It is something.

【0039】さらに、電子機器に装着される装置もIC
カードに限定されるものではなく、着脱自在で、装着時
に電子機器と信号の送受信可能な装置であれば、いかな
るものであってもよい。
Further, the device mounted on the electronic device is also an IC
The device is not limited to the card, and may be any device as long as it is detachable and can send and receive signals to and from the electronic device when it is mounted.

【0040】[0040]

【発明の効果】以上説明したように、本発明によれば、
ある特定の装置を電子機器に装着し、該特定の装置と該
電子機器間で予め定められた方式での信号の送受信が成
功しなかった場合には、上記特定の装置が上記電子機器
のCPUをリセットさせるので、ハングアップ状態にあ
る電子機器を上記特定の装置が装着されたとき再起動せ
るようにすることができる。
As described above, according to the present invention,
When a certain device is attached to an electronic device and the transmission and reception of a signal between the certain device and the electronic device by a predetermined method are not successful, the above-mentioned specific device is the CPU of the electronic device. Is reset, so that the electronic device in the hung-up state can be restarted when the specific device is attached.

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

【図1】ICカードの回路構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a circuit configuration of an IC card.

【図2】電子機器の回路構成を示すブロック図である。FIG. 2 is a block diagram showing a circuit configuration of an electronic device.

【図3】ICカードを電子機器のICカードリーダに装
着したとのICカードのCPUの動作を説明するフロー
チャートである。
FIG. 3 is a flowchart illustrating an operation of a CPU of an IC card when the IC card is mounted on an IC card reader of an electronic device.

【図4】ICカードから出力されたSEND信号が入力
されたときの電子機器のI/Oコントローラ内のサブC
PUの動作を説明するフローチャートである。
FIG. 4 is a sub C in the I / O controller of the electronic device when the SEND signal output from the IC card is input.
It is a flowchart explaining operation | movement of PU.

【図5】電子機器のCPU及びI/Oコントローラ内の
サブCPUのリセット時の動作を説明するフローチャー
トである。
FIG. 5 is a flowchart illustrating an operation at the time of resetting the CPU of the electronic device and the sub CPU in the I / O controller.

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

10 ICカード 12 CPU 14 ROM 100 電子機器 120 バス 130 ROM 160 I/Oコントローラ 162 サブCPU 180 ICカードリーダ 10 IC card 12 CPU 14 ROM 100 Electronic device 120 Bus 130 ROM 160 I / O controller 162 Sub CPU 180 IC card reader

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CPUが内蔵され、該CPUが予め組み
込まれているプログラムを実行することにより所定の機
能を実現する電子機器がハングアップ状態になったとき
の該電子機器の再起動方法であって、 ある特定の装置を前記電子機器に装着し、 該特定の装置が前記電子機器との間で予め定められた方
式で信号の送受信を試み、該信号の送受信が成功したと
きに、上記特定の装置から前記電子機器のCPUをリセ
ットさせてハングアップ状態にある電子機器を再起動さ
せること、を特徴とする電子機器の再起動方法。
1. A method of restarting an electronic device having a built-in CPU, the electronic device realizing a predetermined function by executing a program built in the CPU when the electronic device is hung up. When a specific device is attached to the electronic device, the specific device attempts to send and receive a signal to and from the electronic device by a predetermined method, and when the signal is successfully sent and received, The CPU of the electronic device is reset from the device to restart the electronic device in the hung-up state, the method of restarting the electronic device.
JP5187815A 1993-07-29 1993-07-29 Reactivating method for electronic equipment Pending JPH0744258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5187815A JPH0744258A (en) 1993-07-29 1993-07-29 Reactivating method for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5187815A JPH0744258A (en) 1993-07-29 1993-07-29 Reactivating method for electronic equipment

Publications (1)

Publication Number Publication Date
JPH0744258A true JPH0744258A (en) 1995-02-14

Family

ID=16212728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5187815A Pending JPH0744258A (en) 1993-07-29 1993-07-29 Reactivating method for electronic equipment

Country Status (1)

Country Link
JP (1) JPH0744258A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116509387A (en) * 2022-05-19 2023-08-01 广东健奥科技有限公司 Finger-clamping pulse oximeter and antistatic method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116509387A (en) * 2022-05-19 2023-08-01 广东健奥科技有限公司 Finger-clamping pulse oximeter and antistatic method thereof
CN116509387B (en) * 2022-05-19 2024-03-19 广东健奥科技有限公司 Finger-clamping pulse oximeter and antistatic method thereof

Similar Documents

Publication Publication Date Title
US7708195B2 (en) Memory card
EP1979809B1 (en) A method for booting a host device from an mmc/sd device, a host device bootable from an mmc/sd device and an mmc/sd device method a host device may be booted from
KR100281525B1 (en) Computer system with automatic detection
US6832311B2 (en) Information processing system and resume processing method used in the system
JP3869049B2 (en) Method for preventing loss of device configuration during standby in computer system and controller circuit for capturing device configuration
KR101051703B1 (en) Integrated circuit card and integrated circuit card system with suspend / reset function
US20040107359A1 (en) Utilizing the suspend state of an information handling system
US20060047938A1 (en) Method and apparatus to initialize CPU
US20030145191A1 (en) Computer system and method of controlling the same
US8327124B2 (en) SD switch box in a cellular handset
JP2005032244A (en) Method and device for automatic reset of usb smart card device in mute mode
US5410712A (en) Computer system equipped with extended unit including power supply
KR20020036717A (en) Microcomputer and method for controlling the same
KR0182632B1 (en) Client server system performing automatic reconnection and control method thereof
WO2001020541A1 (en) Entertainment device, data processing device and portable storage device
JPH0744258A (en) Reactivating method for electronic equipment
JP2003044801A (en) Portable information processor provided with a plurality of information transmitting means
JP2003281477A (en) Electronic appliance, electronic card, and method for card identification
WO2019042260A1 (en) Power-on control method, ap chip and mobile terminal
US7103692B2 (en) Method and apparatus for an I/O controller to alert an external system management controller
JP4474574B2 (en) Computer
JP4793798B2 (en) Microcomputer
JP2983391B2 (en) Portable computer
JP2004152210A (en) Ic card
JP3100958B2 (en) Portable computer