JP2007171019A - Electronic circuit and connection diagnostic circuit - Google Patents

Electronic circuit and connection diagnostic circuit Download PDF

Info

Publication number
JP2007171019A
JP2007171019A JP2005370081A JP2005370081A JP2007171019A JP 2007171019 A JP2007171019 A JP 2007171019A JP 2005370081 A JP2005370081 A JP 2005370081A JP 2005370081 A JP2005370081 A JP 2005370081A JP 2007171019 A JP2007171019 A JP 2007171019A
Authority
JP
Japan
Prior art keywords
signal
circuit
connection
lsi
diagnostic
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.)
Granted
Application number
JP2005370081A
Other languages
Japanese (ja)
Other versions
JP5261874B2 (en
Inventor
Tetsuya Toi
哲也 戸井
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2005370081A priority Critical patent/JP5261874B2/en
Publication of JP2007171019A publication Critical patent/JP2007171019A/en
Application granted granted Critical
Publication of JP5261874B2 publication Critical patent/JP5261874B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic circuit and a connection diagnostic circuit capable of easily specifying the site of failure cause, without having to provide additional wirings. <P>SOLUTION: An electronic circuit comprises a first integrated circuit 12 and second integrated circuits 13 to 17, which are connected by wiring 18 to each other. The first integrated circuit 12 includes a diagnosis signal transmitting section 123 for outputting a predetermined connection diagnostic signal to the wiring 18. The second integrated circuits 13 to 17, respectively includes a signal receiving section 124 corresponding to the connection diagnostic signal supplied via the wiring 18, a signal determining section 125 for determining connection status, denoting whether the connection diagnostic signal received by the signal receiving section 124 has been correctly transmitted, and a determination result holding section 126 for holding the determination result determined by the signal determining section 125. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、集積回路を備えた電子回路、および集積回路に搭載される接続診断回路に関する。   The present invention relates to an electronic circuit including an integrated circuit and a connection diagnosis circuit mounted on the integrated circuit.

複数の集積回路を備える回路基板の機能が正常であるか否かを確認する方法として、回路基板本来の機能を起動する前に診断ソフトウェアを実行し、ハードウェアである電子回路の機能を診断することが広く行われている。このような診断ソフトウェアは、ソフトウェア実行の障害とならない軽微な故障が発生した場合には、その故障の詳細な情報を示すことで電子回路の修理を容易にする。しかし、故障が、例えば回路基板上のシステムバスの断線やバスインターフェース回路の動作不良による重篤なものであると、診断ソフトウェアは正常に動作しない。この場合、診断ソフトウェアが正常に動作しないことから故障の発生は検出されるものの、故障の原因となっている部位は特定されず、修理や部品の交換に必要な情報が得られない。   As a method of confirming whether or not the function of a circuit board having a plurality of integrated circuits is normal, diagnostic software is executed before starting the original function of the circuit board, and the function of the electronic circuit as hardware is diagnosed. It is widely done. Such a diagnostic software facilitates repair of an electronic circuit by showing detailed information of the failure when a minor failure that does not become an obstacle to software execution occurs. However, if the failure is serious due to, for example, disconnection of the system bus on the circuit board or malfunction of the bus interface circuit, the diagnostic software does not operate normally. In this case, although the occurrence of a failure is detected because the diagnostic software does not operate normally, the site causing the failure is not specified, and information necessary for repair or replacement of parts cannot be obtained.

従来、この問題を回避する手段として、特許文献1および2には、本来の動作に必要な信号線とは異なる別の信号線を設け、この別の信号線を経由して検査のための信号を送受信することにより各部品の動作を検査する技術が開示されている。また、特許文献3には、複数のモジュールが、通信回線上で初期化の状態を通知し合うことで機器の健全性を確認する技術が開示されている。また、特許文献4には、故障が発生した場合の回復処理として電源を再投入し、装置全体を再度初期化する技術が開示されている。
特開平07−087161号公報 特開平09−274067号公報 特開平07−236182号公報 特開2003−256240号公報
Conventionally, as means for avoiding this problem, Patent Documents 1 and 2 are provided with another signal line different from the signal line necessary for the original operation, and a signal for inspection via this other signal line. A technique for inspecting the operation of each component by transmitting and receiving the information is disclosed. Patent Document 3 discloses a technology in which a plurality of modules confirm the soundness of a device by notifying the initialization state on a communication line. Patent Document 4 discloses a technique for re-initializing the entire apparatus by turning on the power again as a recovery process when a failure occurs.
Japanese Patent Application Laid-Open No. 07-087161 Japanese Patent Laid-Open No. 09-274067 Japanese Patent Laid-Open No. 07-236182 JP 2003-256240 A

しかし、特許文献1または2に示されている技術のように、故障診断のために、本来の動作に必要な信号線とは別の信号線を敷線すると、集積回路を収納するパッケージのピン数や、回路基板上の配線数が増加し、製造コストが増大する。配線数の増加は、回路基板の配線層が増加する原因ともなる。また、特許文献3の技術は、複数のモジュールの全てが正常に起動したことを判定するため、正常に起動しないモジュールがどれであるかを特定することはできない。また、特許文献4の技術は、動作不良の場合に装置全体の電源をオフするものであり、個々の集積回路に対応するものではない。   However, as in the technique shown in Patent Document 1 or 2, when a signal line different from the signal line necessary for the original operation is laid for fault diagnosis, the pin of the package that houses the integrated circuit The number of wires and the number of wires on the circuit board increase, and the manufacturing cost increases. The increase in the number of wirings causes an increase in the wiring layer of the circuit board. In addition, since the technique of Patent Document 3 determines that all of a plurality of modules have started normally, it cannot specify which module does not start normally. Further, the technique of Patent Document 4 is to turn off the power supply of the entire apparatus in the case of malfunction, and does not correspond to individual integrated circuits.

本発明は、上記事情に鑑み、配線を増設することなく、故障原因の部位を容易に特定することが可能な電子回路および接続診断回路を提供することを目的とする。   In view of the above circumstances, an object of the present invention is to provide an electronic circuit and a connection diagnosis circuit that can easily specify a site causing a failure without adding wiring.

上記目的を達成する本発明の電子回路は、互いに配線で接続された第1の集積回路および第2の集積回路を備えた電子回路であって、
上記第1の集積回路が、所定の接続診断信号を上記配線に出力する診断信号送信部を備えたものであり、
上記第2の集積回路が、
上記配線を経由して供給されてきた、上記接続診断信号に対応する信号を受信する信号受信部と、
上記信号受信部によって受信された信号が上記接続診断信号が正確に伝達されてきた信号であるか否かを表わす接続良否判定を行う信号判定部と、
上記信号判定部による判定結果を保持する判定結果保持部とを備えたことを特徴とする。
An electronic circuit of the present invention that achieves the above object is an electronic circuit including a first integrated circuit and a second integrated circuit connected to each other by wiring,
The first integrated circuit includes a diagnostic signal transmission unit that outputs a predetermined connection diagnostic signal to the wiring.
The second integrated circuit is
A signal receiving unit for receiving a signal corresponding to the connection diagnosis signal, which has been supplied via the wiring;
A signal determination unit for performing a connection pass / fail determination indicating whether or not the signal received by the signal reception unit is a signal in which the connection diagnosis signal has been accurately transmitted;
And a determination result holding unit for holding a determination result by the signal determination unit.

本発明の電子回路によれば、第1の集積回路が、接続診断信号を上記配線に出力するとともに、第2の集積回路が、配線を経由して受信した信号が正確に伝達されてきた信号であるか否かを判定し、判定結果を保持するので、診断のための特別な信号線が必要とされない。また、保持された判定結果が読み出されることで、第1の集積回路と第2の集積回路の間の配線の接続良否が容易に判定される。したがって、故障が発生した場合に、故障原因の部位が配線であるのか、あるいは集積回路自体であるのかを容易に特定することが可能となる。   According to the electronic circuit of the present invention, the first integrated circuit outputs a connection diagnosis signal to the wiring, and the second integrated circuit accurately transmits the signal received via the wiring. Therefore, a special signal line for diagnosis is not required. Further, by reading the held determination result, it is possible to easily determine whether or not the wiring is connected between the first integrated circuit and the second integrated circuit. Therefore, when a failure occurs, it is possible to easily specify whether the part causing the failure is a wiring or the integrated circuit itself.

ここで、上記本発明の電子回路において、上記第1の集積回路および第2の集積回路が外部から入力されてきたリセット信号を受けて初期化動作を行うものであり、
上記第1の集積回路は、上記初期化動作に引き続いて上記接続診断信号を送信するものであることが好ましい。
Here, in the electronic circuit of the present invention, the first integrated circuit and the second integrated circuit receive a reset signal input from the outside and perform an initialization operation.
The first integrated circuit preferably transmits the connection diagnosis signal following the initialization operation.

また、上記本発明の電子回路において、上記第2の集積回路は、上記初期化動作に引き続く所定時間内に受信した信号に基づいて、上記接続良否判定を行うものあることが好ましい。   In the electronic circuit of the present invention, it is preferable that the second integrated circuit performs the connection quality determination based on a signal received within a predetermined time following the initialization operation.

第1の集積回路が、リセット信号を受けて行う初期化動作に引き続いて接続診断信号を送信し、また、第2の集積回路が、初期化動作に引き続く所定時間内に受信した信号に基づいて接続良否判定を行うことにより、それぞれの集積回路の本来の機能のための信号の送受信を妨げることなく接続診断信号を送受信して診断をすることができる。   The first integrated circuit transmits a connection diagnosis signal following the initialization operation performed in response to the reset signal, and the second integrated circuit is based on a signal received within a predetermined time following the initialization operation. By determining whether or not the connection is good, it is possible to make a diagnosis by transmitting and receiving a connection diagnosis signal without hindering transmission and reception of signals for the original function of each integrated circuit.

また、上記目的を達成する本発明の接続診断回路は、互いに配線で接続された複数の集積回路のうちの少なくとも2つの集積回路それぞれに搭載される接続診断回路であって、
所定の接続診断信号を上記配線に出力する診断信号送信部と、
上記配線を経由して供給されてきた、上記接続診断信号に対応する信号を受信する信号受信部と、
上記信号受信部によって受信された信号が上記接続診断信号が正確に伝達されてきた信号であるか否かを表わす接続良否判定を行う信号判定部と、
上記信号判定部による判定結果を保持する判定結果保持部と、
外部から供給される設定信号に応じて、上記診断信号送信部と上記信号受信部とを切り替えて動作させる切替部とを備えたものであることを特徴とする。
The connection diagnosis circuit of the present invention that achieves the above object is a connection diagnosis circuit mounted on each of at least two integrated circuits among a plurality of integrated circuits connected to each other by wiring,
A diagnostic signal transmitter for outputting a predetermined connection diagnostic signal to the wiring;
A signal receiving unit for receiving a signal corresponding to the connection diagnosis signal, which has been supplied via the wiring;
A signal determination unit for performing a connection pass / fail determination indicating whether or not the signal received by the signal reception unit is a signal in which the connection diagnosis signal has been accurately transmitted;
A determination result holding unit for holding a determination result by the signal determination unit;
In accordance with a setting signal supplied from the outside, the diagnostic signal transmitting unit and the signal receiving unit are switched to operate.

本発明の接続診断回路は、診断信号送信部、信号受信部、信号判定部、および判定結果保持部を全て備えるので、この接続診断回路が複数の集積回路のそれぞれに搭載されると、これら複数の集積回路を有する電気回路では、設定信号によりいずれか一つの集積回路を上記の電子回路の発明にいう第1の集積回路として動作させ、他の集積回路を第2の集積回路として動作させることが可能となる。したがって、電子回路において診断のための配線を増加することなく、故障原因の部位を容易に特定することができる。さらに、電子回路の設計段階では、接続診断回路を搭載する複数の集積回路の中から求められる機能に応じた集積回路を選択し、設計の最終段階で接続診断のための設定を行うことにより故障原因の部位を容易に特定可能な電子回路を設計することができる。したがって、設計段階における集積回路の組み合わせの自由度が高い。   Since the connection diagnosis circuit of the present invention includes all of the diagnosis signal transmission unit, the signal reception unit, the signal determination unit, and the determination result holding unit, when the connection diagnosis circuit is mounted on each of the plurality of integrated circuits, In the electric circuit having the integrated circuit, one of the integrated circuits is operated as the first integrated circuit according to the above-described electronic circuit invention by the setting signal, and the other integrated circuit is operated as the second integrated circuit. Is possible. Therefore, it is possible to easily specify the site of the cause of failure without increasing the wiring for diagnosis in the electronic circuit. Furthermore, at the design stage of the electronic circuit, an integrated circuit corresponding to the required function is selected from a plurality of integrated circuits equipped with the connection diagnosis circuit, and the settings are made for connection diagnosis at the final stage of the design. It is possible to design an electronic circuit that can easily identify the cause site. Therefore, the degree of freedom of combination of integrated circuits at the design stage is high.

なお、本発明にいう接続診断回路については、ここではその基本形態のみを示すのに留めるが、これは単に重複を避けるためであリ、本発明にいう接続診断回路には、上記の基本形態のみではなく、前述した電子回路の各形態に対応する各種の形態が含まれる。   It should be noted that the connection diagnosis circuit according to the present invention is only shown in its basic form here, but this is only for avoiding duplication, and the connection diagnosis circuit according to the present invention has the above basic form. In addition, various forms corresponding to each form of the electronic circuit described above are included.

以上説明したように、本発明によれば、配線を増加することなく接続の良否判定を容易に行うことが可能な電子回路および接続診断回路が実現する。   As described above, according to the present invention, it is possible to realize an electronic circuit and a connection diagnosis circuit that can easily determine whether or not a connection is good without increasing the number of wires.

以下図面を参照して本発明の電子回路の実施の形態を説明する。   Embodiments of an electronic circuit according to the present invention will be described below with reference to the drawings.

図1は、本発明の一実施形態の電子回路の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an electronic circuit according to an embodiment of the present invention.

本実施形態の電子回路10は、電子機器に設置される回路基板11上に形成されるものであり、複数のLSI12,13,14,15,16,17を備えている。これらのLSI12〜17は、回路基板11に形成されたプリント配線、コネクタ、ワイヤ、およびソケットからなる通信バス18により互いに接続されている。また、通信バス18は、図示しない複数のアドレスバス、データバス、および制御信号線からなる。電子回路10において、LSI12は、通常は本来の機能であるマイクロコントローラとして動作し、アドレスバスを介してアドレス信号を他のLSI12〜17に送信する。LSI13〜17には、それぞれ固有のアドレスが割り当てられており、LSI12〜17のうちアドレスバスを介して送られてきたアドレス信号に対応するLSIは、LSI12から制御信号線を介して送られてくる信号に応じて、データバスを介して送られてくるデータ信号を取り込むか、あるいは、データバスを介してLSI12にデータ信号を出力する。これにより、LSI12は、通信バス18を介してLSI13〜17に、電子機器を動作させるのに必要な情報の書込みおよび読出しを行う。LSI12〜17のそれぞれは、本発明にいう集積回路の一例に相当する。また、LSI12は、本発明の電子回路にいう第1の集積回路の一例に相当し、LSI13〜17のそれぞれは、本発明の電子回路にいう第2の集積回路の一例に相当する。   The electronic circuit 10 of this embodiment is formed on a circuit board 11 installed in an electronic device, and includes a plurality of LSIs 12, 13, 14, 15, 16, and 17. These LSIs 12 to 17 are connected to each other by a communication bus 18 formed of printed wiring, connectors, wires, and sockets formed on the circuit board 11. The communication bus 18 includes a plurality of address buses, data buses, and control signal lines (not shown). In the electronic circuit 10, the LSI 12 normally operates as a microcontroller that is an original function, and transmits an address signal to the other LSIs 12 to 17 via the address bus. A unique address is assigned to each of the LSIs 13 to 17, and the LSI corresponding to the address signal sent via the address bus among the LSIs 12 to 17 is sent from the LSI 12 via the control signal line. Depending on the signal, the data signal sent via the data bus is taken in, or the data signal is output to the LSI 12 via the data bus. As a result, the LSI 12 writes and reads information necessary for operating the electronic device to the LSIs 13 to 17 via the communication bus 18. Each of the LSIs 12 to 17 corresponds to an example of an integrated circuit according to the present invention. The LSI 12 corresponds to an example of a first integrated circuit referred to in the electronic circuit of the present invention, and each of the LSIs 13 to 17 corresponds to an example of a second integrated circuit referred to in the electronic circuit of the present invention.

電子回路10には、リセット回路19も備えられている。リセット回路19は、電子回路10に電源が投入された直後、あるいは、ユーザの操作に応じて、LSI12〜17にリセット信号を供給し、LSI12〜17を初期状態にする。リセット回路19がリセット信号の供給を停止すると、LSI12〜17のそれぞれは内部初期化を行う。   The electronic circuit 10 is also provided with a reset circuit 19. The reset circuit 19 supplies a reset signal to the LSIs 12 to 17 immediately after the power is supplied to the electronic circuit 10 or according to a user operation, thereby setting the LSIs 12 to 17 in an initial state. When the reset circuit 19 stops supplying the reset signal, each of the LSIs 12 to 17 performs internal initialization.

図2は、LSI12の構成を示すブロック図である。   FIG. 2 is a block diagram showing the configuration of the LSI 12.

LSI12は、主機能回路120、入出力バッファ121、および起動時診断回路122を備えている。   The LSI 12 includes a main function circuit 120, an input / output buffer 121, and a startup diagnostic circuit 122.

主機能回路120は、LSI12の本来の機能を実行する回路である。例えば、LSI12における主機能回路120は、マイクロコントローラの機能を実行するものであり、いずれも図示はしないが、プログラムに基づいて電子回路10全体の動作を制御する中央処理装置(CPU)、プログラムやテーブルが記憶されているROM、CPUに一時的な記憶領域を提供するRAM、および信号を中継するインターフェース回路を備えている。LSI12のマイクロコントローラとしての動作は、CPUが実行するプログラムに基づいて制御されており、プログラムには、後述する不良検出処理および故障部位特定処理に対応するプログラムも含まれている。   The main function circuit 120 is a circuit that executes an original function of the LSI 12. For example, the main function circuit 120 in the LSI 12 executes a function of a microcontroller, and although not shown, a central processing unit (CPU) that controls the operation of the entire electronic circuit 10 based on a program, a program, It includes a ROM that stores a table, a RAM that provides a temporary storage area for the CPU, and an interface circuit that relays signals. The operation of the LSI 12 as a microcontroller is controlled based on a program executed by the CPU, and the program includes a program corresponding to a defect detection process and a fault location specifying process described later.

入出力バッファ121は、主機能回路120から出力された信号を通信バス18に向けて出力するか、または通信バス18を介して送信されてきた信号を主機能回路120に出力するが、リセット信号の供給が停止した後の所定の時間は、起動時診断回路122からの信号を通信バス18に出力するか、または通信バス18を介して送られてくる信号を起動時診断回路122に供給する。   The input / output buffer 121 outputs the signal output from the main function circuit 120 toward the communication bus 18 or outputs the signal transmitted via the communication bus 18 to the main function circuit 120. During a predetermined time after the supply of the signal is stopped, a signal from the start-up diagnosis circuit 122 is output to the communication bus 18 or a signal sent via the communication bus 18 is supplied to the start-up diagnosis circuit 122. .

起動時診断回路122は、通信バス18を構成する配線の1本毎に1個設けられているが、図2には、複数の起動時診断回路122のうち1本の配線に対応する1つの起動時診断回路122aのみを示す。   One startup diagnosis circuit 122 is provided for each of the wirings constituting the communication bus 18, but FIG. 2 shows one of the plurality of startup diagnosis circuits 122 corresponding to one wiring. Only the startup diagnostic circuit 122a is shown.

起動時診断回路122aは、送信回路123、受信回路124、比較回路125、保持回路126、および選択回路127を備えている。これらの回路はシーケンサにより構成されている。   The startup diagnosis circuit 122a includes a transmission circuit 123, a reception circuit 124, a comparison circuit 125, a holding circuit 126, and a selection circuit 127. These circuits are constituted by a sequencer.

送信回路123は、リセット信号の供給が停止して、LSI12の内部初期化時間Tiが経過した後、所定のパルス波形からなる起動診断パルスを発生して、入出力バッファ121を介して通信バス18に出力する。起動診断パルスは、本発明にいう接続診断信号の一例である。   After the reset signal supply is stopped and the internal initialization time Ti of the LSI 12 has elapsed, the transmission circuit 123 generates a startup diagnosis pulse having a predetermined pulse waveform, and the communication bus 18 via the input / output buffer 121. Output to. The activation diagnosis pulse is an example of the connection diagnosis signal referred to in the present invention.

受信回路124は、リセット信号の供給が停止して、LSI12の内部初期化時間Tiが経過した後、通信バス18の入出力バッファ121を介して送信されてくる信号を受信する。   The receiving circuit 124 receives a signal transmitted via the input / output buffer 121 of the communication bus 18 after the reset signal supply is stopped and the internal initialization time Ti of the LSI 12 has elapsed.

比較回路125は、受信回路124によって受信された信号を所定のパルス波形を比較することにより、受信された信号が通信バス18から正確に伝達されてきた信号であるか否かを判定することで、接続良否判定を判定する。   The comparison circuit 125 compares the signal received by the reception circuit 124 with a predetermined pulse waveform to determine whether or not the received signal is a signal that has been accurately transmitted from the communication bus 18. The connection pass / fail judgment is determined.

保持回路126は、診断結果を保持する診断レジスタを有し、診断レジスタに比較回路125による判定結果を保持する。保持回路126は、診断レジスタに保持された判定結果が、後に通信バス18を介して読み出し可能に構成されている。   The holding circuit 126 has a diagnostic register for holding the diagnostic result, and holds the determination result by the comparison circuit 125 in the diagnostic register. The holding circuit 126 is configured such that the determination result held in the diagnostic register can be read later via the communication bus 18.

選択回路127は、外部の設定ピンから供給される設定信号に応じて、送信回路123と受信回路124とを切り替えて動作させる。これにより、外部の設定ピンに供給する設定信号によって、LSI12の起動時診断回路122が、起動診断パルスを出力するマスターモードか、または、起動診断パルスを受信して接続良否判定を行うスレーブモードのいずれかに設定される。具体的には、設定ピンがHレベルに設定されると、選択回路127は、送信回路123に送信モード信号を出力し、LSI12の起動時診断回路122が、起動診断パルスを出力するマスターモードとなる。この一方、設定ピンがLレベルに設定されると、選択回路127は、受信回路124に受信モード信号を出力し、LSI12の起動時診断回路122が、起動診断パルスを受信するスレーブモードとなる。入出力バッファ121の通信バス18に対する信号の入出力方向は、LSI12の本来の機能としての入出力方向に拘わらず、リセット信号の供給停止後の所定の時間は、設定信号のレベルに応じたモードにより決定される。   The selection circuit 127 switches between the transmission circuit 123 and the reception circuit 124 in accordance with a setting signal supplied from an external setting pin. Thus, in the master mode in which the startup diagnostic circuit 122 of the LSI 12 outputs the startup diagnostic pulse by the setting signal supplied to the external setting pin, or in the slave mode in which the startup diagnostic pulse is received and the connection quality is determined. Set to either. Specifically, when the setting pin is set to the H level, the selection circuit 127 outputs a transmission mode signal to the transmission circuit 123, and the startup diagnostic circuit 122 of the LSI 12 outputs a startup diagnostic pulse. Become. On the other hand, when the setting pin is set to L level, the selection circuit 127 outputs a reception mode signal to the reception circuit 124, and the startup diagnostic circuit 122 of the LSI 12 enters a slave mode in which the startup diagnostic pulse is received. Regardless of the input / output direction of the signal to / from the communication bus 18 of the input / output buffer 121, the predetermined time after the stop of the supply of the reset signal is a mode corresponding to the level of the set signal regardless of the input / output direction as the original function of the LSI 12. Determined by.

送信回路123、受信回路124、比較回路125、保持回路126、および選択回路127は、それぞれ、本発明にいう診断信号送信部、信号受信部、信号判定部、判定結果保持部および切替部の一例に相当する。図2には、LSI12の構成を示したが、他のLSI13〜17の構成も、主機能回路の機能および構成を除いて同様であるので同一の符号を付し、図示および説明を省略する。   The transmission circuit 123, the reception circuit 124, the comparison circuit 125, the holding circuit 126, and the selection circuit 127 are examples of a diagnostic signal transmission unit, a signal reception unit, a signal determination unit, a determination result holding unit, and a switching unit according to the present invention, respectively. It corresponds to. Although the configuration of the LSI 12 is shown in FIG. 2, the configurations of the other LSIs 13 to 17 are the same except for the function and configuration of the main functional circuit, and thus the same reference numerals are given, and illustration and description are omitted.

図1に戻って説明を続ける。   Returning to FIG. 1, the description will be continued.

本実施形態の電子回路10においては、LSI12がマスターモードに設定され、LSI13〜17がスレーブモードに設定されている。つまり、LSI12が備える起動時診断回路122は、リセット信号を受けて行う初期化動作に引き続いて起動診断パルスを出力し、一方で、LSI13〜17が備える起動時診断回路122は、初期化動作に引き続く所定時間内に受信した信号に基づいて、上記接続良否判定を行うように設定されている。   In the electronic circuit 10 of this embodiment, the LSI 12 is set to the master mode, and the LSIs 13 to 17 are set to the slave mode. That is, the startup diagnostic circuit 122 included in the LSI 12 outputs a startup diagnostic pulse following the initialization operation performed in response to the reset signal, while the startup diagnostic circuit 122 included in the LSIs 13 to 17 performs the initialization operation. It is set to perform the above-mentioned connection pass / fail judgment based on a signal received within a predetermined time after that.

ここで、LSI12〜17のそれぞれにおいて、送信回路123および受信回路124のうち、動作する回路はいずれか一方だけとなるが、起動時診断回路122は、送信回路123、受信回路124、比較回路125、および保持回路126を全て備えている。これにより、電子回路の設計段階においては、起動時診断回路122を備える複数のLSIを、電子回路に要求される機能に基づいて選択して組み合わせ、設計の最終段階において、組み合わされた複数のLSIのうちのいずれか一つを設定信号によりマスターモードに設定することで、配線接続の不良を診断可能に構成することができる。したがって、電子回路の設計における、LSIの組み合わせの自由度が高い。   Here, in each of the LSIs 12 to 17, only one of the transmission circuit 123 and the reception circuit 124 operates, but the startup diagnosis circuit 122 includes the transmission circuit 123, the reception circuit 124, and the comparison circuit 125. And holding circuit 126 are all provided. Thereby, in the design stage of the electronic circuit, a plurality of LSIs including the startup diagnosis circuit 122 are selected and combined based on functions required for the electronic circuit, and the plurality of LSIs combined in the final design stage By setting any one of them to the master mode by the setting signal, it is possible to configure the wiring connection failure to be diagnosed. Therefore, there is a high degree of freedom in combining LSIs in designing electronic circuits.

次に、マスターモードに設定されたLSI12、およびスレーブモードに設定されたLSI13〜17の動作を説明する。   Next, operations of the LSI 12 set to the master mode and the LSIs 13 to 17 set to the slave mode will be described.

図3は、マスターモードに設定されたLSIに備えられた起動時診断回路の動作を示すフローチャートであり、図4は、スレーブモードに設定されたLSIに備えられた起動時診断回路の動作を示すフローチャートである。また、図5は、バス信号およびリセット信号を示すタイミングチャートである。   FIG. 3 is a flowchart showing the operation of the startup diagnostic circuit provided in the LSI set in the master mode, and FIG. 4 shows the operation of the startup diagnostic circuit provided in the LSI set in the slave mode. It is a flowchart. FIG. 5 is a timing chart showing the bus signal and the reset signal.

図3に示すように、LSI12は、リセット信号が解除されると起動診断を開始する。図5のタイミングチャートに示すように、リセット信号はHレベルである(正論理)。リセット信号の供給が停止し、リセットが解除されると(ステップS11:Yes)、起動時診断回路122および主機能回路120が内部初期化を行う(ステップS12)。次に、リセット解除のタイミングTres(図5参照)から、内部初期化のための内部初期化時間Tiが経過すると(ステップS13:Yes)、送信回路123が、図5の起動診断時間Tdに示す波形の起動診断パルスを通信バス18に向けて送信する(ステップS14)。これにより、LSI12は、リセット信号を受けて行う初期化動作に引き続いて接続診断信号を送信する。   As shown in FIG. 3, the LSI 12 starts the activation diagnosis when the reset signal is canceled. As shown in the timing chart of FIG. 5, the reset signal is at the H level (positive logic). When the supply of the reset signal is stopped and the reset is released (step S11: Yes), the startup diagnostic circuit 122 and the main function circuit 120 perform internal initialization (step S12). Next, when the internal initialization time Ti for internal initialization elapses from the reset release timing Tres (see FIG. 5) (step S13: Yes), the transmission circuit 123 indicates the start diagnosis time Td in FIG. A waveform activation diagnosis pulse is transmitted to the communication bus 18 (step S14). As a result, the LSI 12 transmits a connection diagnosis signal following the initialization operation performed in response to the reset signal.

送信回路123から通信バス18に向けて出力された起動診断パルスは、通信バス18を介して接続されているLSI13〜17に向けて送信される。しかし、通信バス18を構成する配線パターンやワイヤが断線していたり、LSI12〜17とソケットとの接触不良や、半田付け不良が生じていると、起動診断パルスは、LSI12〜17には到達しない。   The activation diagnosis pulse output from the transmission circuit 123 toward the communication bus 18 is transmitted toward the LSIs 13 to 17 connected via the communication bus 18. However, if the wiring pattern or wire constituting the communication bus 18 is disconnected, or if the contact between the LSIs 12 to 17 and the socket is poor or the soldering is defective, the activation diagnosis pulse does not reach the LSIs 12 to 17. .

次に、送信回路123が、通信バス18に送信するバス信号をインアクティブ化する(ステップS15)。これにより、通信バス18は、ソフトウェアによる初期化が行われるまで(ステップS16)、図5に示すようにハイインピーダンス状態となる。この後、主機能回路120がLSI12本来の機能であるマイクロコンピュータとしての動作を開始し、ソフトウェアによる初期化が実行されると、通信バス18は、図5に示すようにアクティブ状態となる。   Next, the transmission circuit 123 inactivates a bus signal to be transmitted to the communication bus 18 (step S15). As a result, the communication bus 18 is in a high impedance state as shown in FIG. 5 until initialization by software is performed (step S16). Thereafter, when the main function circuit 120 starts to operate as a microcomputer that is an original function of the LSI 12 and initialization by software is executed, the communication bus 18 becomes active as shown in FIG.

ここで、図4を参照して、スレーブモードに設定されたLSI13〜17の動作を説明する。   Here, with reference to FIG. 4, the operation of the LSIs 13 to 17 set to the slave mode will be described.

LSI13〜17は、リセット信号が解除されると起動診断を開始する。リセット信号の供給が停止し、リセットが解除されると(ステップS21:Yes)、LSI13〜17は、リセット解除のタイミングTres(図5参照)から内部初期化の内部初期化時間Tiが経過するのを待つ(ステップS22)。ここで、内部初期化時間Tiは、LSI12〜17の全てにおいて共通に設定されているため、同一のリセット信号を受信する各LSI12〜17での、起動診断パルスの送信タイミングと受信タイミングとは互いに同期する。内部初期化時間Tiが経過した後、受信回路124は通信バス18を介して送信されてくる信号の受信を開始する。次に、起動診断時間Tdが経過するか(ステップS23:Yes)、あるいは受信回路124が信号を受信すると(ステップS24:Yes)、比較回路125が受信回路124によって受信された信号の波形を起動診断パルスの波形を比較することで、受信した信号がLSI12の送信回路123から正確に伝達されてきた信号であるか否かを判定する(ステップS25,S26)。比較回路125による比較の結果、起動診断パルスが正確に伝達されてきたと判定された場合、保持回路126は、診断レジスタに接続良好を意味する値を保持する(ステップS28)。一方で、信号が全く受信されなかった場合を含め、受信された信号が起動診断パルスと異なる場合、保持回路126は、診断レジスタに接続不良を意味する値を保持する(ステップS27)。そして、起動診断動作が終了する。   The LSIs 13 to 17 start the activation diagnosis when the reset signal is released. When the supply of the reset signal is stopped and the reset is released (step S21: Yes), the LSIs 13 to 17 have passed the internal initialization time Ti of the internal initialization from the reset release timing Tres (see FIG. 5). (Step S22). Here, since the internal initialization time Ti is set in common in all the LSIs 12 to 17, the transmission timing and the reception timing of the activation diagnosis pulse in each of the LSIs 12 to 17 that receive the same reset signal are mutually different. Synchronize. After the internal initialization time Ti elapses, the receiving circuit 124 starts receiving signals transmitted via the communication bus 18. Next, when the activation diagnosis time Td elapses (step S23: Yes) or when the reception circuit 124 receives a signal (step S24: Yes), the comparison circuit 125 activates the waveform of the signal received by the reception circuit 124. By comparing the waveforms of the diagnostic pulses, it is determined whether or not the received signal is a signal that has been accurately transmitted from the transmission circuit 123 of the LSI 12 (steps S25 and S26). As a result of the comparison by the comparison circuit 125, when it is determined that the activation diagnosis pulse has been transmitted correctly, the holding circuit 126 holds a value indicating good connection in the diagnosis register (step S28). On the other hand, when the received signal is different from the activation diagnostic pulse, including the case where no signal is received, the holding circuit 126 holds a value indicating a connection failure in the diagnostic register (step S27). Then, the startup diagnosis operation ends.

このようにして、マスターとして機能するLSI12が、接続診断信号を通信バス18に向けて出力するとともに、スレーブとして機能するLSI13〜17が、通信バス18を経由して受信した信号が正確に伝達されてきた信号であるか否かを判定して、判定結果を保持するので、保持された判定結果が読み出されると、LSI12とLSI13〜17の間の通信バス18の接続良否が容易に判別される。例えば、LSI12が、上述の起動診断の後、本来の機能であるマイクロコントローラとして動作し、通信バス18を介してLSI13〜17のそれぞれが備える保持回路126の診断レジスタに保持されたデータを読み出せば、LSI12と、LSI13〜17との配線のうちのいずれかの接続が不良であるか否かを判別することができる。したがって、電子回路10に故障が発生した場合に、故障原因の部位が通信バス18であるか、あるいはLSI12〜17自体であるのかが容易に特定される。しかも、診断のための配線を増設する必要もない。   In this way, the LSI 12 functioning as a master outputs a connection diagnosis signal to the communication bus 18, and signals received by the LSIs 13 to 17 functioning as slaves via the communication bus 18 are accurately transmitted. Since the determination result is retained and the determination result is retained, whether or not the communication bus 18 is connected between the LSI 12 and the LSIs 13 to 17 is easily determined when the retained determination result is read. . For example, after the above-described startup diagnosis, the LSI 12 operates as a microcontroller that is an original function, and the data held in the diagnosis register of the holding circuit 126 provided in each of the LSIs 13 to 17 can be read via the communication bus 18. For example, it is possible to determine whether or not any of the wirings of the LSI 12 and the LSIs 13 to 17 is defective. Therefore, when a failure occurs in the electronic circuit 10, it is easily specified whether the failure cause is the communication bus 18 or the LSIs 12 to 17 themselves. Moreover, it is not necessary to add wiring for diagnosis.

また、本実施形態の電子回路10によれば、LSI12が、リセット信号を受けて行う初期化動作に引き続いて接続診断信号を送信し、また、LSI13〜17が、初期化動作に引き続く起動診断時間Tdに受信した信号に基づいて接続良否判定を行うことにより、それぞれのLSI12〜17本来の機能の信号の送受信を妨げることなく、送受信が開始する前に、起動診断パルスを送受信して診断を行うことができる。   Further, according to the electronic circuit 10 of the present embodiment, the LSI 12 transmits a connection diagnosis signal subsequent to the initialization operation performed in response to the reset signal, and the LSIs 13 to 17 start-up diagnosis time subsequent to the initialization operation. By making a connection pass / fail judgment based on the signal received at Td, before starting transmission / reception, diagnosis is performed without interrupting transmission / reception of signals of the original functions of the LSIs 12-17. be able to.

図6は、LSIが実行する不良検出処理を示すフローチャートであり、図7は、LSIが実行する故障部位特定処理を示すフローチャートである。   FIG. 6 is a flowchart showing a defect detection process executed by the LSI, and FIG. 7 is a flowchart showing a fault location specifying process executed by the LSI.

図6および図7に示す不良検出処理および故障部位特定処理は、LSI12が本来の機能であるマイクロコントローラとして実行する処理のうちの一部である。LSI12は、起動時診断が終了し、マイクロコントローラとして動作を開始すると、不良検出処理に続いて故障部位特定処理を実行する。   The defect detection process and the fault site identification process shown in FIGS. 6 and 7 are a part of the processes executed by the LSI 12 as a microcontroller that is the original function. When the startup diagnosis is completed and the operation of the LSI 12 is started as a microcontroller, the LSI 12 executes a failure location specifying process following the defect detection process.

不良検出処理において、まずLSI12は初期化を行う(ステップS31)。ここで、LSI12は、RAMなどのLSI12内部の初期化を行うとともに、通信バス18を介してLSI13〜17にデータを書込み、LSI13〜17の初期化を行う。   In the defect detection process, first, the LSI 12 performs initialization (step S31). Here, the LSI 12 initializes the LSI 12 such as a RAM and writes data to the LSIs 13 to 17 via the communication bus 18 to initialize the LSIs 13 to 17.

次に、LSI12は、スレーブモードとなっているm個のLSIのそれぞれについて、順次レジスタの読み出しを行う。本実施形態の電子回路10において、スレーブモードとなっているLSIの数は5である。また、LSI13〜17を、それぞれLSI―1〜LSI−5と称する。まず、LSI12は、スレーブモードとなっているLSIの数を表わすカウントnの値を0に初期化し(ステップS32)、続いて、カウントnに1加算し(ステップS33)、n番目のLSI―nの保持回路126(図2)が有する診断レジスタの値を読み出す(ステップS34)。ここで、読み出しの処理におけるリードサイクルが正常に完了しない場合(ステップS35:No)、LSI12は、LSI12からLSI―nへの接続不良、またはLSI―n自身の動作不良であると判断し(ステップS36)、接続不良またはLSI―n自身の動作不良を意味する値Error1を、RAMに配置された起動診断結果ログのうちのLSI−nに該当する領域に記録する(ステップS37)。一方で、読み出しの処理におけるリードサイクルが正常に完了した場合(ステップS35:Yes)、LSI12は、読み出した診断レジスタの値が接続良好を意味する値であるか否かを判別し(ステップS38)、診断レジスタの値が接続不良を意味する場合(ステップS38:No)、LSI12からLSI―nへの接続不良であると判断して(ステップS39)、接続不良を意味する値Error2を、起動診断結果ログのうちのLSI−nに該当する領域に記録する(ステップS40)。   Next, the LSI 12 sequentially reads the registers for each of the m LSIs in the slave mode. In the electronic circuit 10 of the present embodiment, the number of LSIs in the slave mode is five. The LSIs 13 to 17 are referred to as LSI-1 to LSI-5, respectively. First, the LSI 12 initializes the value of the count n representing the number of LSIs in the slave mode to 0 (step S32), then adds 1 to the count n (step S33), and the nth LSI-n The value of the diagnostic register included in the holding circuit 126 (FIG. 2) is read (step S34). Here, when the read cycle in the reading process is not normally completed (step S35: No), the LSI 12 determines that the connection from the LSI 12 to the LSI-n or the operation failure of the LSI-n itself (step S35). S36), the value Error1, which means a connection failure or an operation failure of the LSI-n itself, is recorded in an area corresponding to the LSI-n in the activation diagnosis result log arranged in the RAM (step S37). On the other hand, when the read cycle in the reading process is normally completed (step S35: Yes), the LSI 12 determines whether or not the read value of the diagnostic register is a value meaning good connection (step S38). If the value of the diagnosis register means a connection failure (step S38: No), it is determined that the connection from the LSI 12 to the LSI-n is a failure (step S39), and the value Error2 indicating the connection failure is determined as a start diagnosis. It records in the area | region applicable to LSI-n of a result log (step S40).

