JP2001125809A - Program equipment and method for detecting its failure - Google Patents

Program equipment and method for detecting its failure

Info

Publication number
JP2001125809A
JP2001125809A JP30493399A JP30493399A JP2001125809A JP 2001125809 A JP2001125809 A JP 2001125809A JP 30493399 A JP30493399 A JP 30493399A JP 30493399 A JP30493399 A JP 30493399A JP 2001125809 A JP2001125809 A JP 2001125809A
Authority
JP
Japan
Prior art keywords
processing
storage area
program
cpu
processing path
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.)
Withdrawn
Application number
JP30493399A
Other languages
Japanese (ja)
Inventor
Ryosuke Tanaka
亮輔 田中
Takaharu Fujii
崇玄 藤井
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP30493399A priority Critical patent/JP2001125809A/en
Publication of JP2001125809A publication Critical patent/JP2001125809A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily investigate the cause of any failure caused in the using process of equipment functioning according to a software program by a user, and to easily repair the equipment. SOLUTION: Numbers are respectively assigned to each processing on a program. At the time of executing each processing on the program, the CPU of a microcomputer writes the number of the processing in an address indicated by a buffer pointer on a pointer preservation area 5b in a processing path preservation area 5c, and counts up the buffer pointer. When any failure occurs in the equipment, the CPU writes error information encoded according to the failure in an error preservation area 5a, and then reads all the data on the error preservation area 5a, the pointer preservation area 5b, and the processing path preservation area 5c from an RAM 5, and writes the data in an EEPROM. The data held in the EEPROM can be read to the outside part of the equipment.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、プログラムが搭
載され、そのプログラム上の各処理をCPUによって実
行する、マイクロコンピュータなどによって構成された
制御部を備える、オーディオ機器やビジュアル機器など
の各種の機器、およびその機器に生じた不具合を検出す
る方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to various kinds of equipment such as audio equipment and visual equipment having a control unit constituted by a microcomputer and the like, in which a program is installed and each processing on the program is executed by a CPU. , And a method of detecting a malfunction occurring in the device.

【0002】[0002]

【従来の技術】自己診断機能を有し、故障箇所を検出で
きるようにした機器が考えられている。
2. Description of the Related Art Devices having a self-diagnosis function and capable of detecting a fault location have been considered.

【0003】具体的に、特開平8−289176号公報
には、CCDを用いた画像入力装置(撮像装置)におい
て、CCD、その後段のサンプルホールド回路、その後
段の自動利得制御回路、その後段の処理回路、その後段
のエンコーダの、いずれかの出力信号を、セレクタによ
って選択し、A/D変換器によってデジタルデータに変
換して、マイクロコンピュータに取り込み、マイクロコ
ンピュータで、あらかじめ設定したリファレンスデータ
と比較して、撮像系の上記の各部が正常か異常かを判定
し、その判定結果のデータを、時刻データとともに、E
EPROMに書き込み、EEPROMから外部に読み出
すことによって、撮像系のいずれの箇所に故障を生じた
かを検出することが示されている。
[0003] Specifically, Japanese Patent Application Laid-Open No. Hei 8-289176 discloses an image input device (imaging device) using a CCD, a CCD, a sample-hold circuit in a subsequent stage, an automatic gain control circuit in a subsequent stage, and a subsequent stage. One of the output signals of the processing circuit and the subsequent encoder is selected by a selector, converted into digital data by an A / D converter, taken into a microcomputer, and compared with reference data set in advance by the microcomputer. Then, it is determined whether each of the above components of the imaging system is normal or abnormal.
It shows that writing to an EPROM and reading from the EEPROM to the outside detect which part of the imaging system has failed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た従来の方法では、CCDを用いた画像入力装置という
特定の装置の、CCDやサンプルホールド回路などの特
定の素子または回路が正常か否かを検出できるだけで、
素子または回路が異常であるとき、その原因までは必ず
しも分からない。そのため、修理の際には、故障原因の
究明に時間がかかり、修理に多くの時間と費用がかかる
という問題がある。
However, in the conventional method described above, it is determined whether or not a specific device or circuit such as a CCD or a sample and hold circuit of a specific device such as an image input device using a CCD is normal. As much as possible
When an element or a circuit is abnormal, its cause is not always known. For this reason, there is a problem that it takes a long time to find the cause of the failure and a large amount of time and cost for the repair.

【0005】特に最近は、多くの機器がソフトウェアプ
ログラムによって機能するようになっており、このよう
なプログラム機器では、プログラム上の各処理を実行す
る過程で生じ得る不具合は様々であって、不具合を生じ
たとき、その原因が何であるかを突きとめるのに時間が
かかり、そのため修理に多くの時間と費用がかかる。ま
た、再現されない、または再現されにくい不具合を生じ
た場合には、原因を特定することができず、修理をする
ことができないこともある。
[0005] In particular, recently, many devices have been operated by software programs. In such a program device, there are various problems that can occur in the course of executing each process on the program. When it does, it takes time to find out what the cause is, so repairs are time-consuming and expensive. Further, when a problem that cannot be reproduced or is difficult to be reproduced occurs, the cause cannot be specified and the repair may not be performed in some cases.

【0006】そこで、この発明は、ソフトウェアプログ
ラムによって機能する機器において、利用者による使用
の過程で不具合を生じたとき、その原因を容易に究明す
ることができ、修理を容易に行うことができるようにし
たものである。
[0006] Therefore, the present invention enables a user to easily find out the cause of a malfunction in the course of use by a user in a device functioning by a software program and to easily perform repair. It was made.

【0007】[0007]

【課題を解決するための手段】この発明のプログラム機
器は、各処理ごとに番号が割り当てられたプログラムが
搭載され、そのプログラム上の各処理をCPUによって
実行する制御部と、当該機器に不具合を生じたとき、前
記CPUによって、不具合を生じたことを示すエラー情
報とともに、その時点以前に前記CPUが実行した処理
の番号が、実行した順序で、書き込まれる不揮発性メモ
リと、を備えるものとする。
A program device according to the present invention is provided with a program in which a program is assigned a number for each process, and a control unit for executing each process on the program by a CPU. And a non-volatile memory in which, in the order of execution, the number of the process executed by the CPU before the time is written in the order of execution, together with error information indicating that a problem has occurred by the CPU. .

【0008】この場合、CPUが実行した処理の番号を
直接、EEPROMなどの不揮発性メモリに書き込むこ
ともできるが、制御部内のRAM上に、リングバッファ
構成の処理経路保存エリアを設定して、CPUが実行し
た処理の番号を一旦、その処理経路保存エリアに書き込
み、機器に不具合を生じたとき、エラー情報とともに、
その時点で処理経路保存エリアに書き込まれている処理
番号を不揮発性メモリに書き込むようにすると、なお好
ましい。
In this case, the number of the processing executed by the CPU can be directly written into a nonvolatile memory such as an EEPROM. However, a processing path storage area having a ring buffer configuration is set on a RAM in the control unit, and the CPU is operated. Once the number of the process executed is written in the process path storage area, and when a device failure occurs, along with error information,
It is more preferable that the processing number written in the processing path storage area at that time is written in the nonvolatile memory.

【0009】上記のように構成した、この発明のプログ
ラム機器においては、利用者による使用の過程で機器に
不具合を生じたとき、機器の不揮発性メモリは、エラー
情報とともに、不具合を生じる直前にCPUが実行した
処理の番号が、実行した順序で、保存された状態とな
る。
In the above-configured program device of the present invention, when a failure occurs in the device in the course of use by the user, the non-volatile memory of the device stores the CPU together with the error information immediately before the failure occurs. Are stored in the order in which they were executed.

【0010】したがって、利用者の依頼によって機器を
修理する者が、不揮発性メモリから機器の外部に、その
保存されている処理番号を読み出すことによって、その
番号の並びから、機器の修理をする者は、不具合を生じ
る直前に、どのような処理が、どのような順序で、実行
されたかを知ることができ、不具合を生じた原因の究明
が容易となり、機器の修理が容易となる。また、再現さ
れない、または再現されにくい不具合を生じた場合で
も、原因を特定することができ、修理をすることができ
る。
[0010] Therefore, a person who repairs the device at the request of the user reads out the stored process number from the non-volatile memory to the outside of the device, and repairs the device from the sequence of the numbers. Can know what processes have been executed and in what order just before the trouble occurs, making it easy to find out the cause of the trouble and repair the equipment. Further, even when a defect that cannot be reproduced or is difficult to be reproduced occurs, the cause can be specified and repair can be performed.

【0011】[0011]

【発明の実施の形態】図1は、この発明のプログラム機
器の一例を示す。この例のプログラム機器は、機器本体
部1、制御部を構成するマイクロコンピュータ2、不揮
発性メモリとしてのEEPROM6、および操作部7に
よって構成する。
FIG. 1 shows an example of a program device according to the present invention. The program device of this example includes a device main body 1, a microcomputer 2 constituting a control unit, an EEPROM 6 as a nonvolatile memory, and an operation unit 7.

【0012】機器本体部1は、カーステレオ装置やカー
ナビゲーション装置などの、オーディオ機器やビジュア
ル機器などで、ソフトウェアプログラムによって機能す
る機器の、本体部である。
The device main unit 1 is a main unit of a device such as an audio device or a visual device such as a car stereo device or a car navigation device that functions according to a software program.

【0013】マイクロコンピュータ2は、CPU3、上
記のプログラムや固定のデータなどが格納されたROM
4、CPU3のワークエリアなどとして機能するRAM
5を備えるものとする。
The microcomputer 2 includes a CPU 3, a ROM storing the above programs, fixed data, and the like.
4. RAM functioning as a work area for CPU3
5 is provided.

【0014】ROM4に格納されるプログラム上の各処
理(サブルーチン、タスク)には、図2に示すように、
処理ごとに番号を割り当てる。
Each process (subroutine, task) on the program stored in the ROM 4 includes, as shown in FIG.
Assign a number for each process.

【0015】また、RAM5上には、図3に示すよう
に、後述のエラー情報が書き込まれるエラー保存エリア
5a、CPU3が実行した処理の番号が書き込まれる処
理経路保存エリア5c、および処理経路保存エリア5c
の処理番号を書き込む個別領域のアドレスを指し示すバ
ッファポインタが書き込まれるポインタ保存エリア5b
をマッピングする。
On the RAM 5, as shown in FIG. 3, an error storage area 5a in which error information to be described later is written, a processing path storage area 5c in which the number of the processing executed by the CPU 3 is written, and a processing path storage area 5c
Pointer storage area 5b in which a buffer pointer indicating the address of the individual area in which the processing number of
Is mapped.

【0016】処理経路保存エリア5cは、後述のように
リングバッファ構成とする。処理経路保存エリア5cと
して、どの程度の領域を確保するかは、機器の製造者
が、機器の機能などを考慮して適宜決定する。
The processing path storage area 5c has a ring buffer configuration as described later. The extent of the area to be reserved as the processing path storage area 5c is determined as appropriate by the manufacturer of the device in consideration of the function of the device and the like.

【0017】EEPROM6は、利用者による使用の過
程で機器に不具合を生じたとき、後述のように、RAM
5のエラー保存エリア5a、ポインタ保存エリア5bお
よび処理経路保存エリア5c上の全てのデータが書き込
まれ、保存されるもので、CPU3に接続する。
When a problem occurs in the device in the course of use by the user, the EEPROM 6 stores a RAM as described later.
All the data in the error storage area 5a, the pointer storage area 5b, and the processing path storage area 5c are written and stored, and are connected to the CPU 3.

【0018】操作部7は、機器を操作するキー操作部や
パネル操作部などで、必要に応じて機器の操作状況や動
作状態を表示する液晶表示部などの表示部を設け、CP
U3に接続する。
The operation unit 7 is a key operation unit or a panel operation unit for operating the device, and is provided with a display unit such as a liquid crystal display unit for displaying the operation status and operation state of the device as necessary.
Connect to U3.

【0019】さらに、マイクロコンピュータ2には、E
EPROM6に保存されているデータを機器の外部に読
み出すための外部出力ライン8を設け、これに表示装置
などの外部機器9を接続することによって、EEPRO
M6に保存されているデータを外部機器9に取り込み、
外部機器9上で表示するなどができるようにする。
Further, the microcomputer 2 has E
An external output line 8 for reading out the data stored in the EPROM 6 to the outside of the device is provided, and an external device 9 such as a display device is connected to the external output line 8.
Imports the data stored in M6 to the external device 9,
It can be displayed on the external device 9.

【0020】上述した機器では、CPU3は、プログラ
ム上の処理を実行するごとに、その処理の番号をRAM
5上の処理経路保存エリア5cに書き込む。例えば、図
4の左側に縦方向に示すように、最初に処理1としてN
o.100の処理を実行し、次に処理2としてNo.2
00の処理を実行し、次に処理3としてNo.300の
処理を実行し、次に処理4としてNo.400の処理を
実行するとする。
In the device described above, each time the CPU 3 executes a process on the program, the CPU 3 stores the process number in the RAM.
5 is written in the processing path storage area 5c. For example, as shown in the vertical direction on the left side of FIG.
o. 100, and then as processing 2 2
00, and then as processing 3 No. The processing of No. 300 is executed. It is assumed that the processing of 400 is executed.

【0021】この場合、No.100の処理を実行する
とき、RAM5のポインタ保存エリア5b上のバッファ
ポインタが処理経路保存エリア5cのアドレス7を指し
示しているとすると、No.100の処理の実行時に
は、No.100を処理経路保存エリア5cのアドレス
7に書き込むとともに、バッファポインタを7から8に
書き替える。
In this case, no. Assuming that the buffer pointer on the pointer storage area 5b of the RAM 5 points to the address 7 of the processing path storage area 5c when executing the processing of No. 100, When the processing of No. 100 is executed, 100 is written to the address 7 of the processing path storage area 5c, and the buffer pointer is rewritten from 7 to 8.

【0022】次に、No.200の処理の実行時には、
No.200を処理経路保存エリア5cの、ポインタ保
存エリア5b上のバッファポインタが指し示すアドレス
8に書き込むとともに、バッファポインタを8から9に
書き替える。
Next, no. At the time of execution of the process of 200,
No. 200 is written to the address 8 of the processing path storage area 5c indicated by the buffer pointer on the pointer storage area 5b, and the buffer pointer is rewritten from 8 to 9.

【0023】次に、No.300の処理の実行時には、
No.300を処理経路保存エリア5cの、ポインタ保
存エリア5b上のバッファポインタが指し示すアドレス
9に書き込むとともに、バッファポインタを9から10
に書き替える。
Next, no. When executing the process of 300,
No. 300 is written to the address 9 indicated by the buffer pointer on the pointer storage area 5b in the processing path storage area 5c, and the buffer pointer is changed from 9 to 10
To be rewritten.

【0024】次に、No.400の処理の実行時には、
No.400を処理経路保存エリア5cの、ポインタ保
存エリア5b上のバッファポインタが指し示すアドレス
10に書き込むとともに、バッファポインタを10から
11に書き替える。
Next, no. At the time of execution of the process of 400,
No. 400 is written to the address 10 indicated by the buffer pointer on the pointer storage area 5b of the processing path storage area 5c, and the buffer pointer is rewritten from 10 to 11.

【0025】処理経路保存エリア5cの最後のアドレス
に番号が書き込まれたときには、バッファポインタは最
後のアドレスを指し示す値から最初のアドレスを指し示
す値に書き替えられ、次の処理の実行時には、その処理
の番号が処理経路保存エリア5cの最初のアドレスに書
き込まれる。
When a number is written to the last address of the processing path storage area 5c, the buffer pointer is rewritten from a value indicating the last address to a value indicating the first address. Is written to the first address of the processing path storage area 5c.

【0026】機器に生じ得る全ての不具合は、定められ
た番号にコード化されて示される。そして、上述したよ
うに各処理を実行する過程で機器に不具合を生じると、
CPU3は、まず、その不具合に応じてコード化された
エラー情報を、RAM5上のエラー保存エリア5aに書
き込み、次に、エラー保存エリア5a、ポインタ保存エ
リア5bおよび処理経路保存エリア5c上の全てのデー
タを、RAM5から読み出して、図3に示したRAM5
上のフォーマットと同様のフォーマットで、EEPRO
M6に書き込む。
All possible faults in the equipment are shown coded in a defined number. As described above, if a failure occurs in the device in the process of executing each process,
The CPU 3 first writes the error information coded according to the defect in the error storage area 5a on the RAM 5, and then writes all the error information on the error storage area 5a, the pointer storage area 5b, and the processing path storage area 5c. The data is read from the RAM 5 and is read from the RAM 5 shown in FIG.
In the same format as above, EEPRO
Write to M6.

【0027】このように不具合を生じ、EEPROM6
にデータが保存された機器を、利用者の依頼によって製
造者や修理業者が修理するときには、外部出力ライン8
に外部機器9を接続し、操作部7からCPU3にEEP
ROM6に保存されているデータの読み出しを指示す
る。
As described above, a problem occurs and the EEPROM 6
When a manufacturer or repairer repairs a device whose data is stored at the request of a user, the external output line 8
Is connected to the external device 9 and the operation unit 7 transmits the EEP
It instructs to read data stored in the ROM 6.

【0028】これによって、CPU3は、EEPROM
6に保存されているエラー情報、バッファポインタおよ
び処理番号を、EEPROM6から読み出して、外部機
器9に出力する。
As a result, the CPU 3 operates as an EEPROM.
The error information, the buffer pointer, and the process number stored in the EEPROM 6 are read from the EEPROM 6 and output to the external device 9.

【0029】したがって、機器の修理をする者は、処理
番号の並びから、不具合を生じる直前に、どのような処
理が、どのような順序で、実行されたかを知ることがで
き、不具合を生じた原因を容易に究明することができ
る。したがって、機器の修理が容易となり、修理費用を
低減することができる。また、再現されない、または再
現されにくい不具合を生じた場合でも、原因を特定する
ことができ、修理をすることができる。
Therefore, the person who repairs the equipment can know from the sequence of the processing numbers immediately before the trouble occurs what kind of processing was executed and in what order, and the trouble occurred. The cause can be easily determined. Therefore, repair of the equipment is facilitated, and repair costs can be reduced. Further, even when a defect that cannot be reproduced or is difficult to be reproduced occurs, the cause can be specified and repair can be performed.

【0030】具体例として、図5にNo.278の処理
を、図6にNo.98,No.111,No.150,
No.367,No.59の処理を、それぞれ示す。
As a specific example, FIG. 278 is shown in FIG. 98, No. 111, No. 150,
No. 367, no. 59 processing are shown respectively.

【0031】No.98の処理は、No.278の処理
でa_portが正常なときに実行する処理であり、N
o.111の処理は、No.278の処理でa_por
tが異常なときに実行する処理であり、No.150の
処理は、No.278の処理でb_portが正常なと
きに実行する処理であり、No.367の処理は、N
o.278の処理でb_portが異常なときに実行す
る処理である。
No. The processing of No. 98 This is a process executed when a_port is normal in the process of 278.
o. The processing of No. 111 A_por in the process of 278
This is a process executed when t is abnormal. The processing of No. 150 No. 278 is a process executed when b_port is normal. The process of 367 is performed by N
o. This is a process executed when b_port is abnormal in the process of 278.

【0032】また、No.59の処理は、No.278
の処理でa_portまたはb_portが異常なとき
に、不具合を生じたと判断して、コード23でエラー情
報を、RAM5上のエラー保存エリア5aに書き込むと
ともに、エラー保存エリア5a、ポインタ保存エリア5
bおよび処理経路保存エリア5c上の全てのデータを、
RAM5から読み出して、EEPROM6に書き込む処
理である。
In addition, No. The processing of No. 59 278
When a_port or b_port is abnormal in the above processing, it is determined that a failure has occurred, and the error information is written into the error storage area 5a on the RAM 5 by using the code 23, and the error storage area 5a and the pointer storage area 5 are written.
b and all data on the processing path storage area 5c
This is a process of reading from the RAM 5 and writing to the EEPROM 6.

【0033】したがって、No.278の処理でa_p
ortおよびb_portが正常であれば、No.27
8→No.98→No.150の順序で処理が実行され
るものである。
Accordingly, No. A_p in the process of 278
No. ort and b_port are normal, 27
8 → No. 98 → No. The processing is executed in the order of 150.

【0034】これに対して、不具合を生じて、図7に示
すようなデータが、RAM5からEEPROM6に書き
込まれたとする。
On the other hand, it is assumed that a problem occurs and data as shown in FIG. 7 is written from the RAM 5 to the EEPROM 6.

【0035】このとき、エラー情報のコードが23であ
ることから、a_portまたはb_portに異常が
あったと判断することができる。さらに、処理番号の並
びから、不具合を生じる直前にはNo.278→No.
98→No.367→No.59の順序で処理が実行さ
れたことが分かり、結局、b_portに何らかの異常
を生じたことが原因であることが分かる。
At this time, since the code of the error information is 23, it can be determined that there is an abnormality in a_port or b_port. Further, from the sequence of the process numbers, the No. immediately before the trouble occurs. 278 → No.
98 → No. 367 → No. It can be seen that the processing has been executed in the order of 59, and eventually it can be seen that the cause is that some abnormality has occurred in b_port.

【0036】なお、上述した例のように、RAM5上に
処理経路保存エリア5cなどを設定して、CPU3が実
行した処理の番号を一旦、処理経路保存エリア5cに書
き込み、機器に不具合を生じたとき、エラー情報ととも
にEEPROM6に書き込む方法によると、高速で処理
することができるが、CPU3が実行した処理の番号を
直接、EEPROM6に書き込むようにしてもよい。
As in the above-described example, the processing path storage area 5c and the like are set on the RAM 5, and the number of the processing executed by the CPU 3 is temporarily written in the processing path storage area 5c. At this time, according to the method of writing to the EEPROM 6 together with the error information, the processing can be performed at high speed. However, the number of the processing executed by the CPU 3 may be directly written to the EEPROM 6.

【0037】[0037]

【発明の効果】上述したように、この発明によれば、ソ
フトウェアプログラムによって機能する機器において、
利用者による使用の過程で不具合を生じたとき、その原
因を容易に究明することができ、修理を容易に行うこと
ができるとともに、再現されない、または再現されにく
い不具合を生じた場合でも、原因を特定することがで
き、修理をすることができる。
As described above, according to the present invention, in a device functioning by a software program,
When a problem occurs in the process of use by the user, the cause can be easily investigated and repair can be easily performed, and even if a problem that cannot be reproduced or is difficult to reproduce occurs, Can be identified and repaired.

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

【図1】この発明のプログラム機器の一例を示す図であ
る。
FIG. 1 is a diagram showing an example of a program device according to the present invention.

【図2】各処理に対する番号の割り当て状態を示す図で
ある。
FIG. 2 is a diagram showing a state of number assignment to each process.

【図3】RAM上の各保存エリアのマッピング状態を示
す図である。
FIG. 3 is a diagram showing a mapping state of each storage area on a RAM.

【図4】処理経路保存エリアへの処理番号の書き込みと
バッファポインタの変化の様子を示す図である。
FIG. 4 is a diagram showing how a processing number is written in a processing path storage area and how a buffer pointer changes.

【図5】ある番号の処理を示す図である。FIG. 5 is a diagram showing processing of a certain number.

【図6】別の番号の処理を示す図である。FIG. 6 is a diagram showing processing of another number.

【図7】不具合を生じたときのRAMの各保存エリア上
のデータの具体例を示す図である。
FIG. 7 is a diagram showing a specific example of data on each storage area of a RAM when a problem occurs.

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

1…機器本体部、2…マイクロコンピュータ、3…CP
U、4…ROM、5…RAM、5a…エラー保存エリ
ア、5b…ポインタ保存エリア、5c…処理経路保存エ
リア、6…EEPROM、7…操作部、8…外部出力ラ
イン、9…外部機器。
DESCRIPTION OF SYMBOLS 1 ... Device main body part 2 ... Microcomputer 3 ... CP
U, 4 ROM, 5 RAM, 5a error storage area, 5b pointer storage area, 5c processing path storage area, 6 EEPROM, 7 operation unit, 8 external output line, 9 external equipment.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】各処理ごとに番号が割り当てられたプログ
ラムが搭載され、そのプログラム上の各処理をCPUに
よって実行する制御部と、 当該機器に不具合を生じたとき、前記CPUによって、
不具合を生じたことを示すエラー情報とともに、その時
点以前に前記CPUが実行した処理の番号が、実行した
順序で、書き込まれる不揮発性メモリと、 を備えるプログラム機器。
1. A control unit which carries a program assigned a number for each process, and executes each process on the program by a CPU.
A non-volatile memory in which, in addition to error information indicating that a failure has occurred, a number of a process executed by the CPU before that time is written in the order of execution.
【請求項2】請求項1のプログラム機器において、 前記制御部内のRAM上に、リングバッファ構成の処理
経路保存エリアが設定され、 前記CPUは、その実行した処理の番号を、実行した順
に、前記処理経路保存エリアに書き込み、当該機器に不
具合を生じたとき、前記エラー情報とともに、その時点
で前記処理経路保存エリアに書き込まれている処理番号
を前記不揮発性メモリに書き込むプログラム機器。
2. The program device according to claim 1, wherein a processing path storage area having a ring buffer configuration is set on a RAM in the control unit, and wherein the CPU stores the number of the executed processing in the order of execution. A program device for writing in the processing path storage area and, when a failure occurs in the device, writing the processing number written in the processing path storage area together with the error information to the nonvolatile memory.
【請求項3】プログラムが搭載され、そのプログラム上
の各処理をCPUによって実行する制御部を備える機器
に生じた不具合を検出する方法であって、 前記プログラム上の各処理ごとに番号を割り当て、前記
機器に不具合を生じたとき、前記CPUによって、不具
合を生じたことを示すエラー情報とともに、その時点以
前に前記CPUが実行した処理の番号を、実行した順序
で、不揮発性メモリに書き込む、プログラム機器の不具
合検出方法。
3. A method for detecting a problem occurring in a device having a control unit for executing each process on the program by a CPU, wherein the program is installed, and a number is assigned to each process on the program. When a failure occurs in the device, the CPU writes the number of the process executed by the CPU before that time, together with error information indicating that the failure has occurred, in a non-volatile memory in the order of execution. Device failure detection method.
【請求項4】請求項3の不具合検出方法において、 前記制御部内のRAM上に、リングバッファ構成の処理
経路保存エリアを設定し、 前記CPUによって、前記CPUが実行した処理の番号
を、実行した順に、前記処理経路保存エリアに書き込
み、前記機器に不具合を生じたとき、前記エラー情報と
ともに、その時点で前記処理経路保存エリアに書き込ま
れている処理番号を前記不揮発性メモリに書き込む、プ
ログラム機器の不具合検出方法。
4. The defect detection method according to claim 3, wherein a processing path storage area of a ring buffer configuration is set on a RAM in the control unit, and the number of the processing executed by the CPU is executed by the CPU. In order, when writing in the processing path storage area, and when a problem occurs in the device, the processing number written in the processing path storage area at that time is written to the nonvolatile memory along with the error information. Defect detection method.
JP30493399A 1999-10-27 1999-10-27 Program equipment and method for detecting its failure Withdrawn JP2001125809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30493399A JP2001125809A (en) 1999-10-27 1999-10-27 Program equipment and method for detecting its failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30493399A JP2001125809A (en) 1999-10-27 1999-10-27 Program equipment and method for detecting its failure

Publications (1)

Publication Number Publication Date
JP2001125809A true JP2001125809A (en) 2001-05-11

Family

ID=17939073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30493399A Withdrawn JP2001125809A (en) 1999-10-27 1999-10-27 Program equipment and method for detecting its failure

Country Status (1)

Country Link
JP (1) JP2001125809A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009129368A (en) * 2007-11-27 2009-06-11 Ricoh Co Ltd Program, method and apparatus for verifying semiconductor integrated circuit
JP2016162264A (en) * 2015-03-03 2016-09-05 日立オートモティブシステムズ株式会社 Vehicle electronic control device
US9442841B2 (en) 2012-04-19 2016-09-13 Kabushiki Kaisha Toshiba Semiconductor memory device and method for logging monitored events into a buffer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009129368A (en) * 2007-11-27 2009-06-11 Ricoh Co Ltd Program, method and apparatus for verifying semiconductor integrated circuit
US9442841B2 (en) 2012-04-19 2016-09-13 Kabushiki Kaisha Toshiba Semiconductor memory device and method for logging monitored events into a buffer
JP2016162264A (en) * 2015-03-03 2016-09-05 日立オートモティブシステムズ株式会社 Vehicle electronic control device

Similar Documents

Publication Publication Date Title
JP4082306B2 (en) Fault diagnosis device
KR100312355B1 (en) Self-diagnosis method and its control device
JPH04315898A (en) Semiconductor integrated circuit
JP2001125809A (en) Program equipment and method for detecting its failure
JP2006017468A (en) Data recorder
US6125456A (en) Microcomputer with self-diagnostic unit
JP2000146765A (en) Electronic controller for vehicle
JP2000035923A (en) Abnormality detecting method and abnormality detecting device
JP3348251B2 (en) I / O device
KR100284044B1 (en) Abnormal operation recovery method of functional devices with relation
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JPH0662114A (en) Inter-processor diagnostic processing system
JP2747133B2 (en) Failure reporting circuit
JP4527419B2 (en) Program trace method and trace processing system
JPH05233846A (en) Microprocessor
JP2715740B2 (en) Bus monitoring circuit for information processing equipment
JPS6227421B2 (en)
JPH1011317A (en) Digital controller
JPH01134639A (en) Trace stopping control system
JPH05216856A (en) Fault maintenance system for multi-microprocess system
JPH02105230A (en) Semiconductor integrated circuit
JPH04121543A (en) Control device for air-conditioner
JPH02123631U (en)
JPS58121459A (en) Service processor of electronic computer
JPH0535455B2 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060303

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070611