JP2008146499A - Analysis method and analyzer - Google Patents

Analysis method and analyzer Download PDF

Info

Publication number
JP2008146499A
JP2008146499A JP2006335083A JP2006335083A JP2008146499A JP 2008146499 A JP2008146499 A JP 2008146499A JP 2006335083 A JP2006335083 A JP 2006335083A JP 2006335083 A JP2006335083 A JP 2006335083A JP 2008146499 A JP2008146499 A JP 2008146499A
Authority
JP
Japan
Prior art keywords
output port
pulse
software
processing
pulses
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
JP2006335083A
Other languages
Japanese (ja)
Other versions
JP4859650B2 (en
Inventor
Kazuhiro Ikeda
一裕 池田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006335083A priority Critical patent/JP4859650B2/en
Publication of JP2008146499A publication Critical patent/JP2008146499A/en
Application granted granted Critical
Publication of JP4859650B2 publication Critical patent/JP4859650B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an analysis method for efficiently performing analysis when a failure of being incapable of acquiring an operation history at all occurs, and to provide an analyzer. <P>SOLUTION: A configuration as a controller for controlling a copying machine comprises a CPU 1, a RAM 4, a ROM 6, an HDD 5, a copying machine engine 3, an ASIC 2 for control, an output port, a UART 7 as a serial interface for terminal output to a PC and an RS232C driver/receiver 8 as main components. Between each processing, a sub routine for inverting the output port is inserted. By performing such processing, how far software has advanced can easily be judged. The waveform of the output port is referred to, and to which processing the operation is advanced without stop and in what processing abnormality such as the stop of the operation is generated by some problems can be judged. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、解析方法及び解析装置に関し、特に主電源ON時によるシステム起動時や省エネ状態からの復帰時のハードウエア初期設定前など、デバッグコンソール(ターミナル)にメッセージ(ログ)を送出可能になる以前に発生する不具合を効率的に解析する解析装置及び解析方法に関する。   The present invention relates to an analysis method and an analysis apparatus, and in particular, it is possible to send a message (log) to a debug console (terminal) at the time of system start-up when the main power is turned on or before hardware initial setting when returning from an energy saving state. The present invention relates to an analysis apparatus and an analysis method for efficiently analyzing defects that have occurred before.

近年、コピー機、マルチファンクション複合機(以下、合わせて複合機等と称す)の持つ機能は複雑になり、発生する不具合も多種多様となってきた。また、複合機等のメーカーはSDK(Software Development Kit)を用意し、サードパーティが独自のアプリケーションを開発することで、複合機等に付加価値を提供するケースも多くなってきている。   In recent years, the functions of copiers and multi-function multifunction peripherals (hereinafter collectively referred to as multi-function peripherals) have become complicated, and various problems have occurred. In addition, there are many cases where manufacturers of multifunction devices and the like provide SDKs (Software Development Kits) and third parties develop their own applications to provide added value to multifunction devices and the like.

それに伴い、より一層、複合機等の機能の複雑化に拍車がかかり、また、発生する不具合も複雑化、多様化してきている。今後も、SDKを使用したサードパーティの独自アプリケーションが増えていくものと見られている。   Along with this, the complexity of functions of multifunction devices and the like has been further spurred, and the problems that occur have become more complex and diversified. It is expected that the number of third-party original applications using SDK will increase in the future.

ソフトウェアが複雑化すると、不具合発生時に考えられる要因が多数あるため解析に時間がかかってしまう。そのため、システムがどのような動作をし、どのような処理を行った結果、どのような異常を検知したか等の動作履歴(ログ)が重要となり、異常動作の解析にあたり、動作履歴の情報無しでは解析不可能といっても過言ではない。   When software becomes complicated, analysis takes time because there are many factors that can be considered when a problem occurs. Therefore, the operation history (log) such as what kind of operation the system has performed, what processing has been performed, what kind of abnormality has been detected is important, and there is no information on the operation history when analyzing abnormal operation It is no exaggeration to say that analysis is impossible.

動作履歴は、シリアルインターフェースを経て接続してあるPC(ターミナル)に送出したり、またメモリに一次的に蓄積し、後からPC(ターミナル)から引き出せるようにしたり、またSDカード等の不揮発性メモリに蓄積し、後からPCで内容を確認するといった手法等、不具合解析を行う技術が様々提案されている(例えば、特許文献1、2参照)。
特開2006−40297号公報 特開平11−208075号公報
The operation history is sent to a PC (terminal) connected via a serial interface, or is temporarily stored in a memory so that it can be pulled out from the PC (terminal) later, or a non-volatile memory such as an SD card. Various techniques for performing failure analysis have been proposed, such as a method of accumulating data in a database and confirming the contents later on a PC (see, for example, Patent Documents 1 and 2).
JP 2006-40297 A JP-A-11-208075

しかしながら、近年の複雑化したハードウエア/ソフトウェアにおける異常動作は極めて稀に発生するようなものもあり、また主電源ON時や省エネからの復帰時等、ハードウエアの初期設定や自己診断以前での動作異常で、シリアルインターフェースへの動作履歴送出ができないような例も多々ある。   However, in recent years, abnormal operations in hardware / software that have become complicated may occur very rarely. Also, when the main power supply is turned on or when returning from energy saving, the initial settings of the hardware and before the self-diagnosis are performed. There are many cases where operation history cannot be sent to the serial interface due to abnormal operation.

そのような異常の場合、動作履歴が全く取得できていないため、不具合の解析が非常に困難となり、ロジックアナライザ等のハイスペックでインテリジェンスな計測器をCPUバスに接続し、インストラクションフェッチ/データフェッチレベルでのソフト動作の解析が必要となるという問題が生じる。   In such an abnormality, since no operation history has been acquired, it is very difficult to analyze the failure, and a high-spec and intelligent measuring instrument such as a logic analyzer is connected to the CPU bus to provide instruction fetch / data fetch levels. There arises a problem that it is necessary to analyze the software operation at.

本発明は、このような動作履歴を全く取得出来ないような不具合発生時の解析を効率的に行えるような、効果的で確実な情報を提供することを目的としている。   It is an object of the present invention to provide effective and reliable information that can efficiently perform analysis at the time of occurrence of such a failure that such an operation history cannot be acquired at all.

請求項1記載の発明は、画像処理装置を制御するコントローラボードのソフトの各処理におけるキーポイントにおいて、特定の出力ポートの出力を反転させる工程を備えることを特徴とする解析方法である。   The invention described in claim 1 is an analysis method characterized by comprising a step of inverting the output of a specific output port at a key point in each process of software of a controller board that controls the image processing apparatus.

請求項2記載の発明は、請求項1記載の方法において、前記特定の出力ポートは、1パルスを発生することを特徴とする。   According to a second aspect of the present invention, in the method of the first aspect, the specific output port generates one pulse.

請求項3記載の発明は、請求項1記載の方法において、前記特定の出力ポートは、特定の幅の1パルスを発生することを特徴とする。   According to a third aspect of the present invention, in the method of the first aspect, the specific output port generates one pulse having a specific width.

請求項4記載の発明は、請求項1記載の方法において、前記特定の出力ポートは、固有数のパルスを発生することを特徴とする。   According to a fourth aspect of the present invention, in the method of the first aspect, the specific output port generates a unique number of pulses.

請求項5記載の発明は、画像処理装置を制御するコントローラボードのソフトの各処理におけるキーポイントにおいて、第1の出力ポートにて固有数のパルスを発生する工程と、前記第1の出力ポートでの固有数のパルスを発生している間、第2の出力ポートにて識別用レベルを出力する工程と、を備えることを特徴とする解析方法である。   According to a fifth aspect of the present invention, at a key point in each processing of software of a controller board that controls the image processing apparatus, a step of generating a unique number of pulses at the first output port, and at the first output port, And a step of outputting an identification level at the second output port while generating the unique number of pulses.

請求項6記載の発明は、請求項4又は5記載の方法において、前記個有数のパルス発生は、ソフト処理によるパルスの発生ではなく、ハードウエアで発生する工程を備えることを特徴とする。   According to a sixth aspect of the present invention, in the method of the fourth or fifth aspect, the unique pulse generation includes a step of generating by hardware instead of generation of a pulse by software processing.

請求項7記載の発明は、画像処理装置を制御するコントローラボードのソフトの各処理におけるキーポイントにおいて、特定の出力ポートの出力を反転させる手段を備えることを特徴とする解析装置である。   According to a seventh aspect of the present invention, there is provided an analyzing apparatus comprising means for inverting an output of a specific output port at a key point in each process of software of a controller board that controls the image processing apparatus.

請求項8記載の発明は、請求項7記載の装置において、前記特定の出力ポートは、1パルスを発生することを特徴とする。   The invention according to claim 8 is the apparatus according to claim 7, wherein the specific output port generates one pulse.

請求項9記載の発明は、請求項7記載の装置において、前記特定の出力ポートは、特定の幅の1パルスを発生することを特徴とする。   According to a ninth aspect of the present invention, in the apparatus of the seventh aspect, the specific output port generates one pulse having a specific width.

請求項10記載の発明は、請求項7記載の装置において、前記特定の出力ポートは、固有数のパルスを発生することを特徴とする。   According to a tenth aspect of the present invention, in the device according to the seventh aspect, the specific output port generates a unique number of pulses.

請求項11記載の発明は、画像処理装置を制御するコントローラボードのソフトの各処理におけるキーポイントにおいて、第1の出力ポートにて固有数のパルスを発生する手段と、前記第1の出力ポートにて固有数のパルスを発生している間、第2の出力ポートにて識別用レベルを出力する手段と、を備えることを特徴とする解析装置である。   According to the eleventh aspect of the present invention, means for generating a unique number of pulses at the first output port at key points in each processing of the software of the controller board that controls the image processing apparatus, and the first output port And a means for outputting an identification level at the second output port while the unique number of pulses is being generated.

本発明によれば、このような動作履歴を全く取得出来ないような不具合発生時の解析を効率的に行えるような、効果的で確実な情報を提供することを目的としている。   According to the present invention, it is an object to provide effective and reliable information that enables efficient analysis at the time of occurrence of a problem such that such an operation history cannot be obtained at all.

以下に、本発明の実施形態に係る解析装置及び解析方法を、図面を用いて詳細に説明する。なお、以下に述べる実施の形態は、本発明の好適な実施の形態であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの態様に限られるものではない。   Hereinafter, an analysis apparatus and an analysis method according to an embodiment of the present invention will be described in detail with reference to the drawings. The embodiments described below are preferred embodiments of the present invention, and thus various technically preferable limitations are given. However, the scope of the present invention is particularly limited in the following description. As long as there is no description which limits, it is not restricted to these aspects.

図1は、本発明の実施形態に係るブロック構成図である。主な構成要素として、CPU1、RAM4、ROM6、HDD5、複写機エンジン3、制御用ASIC2、出力ポート、さらにPCへのターミナル出力用としてのシリアルインターフェースとしてUART7、RS232Cドライバ/レシーバ8からなり、複写機を制御するコントローラとしての構成となっている。   FIG. 1 is a block configuration diagram according to an embodiment of the present invention. The main components are a CPU 1, a RAM 4, a ROM 6, an HDD 5, a copier engine 3, a control ASIC 2, an output port, and a UART 7 and an RS232C driver / receiver 8 as a serial interface for terminal output to a PC. It is the structure as a controller which controls.

本実施形態の動作処理を図2を用いて説明する。まず、図18は通常の処理で、PCへのログ出力が可能になるのは処理Hまで進んだ後となる。したがって、それ以前の初期設定A、B(ステップS1、2)や診断A、B(ステップS3、4)、処理A〜G(ステップS6〜12)の途中で何らかの不具合により動作が停止すると、ソフトがどこまで進んだか全く知る手段がない。   The operation process of this embodiment will be described with reference to FIG. First, FIG. 18 shows normal processing, and log output to the PC becomes possible after processing H has been reached. Therefore, if the operation stops due to some trouble during the initial setting A, B (steps S1, 2), diagnosis A, B (steps S3, 4), and processes A to G (steps S6 to 12) before that, There is no way to know how far has gone.

図2は、本実施形態に係る動作処理を示すフローチャートである。各処理の間に、出力ポートを反転させるサブルーチンを挿入しているものである。このような処理を行うことで、ソフトウェアがどこまで進んだか容易に判断可能となる。出力ポートの反転は、例えば図3に示すようなオシロスコープ10を用いて行うことが考え得る。   FIG. 2 is a flowchart showing an operation process according to the present embodiment. A subroutine for inverting the output port is inserted between the processes. By performing such processing, it is possible to easily determine how far the software has progressed. The inversion of the output port can be considered using an oscilloscope 10 as shown in FIG. 3, for example.

図4は、出力ポートの波形の一例を示す図である。図4に示す状況の場合、5回反転しているため、図2の処理Aまでは動作が停止することなく進み、処理Bで何らかの問題で動作の停止等、異常が発生したと判断できる。   FIG. 4 is a diagram illustrating an example of a waveform of the output port. In the situation shown in FIG. 4, since it is reversed five times, the operation proceeds without stopping until processing A in FIG. 2, and it can be determined that abnormality has occurred in processing B due to some problem or the like.

上記実施形態により、ログの全く取得できない動作異常発生時において、ロジックアナライザ等を接続するような複雑な解析を行わなくとも、ソフトがどこまで動作したか判断可能とし、解析の効率を向上させることが可能となる。   According to the above-described embodiment, it is possible to determine how far the software has operated without performing complicated analysis such as connecting a logic analyzer or the like when an operation abnormality that cannot be obtained at all in the log can be achieved, and the efficiency of the analysis can be improved. It becomes possible.

次に、本発明の他の実施形態の動作処理を図5を用いて説明する。本実施形態は、各初期設定(A、B)、診断(A、B)、処理(A〜H)が進むごとに出力ポートに1パルスを発生するサブルーチンを挿入しているものである。このような処理を行うことで、ソフトウェアがどこまで進んだか容易に判断可能となる。   Next, operation processing according to another embodiment of the present invention will be described with reference to FIG. In this embodiment, a subroutine for generating one pulse at the output port is inserted each time each initial setting (A, B), diagnosis (A, B), and processing (A to H) proceeds. By performing such processing, it is possible to easily determine how far the software has progressed.

図6は、出力ポートの波形を示す一例である。図6に示す状況の場合、3パルス発生しているため、図5の診断Aまでは動作が停止することなく進み、診断Bで何らかの問題で動作の停止等、異常が発生したと判断出来る。   FIG. 6 is an example showing a waveform of the output port. In the situation shown in FIG. 6, since three pulses are generated, the operation proceeds to diagnosis A in FIG. 5 without stopping, and it can be determined in diagnosis B that an abnormality has occurred such as operation stop due to some problem.

上記実施形態により、ログの全く取得できない動作異常発生時において、ロジックアナライザ等を接続するような複雑な解析を行わなくとも、ソフトがどこまで動作したか判断可能とし、解析の効率を向上させることが可能となる。   According to the above-described embodiment, it is possible to determine how far the software has operated without performing complicated analysis such as connecting a logic analyzer or the like when an operation abnormality that cannot be obtained at all in the log can be achieved, and the efficiency of the analysis can be improved. It becomes possible.

次に、本発明の他の実施形態に係る装置の動作処理を図7を用いて説明する。上記各実施形態のように、出力ポートを反転させたりパルスを発生させたりする手段では、ソフトが条件により分岐した場合、どこまでソフトが進んだか判断できない。   Next, an operation process of the apparatus according to another embodiment of the present invention will be described with reference to FIG. As in the above embodiments, the means for inverting the output port or generating a pulse cannot determine how far the software has progressed when the software branches according to conditions.

例えば、図7に示すようなフローの場合に、仮にサブルーチンAにて図2示す1パルスを発生させる手段を考えた場合、3パルス発生の場合に、初期設定A→初期設定B→初期設定D、初期設定A→初期設定C→初期設定E、初期設定A→初期設定C→初期設定Fの何れの処理が行われたのか判断付かない。そこで、ソフト上の特定のポイントでは、そのポイント固有の幅(期間)の1パルスを発生することでどのポイントのパルスかを識別する。   For example, in the case of the flow shown in FIG. 7, if a means for generating one pulse shown in FIG. 2 is considered in subroutine A, initial setting A → initial setting B → initial setting D in the case of three pulses. It is not possible to determine which process of initial setting A → initial setting C → initial setting E and initial setting A → initial setting C → initial setting F has been performed. Therefore, at a specific point on the software, the pulse of which point is identified by generating one pulse having a width (period) unique to the point.

例えば、図8に示した出力ポートの波形では、パルス幅が1のパルス、3のパルス、6のパルスが出力された後、パルスが出力されずに動作が停止しているので、初期設定A→初期設定C→初期設定Fまでは動作が停止することなく進み、診断Aで何らかの問題で動作の停止等、異常が発生したと判断できる。   For example, in the waveform of the output port shown in FIG. 8, after the pulse having the pulse width of 1, the pulse of 3, and the pulse of 6 is output, the operation is stopped without outputting the pulse. The operation proceeds without stopping until the initial setting C → the initial setting F, and it can be determined by diagnosis A that an abnormality has occurred such as the operation being stopped due to some problem.

上記実施形態により、動作履歴を全く取得できない不具合発生時において、ソフトがどこまで進んだのかロジックアナライザ等を接続しなくとも、容易に判断可能とし、さらに条件により分岐するようなソフトウェアにおいてもソフトがどこまで動作したか判断可能とすることで、解析の効率を向上させることが可能となる。   According to the above embodiment, when a failure that cannot obtain operation history at all occurs, it is possible to easily determine how far the software has advanced without connecting a logic analyzer etc. By making it possible to determine whether the operation has been performed, it is possible to improve the efficiency of analysis.

次に、本発明の他の実施形態に係る装置の動作処理を図9を用いて説明する。ソフトが条件により分岐した場合も出力ポートの出力波形を観測することでどこまでソフトが進んだかを判断可能にするための手段である。   Next, an operation process of the apparatus according to another embodiment of the present invention will be described with reference to FIG. This is a means for making it possible to determine how far the software has progressed by observing the output waveform of the output port even when the software branches according to conditions.

例えば、図9に示すようなフローの場合、ソフト上の特定のポイントでは、そのポイント固有の数のパルスを発生することでどのポイントのパルスかを識別する。例えば、図10に示した出力ポートの波形では、初期設定A→初期設定C→初期設定Eまでは動作が停止することなく進み、診断Aで何らかの問題で動作の停止等、異常が発生したと判断できる。   For example, in the case of the flow shown in FIG. 9, at a specific point on the software, the number of pulses unique to that point is generated to identify the point of the pulse. For example, in the waveform of the output port shown in FIG. 10, the operation proceeds without stopping from the initial setting A → the initial setting C → the initial setting E, and an abnormality such as the operation stopping due to some problem occurs in the diagnosis A. I can judge.

上記実施形態により、動作履歴を全く取得できない不具合発生時に、ソフトがどこまで進んだのかロジックアナライザ等を接続しなくても容易に判断可能とし、さらに条件により分岐するようなソフトウェアにおいてもソフトがどこまで動作したか判断可能となるため、解析の効率を向上させることが可能となる。   According to the above embodiment, it is possible to easily determine how far the software has progressed without a logic analyzer etc. when a failure occurs in which operation history can not be acquired at all, and how far the software can operate even in software that branches depending on conditions Therefore, it is possible to improve the efficiency of analysis.

次に、本発明の他の実施形態に係る装置のブロック構成を図11に示す。本構成は、図1で示した構成に出力ポートを1ポート追加し、出力ポートA、出力ポートBを装備したものである。   Next, FIG. 11 shows a block configuration of an apparatus according to another embodiment of the present invention. In this configuration, one output port is added to the configuration shown in FIG. 1 and an output port A and an output port B are provided.

上記図9を用いて説明した実施形態の場合、仮に非同期の割込みがサブルーチンAの処理中に入った場合、割込み処理が行われる関係で出力ポートのパルス間隔、パルス波形は一定のタイミングで制御されないことになる。かかる場合の波形例を図12に示す。この場合は、3個のパルス発生処理を行っている最中に割込みI、IIが、5個のパルス発生処理を行っている最中に割込みIIIが入った場合の例である。このような出力波形だと、どのような処理が行われたか特定できない。   In the case of the embodiment described with reference to FIG. 9 above, if an asynchronous interrupt enters the processing of subroutine A, the pulse interval and pulse waveform of the output port are not controlled at a constant timing because interrupt processing is performed. It will be. A waveform example in such a case is shown in FIG. In this case, the interrupts I and II are performed while three pulse generation processes are being performed, and the interrupt III is performed while five pulse generation processes are being performed. With such an output waveform, it is impossible to specify what processing has been performed.

本実施形態の動作処理を図13に示す。サブルーチンAに示すように、出力ポートを2ポート用意することで、出力ポートBにパルス発生期間中、出力ポートAにはHレベル信号を出力することで、割込み処理によりタイミングが崩れた波形でも確実にパルス発生数を識別することが可能となる。   The operation process of this embodiment is shown in FIG. As shown in subroutine A, by preparing two output ports, it is possible to output a high-level signal to the output port A during the pulse generation period to the output port B, so that a waveform whose timing has been lost due to interrupt processing can be assured. It is possible to identify the number of generated pulses.

図14に本実施形態に示す動作を行った場合の出力波形を示す。図に示されるように割込み処理が行われたため出力ポートBの各パルスのパルス幅、パルス発生のタイミングは崩れている。しかし、出力ポートAの情報により一組のパルスが明確になる(1パルス→3パルス→5パルス)ため、初期設定A→初期設定C→初期設定Eまでは動作が停止することなく進み、診断Aで何らかの問題で動作の停止等、異常が発生したと判断できる。   FIG. 14 shows an output waveform when the operation shown in the present embodiment is performed. As shown in the figure, since the interrupt processing is performed, the pulse width of each pulse of the output port B and the timing of pulse generation are broken. However, since a set of pulses is clarified by the information of the output port A (1 pulse → 3 pulses → 5 pulses), the operation proceeds without stopping from initial setting A → initial setting C → initial setting E, and diagnosis In A, it can be determined that an abnormality has occurred such as an operation stoppage due to some problem.

上記実施形態により、条件により分岐するようなソフトウェアでも、どこまで処理が進んだかを特定可能とし、さらに割込み処理等によりパルスのタイミングが崩れた場合においてもソフトがどこまで動作したか判断可能となるため、解析の効率を向上させることが可能となる。   According to the above embodiment, it is possible to specify how far the processing has progressed even with software that branches depending on the condition, and even if the timing of the pulse collapses due to interrupt processing etc., it is possible to determine how far the software has operated, Analysis efficiency can be improved.

本発明の他の実施形態に係る装置のブロック構成を図15、16に示す。図15に示す構成例では、パルスを発生するパルス発生器11をROM等が接続されているローカルバスに接続した構成としているが、パルス発生器を制御用ASIC内に取り込み、ASICの機能の一つとしても良い。   A block configuration of an apparatus according to another embodiment of the present invention is shown in FIGS. In the configuration example shown in FIG. 15, the pulse generator 11 for generating a pulse is connected to a local bus to which a ROM or the like is connected. However, the pulse generator is incorporated in the control ASIC and one of the functions of the ASIC is obtained. It's okay.

図16に最も簡単なパルス発生器の構成例を示す。本構成例では、パルスを発生するパルスジェネレータ、パルス発生数を設定するパルス発生数設定レジスタ、パルス数をカウントするカウンタ、パルス数設定値とカウンタ値を比較するコンパレータより構成される。   FIG. 16 shows a configuration example of the simplest pulse generator. This configuration example includes a pulse generator that generates pulses, a pulse generation number setting register that sets the number of pulse generations, a counter that counts the number of pulses, and a comparator that compares the pulse number setting value and the counter value.

パルス発生数設定レジスタは、内部に設定値を保持するレジスタを持っており、−S(チップセレクト)、−W(ライト)の両信号により書込み制御される。また、−CLR1、−CLR2端子を持っており、何れかの信号のアサートによりレジスタ値はクリア(0)されるものとする。   The pulse generation number setting register has a register for holding a set value therein and is controlled to write by both −S (chip select) and −W (write) signals. Also, it has -CLR1 and -CLR2 terminals, and the register value is cleared (0) by asserting either signal.

カウンタは、CLKIN端子に入力されるクロックをカウントし、コンパレータに出力する。また、−CLR1、−CLR2端子を持っており、何れかの信号のアサートによりカウント値はクリア(0)されるものとする。   The counter counts the clock input to the CLKIN terminal and outputs it to the comparator. Also, it has -CLR1 and -CLR2 terminals, and the count value is cleared (0) by asserting either signal.

コンパレータは、パルス発生数設定レジスタからの設定値とカウンタからのカウント値を比較する機能を有する。−STOP信号は、2つの入力データが一致する場合はアサートされ、不一致の場合はネゲートされる。また、−CLR信号は、2つの入力データが一致した時に1パルス(ネガティブパルス)を出力するものとする。   The comparator has a function of comparing the set value from the pulse generation number setting register with the count value from the counter. The -STOP signal is asserted when the two input data match, and negated when they do not match. The -CLR signal outputs one pulse (negative pulse) when two input data match.

パルスジェネレータは、CLKIN端子に入力されたクロックを元にパルスを生成し、CLKOUT端子に出力する機能を有する。また、−CLR端子や−STOP端子がアサートされている期間は、パルス出力は停止するものとする。   The pulse generator has a function of generating a pulse based on a clock input to the CLKIN terminal and outputting the pulse to the CLKOUT terminal. In addition, pulse output is stopped while the -CLR terminal and -STOP terminal are asserted.

本実施形態の動作処理を簡単に説明したものが図17である。−Reset解除後、パルス発生数設定レジスタ値とカウント値は0となっている。aでパルス発生数設定レジスタに発生させたい数"3"を書き込む。それによりコンパレータ出力の−STOPはネゲートされる(b)。−STOPがネゲートされたためパルス発生器からのPSOUTは出力され始める(c)。パルス発生によりカウンタはカウント動作を開始する(d、e、f)。fによりカウント値が設定値と一致したため、−STOPはアサートされ、−CLRには1パルス出力される(g)。これにより、PSOUTへのパルス出力は停止し、パルス発生数設定レジスタ値とカウント値はクリア(0)される(h)。その後は、再びパルス発生数設定レジスタに設定値を書き込まれるまで、動作は停止する。   FIG. 17 briefly explains the operation processing of this embodiment. -After reset release, the pulse generation number setting register value and the count value are 0. The number “3” to be generated is written in the pulse generation number setting register in a. Thereby, -STOP of the comparator output is negated (b). Since PSSTOP is negated, PSOUT from the pulse generator begins to be output (c). The counter starts a count operation when a pulse is generated (d, e, f). Since the count value matches the set value due to f, -STOP is asserted and one pulse is output to -CLR (g). As a result, the pulse output to PSOUT is stopped, and the pulse generation number setting register value and the count value are cleared (0) (h). Thereafter, the operation stops until the set value is written again to the pulse generation number setting register.

上記実施形態により、条件により分岐するようなソフトウェアでも、どこまで処理が進んだかを特定可能とし、ソフト処理でパルス発生タイミングを取ったりするような複雑なソフト処理を排除することで、さらにソフト処理の負荷を軽減することが出来る。   According to the above embodiment, it is possible to specify how far processing has progressed even with software that branches depending on conditions, and by eliminating complicated software processing such as taking pulse generation timing by software processing, further software processing The load can be reduced.

尚、各図のフローチャートに示す処理を、CPU1が実行するためのプログラムは本発明によるプログラムを構成する。このプログラムを記録する記録媒体としては、半導体記憶部や光学的及び/又は磁気的な記憶部等を用いることができる。このようなプログラム及び記録媒体を、前述した各実施形態とは異なる構成のシステム等で用い、そこのCPUで上記プログラムを実行させることにより、本発明と実質的に同じ効果を得ることができる。   Note that the program for the CPU 1 to execute the processing shown in the flowcharts of the drawings constitutes a program according to the present invention. As a recording medium for recording the program, a semiconductor storage unit, an optical and / or magnetic storage unit, or the like can be used. By using such a program and a recording medium in a system having a configuration different from that of each of the above-described embodiments and causing the CPU to execute the program, substantially the same effect as the present invention can be obtained.

以上、本発明を好適な実施の形態に基づき具体的に説明したが、本発明は上記のものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることは言うまでもない。   Although the present invention has been specifically described above based on the preferred embodiments, it is needless to say that the present invention is not limited to the above-described ones and can be variously modified without departing from the gist thereof.

本発明の実施形態に係る装置のブロック構成図である。It is a block block diagram of the apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る装置の動作処理を示すフローチャートである。It is a flowchart which shows the operation processing of the apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る出力ポート反転を実行例を説明するための図である。It is a figure for demonstrating the example which performs the output port inversion which concerns on embodiment of this invention. 本発明の実施形態に係る出力ポートの波形を示す図である。It is a figure which shows the waveform of the output port which concerns on embodiment of this invention. 本発明の実施形態に係る装置の動作処理を示すフローチャートである。It is a flowchart which shows the operation processing of the apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る出力ポートの波形を示す図である。It is a figure which shows the waveform of the output port which concerns on embodiment of this invention. 本発明の実施形態に係る装置の動作処理を示すフローチャートである。It is a flowchart which shows the operation processing of the apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る出力ポートの波形を示す図である。It is a figure which shows the waveform of the output port which concerns on embodiment of this invention. 本発明の実施形態に係る装置の動作処理を示すフローチャートである。It is a flowchart which shows the operation processing of the apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る出力ポートの波形を示す図である。It is a figure which shows the waveform of the output port which concerns on embodiment of this invention. 本発明の実施形態に係る装置のブロック構成図である。It is a block block diagram of the apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る出力ポートの波形を示す図である。It is a figure which shows the waveform of the output port which concerns on embodiment of this invention. 本発明の実施形態に係る装置の動作処理を示すフローチャートである。It is a flowchart which shows the operation processing of the apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る出力ポートの波形を示す図である。It is a figure which shows the waveform of the output port which concerns on embodiment of this invention. 本発明の実施形態に係る装置のブロック構成図である。It is a block block diagram of the apparatus which concerns on embodiment of this invention. 本発明の実施形態に係るパルス発生器のブロック構成図である。It is a block block diagram of the pulse generator which concerns on embodiment of this invention. 本発明の実施形態に係る装置の動作処理を説明するための図である。It is a figure for demonstrating the operation processing of the apparatus which concerns on embodiment of this invention. 通常の動作処理を示すフローチャートである。It is a flowchart which shows a normal operation | movement process.

符号の説明Explanation of symbols

1 CPU
2 制御用ASIC
3 複写機エンジン
4 RAM
5 HDD
6 ROM
7 UART
8 RS232Cドライバ/レシーバ
9 PC(ターミナル)
10 オシロスコープ
11 パルス発生器
1 CPU
2 ASIC for control
3 Copier engine 4 RAM
5 HDD
6 ROM
7 UART
8 RS232C driver / receiver 9 PC (terminal)
10 Oscilloscope 11 Pulse generator

Claims (11)

画像処理装置を制御するコントローラボードのソフトの各処理におけるキーポイントにおいて、特定の出力ポートの出力を反転させる工程を備えることを特徴とする解析方法。   An analysis method comprising a step of inverting an output of a specific output port at a key point in each process of software of a controller board that controls the image processing apparatus. 前記特定の出力ポートは、1パルスを発生することを特徴とする請求項1記載の解析方法。   The analysis method according to claim 1, wherein the specific output port generates one pulse. 前記特定の出力ポートは、特定の幅の1パルスを発生することを特徴とする請求項1記載の解析方法。   The analysis method according to claim 1, wherein the specific output port generates one pulse having a specific width. 前記特定の出力ポートは、固有数のパルスを発生することを特徴とする請求項1記載の解析方法。   The analysis method according to claim 1, wherein the specific output port generates a unique number of pulses. 画像処理装置を制御するコントローラボードのソフトの各処理におけるキーポイントにおいて、第1の出力ポートにて固有数のパルスを発生する工程と、
前記第1の出力ポートでの固有数のパルスを発生している間、第2の出力ポートにて識別用レベルを出力する工程と、を備えることを特徴とする解析方法。
Generating a unique number of pulses at the first output port at key points in each process of the software on the controller board that controls the image processing apparatus;
Outputting an identification level at the second output port while generating a unique number of pulses at the first output port.
前記個有数のパルス発生は、ソフト処理によるパルスの発生ではなく、ハードウエアで発生する工程を備えることを特徴とする請求項4又は5記載の解析方法。   6. The analysis method according to claim 4, wherein the generation of the unique pulse includes a step of generating by hardware instead of generation of a pulse by software processing. 画像処理装置を制御するコントローラボードのソフトの各処理におけるキーポイントにおいて、特定の出力ポートの出力を反転させる手段を備えることを特徴とする解析装置。   An analysis apparatus comprising means for inverting an output of a specific output port at a key point in each process of software of a controller board that controls the image processing apparatus. 前記特定の出力ポートは、1パルスを発生することを特徴とする請求項7記載の解析装置。   The analysis apparatus according to claim 7, wherein the specific output port generates one pulse. 前記特定の出力ポートは、特定の幅の1パルスを発生することを特徴とする請求項7記載の解析装置。   8. The analysis apparatus according to claim 7, wherein the specific output port generates one pulse having a specific width. 前記特定の出力ポートは、固有数のパルスを発生することを特徴とする請求項7記載の解析装置。   8. The analysis apparatus according to claim 7, wherein the specific output port generates a unique number of pulses. 画像処理装置を制御するコントローラボードのソフトの各処理におけるキーポイントにおいて、第1の出力ポートにて固有数のパルスを発生する手段と、
前記第1の出力ポートにて固有数のパルスを発生している間、第2の出力ポートにて識別用レベルを出力する手段と、を備えることを特徴とする解析装置。
Means for generating a unique number of pulses at the first output port at key points in each process of the controller board software that controls the image processing apparatus;
Means for outputting an identification level at the second output port while generating a unique number of pulses at the first output port.
JP2006335083A 2006-12-12 2006-12-12 Analysis method and analysis apparatus Expired - Fee Related JP4859650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006335083A JP4859650B2 (en) 2006-12-12 2006-12-12 Analysis method and analysis apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006335083A JP4859650B2 (en) 2006-12-12 2006-12-12 Analysis method and analysis apparatus

Publications (2)

Publication Number Publication Date
JP2008146499A true JP2008146499A (en) 2008-06-26
JP4859650B2 JP4859650B2 (en) 2012-01-25

Family

ID=39606583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006335083A Expired - Fee Related JP4859650B2 (en) 2006-12-12 2006-12-12 Analysis method and analysis apparatus

Country Status (1)

Country Link
JP (1) JP4859650B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013065148A (en) * 2011-09-16 2013-04-11 Lapis Semiconductor Co Ltd Measuring method for program performance

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6075946A (en) * 1983-09-30 1985-04-30 Nec Corp History output device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6075946A (en) * 1983-09-30 1985-04-30 Nec Corp History output device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013065148A (en) * 2011-09-16 2013-04-11 Lapis Semiconductor Co Ltd Measuring method for program performance

Also Published As

Publication number Publication date
JP4859650B2 (en) 2012-01-25

Similar Documents

Publication Publication Date Title
JP4729007B2 (en) Power consumption analysis apparatus and power consumption analysis method
JP2008009721A (en) Evaluation system and evaluation method thereof
JPWO2017104437A1 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION SYSTEM
JP4859650B2 (en) Analysis method and analysis apparatus
JP2015005189A (en) Ecu evaluation device, computer program, and ecu evaluation method
JP2010091482A (en) Semiconductor integrated circuit device and delay fault test method therefor
JP4242741B2 (en) Signal processing circuit for debugging
JP4705880B2 (en) Semiconductor integrated circuit and its test method
JP2010109717A (en) Semiconductor integrated circuit, and method of controlling the same
JP6062795B2 (en) Semiconductor device
US20100023648A1 (en) Method for input output expansion in an embedded system utilizing controlled transitions of first and second signals
JP2006170663A (en) Lsi, test pattern creating method for testing scan path, lsi inspection method and multichip module
JP5029161B2 (en) Semiconductor integrated device
CN116028414B (en) Power consumption control circuit and control device
JP3605997B2 (en) Semiconductor device
JP2006293725A (en) Debugger for lsi system
JP3573692B2 (en) Scan path circuit, scan path circuit generation method, and recording medium recording the program
JP2005165825A (en) Trace information recorder
JP5092984B2 (en) Semiconductor test equipment
JP2005300350A (en) Verification device and verification method of semiconductor integrated circuit
JP2020030714A (en) Self-diagnostic device, semiconductor device, and self diagnosis method
JP2979918B2 (en) Interrupt detection circuit
JP2006171810A (en) Debugging control system and its control method
JP5362856B2 (en) Error generation instruction circuit, storage device, information processing apparatus, and error generation instruction circuit control method
JP2000207239A (en) Fault inspecting method for digital electronic computer circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090907

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111017

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: 20111101

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111101

R150 Certificate of patent or registration of utility model

Ref document number: 4859650

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141111

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees