JPH0137772B2 - - Google Patents
Info
- Publication number
- JPH0137772B2 JPH0137772B2 JP60027813A JP2781385A JPH0137772B2 JP H0137772 B2 JPH0137772 B2 JP H0137772B2 JP 60027813 A JP60027813 A JP 60027813A JP 2781385 A JP2781385 A JP 2781385A JP H0137772 B2 JPH0137772 B2 JP H0137772B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- cpu
- target system
- data bus
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/261—Functional testing by simulating additional hardware, e.g. fault simulation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】
〔概要〕
インサーキツトエミユレータの改良に関し、
ターゲツトシステムに対するシステムデバツグ
作業に先立つて、その内部バスのチエツクを行な
うことを目的とし、
ターゲツトシステムにアドレス及びデータを与
える代行CPUと、ターゲツトシステム内部のア
ドレスバスとデータバスに接続されるCPUソケ
ツトと代行CPUとの接続を行なうデータバス及
びアドレスバスと、データバスに介設された第1
の制御可能なバツフアと、アドレスバスのCPU
ソケツトに近いバス部と、バツフアと代行CPU
との間のデータバス部とを接続し、第2の制御可
能なバツフアを有する第1の折り返しパスと、ア
ドレスバスのCPUソケツトに近いバス部と、バ
ツフアとCPUソケツトとの間のデータバス部と
を接続し、第2の制御可能なバツフアを有する第
2の折り返しパスと、第1の、第2の、第3の制
御可能なバツフアを選択的にハイインピーダンス
にすることにより、第1又は第2の折り返しパス
を択一的に選択する制御手段とを設けて構成し
た。[Detailed Description of the Invention] [Summary] Regarding the improvement of an incircuit emulator, the purpose is to check the internal bus of the target system prior to system debugging work on the target system, and provide addresses and data to the target system. The data bus and address bus that connect the proxy CPU and the CPU socket connected to the address bus and data bus inside the target system and the proxy CPU, and the first
Controllable bus buffer and address bus of CPU
Bus section near the socket, buffer and substitute CPU
a first return path connecting a data bus section between the address bus and the CPU socket and having a second controllable buffer, a bus section of the address bus close to the CPU socket, and a data bus section between the buffer and the CPU socket; and a second return path having a second controllable buffer, and selectively making the first, second, and third controllable buffers high impedance. A control means for selectively selecting the second return path is provided.
本発明はインサーキツトエミユレータの改良に
関する。
The present invention relates to improvements in in-circuit emulators.
高速化および多機能化されたマイクロプロセツ
サの応用システムの設計および開発を効率的に行
なうためインサーキツトエミユレータが用いられ
る。これは試作機のCPU機能を代行し、デバツ
グ用のプログラムに従つてシステムデバツクを効
率良く行なうものである。 In-circuit emulators are used to efficiently design and develop high-speed, multifunctional microprocessor application systems. This takes over the CPU functions of the prototype machine and efficiently debugs the system according to the debugging program.
従来インサーキツトエミユレータは第3図に示
す如くエミユレーシヨン制御部1、トレースメモ
リ2及び代行メモリ3等を用いて所要のプログラ
ムで動作する代行CPU4の端子をターゲツトシ
ステムのCPU用ソケツト5に接続して成るもの
で、一般的には試作機のマイクロプロセツサをは
ずした後、そのソケツトにエミユレータからのプ
ラグを差し込み、前述の各種メモリを含む開発ツ
ールと接続する。基本的な利用方法は第4図に示
す如く、代行CPU4からバツフア7を介してタ
ーゲツトシステム9のアドレツシングを行ない、
双方向バツフア8を介して得たデータと書込みデ
ータとの比較或いは解析を行なつてシステムデバ
ツグを行なう。なお、エミユレーシヨンの制御は
プログラムメモリ6に所要のプログラムをロード
して行なう。
Conventional in-circuit emulators use an emulation control unit 1, trace memory 2, proxy memory 3, etc. to connect the terminals of a proxy CPU 4 that operates with a required program to a CPU socket 5 of a target system, as shown in FIG. Generally, after removing the microprocessor from the prototype, the plug from the emulator is inserted into its socket and connected to the development tools including the various types of memory mentioned above. As shown in FIG. 4, the basic usage method is to address the target system 9 from the proxy CPU 4 via the buffer 7,
System debugging is performed by comparing or analyzing the data obtained via the bidirectional buffer 8 and the written data. Note that emulation control is performed by loading a required program into the program memory 6.
ターゲツトシステム内のCPUのバスにおける
信号線の数はCPUの高性能化と共に増大し、ま
た、多くのLSIと接続するために複雑な配線が形
成されるのでエツチングの残渣や他の種々の原因
によつてバス信号線間がシヨートしたり、またバ
ス信号線と電源間でシヨートすることがある。こ
れ等のシヨートは前記CPUのバスを物理的に固
定するため正常なデバツグ作業が行なえないとい
う欠点がある。
The number of signal lines on the CPU bus in a target system increases as the performance of the CPU increases, and complex wiring is formed to connect to many LSIs, resulting in etching residue and other various causes. As a result, shorts may occur between the bus signal lines, or between the bus signal lines and the power supply. These shortcuts have the disadvantage that normal debugging cannot be performed because the CPU bus is physically fixed.
本発明は、斯かる問題点に鑑みて創作されたも
ので、ターゲツトシステムに対するシステムデバ
ツク作業に先立つて、その内部バスのチエツクを
行なうインサーキツトエミユレータを提供するこ
とをその目的とする。 The present invention was created in view of the above problems, and an object of the present invention is to provide an in-circuit emulator that checks the internal bus of a target system prior to system debugging work on the target system.
第1図は本発明の原理ブロツク図を示す。この
図に示すように、本発明は、次の構成要素で構成
される。
FIG. 1 shows a block diagram of the principle of the present invention. As shown in this figure, the present invention is composed of the following components.
ターゲツトシステム9にアドレス及びデータを
与える代行CPU4と、
前記ターゲツトシステム9内部のアドレスバス
とデータバスに接続されるCPUソケツト5と前
記代行CPU4との接続を行なうデータバス12
と、
アドレスバス13と、前記データバス12に介
設された第1の制御可能なバツフア20と、
前記アドレスバス12の前記CPUソケツト5
に近いバス部と、前記バツフア20と前記代行
CPU4との間のデータバス部とを接続し、第2
の制御可能なバツフア21を有する第1の折り返
しパス23と、
前記アドレスバス12の前記CPUソケツト5
に近いバス部と、前記バツフア20と前記CPU
ソケツト5との間にのデータバス部とを接続し、
第3の制御可能なバツフア25を有する第2の折
り返しパス27と、
前記第1の、第2の、第3の制御可能なバツフ
ア20,21,27を選択的にハイインピーダン
スにすることにより、前記第1又は第2の折り返
しパスを択一的に選択する制御手段29とであ
り、そして、前記第1の折り返しパス23を選択
することによりターゲツトシステム9内部のアド
レスバスを診断し、第2のパスを選択することに
よりターゲツトシステム内部のデータバスを診断
するようにして本発明は構成される。 A proxy CPU 4 that provides addresses and data to the target system 9; and a data bus 12 that connects the proxy CPU 4 to the CPU socket 5 that is connected to the address bus and data bus inside the target system 9.
an address bus 13; a first controllable buffer 20 interposed in the data bus 12; and the CPU socket 5 of the address bus 12.
bus section near to, the bus station 20 and the agency
Connect the data bus section between the CPU 4 and the second
a first loopback path 23 having a controllable buffer 21 of the CPU socket 5 of the address bus 12;
a bus section close to , the bus section 20 and the CPU
Connect the data bus section between the socket 5 and
a second folding path 27 having a third controllable buffer 25; and selectively placing the first, second and third controllable buffers 20, 21, 27 at high impedance; a control means 29 for selectively selecting the first or second return path; and a control means 29 for diagnosing the address bus inside the target system 9 by selecting the first return path 23; The present invention is configured to diagnose the data bus inside the target system by selecting the path.
ターゲツトシステム9内のアドレスバスの障害
検出に際しては、代行CPU4からアドレスバス
12を介して所要の信号を送出してその信号を
CPUソケツト5を介してターゲツトシステム9
内のアドレスバスに印加する。その印加される信
号は又、制御手段29による第1及び第3の制御
可能なバツフア20,25をハイインピーダンス
状態に設定し、且つ第2の制御可能バツフア21
をオンに設定することにより選択された第1の折
り返しパス23を介して代行CPU4へ引き込み、
その障害解析に用いる。
When detecting a fault in the address bus in the target system 9, the proxy CPU 4 sends a required signal via the address bus 12 and the signal is
Target system 9 via CPU socket 5
address bus within. The applied signal also causes the first and third controllable buffers 20, 25 to be set in a high impedance state by the control means 29 and the second controllable buffer 21
is pulled into the proxy CPU 4 via the first return path 23 selected by setting on,
It is used for failure analysis.
又、ターゲツトシステム9内のデータバスの障
害検出に際しては、第2の折り返しパス27の選
択、即ち制御手段29による第2の制御可能なバ
ツフア21のハイインピーダンス状態への設定及
び第1及び第3の制御可能バツフア20,25の
オンへの設定により、代行CPU4からアドレス
バス12を介してターゲツトシステム9内のデー
タバスに印加される信号をデータバス13を介し
て代行CPU4で引き込み、ターゲツトシステム
9内のデータバスの障害解析に用いる。 Further, when detecting a fault in the data bus within the target system 9, the selection of the second return path 27, that is, the setting of the second controllable buffer 21 to a high impedance state by the control means 29 and the first and third By setting the controllable buffers 20 and 25 to ON, the signal applied from the proxy CPU 4 to the data bus in the target system 9 via the address bus 12 is pulled in by the proxy CPU 4 via the data bus 13, and the signal applied to the data bus in the target system 9 is Used to analyze data bus failures within the system.
ターゲツトシステムのデバツグ作業に先立つ
て、その各バスの正常性のチエツクが行なわれる
から、デバツグ作業にバス障害による不都合を与
えることはなくなる。 Since the normality of each bus is checked prior to debugging the target system, debugging will not be inconvenienced by bus failures.
第2図は本発明の一実施例のブロツク図であつ
て、第4図に示すバツフア7,8に加えて2つの
トライステートのバツフア14,15が設けられ
る。このバツフア14,15はアドレスバス12
からデータバス13に向かう信号を制御するもの
であつて、後述のようにテストモードレジスタ1
1の制御出力C1,C3よりオン−オフ制御される。
なお、バツフア14,15を介したパス中に
ROMを置くことでアドレスデータを所要の状態
に変換し、データバス13に乗せることも可能で
ある。また、エミユレーシヨン制御用のプログラ
ムメモリ6にはバステスト用のプログラムメモリ
10が付加され、プログラム制御によるバステス
トが行なわれる。ここでアドレスバス12をテス
トするにはテストモードレジスタ11の制御出力
C1〜C3でバツフア14をオンにすると共にバツ
フア8,15をハイ・インピーダンス状態に制御
し、アドレスバス12の信号、つまりターゲツト
システム9のCPU用ソケツト5を介してその内
部アドレスバスに印加される信号をデータバス1
3より代行CPU4側に取り込む(引き込む)。デ
ータバス13のテストの際はトライステートのバ
ツフア14をハイ・インピーダンスに制御し、ま
た、トライステートのバツフア8,15をオンに
制御してアドレスデータをデータバス13へ、つ
まりターゲツト9のCPU用ソケツト5を介して
その内部データバスに供給すると共に代行CPU
4側に取り込んで(引き込んで)解析し、短絡の
有無等を調べる。
FIG. 2 is a block diagram of one embodiment of the present invention, in which two tri-state buffers 14 and 15 are provided in addition to the buffers 7 and 8 shown in FIG. These buffers 14 and 15 are the address bus 12.
It controls signals going from the test mode register 1 to the data bus 13, as described later.
On-off control is performed by the control outputs C 1 and C 3 of No. 1.
In addition, during the pass through buffers 14 and 15,
By providing a ROM, it is also possible to convert the address data into a required state and put it on the data bus 13. Further, a program memory 10 for bus testing is added to the program memory 6 for emulation control, and a bus test is performed under program control. Here, to test the address bus 12, the control output of the test mode register 11 is
C1 to C3 turn on the buffer 14 and control the buffers 8 and 15 to a high impedance state, and apply the signal on the address bus 12, that is, to the internal address bus of the target system 9 via the CPU socket 5. data bus 1
3 to the proxy CPU 4 side. When testing the data bus 13, the tri-state buffer 14 is controlled to high impedance, and the tri-state buffers 8 and 15 are turned on to send address data to the data bus 13, that is, for the CPU of the target 9. It supplies its internal data bus via socket 5 and also serves as a proxy CPU.
4 side and analyze it to check for short circuits, etc.
以上述べたように本発明によれば、ターゲツト
システム内の短絡等のバスにおける物理的な障害
の発生が明確に識別されるので的確にデバツグ作
業を行なえるという効果を生じる。
As described above, according to the present invention, the occurrence of a physical failure in the bus such as a short circuit in the target system can be clearly identified, so that debugging work can be performed accurately.
第1図は本発明の原理ブロツク図、第2図は本
発明の一実施例のブロツク図、第3図はインサー
キツトエミユレータの構成図、第4図は従来のイ
ンサーキツトエミユレータに存在する問題点の説
明図である。
第2図において、4は代行CPU、5はCPU用
ソケツト、7,8,14,15,20,21,2
5はバツフア、9はターゲツトシステム、23,
27は折り返しパス、29は制御手段(プログラ
ムメモリ6,10、テストモードレジスタ11)
である。
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a block diagram of an in-circuit emulator, and Fig. 4 is a block diagram of a conventional in-circuit emulator. It is an explanatory diagram of existing problems. In Figure 2, 4 is the substitute CPU, 5 is the CPU socket, 7, 8, 14, 15, 20, 21, 2
5 is buffer, 9 is target system, 23,
27 is a return path, 29 is a control means (program memories 6, 10, test mode register 11)
It is.
Claims (1)
を与える代行CPU4と、 前記ターゲツトシステム9内部のアドレスバス
とデータバスに接続されるCPUソケツト5と前
記代行CPU4との接続を行なうデータバス12
及びアドレスバス13と、 前記データバス12に設けられた第1の制御可
能なバツフア20と、 前記アドレスバス12の前記CPUソケツト5
に近いバス部と、前記バツフア20と前記代行
CPU4との間のデータバス部とを接続し、第2
の制御可能なバツフア21を有する第1の折り返
しパス23と、 前記アドレスバス12の前記CPUソケツト5
に近いバス部と、前記バツフア20と前記CPU
ソケツト5との間のデータバス部とを接続し、第
2の制御可能なバツフア25を有する第2の折り
返しパス27と、 前記第1の、第2の、第3の制御可能なバツフ
ア20,21,27を選択的にハイインピーダン
スにすることにより、前記第1又は第2の折り返
しパスを択一的に選択する制御手段29を有し、 前記第1の折り返しパス23を選択することに
よりターゲツトシステム9内部のアドレスバスを
診断し、前記第2の折り返しパス27を選択する
ことによりターゲツトシステム9内部のデータバ
スを診断することを特徴とするインサーキツトエ
ミユレータ。[Scope of Claims] 1. A proxy CPU 4 that provides addresses and data to the target system 9; and a data bus 12 that connects the CPU socket 5 connected to the address bus and data bus inside the target system 9 and the proxy CPU 4.
and an address bus 13; a first controllable buffer 20 provided on the data bus 12; and the CPU socket 5 of the address bus 12.
bus section near to, the bus station 20 and the agency
Connect the data bus section between the CPU 4 and the second
a first loopback path 23 having a controllable buffer 21 of the CPU socket 5 of the address bus 12;
a bus section close to , the bus section 20 and the CPU
a second return path 27 connecting the data bus section with the socket 5 and having a second controllable buffer 25; the first, second and third controllable buffers 20; 21 and 27 selectively set to high impedance, the control means 29 selectively selects the first or second return path, and the target is selected by selecting the first return path 23. An in-circuit emulator characterized in that the address bus inside the system 9 is diagnosed and the data bus inside the target system 9 is diagnosed by selecting the second return path 27.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60027813A JPS61188637A (en) | 1985-02-15 | 1985-02-15 | In-circuit emulator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60027813A JPS61188637A (en) | 1985-02-15 | 1985-02-15 | In-circuit emulator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61188637A JPS61188637A (en) | 1986-08-22 |
| JPH0137772B2 true JPH0137772B2 (en) | 1989-08-09 |
Family
ID=12231409
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60027813A Granted JPS61188637A (en) | 1985-02-15 | 1985-02-15 | In-circuit emulator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61188637A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02148228A (en) * | 1988-11-30 | 1990-06-07 | Hioki Ee Corp | Self-diagnosis system for electronic devices including CPUs |
| JPH02148229A (en) * | 1988-11-30 | 1990-06-07 | Hioki Ee Corp | Self-diagnosis system for electronic devices including CPUs |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS50127533A (en) * | 1974-03-26 | 1975-10-07 | ||
| JPS5125947A (en) * | 1974-08-28 | 1976-03-03 | Hitachi Ltd | Tensodeeta no seijoseikakuninhoshiki |
| JPS6043547B2 (en) * | 1980-06-17 | 1985-09-28 | 富士フアコム制御株式会社 | Digital output circuit operation confirmation method |
-
1985
- 1985-02-15 JP JP60027813A patent/JPS61188637A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61188637A (en) | 1986-08-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6516428B2 (en) | On-chip debug system | |
| US4993027A (en) | Method and apparatus for determining microprocessor kernal faults | |
| US6983441B2 (en) | Embedding a JTAG host controller into an FPGA design | |
| US5047926A (en) | Development and debug tool for microcomputers | |
| US5940783A (en) | Microprocessor and method of testing the same | |
| JPH0137772B2 (en) | ||
| JP5157037B2 (en) | CPU built-in LSI mounted unit and CPU built-in LSI actual test method | |
| JPH03211481A (en) | Lsi test circuit | |
| JP2710777B2 (en) | Test circuit for intermediate control unit | |
| JPS6123263A (en) | Test system | |
| JPS6197579A (en) | How to test products using microprocessors | |
| JPH0512063A (en) | Logic circuit design equipment | |
| JPH04128661A (en) | Line delay testing device | |
| JPS6363928B2 (en) | ||
| JPS60107146A (en) | Debug system of lsi | |
| JPS6326741A (en) | Testing instrument for data processor | |
| JPH04238278A (en) | Semi-conductor device | |
| JPS6232512B2 (en) | ||
| JPH0512054A (en) | System development equipment | |
| JPH0827740B2 (en) | Data processing device | |
| Reilly et al. | An implementation of microdiagnostics on the ECLIPSE® MV/8000 | |
| JPH0498555A (en) | Bus interface check system | |
| JPS61214036A (en) | Checking system for microcomputer | |
| JPH04192040A (en) | Debugging device | |
| JPS6278647A (en) | Channel failure handling test method |