JP2005149047A - Communication apparatus provided with self evaluation function and method for evaluating communication function - Google Patents

Communication apparatus provided with self evaluation function and method for evaluating communication function Download PDF

Info

Publication number
JP2005149047A
JP2005149047A JP2003384666A JP2003384666A JP2005149047A JP 2005149047 A JP2005149047 A JP 2005149047A JP 2003384666 A JP2003384666 A JP 2003384666A JP 2003384666 A JP2003384666 A JP 2003384666A JP 2005149047 A JP2005149047 A JP 2005149047A
Authority
JP
Japan
Prior art keywords
communication
communication unit
target
test
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003384666A
Other languages
Japanese (ja)
Inventor
Miho Kamasu
美帆 加増
Seiji Kudo
政治 工藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003384666A priority Critical patent/JP2005149047A/en
Publication of JP2005149047A publication Critical patent/JP2005149047A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication apparatus capable of evaluating a communication function only by its own apparatus without connecting hardware for checking communication operation to its periphery. <P>SOLUTION: The communication apparatus is provided with a processor 110 for performing communication processing, a target communication part 160 for communicating with the external, a counter test communication part 170 capable of communicating with the target communication part 160 and a pass control part 180 having intersecting points arranged like a matrix by which connections among signal data passes from the target communication part 160, signal data passes from the counter test communication part 170 and signal data passes from the external can be optionally switched and constituted so as to perform a counter test of a communication function by controlling the counter test communication part 170 and the pass control part 180 by using counter test software on the basis of an evaluation scenario while performing usual communication by software for targets which is equivalent to software integrated into a product. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は自装置内で通信機能の評価を行うことができる通信装置及び通信機能評価方法に関する。   The present invention relates to a communication device and a communication function evaluation method capable of evaluating a communication function within the device itself.

近年様々な通信装置は、高速かつ高機能な機器組み込み用マイクロコンピュータを内蔵し各種処理を行うことで小型化、高機能化を実現している。特に各種プロトコルに則した複雑な通信機能を実行する通信機器組み込み用マイクロコンピュータを用いたシステムの開発では、通信動作を確認する評価やデバッグが必要不可欠である。   In recent years, various communication apparatuses have been built in a high-speed and high-function built-in microcomputer to perform various processes, thereby realizing miniaturization and high functionality. In particular, in developing a system using a microcomputer for embedding a communication device that performs a complicated communication function in accordance with various protocols, evaluation and debugging for confirming communication operation are indispensable.

従来、通信機器組み込み用マイクロコンピュータの評価においては、通信動作確認を行うターゲット通信部を制御するためのソフトウェアを開発し、かつ、周辺に接続されるハードウェアを準備し、その入出力値を比較することで評価を行う手法が一般的である。   Conventionally, in the evaluation of microcomputers for embedded communication devices, software for controlling the target communication unit that performs communication operation confirmation was developed, and hardware connected to the periphery was prepared, and the input / output values compared. The method of evaluating by doing so is common.

上述したように、通信機器組み込み用マイクロコンピュータの従来の評価方法では、通信動作確認を行うターゲット通信部を制御するためのソフトウェアを開発し、かつ、周辺に接続されるハードウェアを準備する必要があった。   As described above, in the conventional evaluation method of the microcomputer for incorporating communication devices, it is necessary to develop software for controlling the target communication unit that performs communication operation confirmation and to prepare hardware connected to the periphery. there were.

しかしながら、短期間に評価を行う必要がある場合には、通信動作確認を行うターゲット通信部以外の、周辺に接続されるハードウェアがそろわない段階で評価を行わなければならないことがあり、充分な評価を実施することができないという問題があった。   However, if it is necessary to perform evaluation in a short period of time, it may be necessary to perform evaluation at a stage where the hardware connected to the periphery other than the target communication unit that performs communication operation confirmation is not sufficient. There was a problem that the evaluation could not be carried out.

本発明は上記従来の問題点を解決するもので、通信機器組み込み用マイクロコンピュータを用いた通信装置の評価において、通信動作確認を行うターゲット通信部以外の、周辺に接続されるハードウェアを用意することなく評価を行うことが可能な、自己評価機能を備えた通信装置を提供することを目的とする。   The present invention solves the above-described conventional problems, and prepares hardware connected to the periphery other than the target communication unit that performs communication operation confirmation in the evaluation of the communication device using the microcomputer for incorporating communication devices. An object of the present invention is to provide a communication device having a self-evaluation function that can be evaluated without any problems.

本発明の通信装置は、外部との通信を行うターゲット通信部と、このターゲット通信部と通信することが可能な対向テスト通信部と、前記ターゲット通信部からの信号データパスと前記対向テスト通信部からの信号データパスと外部からの信号データパスの間の接続を任意に切り替えることが可能なマトリクス状に配置された交差ポイントを有するパス制御部とを備える。この構成によれば、ターゲット通信部と対向テスト通信部をパス制御部を介して対向させることにより、周辺に接続される通信動作確認を行うハードウェアを準備することなく、本装置のみで通信機能の評価を行うことが可能となる。   The communication apparatus of the present invention includes a target communication unit that communicates with the outside, a counter test communication unit that can communicate with the target communication unit, a signal data path from the target communication unit, and the counter test communication unit And a path control unit having intersection points arranged in a matrix that can arbitrarily switch the connection between the signal data path from and the signal data path from the outside. According to this configuration, by making the target communication unit and the opposite test communication unit face each other via the path control unit, the communication function can be performed only with this apparatus without preparing hardware for confirming the communication operation connected to the periphery. Can be evaluated.

本発明の通信装置において、前記パス制御部のマトリクス状に配置された交差ポイントは、通常時は前記ターゲット通信部からの信号データパスと前記外部からの信号データパスを接続するように設定される。この構成によれば、通常時はターゲット通信部からの信号データパスが外部に接続されるため、例えば、機器組み込み用のマイクロコンピュータとターゲット通信部と対向テスト通信部とパス制御部を備えた通信用の半導体集積回路において、通常時は本来の通信機能を実行し、テスト時に対向テスト通信部とパス制御部を用いて対向テストを実行することができる。   In the communication device of the present invention, the intersection points arranged in a matrix of the path control unit are set so as to connect the signal data path from the target communication unit and the signal data path from the outside in a normal state. . According to this configuration, since the signal data path from the target communication unit is normally connected to the outside, for example, a communication including a microcomputer for embedding an apparatus, a target communication unit, a counter test communication unit, and a path control unit In the conventional semiconductor integrated circuit, the original communication function can be normally executed, and the opposite test can be executed by using the opposite test communication unit and the path control unit during the test.

さらに、本発明の通信装置は、前記ターゲット通信部を制御して通常時の通信を行うターゲット用ソフトウェアと、評価用シナリオに基づき前記対向テスト通信部および前記パス制御部を制御して通信機能の対向テストを行い、前記ターゲット通信部の実行結果を期待値データと比較判定する対向テストソフトウェアと、を搭載する。この構成によれば、ターゲット用ソフトウェアにより通常時の通信を行うとともに、対向テストソフトウェアにより対向テスト通信部とパス制御部を用いて対向テストを実行することができるため、テスト時に本来の通信機能における各種プロトコルに則した動作確認を行うことができる。   Further, the communication device of the present invention controls the target communication unit to perform normal communication, and controls the opposing test communication unit and the path control unit based on an evaluation scenario to control the communication function. Opposite test software that performs an opposite test and compares the execution result of the target communication unit with expected value data is installed. According to this configuration, normal communication can be performed by the target software, and the opposite test can be executed using the opposite test communication unit and the path control unit by the opposite test software. It is possible to check the operation according to various protocols.

さらに、本発明の通信装置において、前記ターゲット通信部と前記対向テスト通信部は互いに独立したバスを介して通信処理を行うプロセッサに接続され、前記ターゲット用ソフトウェアと前記対向テストソフトウェアが同時に実行される。この構成によれば、互いに独立したバスを介してプロセッサに接続されることで、ターゲット通信部と対向テスト通信部の同時動作性能が高くなり、高速な通信プロトコルの対向テストが可能になり、また対向テスト時のデータ収集とその解析性能を高めることができる。   Furthermore, in the communication apparatus of the present invention, the target communication unit and the opposing test communication unit are connected to a processor that performs communication processing via mutually independent buses, and the target software and the opposing test software are executed simultaneously. . According to this configuration, the simultaneous operation performance of the target communication unit and the opposed test communication unit is improved by being connected to the processor via the buses independent from each other, enabling a high-speed communication protocol opposed test, Data collection and analysis performance during the oncoming test can be improved.

本発明の通信装置において、前記ターゲット用ソフトウェアが前記パス制御部を制御することにより、前記ターゲット通信部の役割と前記対向テスト通信部の役割を任意に交換可能とする。この構成によれば、ターゲット通信部の役割と対向テスト通信部の役割を交換することができるため、対向テストにおいて問題が生じた場合に役割を交換して動作確認を行うことで問題の解明可能性が高まり、また通常時の動作においてターゲット通信部に故障が発生した場合にバックアップが可能になる。   In the communication apparatus of the present invention, the target software controls the path control unit, so that the role of the target communication unit and the role of the opposing test communication unit can be arbitrarily exchanged. According to this configuration, the role of the target communication unit and the role of the opposite test communication unit can be exchanged, so if a problem occurs in the opposite test, the problem can be solved by exchanging the roles and checking the operation In addition, backup is possible when a failure occurs in the target communication unit during normal operation.

本発明の通信機能評価方法は、本発明の自己評価機能を備える通信装置を用いて通信機能の評価を行う通信機能評価方法であって、ターゲット用ソフトウェアを用いて前記ターゲット通信部を制御して通常時の通信を行い、対向テストソフトウェアを用いて前記対向テスト通信部および前記パス制御部を制御して通信機能の対向テストを行い、前記ターゲット通信部の実行結果を期待値データと比較判定する。   The communication function evaluation method of the present invention is a communication function evaluation method for evaluating a communication function using a communication device having the self-evaluation function of the present invention, and controls the target communication unit using target software. Perform normal communication, use the opposite test software to control the opposite test communication unit and the path control unit to perform the opposite test of the communication function, and compare and determine the execution result of the target communication unit with the expected value data .

上記構成によれば、ターゲット用ソフトウェアにより通常時の通信を行うとともに、対向テストソフトウェアにより対向テスト通信部とパス制御部を用いて対向テストを実行することができるため、テスト時に本来の通信機能における各種プロトコルに則した動作確認を行うことができる。   According to the above configuration, normal communication can be performed by the target software, and the opposite test can be executed using the opposite test communication unit and the path control unit by the opposite test software. It is possible to check the operation according to various protocols.

本発明によれば、ターゲット通信部と対向テスト通信部をパス制御部を介して対向させることにより、通信動作確認を行うハードウェアを接続せずに通信機能の評価を行うことが可能となる。また、製品に組み込まれるソフトウェアと等価なターゲット用ソフトウェアとテスト用の対向テストソフトウェアとを備えることで、ターゲット通信部を用いる製品の通信動作の評価をより実動作に近い形で行うことが可能となる。   According to the present invention, by making the target communication unit and the opposite test communication unit face each other via the path control unit, it is possible to evaluate the communication function without connecting the hardware for checking the communication operation. In addition, by providing target software equivalent to the software embedded in the product and test counter test software, it is possible to evaluate the communication operation of the product using the target communication unit in a form closer to the actual operation. Become.

図1は本発明の一実施の形態に係る通信装置の構成を示すブロック図である。図1において、通信装置100は、通信機器組み込み用マイクロコンピュータであるCPU110、メモリ120、バスa130、バスb140、アービタ150、ターゲット通信部160、対向テスト通信部170、パス制御部180、外部入出力端子部190で構成される。   FIG. 1 is a block diagram showing a configuration of a communication apparatus according to an embodiment of the present invention. In FIG. 1, a communication device 100 includes a CPU 110, which is a microcomputer for incorporating communication devices, a memory 120, a bus a130, a bus b140, an arbiter 150, a target communication unit 160, a counter test communication unit 170, a path control unit 180, an external input / output. The terminal unit 190 is configured.

CPU110は、パス制御部180におけるマトリクス状に配置された交差ポイントのパス設定を、対向テスト用ソフトウェアもしくは評価用シナリオに基づき任意に切り替える。また、外部入出力端子部190、アービタ150、ターゲット通信部160、対向テスト通信部170の制御を行う。   The CPU 110 arbitrarily switches the path setting of the intersection points arranged in a matrix in the path control unit 180 based on the opposing test software or the evaluation scenario. In addition, the external input / output terminal unit 190, the arbiter 150, the target communication unit 160, and the opposite test communication unit 170 are controlled.

メモリ120は、対向テスト実施時には、入出力データ、ターゲット通信部160における通信動作確認の実行結果、ターゲット用ソフトウェアおよび評価用シナリオを格納する。   The memory 120 stores the input / output data, the execution result of the communication operation check in the target communication unit 160, the target software, and the evaluation scenario when the facing test is performed.

バスa130は、CPU110、メモリ120、ターゲット通信部160を接続する。バスb140は、メインa130とは独立に動作し、CPU110、メモリ120、対向テスト通信部170を接続する。   The bus a130 connects the CPU 110, the memory 120, and the target communication unit 160. The bus b140 operates independently of the main a130, and connects the CPU 110, the memory 120, and the opposite test communication unit 170.

アービタ150は、バスa130とバスb140あるいは複数のバスに接続され、CPUからの制御に基づき複数のバス間における任意のパス経路の設定が可能である。言うまでもなく、任意のパス経路はパス上で一対一に接続されるとは限らない。   The arbiter 150 is connected to the bus a130 and the bus b140 or a plurality of buses, and can set an arbitrary path route between the plurality of buses based on control from the CPU. Needless to say, arbitrary path routes are not necessarily connected one-to-one on the path.

ターゲット通信部160は、外部との通信を行う通信機能を有したブロックであり、本発明における評価の対象とされるものである。対向テスト通信部170は、ターゲット通信部160との通信を行う通信機能を有したブロックである。   The target communication unit 160 is a block having a communication function for performing communication with the outside, and is a target of evaluation in the present invention. The opposing test communication unit 170 is a block having a communication function for performing communication with the target communication unit 160.

パス制御部180は、CPU110からの制御によりターゲット通信部160と対向テスト通信部170からの信号データパスを交差ポイントマトリクス上で接続可能にするもので、信号データパスの交差ポイントを任意方向に接続することができる。   The path control unit 180 allows the signal data paths from the target communication unit 160 and the opposite test communication unit 170 to be connected on the intersection point matrix under the control of the CPU 110, and connects the intersection points of the signal data paths in arbitrary directions. can do.

ここで、交差ポイントの接続は同時に一つだけが制御されるとは限らない。また、本実施の形態では方向性を持った交差ポイントマトリクスを説明するが、必ずしも方向性を持つとは限らない。   Here, not only one intersection point connection is controlled at a time. Moreover, although this embodiment demonstrates the intersection point matrix with directionality, it does not necessarily have directionality.

外部入出力端子部190は、実動作時に外部に接続されるハードウェアとターゲット通信部160とのインターフェイス端子部である。   The external input / output terminal unit 190 is an interface terminal unit between hardware connected to the outside during actual operation and the target communication unit 160.

また、200はターゲット通信部コモンラインで、ターゲット通信部160とパス制御部180を接続する方向性を持ったバスであり、210は対向テスト通信部セグメントラインで、対向テスト通信部170とパス制御部180を接続する方向性を持ったバスである。   Reference numeral 200 denotes a target communication unit common line, which is a directional bus for connecting the target communication unit 160 and the path control unit 180. Reference numeral 210 denotes a counter test communication unit segment line. This is a bus having a direction to connect the units 180.

次に、対向テストソフトウェアについて説明する。対向テストソフトウェアは、パス制御部180の方向性を持った交差ポイントマトリクスを制御してパス設定を任意に切り替えるパス制御機能と、通信動作確認のための評価用シナリオに基づき、パス制御部180、外部入出力端子190、アービタ150、ターゲット通信部160、対向テスト通信部170の制御を行う評価機能とを有する。   Next, the counter test software will be described. The opposing test software is based on a path control function for switching the path setting arbitrarily by controlling an intersection point matrix having directionality of the path control unit 180, and an evaluation scenario for confirming communication operation. And an evaluation function for controlling the external input / output terminal 190, the arbiter 150, the target communication unit 160, and the opposite test communication unit 170.

図2は対向テストソフトウェアのパス制御機能の処理手順を示すフローチャートである。図2において、パス制御部180の方向性を持った交差ポイントマトリクスを制御する際は、ステップS1でパス制御用テーブルデータをメモリ120にダウンロードする。パス制御用テーブルデータとは、後述するパス制御部用レジスタへの設定値である。   FIG. 2 is a flowchart showing the processing procedure of the path control function of the opposing test software. In FIG. 2, when controlling the intersection point matrix having directionality of the path control unit 180, the path control table data is downloaded to the memory 120 in step S1. The path control table data is a set value in a register for a path control unit described later.

次に、ステップS2でパス制御部用レジスタへの設定を行うかを判断し、パス制御部用レジスタへの設定を行う場合はステップS3に進み、パス制御部用レジスタへの設定を行わない場合はパス制御手段を終了する。   Next, in step S2, it is determined whether or not to set the path control unit register. When setting the path control unit register, the process proceeds to step S3, and when setting to the path control unit register is not performed. Terminates the path control means.

パス制御部180の各交差ポイントに対しては、図3に示すように番号を決定する。パス制御部用レジスタは、図4に示すように、MSBより順に交差ポイント番号に対応するようにビットを割り当て、ビットの値により交差ポイントの接続を制御する。   For each intersection point of the path control unit 180, a number is determined as shown in FIG. As shown in FIG. 4, the path control unit register assigns bits so as to correspond to the intersection point numbers in order from the MSB, and controls the connection of the intersection points according to the value of the bits.

例えば、外部入出力端子190からの信号については、該当ビットが“0”の場合はターゲット通信部コモンライン200の既定方向へデータを通過させ、該当ビットが1の場合は対向テスト通信部セグメントライン210の既定方向へデータを通過させる。   For example, for the signal from the external input / output terminal 190, when the corresponding bit is “0”, the data is passed in the predetermined direction of the target communication unit common line 200, and when the corresponding bit is 1, the opposite test communication unit segment line The data is passed in a predetermined direction 210.

図5は対向テストソフトウェアの評価機能の処理手順を示すフローチャートである。図5において、まずステップS11で、入力データ、期待値データ、ターゲット通信部の実行結果、評価用シナリオをダウンロードする。   FIG. 5 is a flowchart showing the processing procedure of the evaluation function of the opposing test software. In FIG. 5, first, in step S11, input data, expected value data, an execution result of the target communication unit, and an evaluation scenario are downloaded.

ステップS12でパス制御部用レジスタへの設定を行うかを判断し、パス制御部用レジスタへの設定を行う場合はステップS13へ進み、パス制御部用レジスタへの設定を行わない場合はステップS14へ進む。ステップS13ではパス制御手段によるパス設定を行う。   In step S12, it is determined whether or not to set the path control unit register. If the path control unit register is set, the process proceeds to step S13. If the path control unit register is not set, step S14 is performed. Proceed to In step S13, path setting is performed by path control means.

ステップS14では評価用シナリオに基づき、入力データをターゲット通信部160へ入力する。ステップS15では、ターゲット通信部160からの実行結果およびログなどをメモリへ格納する。この際メモリへ格納する実行結果およびログといったメモリ格納内容は任意に選択できるものとする。   In step S14, input data is input to the target communication unit 160 based on the evaluation scenario. In step S15, the execution result and log from the target communication unit 160 are stored in the memory. At this time, it is assumed that the memory storage contents such as execution results and logs stored in the memory can be arbitrarily selected.

ステップS16では、ターゲット通信部160から出力された、対向テスト通信部170への入力データをメモリへ格納する。ステップS17では、評価シナリオに基づき処理された対向テスト通信部170からの出力データおよびログなどをメモリへ格納する。この際メモリへ格納する実行結果およびログといったメモリ格納内容は任意に選択できるものとする。   In step S16, the input data to the opposing test communication unit 170 output from the target communication unit 160 is stored in the memory. In step S17, the output data from the opposite test communication unit 170 processed based on the evaluation scenario, the log, and the like are stored in the memory. At this time, it is assumed that the memory storage contents such as execution results and logs stored in the memory can be arbitrarily selected.

ステップS18で評価シナリオが終了したかどうかを判断し、評価シナリオが終了した場合はステップS19へ進み、評価シナリオが終了していない場合はステップS12へ戻る。   In step S18, it is determined whether or not the evaluation scenario is completed. If the evaluation scenario is completed, the process proceeds to step S19. If the evaluation scenario is not completed, the process returns to step S12.

ステップS19では、ターゲット通信部160からの実行結果とステップS11でダウンロードされた期待値データとを比較する。ステップS20では、ステップS19での比較において実行結果と期待値データが全て一致したかどうかを判断し、実行結果と期待値データが全て一致した場合は処理を終了し、実行結果と期待値データが全て一致していない場合はステップS21へ進む。   In step S19, the execution result from the target communication unit 160 is compared with the expected value data downloaded in step S11. In step S20, it is determined whether or not the execution result and the expected value data all match in the comparison in step S19. If the execution result and the expected value data all match, the process ends, and the execution result and the expected value data are the same. If not all match, the process proceeds to step S21.

ステップS21では、ステップS20での実行結果と期待値データの比較における差分を抽出し、差分をファイルへ出力することで差分ファイルを作成する。   In step S21, a difference file is created by extracting the difference in the comparison between the execution result in step S20 and the expected value data and outputting the difference to a file.

次に、評価シナリオについて説明する。例えば、広く一般的に用いられているC言語形式で評価シナリオを記述した場合は、評価シナリオは図6のような形式となる。   Next, the evaluation scenario will be described. For example, when an evaluation scenario is described in a C language format that is widely used in general, the evaluation scenario has a format as shown in FIG.

図6のコメント欄で記述されているTXとは、その行に記述されている処理が、対向テスト通信部170がターゲット通信部160へ出力するための出力メッセージあるいはデータ設定手段であることを示している。データ設定手段とは、データ格納用レジスタへメッセージあるいはデータを設定するものである。   The TX described in the comment column of FIG. 6 indicates that the process described in the line is an output message or data setting means for the opposite test communication unit 170 to output to the target communication unit 160. ing. The data setting means is for setting a message or data in the data storage register.

コメント欄で記述されているRXとは、ターゲット通信部160からの出力メッセージあるいはデータ、すなわち対向テスト通信部170への受信メッセージあるいはデータのイベント待ち手段であることを示している。   RX described in the comment column indicates an event waiting means for an output message or data from the target communication unit 160, that is, a received message or data to the opposite test communication unit 170.

図7は受信メッセージあるいはデータのイベント待ち手段を説明する図である。図7において、ステップS30で期待するイベントが発生したしたかどうかを判断し、期待するイベントが発生した場合は処理を終了し、期待するイベントが発生しない場合はステップS30を繰り返す。なお、ここではフラグ制御を例に挙げて説明したが、必ずしもフラグ制御であるとは限らない。   FIG. 7 is a diagram for explaining event waiting means for received messages or data. In FIG. 7, it is determined whether or not an expected event has occurred in step S30. If an expected event has occurred, the process is terminated. If an expected event has not occurred, step S30 is repeated. Although the flag control has been described as an example here, the flag control is not necessarily performed.

以上のように、通信装置にターゲット通信部、対向テスト通信部、パス制御部を内蔵し、これらを制御する対向テストソフトウェアを実行することにより、通信動作確認を行うターゲット以外の、周辺に接続されるハードウェアを準備することなく、自装置のみで通信機能の評価を行うことが可能となる。   As described above, the target communication unit, the opposing test communication unit, and the path control unit are built in the communication device, and by executing the opposing test software that controls them, the communication device is connected to the periphery other than the target that performs the communication operation check. It is possible to evaluate the communication function only with its own device without preparing hardware.

本発明の自己評価機能を備えた通信装置及び通信機能評価方法は、ターゲット通信部と対向テスト通信部をパス制御部を介して対向させることにより、通信動作確認を行うハードウェアを接続せずに通信機能の評価を行うことが可能となるという効果、また、製品に組み込まれるソフトウェアと等価なターゲット用ソフトウェアとテスト用の対向テストソフトウェアとを備えることで、ターゲット通信部を用いる製品の通信動作の評価をより実動作に近い形で行うことが可能となるという効果を有し、自装置内で通信機能の評価を行うことができる通信装置及び通信機能評価方法等として有用である。   The communication device and the communication function evaluation method having the self-evaluation function of the present invention are configured so that the target communication unit and the opposite test communication unit are opposed to each other via the path control unit without connecting the hardware for performing the communication operation check. It is possible to evaluate the communication function, and by providing target software equivalent to the software embedded in the product and test opposite test software, the communication operation of the product using the target communication unit This has the effect that the evaluation can be performed in a form that is closer to the actual operation, and is useful as a communication apparatus and a communication function evaluation method that can evaluate the communication function within the own apparatus.

本発明の一実施の形態に係る通信装置の構成を示すブロック図The block diagram which shows the structure of the communication apparatus which concerns on one embodiment of this invention 対向テストソフトウェアのパス制御機能の処理手順を示すフローチャートFlow chart showing the processing procedure of the path control function of the opposite test software パス制御部の各交差ポイントに与えられる番号を示す図The figure which shows the number given to each crossing point of a path control part パス制御部用レジスタのビットを割り当てを示す図The figure which shows the bit allocation of the register for path control section 対向テストソフトウェアの評価機能の処理手順を示すフローチャートFlow chart showing the processing procedure of the evaluation function of the counter test software 評価シナリオの記述例を示すリストList showing example description of evaluation scenario 受信メッセージあるいはデータのイベント待ち手段を説明する図Diagram explaining event waiting means for received message or data

符号の説明Explanation of symbols

100 通信装置
110 CPU
120 メモリ
130 バスa
140 バスb
150 アービタ
160 ターゲット通信部
170 対向テスト通信部
180 パス制御部
190 外部入出力端子部
200 ターゲット通信部コモンライン
210 対向テスト通信部セグメントライン
100 communication device 110 CPU
120 memory 130 bus a
140 bus b
150 Arbiter 160 Target communication unit 170 Opposite test communication unit 180 Path control unit 190 External input / output terminal unit 200 Target communication unit common line 210 Opposite test communication unit segment line

Claims (7)

外部との通信を行うターゲット通信部と、前記ターゲット通信部と通信することが可能な対向テスト通信部と、前記ターゲット通信部からの信号データパスと前記対向テスト通信部からの信号データパスと外部からの信号データパスの間の接続を任意に切り替えることが可能なマトリクス状に配置された交差ポイントを有するパス制御部と、を備える自己評価機能を備える通信装置。   A target communication unit that communicates with the outside; a counter test communication unit that can communicate with the target communication unit; a signal data path from the target communication unit; a signal data path from the counter test communication unit; A communication device having a self-evaluation function comprising: a path control unit having intersection points arranged in a matrix that can arbitrarily switch the connection between the signal data paths from. 前記パス制御部のマトリクス状に配置された交差ポイントは、通常時は前記ターゲット通信部からの信号データパスと前記外部からの信号データパスを接続するように設定される請求項1記載の自己評価機能を備える通信装置。   2. The self-evaluation according to claim 1, wherein the intersection points arranged in a matrix of the path control unit are set so as to connect the signal data path from the target communication unit and the signal data path from the outside in a normal state. A communication device having a function. 前記ターゲット通信部を制御して通常時の通信を行うターゲット用ソフトウェアと、評価用シナリオに基づき前記対向テスト通信部および前記パス制御部を制御して通信機能の対向テストを行い、前記ターゲット通信部の実行結果を期待値データと比較判定する対向テストソフトウェアと、を搭載する請求項1記載の自己評価機能を備える通信装置。   Target software that controls the target communication unit to perform normal communication, and the opposite test communication unit and the path control unit are controlled based on an evaluation scenario to perform the opposite test of the communication function, and the target communication unit A communication apparatus having a self-evaluation function according to claim 1, further comprising opposing test software for determining and comparing the execution result of the test result with expected value data. 前記ターゲット通信部と前記対向テスト通信部は互いに独立したバスを介して通信処理を行うプロセッサに接続され、前記ターゲット用ソフトウェアと前記対向テストソフトウェアが同時に実行される請求項3記載の自己評価機能を備える通信装置。   The self-evaluation function according to claim 3, wherein the target communication unit and the opposite test communication unit are connected to a processor that performs communication processing via mutually independent buses, and the target software and the opposite test software are simultaneously executed. A communication device provided. 前記ターゲット用ソフトウェアが前記パス制御部を制御することにより、前記ターゲット通信部の役割と前記対向テスト通信部の役割を任意に交換可能である請求項3記載の自己評価機能を備える通信装置。   The communication device having a self-evaluation function according to claim 3, wherein the target software can arbitrarily exchange the role of the target communication unit and the role of the opposing test communication unit by controlling the path control unit. 請求項1記載の自己評価機能を備える通信装置を用いて通信機能の評価を行う通信機能評価方法であって、
ターゲット用ソフトウェアを用いて前記ターゲット通信部を制御して通常時の通信を行い、対向テストソフトウェアを用いて前記対向テスト通信部および前記パス制御部を制御して通信機能の対向テストを行い、前記ターゲット通信部の実行結果を期待値データと比較判定する通信機能評価方法。
A communication function evaluation method for evaluating a communication function using a communication device having the self-evaluation function according to claim 1,
The target communication unit is controlled using the target software to perform normal communication, and the opposite test communication unit and the path control unit are controlled using the opposite test software to perform the opposite test of the communication function, A communication function evaluation method for comparing the execution result of the target communication unit with expected value data.
請求項1から5のいずれか一項記載の自己評価機能を備える通信装置を搭載した半導体集積回路。   A semiconductor integrated circuit on which a communication device having the self-evaluation function according to claim 1 is mounted.
JP2003384666A 2003-11-14 2003-11-14 Communication apparatus provided with self evaluation function and method for evaluating communication function Pending JP2005149047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003384666A JP2005149047A (en) 2003-11-14 2003-11-14 Communication apparatus provided with self evaluation function and method for evaluating communication function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003384666A JP2005149047A (en) 2003-11-14 2003-11-14 Communication apparatus provided with self evaluation function and method for evaluating communication function

Publications (1)

Publication Number Publication Date
JP2005149047A true JP2005149047A (en) 2005-06-09

Family

ID=34692977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003384666A Pending JP2005149047A (en) 2003-11-14 2003-11-14 Communication apparatus provided with self evaluation function and method for evaluating communication function

Country Status (1)

Country Link
JP (1) JP2005149047A (en)

Similar Documents

Publication Publication Date Title
CN107070731B (en) Master-slave arbitration method and system
CN114237676B (en) FPGA logic updating method, device, equipment and readable storage medium
WO2012077704A1 (en) Debug stub server, debugging method and program
EP2428893A2 (en) A reduction operation device, a processor, and a computer system
CN101208667B (en) Debug system and debug method
CN111596747A (en) Component resetting method, device, equipment and readable storage medium
CN112015689A (en) Serial port output path switching method, system and device and switch
CN109885420B (en) PCIe link fault analysis method, BMC and storage medium
KR100321274B1 (en) Pipeline-type multi-processor system
JP2005149047A (en) Communication apparatus provided with self evaluation function and method for evaluating communication function
JP5082407B2 (en) Access conflict generation system in access conflict test
JP2019179284A (en) Simulation system and simulation program
CN115048255A (en) Automatic test method, device, host and storage medium
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
CN111723032B (en) Interrupt management and control method and electronic equipment
CN115599408B (en) Data burning method, equipment and storage medium of processor
JP2004021751A (en) Debug system, debug program, and debug program storage medium
CN111352878B (en) Digital signal processing system and method
JP2002198990A (en) Data communication method and data communication ic
US20240094293A1 (en) Systems and methods of testing devices using cxl for increased parallelism
CN113067654B (en) Method and equipment for testing state of synchronous source selection port
JP2009032072A (en) Device for directional control of bidirectional bus
RU2039372C1 (en) Redundant computer system
JP2002335303A (en) Communication path switching method
CN116762014A (en) Topology for discovering and testing peripheral component interconnect boards

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060325