JPS6077247A - Troubleshooting method for circuits including microcomputers - Google Patents
Troubleshooting method for circuits including microcomputersInfo
- Publication number
- JPS6077247A JPS6077247A JP58185135A JP18513583A JPS6077247A JP S6077247 A JPS6077247 A JP S6077247A JP 58185135 A JP58185135 A JP 58185135A JP 18513583 A JP18513583 A JP 18513583A JP S6077247 A JPS6077247 A JP S6077247A
- Authority
- JP
- Japan
- Prior art keywords
- control mode
- internal
- troubleshooting
- circuits including
- external
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (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] [Field of Application of the Invention] The present invention relates to a troubleshooting method for a circuit including a microcomputer, and in particular, to enable troubleshooting by switching the microcomputer from an external control mode to an internal control mode. This paper relates to a troubleshooting method for circuits including microcomputers.
従来、マイクロコンピュータを含む回路が故障した場合
、内部の故障診断プログラムを動作させるか、又は外部
にデパックツールの様なサポートシステムを結合し、ト
ラブル7ユ°−チイングラ行々つていた。しかし、前者
には、デコーダ等の周辺素子や制御素子が故障した場合
には全く動作しないという欠点がある。又、後者には、
マイクロコンピュータを基板にしか付けするのではなく
、ICソケットを介して取付けなければならないという
欠点があった。後者の場合、外部にデバッグツールを取
付けるソケットと切替スイッチを内部に持てば、マイク
ロコンピュータのICソケットは不要であるが、コスト
アップの原因となるため、家庭電気製品の様な大量消費
される製品には用いられていないのが現状である。Conventionally, when a circuit including a microcomputer fails, troubleshooting has been carried out by running an internal failure diagnosis program or by connecting an external support system such as Depack Tool. However, the former has the disadvantage that it does not operate at all if peripheral elements such as a decoder or control elements fail. Also, for the latter,
There was a drawback in that the microcomputer had to be attached not only to the board, but through an IC socket. In the latter case, if you have an external socket for attaching a debugging tool and a changeover switch inside, you will not need an IC socket for the microcomputer, but this will increase the cost, so it is not recommended for products that are consumed in large quantities such as home appliances. Currently, it is not used.
従来技術では、上記の二つの手段以外にトラブルシュー
ティングの方法がなく、一般的には修理者の経験とカン
によって・又は不良品をすてるという方法で対拠してい
る。従って、これらの欠点を除去し、作業者に作業指示
を与えるだけで、誰にでもトラブルシューティングが行
なえる方式が要求されていた。In the prior art, there are no troubleshooting methods other than the above-mentioned two methods, and in general, repairers rely on their experience and intuition, or by discarding defective products. Therefore, there has been a need for a system that eliminates these drawbacks and allows anyone to perform troubleshooting simply by giving work instructions to the operator.
本発明の目的は、上記した従来技術の欠点をなくシ、単
純な作業で誰にでもマイクロコンピュータを用いた回路
の修理が行なえる様なマイクロコンピュータを含む回路
のトラブルシューティング方式を提供することにある。An object of the present invention is to eliminate the above-mentioned drawbacks of the prior art and to provide a troubleshooting method for circuits including microcomputers that allows anyone to repair circuits using microcomputers with simple operations. be.
本発明のマイクロコンピュータを含む回路のトラブルシ
ューティング方式は、内部にプログラム1(OMを有し
、モード切替によって内部のプログラムILOMを用い
る内部制御モードと外部のデコーダやプログラムROM
を用いる外部制御モードとに切替えることが可能なワン
チップマイクロコンピュータを含む回路において、通常
は外部制御モードで動作させ、故障診断時に限って内部
制御モードで動作させ、各周辺部のレベルや波形を観測
することにより不良部品を発見することを特徴としてい
る。A troubleshooting method for a circuit including a microcomputer according to the present invention includes an internal control mode in which the program 1 (OM) is used, and an internal control mode in which the internal program ILOM is used by mode switching, and an external decoder or program ROM in the internal control mode.
In a circuit that includes a one-chip microcomputer that can be switched to an external control mode using It is characterized by detecting defective parts through observation.
以下添付の図面に示す実施例により、更に詳細に本発明
について説明する。The present invention will be described in more detail below with reference to embodiments shown in the accompanying drawings.
添付図面において、ワンチップマイクロコンピュータl
は内部にプログラムROMを有し、モード切替スイッチ
7によって内部のプログラムI’l、OMを用いる内部
制御モードと外部周辺回路を用いる外部制御モードとに
切替えることができるものである。ワンチップマイクロ
コンピュータ1は、通常外部制御モードで動作させ、故
障診断動作時に限って内部制御モードで動作させる。ス
イッチ6とモード切替スイッチ7は連動しており、スイ
ッチ6.7が内部制御モードに設定されると、アドレス
デコーダ2とRAM 3と■ルボート4とROM 5に
接続されているアドレスバス9とデータバ、(10q、
全て入出力ボート端子に変更される。スイッチ6は、内
部制御モードではリード・ライト端子ル乍が動作しない
ため、ワン、チップマイクロコンピュータ1の出力ボー
ト端子Pを用いて几AM3とI10ボート4へのリード
・ライトライン8を制御するための切替スイッチである
。又、ワンチップマイクロコンピュータ1のシリアルボ
ート端子SPには、外部から故障診断プログラムを制御
するための治具が接続される。トラブルシューティング
は次の様に実行される。In the accompanying drawings, a one-chip microcomputer l
has an internal program ROM, and can be switched by a mode changeover switch 7 between an internal control mode using internal programs I'l and OM and an external control mode using external peripheral circuits. The one-chip microcomputer 1 is normally operated in an external control mode, and is operated in an internal control mode only during a fault diagnosis operation. The switch 6 and the mode selector switch 7 are interlocked, and when the switch 6.7 is set to internal control mode, the address bus 9 and data bus connected to the address decoder 2, RAM 3, keyboard 4, and ROM 5 are connected. , (10q,
All are changed to input/output port terminals. The switch 6 is used to control the read/write line 8 to the AM3 and I10 ports 4 using the output port terminal P of the chip microcomputer 1, since the read/write terminal line does not operate in the internal control mode. It is a changeover switch. Further, a jig for externally controlling a fault diagnosis program is connected to the serial port terminal SP of the one-chip microcomputer 1. Troubleshooting is performed as follows.
(11’;M’f−ツブマイクロコンピュータ1の正常
性判定は、アドレスノくス9とデータノくス10をSZ
−1・端子に変更した後、このボートをシリアルボー
トSPを介して外部治具によりH又はLに設定し、その
後レベル計で該ボート端子のレベルをチェックすること
によりなされる。(11';M'f-Tub To determine the normality of the microcomputer 1, set the address node 9 and data node 10 to SZ.
After changing to the -1 terminal, this boat is set to H or L by an external jig via the serial boat SP, and then the level of the boat terminal is checked with a level meter.
(2) アドレスデコーダ2の正常性判定は、アドレス
バス9をボート端子に変更した稜、ワンチップマイクロ
コンピュータ1の該ボート端子の出力を変化させ、希望
した信号(アドレス値)で希望したチップセレクトライ
ン11の内の1本に信号が出力されるか否かをレベル計
でチェックするととによってなされる。(2) The normality of the address decoder 2 is determined by changing the address bus 9 to a boat terminal, changing the output of the boat terminal of the one-chip microcomputer 1, and selecting the desired chip with the desired signal (address value). This is done by checking with a level meter whether a signal is output to one of the lines 11 or not.
(3) 几AM3の正常性は、RAM3への書き込みと
読み出しをチェックすることによりなされる。(3) The normality of the AM3 is checked by checking the writing and reading to the RAM3.
(4) I10ホード4の正常性判定は、アドレスバス
9とデータバスlOをボート端子に変更した後、ワンチ
ップマイクロコンピュータ1の該ボート端子の出力を変
化させ、I10ボート4への書き込み・読み出しを行な
い、レベル計でチェックすることによりなされる。(4) To determine the normality of the I10 board 4, after changing the address bus 9 and data bus IO to boat terminals, change the output of the port terminals of the one-chip microcomputer 1, and write/read to the I10 board 4. This is done by checking with a level meter.
(5) ROM 5の正常性判定は、アドレスバス9と
データバスをボート端子に変更した後、読み出しを行な
い、内存を比較することによりなされる。(5) The normality of the ROM 5 is determined by changing the address bus 9 and data bus to boat terminals, reading the data, and comparing the contents.
以上のうち(X)ワンチップマイクロコンピュータlの
正常性判定、(2)アドレスデコーダ2の正常性判定、
(4)Iんボート4の正常性判定で用いるレベル計とし
ては、例えばオシロスコーグ等のレベル観測用測定器が
考えられる。Among the above, (X) normality determination of the one-chip microcomputer 1, (2) normality determination of the address decoder 2,
(4) As a level meter used for determining the normality of the inboard boat 4, a level observation measuring device such as an oscilloscope can be used.
又、(31RAM 3の正常性判定、<5) ROM
5の正常性判定は、外部治具のプログラムにより、簡単
に実行できる。Also, (31 RAM 3 normality determination, <5) ROM
The normality determination in step 5 can be easily executed using a program of an external jig.
従来、マイクロコンピュータ周辺部品が故障した場合、
マイクロコンピュータは正常動作をしないため、このト
ラブルシューティングを行なうことができる者は、かな
りの経験者に限られていた。Conventionally, when peripheral parts of a microcomputer fail,
Since microcomputers do not operate normally, only those with considerable experience can carry out troubleshooting.
−また、ある場合は基板全体をすてざるを得なかった。- In some cases, the entire board had to be thrown away.
しかし、本発明によれば、単純な作業で誰にでもマイク
ロコンピュータを含む回路のトラブルシューティングが
可能になる。そのため、高価な基板をすてることなく、
又標準作業時間をも設定できるため、マイクロコンピュ
ータを含む回路のスイッチナス費用を大幅に低減するこ
とができる。However, according to the present invention, anyone can troubleshoot circuits including microcomputers with simple tasks. Therefore, without throwing away expensive boards,
Furthermore, since standard working hours can be set, switching costs for circuits including microcomputers can be significantly reduced.
添付の図面はマイクロコンピュータを含む回路の一例を
示すブロック図である。
1・ ワンチップマイクロコンピュータ、2・・・アド
レスデコーダ、3・・・RAM、4・・・I10ボート
、5・・・ILOM、6・・・スイッチ、7・・・モー
ド切替スイッチ、8・・・リード・ライトライン、9・
・・アドレスバス、10・・・データバス、11・・・
チップセレクトライン。
代理人 弁理士 秋 本 正 実The accompanying drawing is a block diagram showing an example of a circuit including a microcomputer. 1. One-chip microcomputer, 2. Address decoder, 3. RAM, 4. I10 board, 5. ILOM, 6. Switch, 7. Mode changeover switch, 8..・Read/write line, 9・
...Address bus, 10...Data bus, 11...
Chip selection line. Agent Patent Attorney Masami Akimoto
Claims (1)
部のプログラムROMを用いる内部制御モードと外部の
デコーダやプログラムROMを用いる外部制御モードと
を切替えることが可能なワンチップマイクロコンピュー
タを含む回路において、通常は外部制御モードで動作さ
せ、故障診断時に限って内部制御モードで動作させ、各
周辺部のレベルや波形を観測することにより不良部品を
発見することを特徴とするマイクロコンピュータを含む
回路のトラブルシューテング方式。In a circuit including a one-chip microcomputer that has an internal program ROM and can switch between an internal control mode using the internal program ROM and an external control mode using an external decoder or program ROM by mode switching, Troubleshooting of circuits including microcomputers, which is characterized by operating in external control mode, operating in internal control mode only during failure diagnosis, and discovering defective parts by observing the levels and waveforms of each peripheral part. method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58185135A JPS6077247A (en) | 1983-10-05 | 1983-10-05 | Troubleshooting method for circuits including microcomputers |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58185135A JPS6077247A (en) | 1983-10-05 | 1983-10-05 | Troubleshooting method for circuits including microcomputers |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6077247A true JPS6077247A (en) | 1985-05-01 |
Family
ID=16165479
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58185135A Pending JPS6077247A (en) | 1983-10-05 | 1983-10-05 | Troubleshooting method for circuits including microcomputers |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6077247A (en) |
-
1983
- 1983-10-05 JP JP58185135A patent/JPS6077247A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR940004331B1 (en) | Data processing device | |
| US4335425A (en) | Data processing apparatus having diagnosis function | |
| JPS6077247A (en) | Troubleshooting method for circuits including microcomputers | |
| US5121393A (en) | System for testing a microprocessor | |
| JP3753797B2 (en) | Microcomputer device | |
| US6125456A (en) | Microcomputer with self-diagnostic unit | |
| JPH0257676B2 (en) | ||
| JPS6234261A (en) | Supervisory unit for access state of memory | |
| KR100205036B1 (en) | Automatic fault and performance information generator for monitoring and control of synchronous transmitter | |
| JP2877505B2 (en) | LSI mounting board and data processing device | |
| JP2001100837A (en) | Input/output connection inspecting method for electronic controller, and microcomputer | |
| JPS61223569A (en) | Inspection of control substrate | |
| JPH1140913A (en) | Printed circuit board with hierarchical structure | |
| JPS61286770A (en) | Apparatus for diagnosing trouble | |
| JP2765659B2 (en) | Self-test method for data processing equipment | |
| JPH0561713A (en) | Electronic circuit block testing circuit | |
| KR0156061B1 (en) | Inspection device of microprocessor board | |
| JPH04274526A (en) | Substrate inspecting device | |
| KR850001380B1 (en) | Interface circuit for fault detection and development of products using CPU | |
| JPH01102646A (en) | Processor control system | |
| JPS61123960A (en) | Control system of pseudo input/output device | |
| JPS6197579A (en) | How to test products using microprocessors | |
| JPH0137772B2 (en) | ||
| JPS58184663A (en) | test equipment | |
| JPH0346920B2 (en) |