JP3251266B2 - Emulation system, upload data acquisition method, and recording medium recording the method - Google Patents

Emulation system, upload data acquisition method, and recording medium recording the method

Info

Publication number
JP3251266B2
JP3251266B2 JP16857899A JP16857899A JP3251266B2 JP 3251266 B2 JP3251266 B2 JP 3251266B2 JP 16857899 A JP16857899 A JP 16857899A JP 16857899 A JP16857899 A JP 16857899A JP 3251266 B2 JP3251266 B2 JP 3251266B2
Authority
JP
Japan
Prior art keywords
data
stored
trace
upload
unit
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
JP16857899A
Other languages
Japanese (ja)
Other versions
JP2000357106A (en
Inventor
孔栄 安部
Original Assignee
日本電気マイコンテクノロジー株式会社
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 日本電気マイコンテクノロジー株式会社 filed Critical 日本電気マイコンテクノロジー株式会社
Priority to JP16857899A priority Critical patent/JP3251266B2/en
Publication of JP2000357106A publication Critical patent/JP2000357106A/en
Application granted granted Critical
Publication of JP3251266B2 publication Critical patent/JP3251266B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、システムの冗長性
を抑えたエミュレーションシステムと、そのアップロー
ドデータ取得方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an emulation system in which system redundancy is suppressed, and a method of acquiring upload data.

【0002】[0002]

【従来の技術】近年、組込み分野におけるマイクロプロ
セッサは飛躍的に性能が向上している。このことに伴
い、デバッグユニットやトレースユニットが内蔵されて
いる構成のマイクロプロセッサが用いられている。
2. Description of the Related Art In recent years, the performance of microprocessors in the embedded field has been dramatically improved. Accordingly, a microprocessor having a built-in debug unit and trace unit has been used.

【0003】また、マイクロプロセッサの動作が高速化
している。このために、インサーキットエミュレータ
は、動作が高速なマイクロプロセッサに対応して、RO
Mエミュレータに類似した構成がとられている。さら
に、このインサーキットエミュレータは、デバッグユニ
ットやトレースユニットを端子レベルで制御する構成が
とられつつある。
[0003] The operation speed of microprocessors is increasing. For this reason, the in-circuit emulator supports the high-speed microprocessor,
The configuration is similar to that of the M emulator. Further, this in-circuit emulator is being configured to control a debug unit and a trace unit at a terminal level.

【0004】このような組込み分野における従来のエミ
ュレーションシステムの一例を、図3に示す。
FIG. 3 shows an example of a conventional emulation system in such an embedded field.

【0005】図3に示すように、従来のエミュレーショ
ンシステムの構成は、ホストコンピュータ100、RO
Mエミュレータ200、ターゲットコンピュータ30
0、シリアル(外部出力用端子)900を備えている。
[0005] As shown in FIG. 3, the configuration of a conventional emulation system includes a host computer 100 and an RO.
M emulator 200, target computer 30
0, a serial (external output terminal) 900 is provided.

【0006】次に、この従来のエミュレーションシステ
ムの動作を以下に示す。
Next, the operation of this conventional emulation system will be described below.

【0007】まず、ユーザがホストコンピュータ100
上のユーザインタフェースをもつコントロールプログラ
ム(以下、デバッガという)に対して、ターゲットコン
ピュータ300に格納されているデータのアップロード
を指示する。次に、ターゲットコンピュータ300に格
納されているアップロード対象データが、シリアル50
0を介してROMエミュレータ200に取込まれる。
First, when a user operates the host computer 100,
The control program (hereinafter, referred to as a debugger) having the above user interface is instructed to upload data stored in the target computer 300. Next, the upload target data stored in the target computer 300 is the serial 50
0 to the ROM emulator 200.

【0008】そして、ホストコンピュータ100上のデ
バッガは、ROMエミュレータ200に取込まれたアッ
プロード対象データの解析を行い、そのアップロード対
象データのメモリイメージを組立てる。
[0008] The debugger on the host computer 100 analyzes the data to be uploaded taken into the ROM emulator 200 and assembles a memory image of the data to be uploaded.

【0009】また、エミュレーションシステムに関連す
る、開示されている特許出願、実用新案出願を公報を参
照して以下に示す。
Further, disclosed patent applications and utility model applications related to the emulation system are shown below with reference to the gazette.

【0010】実開平1−144942号公報に、「リア
ルタイム・インサーキット・エミュレータ」という考案
が開示されている。この考案は、データ用メモリと、ア
ドレス変換用メモリと、調停回路からなるインサーキッ
トエミュレータである。データ用メモリは、ターゲット
・マイクロプロセッサが書き込むデータを記憶し、その
内容を任意の時刻に外部から読み出すことが可能であっ
て、2ポート存在する。アドレス変換用メモリは、この
データ用メモリをターゲット・マイクロプロセッサ空間
の任意のアドレスに割り付けるためのアドレス変換を行
う。調停回路は、データ用メモリに対して、ターゲット
・マイクロプロセッサによる書き込みのタイミングとイ
ンサーキット・エミュレータ本体側のホスト・マイクロ
プロセッサによる読み出しのタイミングが重なった場合
に、ホスト・マイクロプロセッサにエラー信号を与え
る。
Japanese Utility Model Laid-Open No. 1-144942 discloses a device called a "real-time in-circuit emulator". The present invention is an in-circuit emulator including a data memory, an address conversion memory, and an arbitration circuit. The data memory stores data to be written by the target microprocessor, and can read the contents from the outside at an arbitrary time, and has two ports. The address translation memory performs an address translation for allocating the data memory to an arbitrary address in the target microprocessor space. The arbitration circuit provides an error signal to the host microprocessor when the timing of writing by the target microprocessor and the timing of reading by the host microprocessor on the in-circuit emulator main body overlap with each other for the data memory. .

【0011】特開平10−21114号公報に、「組み
込み型データ処理装置のデバック方法およびデバッグ用
カード」という発明が開示されている。この発明は、C
PUボードにデバック専用メモリを実装することなく、
かつICE(In-Circuit Emulator)の適用が困難な場合
にも、CPUボードのデバッグを容易に行うことを目的
とするアダプタボードを提供する。
Japanese Patent Application Laid-Open No. 10-21114 discloses an invention called "a debugging method for an embedded data processing device and a debugging card". The present invention relates to C
Without mounting debug-only memory on the PU board,
Also, an adapter board is provided for the purpose of easily debugging a CPU board even when application of an ICE (In-Circuit Emulator) is difficult.

【0012】[0012]

【発明が解決しようとする課題】図3に示される、従来
のエミュレーションシステムでは、ターゲットコンピュ
ータ300のアップロード対象データを、シリアル50
0を介してROMエミュレータ200に取込む構成とな
っている。このため、従来のエミュレーションシステム
では、シリアル500を必要とすることによるシステム
の冗長性を招いていた。
In the conventional emulation system shown in FIG. 3, data to be uploaded from the target computer 300 is stored in a serial 50
0 to the ROM emulator 200. Therefore, in the conventional emulation system, system serial redundancy is required due to the necessity of the serial 500.

【0013】本発明は、システムの冗長性を抑えること
ができるエミュレーションシステムと、そのアップロー
ド方法を提供することを目的としている。
An object of the present invention is to provide an emulation system capable of suppressing system redundancy, and an upload method thereof.

【0014】[0014]

【課題を解決するための手段】上記の課題を解決するた
めに、本発明によると、ホストコンピュータと、ターゲ
ットコンピュータと、エミュレータとからなり、ターゲ
ットコンピュータは、ホストコンピュータから、ターゲ
ットコンピュータに格納されている格納データのアップ
ロード要求に対して、格納データをモニタするモニタ部
を有し、エミュレータは、格納データのモニタ中にモニ
タ部をトレースし、モニタされた格納データを格納する
トレースユニットを有し、ホストコンピュータは、トレ
ースユニットに格納された格納データに基づいて、アッ
プロードデータを取得するエミュレーションシステムを
提供する。
According to the present invention, a host computer, a target computer, and an emulator are provided. According to the present invention, the target computer is stored in the target computer from the host computer. A monitor unit for monitoring the stored data in response to a stored data upload request, the emulator has a trace unit for tracing the monitor unit during monitoring of the stored data and storing the monitored stored data; The host computer provides an emulation system that acquires upload data based on data stored in the trace unit.

【0015】また、上記のエミュレーションシステムに
おいて、トレースユニットは、格納データのモニタ中に
モニタ部をトレースし、モニタ部の格納アドレスと、格
納アドレスに格納されているデータの対からなる格納デ
ータを取得することが可能である。
In the above emulation system, the trace unit traces the monitor section while monitoring the stored data, and obtains the storage data composed of the storage address of the monitor section and the data stored in the storage address. It is possible to

【0016】さらに、上記のエミュレーションシステム
において、モニタ部は、データトレース設定アドレスを
設定し、格納データをデータトレース設定アドレスに書
き込んでモニタし、ホストコンピュータは、トレースユ
ニットからデータトレース設定アドレスをキーとして、
アップロードデータを取得することが可能である。
Further, in the above emulation system, the monitor unit sets a data trace setting address, writes the stored data to the data trace setting address and monitors the data, and the host computer uses the data trace setting address from the trace unit as a key. ,
It is possible to acquire upload data.

【0017】他に、上記の課題を解決するために、本発
明によると、ホストコンピュータと、ターゲットコンピ
ュータと、トレースユニットを含むエミュレータとから
なるエミュレーションシステムにおいて、以下のステッ
プからなるアップロードデータ取得方法を提供する。
(a)ホストコンピュータから、ターゲットコンピュー
タに格納されている格納データのアップロード要求に対
して、格納データをモニタするステップと、(b)トレ
ースユニットが格納データのモニタ中にモニタされた格
納データをトレースして格納するステップと、(c)ホ
ストコンピュータが、トレースされた格納データに基づ
いて、アップロードデータを取得するステップからな
る。
According to another embodiment of the present invention, there is provided an emulation system including a host computer, a target computer, and an emulator including a trace unit. provide.
(A) a step of monitoring stored data in response to a request for uploading stored data stored in a target computer from a host computer; and (b) a trace unit tracing the stored data monitored during monitoring of the stored data. And (c) the host computer acquires upload data based on the traced stored data.

【0018】上記のアップロードデータ取得方法におい
て、ステップ(b)は、格納データのモニタ中にモニタ
部をトレースし、モニタ部の格納アドレスと、格納アド
レスに格納されているデータの対からなる格納データを
取得するステップからなることが可能である。
In the above upload data acquisition method, the step (b) traces the monitor section while monitoring the stored data, and stores the stored data consisting of a pair of the storage address of the monitor section and the data stored in the storage address. Can be obtained.

【0019】また、上記のアップロードデータ取得方法
において、ステップ(a)は、データトレース設定アド
レスを設定するステップと、格納データをデータトレー
ス設定アドレスに書き込んでモニタするステップとから
なり、ステップ(c)は、トレースユニットからデータ
トレース設定アドレスをキーとして、アップロードデー
タを取得するステップからなることが可能である。
In the above upload data acquisition method, step (a) comprises a step of setting a data trace setting address, and a step of writing stored data at the data trace setting address and monitoring the data, and step (c). May include a step of acquiring upload data from the trace unit using the data trace setting address as a key.

【0020】他に、上記の課題を解決するために、本発
明によると、ホストコンピュータと、ターゲットコンピ
ュータと、トレースユニットを含むエミュレータとから
なるエミュレーションシステムにおいて、以下のステッ
プを実行する実行プログラムを格納した記録媒体を提供
する。(a)ホストコンピュータから、ターゲットコン
ピュータに格納されている格納データのアップロード要
求に対して、格納データをモニタするステップと、
(b)トレースユニットが格納データのモニタ中にモニ
タされた格納データをトレースして格納するステップ
と、(c)トレースされた格納データに基づいて、ホス
トコンピュータがアップロードデータを取得するステッ
プからなる。
According to another aspect of the present invention, there is provided an emulation system including a host computer, a target computer, and an emulator including a trace unit, which stores an execution program for executing the following steps. A recording medium is provided. (A) monitoring the stored data in response to a request from the host computer to upload the stored data stored in the target computer;
(B) a step of tracing and storing the storage data monitored by the trace unit during monitoring of the stored data; and (c) a step of acquiring the upload data by the host computer based on the traced storage data.

【0021】上記の記録媒体に格納されている実行プロ
グラムにおいて、ステップ(b)は、格納データのモニ
タ中にモニタ部をトレースし、モニタ部の格納アドレス
と、格納アドレスに格納されているデータの対からなる
格納データを取得するステップからなることが可能であ
る。
In the execution program stored in the recording medium, step (b) traces the monitor section while monitoring the stored data, and stores the storage address of the monitor section and the data stored in the storage address. It may comprise the step of obtaining a pair of stored data.

【0022】また、上記の記録媒体に格納されている実
行プログラムにおいて、ステップ(a)は、データトレ
ース設定アドレスを設定するステップと、格納データを
データトレース設定アドレスに書き込んでモニタするス
テップとからなり、ステップ(c)は、トレースユニッ
トからデータトレース設定アドレスをキーとして、アッ
プロードデータを取得するステップからなることが可能
である。
In the execution program stored in the recording medium, step (a) comprises a step of setting a data trace setting address and a step of writing stored data to the data trace setting address and monitoring the data. , Step (c) may include a step of acquiring upload data from the trace unit using the data trace setting address as a key.

【0023】本発明によるエミュレーションシステム
と、そのアップロードデータ取得方法の作用を以下に説
明する。まず、アップロードの対象となるアップロード
対象メモリやアップロードに関わる情報を有するターゲ
ットコンピュータに対し、ホストコンピュータからアッ
プロードの指示が出される。次に、その指示を受けて、
インサーキットエミュレータのデータトレース機能を有
するトレースユニットによってアップロード対象メモリ
のデータがトレースされる。それとともに、ホストコン
ピュータによってトレースされたデータの解析が行わ
れ、アップロード対象メモリのメモリイメージが組立て
られる。
The operation of the emulation system according to the present invention and the method of acquiring the upload data will be described below. First, the host computer issues an upload instruction to an upload target memory to be uploaded and a target computer having information related to the upload. Next, receiving that instruction,
The data of the upload target memory is traced by the trace unit having the data trace function of the in-circuit emulator. At the same time, the traced data is analyzed by the host computer, and a memory image of the upload target memory is assembled.

【0024】[0024]

【発明の実施の形態】以下に添付図面を参照して、本発
明によるエミュレーションシステムを説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An emulation system according to the present invention will be described below with reference to the accompanying drawings.

【0025】図1は、本発明によるエミュレーションシ
ステムの一実施の形態を示すブロック図を示す。図2
は、ターゲットコンピュータが有するシステムメモリの
メモリマップである。
FIG. 1 is a block diagram showing one embodiment of an emulation system according to the present invention. FIG.
Is a memory map of a system memory of the target computer.

【0026】図1に示すエミュレーションシステムは、
ホストコンピュータ10、インサーキットエミュレータ
20及びターゲットコンピュータ30を備えている。
The emulation system shown in FIG.
A host computer 10, an in-circuit emulator 20, and a target computer 30 are provided.

【0027】ホストコンピュータ10は、ユーザインタ
フェースをもつコントロールプログラム(以下、デバッ
ガ11という)を有する。また、ホストコンピュータ1
0は、データのアップロードを指示する。
The host computer 10 has a control program having a user interface (hereinafter, referred to as a debugger 11). Also, the host computer 1
0 instructs data upload.

【0028】インサーキットエミュレータ2は、データ
トレース機能を有するトレースユニット21と、データ
トレース機能によるトレースデータを記憶するトレース
メモリ22とを備えている。
The in-circuit emulator 2 includes a trace unit 21 having a data trace function, and a trace memory 22 for storing trace data by the data trace function.

【0029】ターゲットコンピュータ30は、図2に示
すシステムメモリ31を備えている。ターゲットコンピ
ュータ30のシステムメモリ31には、データトレース
設定アドレス41、アップロード対象メモリ42、モニ
タプログラム43及びユーザプログラム44が配置され
ている。
The target computer 30 has a system memory 31 shown in FIG. In the system memory 31 of the target computer 30, a data trace setting address 41, an upload target memory 42, a monitor program 43, and a user program 44 are arranged.

【0030】データトレース設定アドレス41は、トレ
ースメモリ22にトレースされるアップロード対象メモ
リ42のアドレスが設定される領域である。アップロー
ド対象メモリ42は、アップロードの対象となるデータ
を有する領域である。
The data trace setting address 41 is an area where an address of the upload target memory 42 to be traced by the trace memory 22 is set. The upload target memory 42 is an area having data to be uploaded.

【0031】モニタプログラム43及びユーザプログラ
ム44は、ホストコンピュータ10上のデバッガ11に
より、ターゲットコンピュータ30のシステムメモリ3
1に配置される領域である。
The monitor program 43 and the user program 44 are transmitted to the system memory 3 of the target computer 30 by the debugger 11 on the host computer 10.
1 is an area arranged in the first area.

【0032】また、モニタプログラム43は、データト
レース設定アドレス41にアップロード対象メモリ42
のデータを書込む領域である。
The monitor program 43 stores the data to be uploaded 42 in the data trace setting address 41.
This is the area where the data is written.

【0033】次に、本発明によるエミュレーションシス
テムの動作について説明する。
Next, the operation of the emulation system according to the present invention will be described.

【0034】まず、ホストコンピュータ10上のデバッ
ガ11が、ターゲットコンピュータ30のシステムメモ
リ31のメモリ領域に、ユーザプログラム8及びモニタ
プログラム7を格納する。
First, the debugger 11 on the host computer 10 stores the user program 8 and the monitor program 7 in the memory area of the system memory 31 of the target computer 30.

【0035】ユーザがホストコンピュータ10上のデバ
ッガ11に対して、ターゲットメモリであるアップロー
ド対象メモリ42に格納されている格納データのアップ
ロードを指示する。本実施例では、0x0000500
0番地〜0x00005fff番地までの領域の0x1
000バイトのメモリをアップロード対象メモリ42と
する。
The user instructs the debugger 11 on the host computer 10 to upload stored data stored in the upload target memory 42 which is the target memory. In this embodiment, 0x0000500
0x1 in the area from address 0 to address 0x00005ffff
The memory of 000 bytes is defined as the upload target memory 42.

【0036】この場合、デバッガ11はインサーキット
エミュレータ20内のトレースユニット21に、データ
トレース設定アドレス41を設定する。このアドレスに
は、通常のトレースデータとして利用されることのない
アドレスが指定される。本実施例では、0x00001
000番地のアドレスが設定される。
In this case, the debugger 11 sets the data trace setting address 41 in the trace unit 21 in the in-circuit emulator 20. As this address, an address that is not used as normal trace data is specified. In this embodiment, 0x00001
The address of address 000 is set.

【0037】その後、デバッガ11は、インサーキット
エミュレータ20を通してターゲットコンピュータ30
上のモニタプログラム43へ、格納データのアップロー
ド開始の指示を送る。モニタプログラム43がデータト
レース設定アドレス41にアップロード対象メモリ42
のデータを書込む。本実施例では、まず0x00005
000番地に格納されているデータを、データトレース
設定アドレス41に書き込む。
Thereafter, the debugger 11 executes the target computer 30 through the in-circuit emulator 20.
An instruction to start uploading stored data is sent to the monitor program 43 above. The monitor program 43 stores the upload target memory 42 in the data trace setting address 41.
Write the data. In this embodiment, first, 0x00005
The data stored at address 000 is written to the data trace setting address 41.

【0038】これにより、インサーキットエミュレータ
20内のトレースユニット21のデータトレース機能が
働き、トレースメモリ22にデータトレース設定アドレ
ス41とアップロード対象メモリ42のデータとを対と
したトレースデータがトレースされる。
As a result, the data trace function of the trace unit 21 in the in-circuit emulator 20 operates, and the trace data in which the data trace setting address 41 and the data in the upload target memory 42 are paired is traced in the trace memory 22.

【0039】このトレース動作を、アップロード対象メ
モリ42のサイズ分繰返すことで、アップロード対象メ
モリ42の全データがトレースメモリ22に書込まれ
る。本実施例では、0x1000バイト分のデータサイ
ズに対応して、トレース動作が反復される。
By repeating this tracing operation for the size of the upload target memory 42, all data in the upload target memory 42 is written to the trace memory 22. In this embodiment, the tracing operation is repeated corresponding to the data size of 0x1000 bytes.

【0040】最後に、ホストコンピュータ10上のデバ
ッガは、トレースメモリ22からデータトレース設定ア
ドレス41をキーとしてトレースデータの解析を行い、
アップロード対象メモリ42のメモリイメージを組立て
る。
Finally, the debugger on the host computer 10 analyzes the trace data from the trace memory 22 using the data trace setting address 41 as a key.
The memory image of the upload target memory 42 is assembled.

【0041】このように、本発明のエミュレーションシ
ステムの実施の形態では、アップロードの対象となるア
ップロード対象メモリ42やアップロードに関わる情報
を有するターゲットコンピュータ30に対し、ホストコ
ンピュータ10からアップロードの指示が出されると、
インサーキットエミュレータ20のデータトレース機能
を有するトレースユニット21によってアップロード対
象メモリ42のデータがトレースされるとともに、ホス
トコンピュータ10によってトレースされたデータの解
析が行われ、アップロード対象メモリ42のメモリイメ
ージが組立てられる。
As described above, in the embodiment of the emulation system of the present invention, the upload instruction is issued from the host computer 10 to the upload target memory 42 to be uploaded and the target computer 30 having the information related to the upload. When,
The data of the upload target memory 42 is traced by the trace unit 21 having the data trace function of the in-circuit emulator 20, and the traced data is analyzed by the host computer 10 to assemble the memory image of the upload target memory 42. .

【0042】よって、従来のエミュレーションシステム
において必要とされていたターゲット300のアップロ
ード対象データを、ROMエミュレータ200に取込む
ためのシリアル500を不要としても、アップロード対
象メモリ42のメモリイメージが組立てられるので、シ
ステムの冗長性を抑えることができる。
Therefore, the memory image of the upload target memory 42 can be assembled even if the serial 500 for loading the upload target data of the target 300 required in the conventional emulation system into the ROM emulator 200 is unnecessary. System redundancy can be suppressed.

【0043】[0043]

【発明の効果】本発明によるエミュレーションシステム
は、アップロードの対象となるアップロード対象メモリ
やアップロードに関わる情報を有するターゲットに対
し、ホストコンピュータからアップロードの指示が出さ
れると、インサーキットエミュレータのデータトレース
機能を有するトレースユニットによってアップロード対
象メモリのデータがトレースされるとともに、ホストコ
ンピュータによってトレースされたデータの解析が行わ
れ、アップロード対象メモリのメモリイメージが組立て
られるので、システムの冗長性を抑えることができる。
The emulation system according to the present invention uses the data trace function of the in-circuit emulator when an upload instruction is issued from a host computer to an upload target memory or a target having upload related information. The data of the upload target memory is traced by the tracing unit provided, and the traced data is analyzed by the host computer, and the memory image of the upload target memory is assembled, so that the redundancy of the system can be suppressed.

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

【図1】本発明のエミュレーションシステムの一実施の
形態を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of an emulation system of the present invention.

【図2】システムメモリのメモリマップである。FIG. 2 is a memory map of a system memory.

【図3】従来のエミュレーションシステムの一実施の形
態を示すブロック図である。
FIG. 3 is a block diagram showing one embodiment of a conventional emulation system.

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

10 ホストコンピュータ 11 デバッガ 20 インサーキットエミュレータ 21 トレースユニット 22 トレースメモリ 30 ターゲットコンピュータ 31 システムメモリ 41 データトレース設定アドレス 42 アップロード対象メモリ 43 モニタプログラム 44 ユーザプログラム 100 ホストコンピュータ 200 インサーキットエミュレータ 300 ターゲット 500 シリアル Reference Signs List 10 host computer 11 debugger 20 in-circuit emulator 21 trace unit 22 trace memory 30 target computer 31 system memory 41 data trace setting address 42 upload target memory 43 monitor program 44 user program 100 host computer 200 in-circuit emulator 300 target 500 serial

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ホストコンピュータと、ターゲットコン
ピュータと、エミュレータとからなり前記ターゲットコ
ンピュータは、 前記ホストコンピュータから、前記ターゲットコンピュ
ータに格納されている格納データのアップロード要求に
対して、前記格納データをモニタするモニタ部を有し、 前記エミュレータは、 前記モニタ中に前記モニタ部をトレースし、前記モニタ
された格納データを格納するトレースユニットを有し、 前記ホストコンピュータは、 前記トレースユニットに格納された前記格納データに基
づいて、アップロードデータを取得する、 エミュレーションシステム。
1. A target computer comprising a host computer, a target computer, and an emulator, wherein the target computer monitors the stored data in response to a request from the host computer to upload stored data stored in the target computer. A monitor unit, wherein the emulator has a trace unit that traces the monitor unit during the monitoring and stores the monitored storage data, and the host computer stores the storage unit stored in the trace unit. An emulation system that acquires upload data based on data.
【請求項2】 前記トレースユニットは、 前記モニタ中に前記モニタ部をトレースし、前記モニタ
部の格納アドレスと、前記格納アドレスに格納されてい
るデータの対からなる格納データを取得する、 請求項1に記載のエミュレーションシステム。
2. The tracing unit traces the monitor unit during the monitoring, and acquires storage data including a pair of a storage address of the monitor unit and data stored at the storage address. 2. The emulation system according to 1.
【請求項3】 前記モニタ部は、データトレース設定ア
ドレスを設定し、 前記格納データを前記データトレース設定アドレスに書
き込んでモニタし、 前記ホストコンピュータは、 前記トレースユニットから前記データトレース設定アド
レスをキーとして、アップロードデータを取得する、 請求項2に記載のエミュレーションシステム。
3. The monitor unit sets a data trace setting address, writes the stored data in the data trace setting address and monitors the data, and the host computer uses the data trace setting address from the trace unit as a key. The emulation system according to claim 2, wherein the upload data is acquired.
【請求項4】 ホストコンピュータと、ターゲットコン
ピュータと、トレースユニットを含むエミュレータとか
らなるエミュレーションシステムにおいて、 (a)前記ホストコンピュータから、前記ターゲットコ
ンピュータに格納されている格納データのアップロード
要求に対して、前記格納データをモニタするステップ
と、 (b)前記トレースユニットが前記モニタ中に前記モニ
タされた格納データをトレースして格納するステップ
と、 (c)前記ホストコンピュータが、前記トレースされた
前記格納データに基づいて、アップロードデータを取得
するステップからなる、 アップロードデータ取得方法。
4. An emulation system including a host computer, a target computer, and an emulator including a trace unit. (A) In response to a request from the host computer for uploading stored data stored in the target computer, Monitoring the stored data; (b) the trace unit tracing and storing the monitored stored data during the monitoring; and (c) the host computer controlling the traced stored data. A method for obtaining upload data, comprising the steps of obtaining upload data based on a.
【請求項5】 前記ステップ(b)は、 前記モニタ中に前記モニタ部をトレースし、前記モニタ
部の格納アドレスと、前記格納アドレスに格納されてい
るデータの対からなる格納データを取得するステップか
らなる、 請求項4に記載のアップロードデータ取得方法。
5. The step (b) comprises tracing the monitor section during the monitoring, and acquiring storage data comprising a pair of a storage address of the monitor section and data stored at the storage address. The upload data acquisition method according to claim 4, comprising:
【請求項6】 前記ステップ(a)は、 データトレース設定アドレスを設定するステップと、 前記格納データを前記データトレース設定アドレスに書
き込んでモニタするステップとからなり、 前記ステップ(c)は、前記トレースユニットから前記
データトレース設定アドレスをキーとして、アップロー
ドデータを取得するステップからなる、 請求項5に記載のアップロードデータ取得方法。
6. The step (a) includes a step of setting a data trace setting address, and a step of writing the stored data to the data trace setting address and monitoring the data. The step (c) includes: The upload data acquisition method according to claim 5, comprising a step of acquiring upload data from the unit using the data trace setting address as a key.
【請求項7】 ホストコンピュータと、ターゲットコン
ピュータと、トレースユニットを含むエミュレータとか
らなるエミュレーションシステムにおいて、 (a)前記ホストコンピュータから、前記ターゲットコ
ンピュータに格納されている格納データのアップロード
要求に対して、前記格納データをモニタするステップ
と、 (b)前記トレースユニットが前記モニタ中に前記モニ
タされた格納データをトレースして格納するステップ
と、 (c)前記トレースされた前記格納データに基づいて、
前記ホストコンピュータがアップロードデータを取得す
るステップからなる、 実行プログラムを格納した記録媒体。
7. An emulation system including a host computer, a target computer, and an emulator including a trace unit. (A) In response to a request from the host computer for uploading stored data stored in the target computer, Monitoring the stored data; (b) the trace unit tracing and storing the monitored stored data during the monitoring; and (c) based on the traced stored data.
A recording medium storing an execution program, comprising: a step in which the host computer acquires upload data.
【請求項8】 前記ステップ(b)は、 前記モニタ中に前記モニタ部をトレースし、前記モニタ
部の格納アドレスと、前記格納アドレスに格納されてい
るデータの対からなる格納データを取得するステップか
らなる、 実行プログラムを格納した請求項7に記載の記録媒体。
8. The step (b) comprises tracing the monitor section during the monitoring, and acquiring storage data comprising a pair of a storage address of the monitor section and data stored at the storage address. The recording medium according to claim 7, wherein the recording medium comprises an execution program.
【請求項9】 前記ステップ(a)は、 データトレース設定アドレスを設定するステップと、 前記格納データを前記データトレース設定アドレスに書
き込んでモニタするステップとからなり、 前記ステップ(c)は、前記トレースユニットから前記
データトレース設定アドレスをキーとして、アップロー
ドデータを取得するステップからなる、 実行プログラムを格納した請求項8に記載の記録媒体。
9. The step (a) comprises a step of setting a data trace setting address, and a step of writing the stored data to the data trace setting address and monitoring the stored data, and the step (c) comprises: 9. The recording medium according to claim 8, further comprising a step of acquiring upload data from a unit using the data trace setting address as a key.
JP16857899A 1999-06-15 1999-06-15 Emulation system, upload data acquisition method, and recording medium recording the method Expired - Fee Related JP3251266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16857899A JP3251266B2 (en) 1999-06-15 1999-06-15 Emulation system, upload data acquisition method, and recording medium recording the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16857899A JP3251266B2 (en) 1999-06-15 1999-06-15 Emulation system, upload data acquisition method, and recording medium recording the method

Publications (2)

Publication Number Publication Date
JP2000357106A JP2000357106A (en) 2000-12-26
JP3251266B2 true JP3251266B2 (en) 2002-01-28

Family

ID=15870659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16857899A Expired - Fee Related JP3251266B2 (en) 1999-06-15 1999-06-15 Emulation system, upload data acquisition method, and recording medium recording the method

Country Status (1)

Country Link
JP (1) JP3251266B2 (en)

Also Published As

Publication number Publication date
JP2000357106A (en) 2000-12-26

Similar Documents

Publication Publication Date Title
US10089212B2 (en) Memory system, information processing system, and host device outputting debugging information through a host interface
US6145099A (en) Debugging system
US7685499B2 (en) XOR circuit, RAID device capable of recovering a plurality of failures and method thereof
JPH04302335A (en) Analyzing system for built-in type computer system
US20030191624A1 (en) Debug function built-in type microcomputer
KR101029074B1 (en) Apparatus and method for tracing descriptors in host controllers
JP3251266B2 (en) Emulation system, upload data acquisition method, and recording medium recording the method
JP2003263339A (en) Debug function-incorporated microcomputer
US10740002B1 (en) System status log
JP2002312416A (en) Logic verification device and method of memory control circuit
JP2578182B2 (en) Data processing device and data processing system
JP2005353020A (en) Simulation system for computer program
JP2008021396A (en) Controller and memory system
CN117406934B (en) Flash memory data access method, electric quantity calculation method, device and storage medium
TWI793774B (en) Method and apparatus and computer program product for debugging solid state disk devices
CN108681500B (en) System with transaction recording capability and transaction recording method
JP2001084161A (en) Data processor
JP4484417B2 (en) Debug system
JPH0713806A (en) Bus tracing device for microprocessor
JP2006031248A (en) Software evaluation system for generating log by hooking function call
JPH10312307A (en) Emulator for computer system
CN117421163A (en) Device detection method, system on chip, computer device and storage medium
JPH0326416B2 (en)
CN117194118A (en) Data access method and data access device for processing unit system
JPH07219808A (en) Emulator and its tracking method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011024

LAPS Cancellation because of no payment of annual fees