上述したステップS37,S40,S38の処理の後、LSI12は、診断レジスタからの読み出しを行ったLSI―nが、読み出し対象であるLSI13〜17のうちの最後のLSI―mであるか否かを判別して、最後のLSI―mでないと判別した場合にはステップS33からの処理を繰り返し(ステップS41:No)、LSI13〜17の全ての診断レジスタからの読み出しおよび判別を順次に行い、不良検出を終了する。   After the processes of steps S37, S40, and S38 described above, the LSI 12 determines whether or not the LSI-n that has read from the diagnostic register is the last LSI-m among the LSIs 13 to 17 to be read. If it is determined that the LSI is not the last LSI-m, the processing from step S33 is repeated (step S41: No), and reading from all the diagnostic registers of the LSIs 13 to 17 and determination are sequentially performed to detect defects. Exit.

このようにして、本実施形態の電子回路10によれば、診断のための配線を増設しなくとも、診断レジスタに保持された判定結果の値を読み出すことにより、LSI12とLSI13〜17の間の配線接続が不良であるか否かを判別することができる。さらに、電子回路10によれば、スレーブモードのLSI13〜17が複数あり、これらのうちのいずれのLSIに対する接続が不良であるかを容易に判別することができる。つまり、故障が発生した場合に、故障原因の部位がLSI13〜17同士を接続するコネクタやケーブルであるか、あるいはLSI13〜17自体であるのかを容易に特定することが可能となる。故障原因の部位が容易に特定されると、故障修理において、故障箇所の部品だけを交換することが短時間で可能となる。例えば複写機やプリンタのように、本来の機能を停止したままで修理に長い時間をかけることが許されない機器における電子回路の故障においても、回路基板を丸ごと交換するといった事態を回避して、修理コストを抑えることができる。   Thus, according to the electronic circuit 10 of the present embodiment, the value of the determination result held in the diagnostic register can be read between the LSI 12 and the LSIs 13 to 17 without adding wiring for diagnosis. It is possible to determine whether or not the wiring connection is defective. Furthermore, according to the electronic circuit 10, there are a plurality of LSIs 13 to 17 in the slave mode, and it is possible to easily determine which of these LSIs has a poor connection. That is, when a failure occurs, it is possible to easily identify whether the failure cause is the connector or cable connecting the LSIs 13 to 17 or the LSIs 13 to 17 themselves. If the part causing the failure is easily identified, it is possible to replace only the part at the failure part in a short time in repairing the failure. For example, even in the case of a failure of an electronic circuit in a device such as a copier or a printer that does not allow a long time to be repaired with its original function stopped, repair is performed by avoiding the situation of replacing the entire circuit board. Cost can be reduced.

続いて、不良検出処理において起動診断結果ログ記録された値に基づき、故障部位を特定するため実行される故障部位特定処理を説明する。   Subsequently, a failure part specifying process executed for specifying a failure part based on the value recorded in the activation diagnosis result log in the defect detection process will be described.

まず、LSI12は、スレーブモードとなっているLSIの数を表わすカウントnの値を0に初期化する(ステップS51)。続いてLSI12は、カウントnに1加算し(ステップS52)、RAMに配置された起動診断結果ログのうちのLSI−nに該当する領域から値を読み出す(ステップS53)。ステップS53で読み出した値が接続不良またはLSI―n自身の動作不良を意味する値Error1である場合(ステップS54:Yes)、LSI12は、LSI12からLSI―nへの接続不良、またはLSI―n自身の動作不良であると判定する(ステップS55)。一方、ステップS53で読み出した値がLSI12からLSI―nへの接続不良を意味する値Error2である場合(ステップS56:Yes)、LSI12は、LSI12からLSI―nへの接続不良であると判定する(ステップS57)。   First, the LSI 12 initializes the value of the count n indicating the number of LSIs in the slave mode to 0 (step S51). Subsequently, the LSI 12 adds 1 to the count n (step S52), and reads a value from the area corresponding to the LSI-n in the activation diagnosis result log arranged in the RAM (step S53). When the value read in step S53 is the value Error1 meaning a connection failure or an operation failure of the LSI-n itself (step S54: Yes), the LSI 12 has a connection failure from the LSI 12 to the LSI-n or the LSI-n itself. It is determined that this is a malfunction (step S55). On the other hand, if the value read in step S53 is the value Error2 meaning a connection failure from the LSI 12 to the LSI-n (step S56: Yes), the LSI 12 determines that there is a connection failure from the LSI 12 to the LSI-n. (Step S57).

LSI12は、起動診断結果ログから読み出した領域に対応するLSI―nが、読み出し対象であるLSI13〜17のうちの最後のLSI―mであると判別される(ステップS58:Yes)まで、ステップS52からステップS57までの処理を繰り返す。   The LSI 12 determines that the LSI-n corresponding to the area read from the activation diagnosis result log is the last LSI-m among the LSIs 13 to 17 to be read (step S58: Yes) until step S52. To S57 are repeated.

次に、LSI12は、全てのスレーブモードのLSI13〜17について、起動診断結果ログから読み出した値が接続不良を意味する値Error2である場合、LSI12はステップS55およびステップS57での判定結果を破棄して、マスターモードのLSI、すなわちLSI12自身の故障であると判定し(ステップS60)、故障部位特定の処理を終了する。一方で、全てのスレーブモードのLSI13〜17について値が接続不良を意味するものではない場合には(ステップS59:No)、ステップS55およびステップS57での判定結果が有効となる。   Next, the LSI 12 discards the determination results in step S55 and step S57 when the value read from the activation diagnosis result log is the value Error2, which means a connection failure, for all the slave mode LSIs 13 to 17. Thus, it is determined that the master mode LSI, that is, the LSI 12 itself is in failure (step S60), and the process of specifying the failed part is terminated. On the other hand, if the values of all the slave mode LSIs 13 to 17 do not mean connection failure (step S59: No), the determination results in step S55 and step S57 are valid.

このようにして、スレーブモードのLSIが複数ある場合には、マスターモードのLSIも含め、いずれのLSIについて接続が不良であるかを判別することができる。   In this way, when there are a plurality of slave mode LSIs, it is possible to determine which LSI, including the master mode LSI, is defective in connection.

なお、本実施形態では、電子回路10が備えるLSI12〜17の全てが、起動時診断回路122を備えるものとして説明したが、本発明の電子回路および起動時診断回路はこれに限るものではない。本発明の電子回路は、送信回路、受信回路、比較回路、または保持回路のいずれも備えない集積回路が含まれたものでもよい。また、本発明の起動時診断回路は、少なくとも2個の集積回路に搭載されていればよい。ただし、全ての集積回路が起動時診断回路を備えている場合には、全ての集積回路についての接続の良否が容易に判別可能となる。   In the present embodiment, all the LSIs 12 to 17 included in the electronic circuit 10 have been described as including the startup diagnostic circuit 122, but the electronic circuit and startup diagnostic circuit of the present invention are not limited thereto. The electronic circuit of the present invention may include an integrated circuit that does not include any of a transmission circuit, a reception circuit, a comparison circuit, and a holding circuit. In addition, the startup diagnostic circuit of the present invention only needs to be mounted on at least two integrated circuits. However, when all the integrated circuits are provided with the startup diagnostic circuit, it is possible to easily determine whether or not all the integrated circuits are connected.

また、本実施形態では、スレーブモードのLSI13〜17が複数であるとして説明したが、本発明はこれに限るものではない。本発明の電子回路は、マスターモードとして動作する1つの集積回路とスレーブモードとして動作する少なくとも1つの集積回路が備えられていればよい。   In this embodiment, the slave mode LSIs 13 to 17 are described as being plural, but the present invention is not limited to this. The electronic circuit of the present invention only needs to include one integrated circuit that operates in the master mode and at least one integrated circuit that operates in the slave mode.

また、本実施形態では、マスターモードに設定されたLSI12の本来の機能がマイクロコンピュータであるとして説明したが、本発明は、第1の集積回路が有する本来の機能が通信バスのマスタであるものに限るものではない。例えば、電子回路は、マスターモードで動作するLSIおよびスレーブモードで動作するLSIとは別に、通信バスに接続されたマイクロコンピュータが設けられた構成であってもよい。   In this embodiment, the original function of the LSI 12 set to the master mode is described as a microcomputer. However, in the present invention, the original function of the first integrated circuit is the master of the communication bus. It is not limited to. For example, the electronic circuit may have a configuration in which a microcomputer connected to a communication bus is provided separately from an LSI operating in the master mode and an LSI operating in the slave mode.

また、本実施形態では、通信バス18が、アドレスバス、データバス等から構成されるとして説明したが、本発明はこれに限るものではない。本発明の配線は、例えば、シリアル通信信号や、ビデオ・オーディオデータ信号を送受信する配線でもよい。また、電子回路10は、回路基板11上に形成されるものとして説明したが、本発明はこれに限るものではなく、本発明の電子回路は、例えば、複数の回路基板上で形成され、配線は、コネクタやケーブルを介して延長されるような構成であってもよい。   In the present embodiment, the communication bus 18 is described as being composed of an address bus, a data bus, and the like, but the present invention is not limited to this. The wiring of the present invention may be a wiring for transmitting and receiving a serial communication signal and a video / audio data signal, for example. Further, although the electronic circuit 10 has been described as being formed on the circuit board 11, the present invention is not limited to this, and the electronic circuit of the present invention is formed on a plurality of circuit boards, for example, May be configured to be extended via a connector or a cable.

本発明の一実施形態の電子回路の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic circuit of one Embodiment of this invention. LSI12の構成を示すブロック図である。2 is a block diagram showing a configuration of an LSI 12. FIG. マスターモードに設定されたLSIに備えられた起動時診断回路の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the starting time diagnostic circuit with which LSI set to the master mode was equipped. スレーブモードに設定されたLSIに備えられた起動時診断回路の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the starting time diagnostic circuit with which LSI set to the slave mode was equipped. バス信号およびリセット信号を示すタイミングチャートである。It is a timing chart which shows a bus signal and a reset signal. LSIが実行する不良検出処理を示すフローチャートである。It is a flowchart which shows the defect detection process which LSI performs. LSIが実行する故障部位特定処理を示すフローチャートである。It is a flowchart which shows the failure part specific process which LSI performs.

符号の説明Explanation of symbols

10 電子回路
11 回路基板
12 LSI(第1の集積回路)
13〜17 LSI(第2の集積回路)
120 主機能回路
121 入出力バッファ
122(122a) 起動時診断回路(接続診断回路)
123 送信回路(診断信号送信部)
124 受信回路(信号受信部)
125 比較回路(信号判定部)
126 保持回路(判定結果保持部)
127 選択回路(切替部)
18 通信バス(配線)
19 リセット回路
10 electronic circuit 11 circuit board 12 LSI (first integrated circuit)
13-17 LSI (second integrated circuit)
120 Main function circuit 121 I / O buffer 122 (122a) Start-up diagnostic circuit (connection diagnostic circuit)
123 Transmitter circuit (diagnostic signal transmitter)
124 Receiver circuit (signal receiver)
125 comparison circuit (signal determination unit)
126 holding circuit (determination result holding unit)
127 selection circuit (switching unit)
18 Communication bus (wiring)
19 Reset circuit

Claims (4)

互いに配線で接続された第1の集積回路および第2の集積回路を備えた電子回路であって、
前記第1の集積回路が、所定の接続診断信号を前記配線に出力する診断信号送信部を備えたものであり、
前記第2の集積回路が、
前記配線を経由して供給されてきた、前記接続診断信号に対応する信号を受信する信号受信部と、
前記信号受信部によって受信された信号が前記接続診断信号が正確に伝達されてきた信号であるか否かを表わす接続良否判定を行う信号判定部と、
前記信号判定部による判定結果を保持する判定結果保持部とを備えたものであることを特徴とする電子回路。
An electronic circuit comprising a first integrated circuit and a second integrated circuit connected to each other by wiring,
The first integrated circuit includes a diagnostic signal transmission unit that outputs a predetermined connection diagnostic signal to the wiring,
The second integrated circuit comprises:
A signal receiving unit for receiving a signal corresponding to the connection diagnosis signal, which has been supplied via the wiring;
A signal determination unit for performing a connection pass / fail determination indicating whether or not the signal received by the signal reception unit is a signal in which the connection diagnosis signal has been accurately transmitted;
An electronic circuit comprising: a determination result holding unit that holds a determination result by the signal determination unit.
前記第1の集積回路および第2の集積回路が外部から入力されてきたリセット信号を受けて初期化動作を行うものであり、
前記第1の集積回路は、前記初期化動作に引き続いて前記接続診断信号を送信するものであることを特徴とする請求項1記載の電子回路。
The first integrated circuit and the second integrated circuit receive a reset signal input from the outside and perform an initialization operation.
2. The electronic circuit according to claim 1, wherein the first integrated circuit transmits the connection diagnosis signal subsequent to the initialization operation.
前記第2の集積回路は、前記初期化動作に引き続く所定時間内に受信した信号に基づいて、前記接続良否判定を行うものあることを特徴とする請求項1記載の電子回路。   2. The electronic circuit according to claim 1, wherein the second integrated circuit performs the connection quality determination based on a signal received within a predetermined time following the initialization operation. 互いに配線で接続された複数の集積回路のうちの少なくとも2つの集積回路それぞれに搭載される接続診断回路であって、
所定の接続診断信号を前記配線に出力する診断信号送信部と、
前記配線を経由して供給されてきた、前記接続診断信号に対応する信号を受信する信号受信部と、
前記信号受信部によって受信された信号が前記接続診断信号が正確に伝達されてきた信号であるか否かを表わす接続良否判定を行う信号判定部と、
前記信号判定部による判定結果を保持する判定結果保持部と、
外部から供給される設定信号に応じて、前記診断信号送信部と前記信号受信部とを切り替えて動作させる切替部とを備えたものであることを特徴とする接続診断回路。
A connection diagnostic circuit mounted on each of at least two integrated circuits among a plurality of integrated circuits connected by wiring,
A diagnostic signal transmitter for outputting a predetermined connection diagnostic signal to the wiring;
A signal receiving unit for receiving a signal corresponding to the connection diagnosis signal, which has been supplied via the wiring;
A signal determination unit that performs a connection pass / fail determination that indicates whether the signal received by the signal reception unit is a signal that the connection diagnosis signal has been accurately transmitted;
A determination result holding unit for holding a determination result by the signal determination unit;
A connection diagnostic circuit comprising: a switching unit that switches between the diagnostic signal transmission unit and the signal reception unit to operate in accordance with a setting signal supplied from outside.
JP2005370081A 2005-12-22 2005-12-22 Electronic circuit and connection diagnostic circuit Expired - Fee Related JP5261874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005370081A JP5261874B2 (en) 2005-12-22 2005-12-22 Electronic circuit and connection diagnostic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005370081A JP5261874B2 (en) 2005-12-22 2005-12-22 Electronic circuit and connection diagnostic circuit

Publications (2)

Publication Number Publication Date
JP2007171019A true JP2007171019A (en) 2007-07-05
JP5261874B2 JP5261874B2 (en) 2013-08-14

Family

ID=38297771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005370081A Expired - Fee Related JP5261874B2 (en) 2005-12-22 2005-12-22 Electronic circuit and connection diagnostic circuit

Country Status (1)

Country Link
JP (1) JP5261874B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009041728A1 (en) * 2007-09-28 2009-04-02 Fujitsu Ten Limited Drive recorder

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62180217A (en) * 1986-02-04 1987-08-07 Toyota Motor Corp Abnormality deciding method for plural sensors
JPH02186280A (en) * 1989-01-12 1990-07-20 Fujitsu Ltd Integrated circuit apparatus
JPH08320350A (en) * 1995-04-28 1996-12-03 Advantest Corp Relay characteristic automatic testing device
JPH10107744A (en) * 1996-09-25 1998-04-24 Matsushita Electric Works Ltd Self-dignostic method for radio communication equipment and device therefor
JP2001296330A (en) * 2000-04-11 2001-10-26 Fujitsu Ltd Electronic apparatus equipped with disconnection- position detection function and detection method for disconnection position
JP2002319298A (en) * 2001-02-14 2002-10-31 Mitsubishi Electric Corp Semiconductor integrated circuit device
JP2003529145A (en) * 2000-03-24 2003-09-30 サン・マイクロシステムズ・インコーポレイテッド System and method for testing signal interconnects using built-in self-test

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62180217A (en) * 1986-02-04 1987-08-07 Toyota Motor Corp Abnormality deciding method for plural sensors
JPH02186280A (en) * 1989-01-12 1990-07-20 Fujitsu Ltd Integrated circuit apparatus
JPH08320350A (en) * 1995-04-28 1996-12-03 Advantest Corp Relay characteristic automatic testing device
JPH10107744A (en) * 1996-09-25 1998-04-24 Matsushita Electric Works Ltd Self-dignostic method for radio communication equipment and device therefor
JP2003529145A (en) * 2000-03-24 2003-09-30 サン・マイクロシステムズ・インコーポレイテッド System and method for testing signal interconnects using built-in self-test
JP2001296330A (en) * 2000-04-11 2001-10-26 Fujitsu Ltd Electronic apparatus equipped with disconnection- position detection function and detection method for disconnection position
JP2002319298A (en) * 2001-02-14 2002-10-31 Mitsubishi Electric Corp Semiconductor integrated circuit device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009041728A1 (en) * 2007-09-28 2009-04-02 Fujitsu Ten Limited Drive recorder

Also Published As

Publication number Publication date
JP5261874B2 (en) 2013-08-14

Similar Documents

Publication Publication Date Title
JP4842823B2 (en) Test apparatus, configuration method, and device interface
KR20030022780A (en) System and method for testing signal interconnections using built-in self test
US7265569B2 (en) Test apparatus
JP5261874B2 (en) Electronic circuit and connection diagnostic circuit
US7970569B2 (en) Apparatus and method for connection test on printed circuit board
JP2012068907A (en) Bus connection circuit and bus connection method
JP2007293678A (en) Apparatus for diagnosing common bus connection
JP2010238000A (en) Device for bus connection/disconnection of module
JP2009187284A (en) Inter-board connection monitoring device
JP4828871B2 (en) Back wiring board diagnostic method
TWI423638B (en) Communication system, test device, communication device, communication method, and test method
JP5573638B2 (en) Information processing apparatus and operating method thereof
JP2857479B2 (en) Electronic equipment for bus interface inspection
JP2000040014A (en) Evaluation system of ecu function inspecting device
JPH11338594A (en) Defective contact detecting circuit
JPH0257676B2 (en)
US7257748B2 (en) Method for programming and/or testing for correct functioning of an electronic circuit
US8443236B2 (en) Test apparatus for testing an information processing apparatus
JP6435884B2 (en) Information processing apparatus and abnormality detection method
JP5203649B2 (en) Integrated circuit and circuit board
KR20110001654A (en) Ecu module including connectors structure and ecu moudle using the same
JP2003318576A (en) Substrate mounting recognition system
JP2001124821A (en) Test burn-in device and method of controlling test burn- in device
JP2003173269A (en) Information processor
JP2006084421A (en) I/o cell check formula of semiconductor integrated circuit device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130402

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130415

R150 Certificate of patent or registration of utility model

Ref document number: 5261874

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees