JP3414281B2 - Test equipment - Google Patents

Test equipment

Info

Publication number
JP3414281B2
JP3414281B2 JP30974898A JP30974898A JP3414281B2 JP 3414281 B2 JP3414281 B2 JP 3414281B2 JP 30974898 A JP30974898 A JP 30974898A JP 30974898 A JP30974898 A JP 30974898A JP 3414281 B2 JP3414281 B2 JP 3414281B2
Authority
JP
Japan
Prior art keywords
data
test
memory
interface card
ecu
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.)
Expired - Fee Related
Application number
JP30974898A
Other languages
Japanese (ja)
Other versions
JP2000137625A (en
Inventor
好文 八木
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP30974898A priority Critical patent/JP3414281B2/en
Publication of JP2000137625A publication Critical patent/JP2000137625A/en
Application granted granted Critical
Publication of JP3414281B2 publication Critical patent/JP3414281B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はテスト装置、特に複
数チャネルを備えたテスト装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test device, and more particularly to a test device having a plurality of channels.

【0002】[0002]

【従来の技術】従来より、回路やCPUの動作をテスト
するためのテスト装置が公知である。例えば、特開平9
−269359号公報には、複数のマイクロコンピュー
タ(マイコン)を含み、各マイコンを集積回路デバイス
に直結する構成の集積回路テスト装置が開示されてい
る。テストに必要なプログラムとデータ情報をマイコン
に供給し、各マイコンはテスト結果をテスタに送り返す
ことで集積回路をテストする。
2. Description of the Related Art Conventionally, a test device for testing the operation of a circuit or a CPU has been known. For example, JP-A-9
Japanese Patent Publication No. 269359 discloses an integrated circuit test device including a plurality of microcomputers (microcomputers) and each microcomputer is directly connected to an integrated circuit device. The program and data information necessary for the test are supplied to the microcomputer, and each microcomputer tests the integrated circuit by sending back the test result to the tester.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術では、各
マイコン毎に異なるテストプログラムを実行できるの
で、同時に複数種類の集積回路をテストすることができ
るものの、テスト装置の構成が複雑化、大型化してコス
ト増となる問題がある。
In the above-mentioned prior art, since different test programs can be executed for each microcomputer, a plurality of types of integrated circuits can be tested at the same time, but the configuration of the test apparatus becomes complicated and large. There is a problem that the cost increases.

【0004】特に、車両に搭載されているECU(電子
制御装置)内の複数CPUの動作をテストしようとする
場合、簡易な装置で迅速に複数のCPUの動作をテスト
する要望が高い。
In particular, when trying to test the operation of a plurality of CPUs in an ECU (electronic control unit) mounted on a vehicle, there is a strong demand for quickly testing the operation of a plurality of CPUs with a simple device.

【0005】本発明は、上記従来技術の有する課題に鑑
みなされたものであり、その目的は、簡易な構成で複数
種類のプロセッサの動作をテストできる装置を提供する
ことにある。
The present invention has been made in view of the above problems of the prior art, and an object thereof is to provide an apparatus capable of testing the operation of a plurality of types of processors with a simple configuration.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、第1の発明は、複数のCPUを内蔵するECUを接
続してテストするテスト装置であって、複数チャネルの
各チャネル毎に設けられ、前記ECUの複数のCPUが
それぞれ接続されるインターフェースカードと、各イン
ターフェースカードに接続され、少なくとも2つのポー
トを有するメモリと、各メモリに接続され、各メモリに
記憶されたデータを統一的に読み出し可能な処理手段
と、を有し、各インターフェースカードは、各CPUの
種類とそのデバッグ方式に対応したインターフェースを
提供するものであって、各CPUの処理データを前記メ
モリに格納する機能を有し、各インターフェースカード
をテスト装置に対して着脱自在とし、テスト対象のEC
Uに応じてテスト装置をコンフィギュレーションし、前
記ECUのテストを行うことを特徴とする。インターフ
ェースカードを用いることで各チャネルに接続された被
テスト対象の種類の相違を解消できる。また、2つ以上
のポートを有するメモリの一つのポートを用いて被テス
ト対象からのデータを書き込み、他のポートを用いて統
一的に読み出すことで、被テスト対象が複数存在して
も、これらのデータを統一的に処理することができる。
ここで、「統一的処理」とは、複数のデータを1つのま
とまりとして処理することをいう。また、「統一的に読
み出し可能」とは、統一的に読み出す他、チャネル毎に
別個に読み出す場合も含む意である。また、インターフ
ェースカードを着脱自在に構成することで、被テスト対
象の種類に容易かつ迅速に対応することができる。
In order to achieve the above object, a first invention is to connect an ECU having a plurality of CPUs.
A test device for continuously testing, which is provided for each of a plurality of channels and has a plurality of CPUs of the ECU.
Each has an interface card connected thereto, a memory connected to each interface card and having at least two ports, and a processing unit connected to each memory and capable of uniformly reading out data stored in each memory. and, each interface card for each CPU
Interface corresponding to the type and its debugging method
The processing data of each CPU is provided.
Each interface card has a function to store in memory
Can be freely attached to and detached from the test equipment, and EC
Configure the test equipment according to U,
It is characterized in that the ECU is tested. By using the interface card, it is possible to eliminate the difference in the type of the device under test connected to each channel. In addition, by writing data from the test target using one port of the memory having two or more ports and reading the data uniformly using the other ports, even if a plurality of test targets exist, Data can be processed uniformly.
Here, “unified processing” means processing a plurality of data as one unit. In addition, “universally readable” means not only unified reading but also reading separately for each channel. Further, by making the interface card detachable, it is possible to easily and quickly respond to the type of the test object.

【0007】また、第2の発明は、第1の発明におい
て、前記インターフェースカードと前記メモリとは共通
バスで接続されことを特徴とする
[0007] The second invention according to the first invention, the the interface card and the memory, characterized in that that will be connected by a common bus.

【0008】 なお、ECUは、各チャネルに直接接続さ
れる他、間接的に(他の部材を介して)接続されていて
もよい。
[0008] The ECU is connected directly to each channel.
In addition to being connected indirectly (via other members)
Good.

【0009】[0009]

【発明の実施の形態】以下、図面に基づき本発明の実施
形態について説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1には、本実施形態の構成ブロック図が
示されている。テスト対象としてのECU(電子制御装
置)10は、複数のCPU10a、10b、10c、1
0dを有している。CPU10aは16bit、CPU
10bは32bit、CPU10cは16bit、CP
U10dは32bitのCPUである。32bitのC
PU10bと10dは、NBD(Non−Break−
Debug−port)を有している。
FIG. 1 shows a block diagram of the configuration of this embodiment. The ECU (electronic control unit) 10 as a test target includes a plurality of CPUs 10a, 10b, 10c, 1
It has 0d. CPU 10a is 16 bit, CPU
10b is 32 bits, CPU 10c is 16 bits, CP
U10d is a 32-bit CPU. 32 bit C
The PUs 10b and 10d are NBDs (Non-Break-
Debug-port).

【0011】一方、ECU10をテストする計測装置
テスト装置)12は、各チャネル毎に設けられたイン
ターフェースカード(I/F)12a〜12d、各イン
ターフェースカード12a〜12dに対応して設けられ
たDPRAM(デュアルポートRAM)14a〜14
d、パーソナルコンピュータ(パソコン)16、インタ
ーフェースカード12a〜12dとDPRAM14a〜
14dを接続するバス200a〜200d及びDPRA
M14a〜14dとパソコン16を接続するバス300
を有して構成されている。
On the other hand, a measuring device ( test device) 12 for testing the ECU 10 has interface cards (I / F) 12a to 12d provided for each channel and a DPRAM provided corresponding to each interface card 12a to 12d. (Dual port RAM) 14a-14
d, personal computer (personal computer) 16, interface cards 12a to 12d and DPRAM 14a to
14d connecting buses 200a to 200d and DPRA
Bus 300 connecting M14a to 14d and personal computer 16
Is configured.

【0012】インターフェースカード12a、12cは
それぞれバス100a、100cを介してECU10内
のCPU10a、CPU10cと接続されており、CP
U10aで処理したデータ(センサからのデータ等)を
DPRAM14aに格納するとともに、CPU10cで
処理したデータをDPRAM14cに格納する。
The interface cards 12a and 12c are connected to the CPUs 10a and 10c in the ECU 10 via buses 100a and 100c, respectively, and CP
The data processed by the U10a (data from the sensor, etc.) is stored in the DPRAM 14a, and the data processed by the CPU 10c is stored in the DPRAM 14c.

【0013】インターフェースカード12b、12dは
それぞれNBDバス100b、100dを介してECU
10内のCPU10b、10dと接続されており、CP
U10bからのデータを内蔵のNBD処理部で処理して
(32bit高速CPU10b、10dとのデータ送受
をシリアルで行う)DPRAM14bに格納するととも
に、CPU10dからのデータを内蔵のNBD処理部で
処理してDPRAM14dに格納する。
The interface cards 12b and 12d are connected to the ECU via NBD buses 100b and 100d, respectively.
It is connected to CPUs 10b and 10d in
The data from the U10b is processed by the built-in NBD processing unit (the data is transmitted and received with the 32-bit high-speed CPUs 10b and 10d serially) and stored in the DPRAM 14b, and the data from the CPU 10d is processed by the built-in NBD processing unit and the DPRAM 14d. To store.

【0014】すなわち、インターフェースカード12a
〜12dは、ECU10内の各CPU10a〜10dの
種類とそのデバッグ方式に対応したインターフェースを
提供するもので、CPU10a〜10dの処理データを
DPRAM14a〜14dに格納する機能を有する。な
お、インターフェースカード12a〜12dとDPRA
M14a〜14d間のバス200a〜200dは共通バ
スとすることが好適であり、インターフェースカード1
2a〜12dは計測装置12に対して着脱自在に構成す
ることが好適である。これにより、テストすべきECU
10に応じて計測装置12のコンフィギュレーションを
容易に最適化できるからである。
That is, the interface card 12a
12d provide interfaces corresponding to the types of the CPUs 10a to 10d in the ECU 10 and their debugging methods, and have a function of storing the processing data of the CPUs 10a to 10d in the DPRAMs 14a to 14d. The interface cards 12a to 12d and the DPRA
It is preferable that the buses 200a to 200d between the M14a to 14d be a common bus.
It is preferable that 2a to 12d be detachably attached to the measuring device 12. This allows the ECU to be tested
This is because the configuration of the measuring device 12 can be easily optimized according to 10.

【0015】DPRAM14a〜14dは、2つのポー
トを有しており、一方のポートを用いてCPU10a〜
10dからのデータを書き込む。また、他のポートを用
いてパソコン16がDPRAM14a〜14dに書き込
まれたデータを読み出す。なお、DPRAM14a〜1
4dは3個あるいはそれ以上のポートを有していてもよ
く、FIFO(First−In−First−Ou
t)メモリを用いてもよい。その本質は、あるポートで
CPU10a〜10dからのデータを書き込み、そのポ
ートとは異なるポートで書き込まれたデータを読み出す
ことで処理の高速化を図る点にある。
The DPRAMs 14a to 14d have two ports, and one of the ports is used for the CPUs 10a to 14d.
Write the data from 10d. Further, the personal computer 16 reads the data written in the DPRAMs 14a to 14d by using another port. The DPRAMs 14a-1a
4d may have three or more ports, and may be a FIFO (First-In-First-Ou).
t) A memory may be used. The essence is to speed up the process by writing data from the CPUs 10a to 10d at a certain port and reading the data written at a port different from that port.

【0016】パソコン16は、例えば車両に持ち込むこ
とができるノート型パソコンであり、PCカードを介し
てI/Fボックスと接続される。パソコン16内のメモ
リには、DPRAM14a〜14dがマッピングされて
おり、DPRAM14a〜14dから読み出されたデー
タは、パソコン16内のメモリの所定エリアにそれぞれ
格納される。したがって、パソコン16内のCPUは、
メモリをサンプリングすることで、DPRAM14a〜
14dに書き込まれたデータ、すなわちCPU10a〜
10dのデータを統一的に処理することが可能となる。
The personal computer 16 is, for example, a notebook personal computer that can be brought into a vehicle, and is connected to the I / F box via a PC card. DPRAMs 14a to 14d are mapped in the memory in the personal computer 16, and the data read from the DPRAMs 14a to 14d are stored in predetermined areas of the memory in the personal computer 16, respectively. Therefore, the CPU in the personal computer 16
By sampling the memory, the DPRAM 14a ...
Data written in 14d, that is, CPU 10a-
It becomes possible to process the data of 10d uniformly.

【0017】本実施形態の構成は以上のようであり、計
測装置12を用いてECU10をテストする際には、ま
ず計測装置12の各チャネルにECU10内の各CPU
10a〜10dを接続する。そして、CPU10a〜1
0dでは、車載のセンサから出力されたデータを処理し
て計測装置12の各チャネルに出力する。計測装置12
のインターフェースカード12a〜12dは、CPU1
0a〜10dからのデータを入力してDPRAM14a
〜14dに書き込む。このとき、CPU10a〜10d
が同期して動作している場合には、その処理結果として
同期したデータがDPRAM14a〜14dに書き込ま
れることになる。DPRAM14a〜14dにデータが
格納された後、パソコン16は所定のタイミングでDP
RAM14a〜14dにアクセスしてデータを読み出
し、自身のメモリに読み出したデータを書き込む。パソ
コン16は、自身のメモリのマップ上にDPRAM14
a〜14dがマッピングされているため、自身のメモリ
をサンプリングすることで、DPRAM14a〜14d
を統一的にサンプリングすることができる。したがっ
て、CPU10a〜10dから同期したデータが出力さ
れていても、統一的にサンプリングすることで同期をテ
ストすることができる。
The configuration of this embodiment is as described above, and when testing the ECU 10 using the measuring device 12, first, each CPU in the ECU 10 is installed in each channel of the measuring device 12.
10a-10d are connected. And CPU10a-1
At 0d, the data output from the vehicle-mounted sensor is processed and output to each channel of the measuring device 12. Measuring device 12
Interface cards 12a to 12d of the CPU1
DPRAM 14a by inputting data from 0a to 10d
Write to ~ 14d. At this time, the CPUs 10a to 10d
, The synchronous data is written in the DPRAMs 14a to 14d as the processing result. After the data is stored in the DPRAMs 14a to 14d, the personal computer 16 sets the DP at a predetermined timing.
The RAMs 14a to 14d are accessed to read the data, and the read data is written to its own memory. The personal computer 16 uses the DPRAM 14 on its own memory map.
Since a to 14d are mapped, the DPRAMs 14a to 14d can be sampled by sampling their own memory.
Can be sampled uniformly. Therefore, even if synchronized data is output from the CPUs 10a to 10d, the synchronization can be tested by uniformly sampling.

【0018】このように、本実施形態ではインターフェ
ースカードを設けることで、ECU10内のCPUの相
違によらず統一的にデータを処理することができ、EC
U全体の1つのシステムと捉えたデバッグが可能(EC
U10内の各CPUが同期して動作していても、その結
果をテストすることができる)となる。しかも、インタ
ーフェースカードは着脱自在に構成されているので、任
意のECUに迅速に対応することができる。
As described above, in the present embodiment, by providing the interface card, the data can be processed uniformly regardless of the difference in the CPUs in the ECU 10, and the EC
Debug that can be regarded as one system for the entire U (EC
Even if each CPU in U10 operates in synchronization, the result can be tested. Moreover, since the interface card is configured to be removable, it is possible to quickly respond to any ECU.

【0019】なお、本実施形態において、CPU10a
〜10dからのデータをパソコン16で処理し、その処
理結果をCPU10a〜10dに送り返すことも可能で
ある。また、1つのCPU(例えばCPU10a)から
のデータをトリガとし、パソコン16が他のCPU10
b〜10dに対してデータ送信を要求する(1つのCP
Uをマスタとして扱う)ように構成することも可能であ
る。
In this embodiment, the CPU 10a
It is also possible to process the data from 10d to 10d by the personal computer 16 and send the processing result back to the CPUs 10a to 10d. Further, the data from one CPU (for example, the CPU 10a) is used as a trigger, and the personal computer 16 causes the other CPU 10 to operate.
Request data transmission from b to 10d (one CP
U is treated as a master).

【0020】また、パソコン16でDPRAM14a〜
14dのデータを統一的に処理するのではなく、DPR
AM14a〜14dのデータのうち、特定のデータ(例
えばDPRAM14a)のみに着目してそのデータを読
み出し、特定のCPU(例えばCPU10a)の動作を
テストすることももちろん可能である。
In the personal computer 16, DPRAM 14a ...
Instead of processing 14d data uniformly, DPR
Of course, it is possible to test only the specific data (for example, the DPRAM 14a) among the data of the AMs 14a to 14d, read the data, and test the operation of the specific CPU (for example, the CPU 10a).

【0021】[0021]

【発明の効果】以上説明したように、本発明によれば簡
易な構成で複数種類のプロセッサの動作をテストするこ
とができる。
As described above, according to the present invention, it is possible to test the operation of a plurality of types of processors with a simple structure.

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

【図1】 本発明の実施形態の構成ブロック図である。FIG. 1 is a configuration block diagram of an embodiment of the present invention.

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

10 ECU、10a〜10d CPU、12 計測装
置(テスト装置)、12a〜12d インターフェース
カード、14a〜14d DPRAM。
10 ECU, 10a-10d CPU, 12 measuring device ( test device), 12a-12d interface card, 14a-14d DPRAM.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のCPUを内蔵するECUを接続し
てテストするテスト装置であって、 複数チャネルの各チャネル毎に設けられ、前記ECUの
複数のCPUがそれぞれ接続されるインターフェースカ
ードと、 各インターフェースカードに接続され、少なくとも2つ
のポートを有するメモリと、 各メモリに接続され、各メモリに記憶されたデータを統
一的に読み出し可能な処理手段と、 を有し、 各インターフェースカードは、各CPUの種類とそのデ
バッグ方式に対応したインターフェースを提供するもの
であって、各CPUの処理データを前記メモリに格納す
る機能を有し、 各インターフェースカードをテスト装置に対して着脱自
在とし、テスト対象のECUに応じてテスト装置をコン
フィギュレーションし、前記ECUの テストを行うこと
を特徴とするテスト装置。
1. An ECU including a plurality of CPUs is connected.
A test device for testing by using the ECU provided in each of a plurality of channels ,
An interface card to which a plurality of CPUs are respectively connected , a memory connected to each interface card and having at least two ports, and a processing unit connected to each memory and capable of uniformly reading data stored in each memory , And each interface card has a CPU type and its
An interface that provides a bag system
The processing data of each CPU is stored in the memory.
The interface card has a function to attach / detach each interface card to / from the test device.
The test equipment depending on the ECU under test.
A test device that is configured to perform a test of the ECU .
【請求項2】 請求項1記載の装置において、 前記インターフェースカードと前記メモリとは共通バス
で接続されることを特徴とするテスト装置。
2. The test apparatus according to claim 1, wherein the interface card and the memory are connected by a common bus.
JP30974898A 1998-10-30 1998-10-30 Test equipment Expired - Fee Related JP3414281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30974898A JP3414281B2 (en) 1998-10-30 1998-10-30 Test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30974898A JP3414281B2 (en) 1998-10-30 1998-10-30 Test equipment

Publications (2)

Publication Number Publication Date
JP2000137625A JP2000137625A (en) 2000-05-16
JP3414281B2 true JP3414281B2 (en) 2003-06-09

Family

ID=17996830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30974898A Expired - Fee Related JP3414281B2 (en) 1998-10-30 1998-10-30 Test equipment

Country Status (1)

Country Link
JP (1) JP3414281B2 (en)

Also Published As

Publication number Publication date
JP2000137625A (en) 2000-05-16

Similar Documents

Publication Publication Date Title
US5838692A (en) System and method for extracting realtime debug signals from an integrated circuit
US6145099A (en) Debugging system
US7210059B2 (en) System and method for on-board diagnostics of memory modules
US6523136B1 (en) Semiconductor integrated circuit device with processor
CN100489824C (en) Method and apparatus for detecting time domains on a communication channel
US5850512A (en) Bus analyzer and method for testing internal data paths thereof
US5047926A (en) Development and debug tool for microcomputers
US7596730B2 (en) Test method, test system and assist board
US20050041519A1 (en) Integrated clock supply chip for a memory module, memory module comprising the integrated clock supply chip, and method for operating the memory module under test conditions
US4962501A (en) Bus data transmission verification system
JPH02224140A (en) Interruption testing device
CN112685212B (en) Processor exception debugging and tracking method, device and system
JP3414281B2 (en) Test equipment
JPH05216710A (en) Data collecting and monitoring device and method therefor
JP2001184225A (en) Emulator and emulating method
EP0803820A2 (en) An integrated digital processing device and method for examining the operation thereof
JP3695196B2 (en) Data processing device
JP3105103B2 (en) Adjustment device for electronic control unit
JP2000227862A (en) Data processor
JP2543843B2 (en) Multi-processor system
US20110307744A1 (en) Information processing system and failure processing method therefor
JPH02208785A (en) Bus/monitor incorporated type one chip microprocessor
JP3186762B2 (en) IC test equipment
JPS63265181A (en) Function tester
JPH0683723A (en) Device for tracing asynchronous reference bus signal value

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090404

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090404

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100404

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100404

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110404

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120404

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130404

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees