JPH0129637Y2 - - Google Patents

Info

Publication number
JPH0129637Y2
JPH0129637Y2 JP2828383U JP2828383U JPH0129637Y2 JP H0129637 Y2 JPH0129637 Y2 JP H0129637Y2 JP 2828383 U JP2828383 U JP 2828383U JP 2828383 U JP2828383 U JP 2828383U JP H0129637 Y2 JPH0129637 Y2 JP H0129637Y2
Authority
JP
Japan
Prior art keywords
status signal
microprocessor
pseudo
memory
target system
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
Application number
JP2828383U
Other languages
Japanese (ja)
Other versions
JPS59134840U (en
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 filed Critical
Priority to JP2828383U priority Critical patent/JPS59134840U/en
Publication of JPS59134840U publication Critical patent/JPS59134840U/en
Application granted granted Critical
Publication of JPH0129637Y2 publication Critical patent/JPH0129637Y2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Description

【考案の詳細な説明】 本考案は、マイクロプロセツサアナライザに関
するものであつて、詳しくは、マイクロプロセツ
サのステータス信号に従つてメモリ管理を行うよ
うに構成されたマイクロプロセツサを用いた応用
機器をターゲツトシステムとしてこのターゲツト
システムを必要に応じてマイクロプロセツサアナ
ライザのアクテイブプログラムに従つて動作させ
てターゲツトシステムのメモリをアクセスし、そ
のメモリの内容を読み出したり書き換える機能を
有するマイクロプロセツサアナライザに関するも
のである。
[Detailed Description of the Invention] The present invention relates to a microprocessor analyzer, and more specifically, to an application device using a microprocessor configured to perform memory management according to a status signal of the microprocessor. A microprocessor analyzer that has the function of accessing the memory of a target system by operating the target system as a target system according to the microprocessor analyzer's active program as necessary, and reading and rewriting the contents of that memory. It is.

ある種のマイクロプロセツサでは、マイクロプ
ロセツサのステータス信号によりメモリ管理が行
えるように構成されている。このようなメモリ管
理が行われるマイクロプロセツサを用いた応用機
器では、ステータス信号に従つて例えばプログラ
ムアクセス又はデータアクセスが選択的に設定さ
れ、同一のアドレスによりステータス信号の出力
に応じてメモリのプログラムコードエリア又はデ
ータエリアがアクセスされることになる。これに
より、実質的なメモリの拡張が行われている。
Some types of microprocessors are configured so that memory management can be performed using microprocessor status signals. In application equipment using a microprocessor that performs such memory management, for example, program access or data access is selectively set according to a status signal, and the memory is programmed using the same address according to the output of the status signal. The code area or data area will be accessed. This has resulted in substantial memory expansion.

一方、マイクロプロセツサアナライザの一種
に、ターゲツトシステムを構成するマイクロプロ
セツサ(以下ターゲツトプロセツサという)の動
作に影響を与えることなくそのターゲツトプロセ
ツサの動作の履歴をCRTに表示するパツシブト
レース機能と、ターゲツトプロセツサの動作に能
動的に介入してターゲツトプロセツサのバスをマ
イクロプロセツサアナライザに設けたアクテイブ
プログラム側に切り換え、アクテイブプログラム
を実行することによりターゲツトプロセツサの内
部レジスタやメモリの内容を読み出してCRTに
表示したするアクテイブ機能とを有するものがあ
る。
On the other hand, a type of microprocessor analyzer has a passive trace function that displays the operation history of the target processor on a CRT without affecting the operation of the microprocessor (hereinafter referred to as the target processor) that makes up the target system. Then, it actively intervenes in the operation of the target processor, switches the target processor bus to the active program provided in the microprocessor analyzer, and executes the active program to read the contents of the target processor's internal registers and memory. Some devices have an active function that reads out the data and displays it on the CRT.

ところで、従来のこのようなマイクロプロセツ
サアナライザでは、前述のようなステータス信号
に従つてメモリ管理を行うように構成されたター
ゲツトプロセツサに対するアクテイブ機能動作に
ついては全く考慮されておらず、アクテイブプロ
グラムによる読み出しや書き換え動作はデータエ
リアをアクセスできるのみで、プログラムコード
エリアをアクセスすることはできなかつた。
By the way, such conventional microprocessor analyzers do not take into account the active function operations of the target processor, which is configured to perform memory management according to the status signals mentioned above, and the Reading and rewriting operations could only access the data area, but not the program code area.

本考案は、このような欠点を解決したものであ
り、アクテイブ機能動作を行うマイクロプロセツ
サアナライザにおいて、擬似ステータス信号を発
生する擬似ステータス信号発生回路と、ターゲツ
トシステムのマイクロプロセツサから送出される
ステータス信号又は擬似ステータス信号発生回路
から送出される擬似ステータス信号をアクセスす
べきターゲツトシステムのメモリに選択的に加え
るステータス信号切換回路と、これら擬似ステー
タス信号発生回路及びステータス信号切換回路の
動作を制御するアクテイブステータス制御回路を
設けたものである。
The present invention solves these drawbacks, and includes a pseudo-status signal generation circuit that generates pseudo-status signals in a microprocessor analyzer that performs active function operations, and a pseudo-status signal generation circuit that generates pseudo-status signals from the microprocessor of the target system. a status signal switching circuit that selectively adds a pseudo status signal sent from the signal or pseudo status signal generating circuit to the memory of the target system to be accessed; and an active circuit that controls the operation of the pseudo status signal generating circuit and the status signal switching circuit. It is equipped with a status control circuit.

以下、図面を用いて詳細に説明する。 Hereinafter, it will be explained in detail using the drawings.

図面は、本考案の一実施例を示す要部のブロツ
ク図であつて、MPAは本考案に係るマイクロプ
ロセツサアナライザ、TSはターゲツトシステム、
B1〜B4はバスである。
The drawing is a block diagram of the main parts of an embodiment of the present invention, where MPA is a microprocessor analyzer according to the present invention, TS is a target system,
B1 to B4 are buses.

MPAにおいて、ACPUはプロセツサ、CRTは
表示器として用いるブラウン管、CRTCはCRT
コントローラ、KBDはキーボード、KIFはKBD
インタフエース、ROMはプログラムなどの固定
情報が格納されるリードオンリメモリ、RAMは
演算データなどの可変データが一時記憶されるラ
ンダムアクセスメモリ、BCTLはバス制御回路、
BDMYは双方向メモリ、AROMはアクテイブプ
ログラムが格納されるリードオンリメモリ、
ACTLはアクテイブステータス制御回路、DSG
は擬似ステータス信号発生回路、SSWはステー
タス信号切換回路、BMPXはバスマルチプレク
サである。TSにおいて、TCPUはプロセツサ、
PCAはプログラムコードエリア、DTAはデータ
エリアである。
In MPA, ACPU is a processor, CRT is a cathode ray tube used as a display, and CRTC is a CRT.
Controller, KBD is keyboard, KIF is KBD
interface, ROM is a read-only memory that stores fixed information such as programs, RAM is a random access memory that temporarily stores variable data such as calculation data, BCTL is a bus control circuit,
BDMY is bidirectional memory, AROM is read-only memory where active programs are stored,
ACTL is active status control circuit, DSG
is a pseudo status signal generation circuit, SSW is a status signal switching circuit, and BMPX is a bus multiplexer. In TS, TCPU is a processor,
PCA is the program code area and DTA is the data area.

このような構成において、バスB1はプロセツ
サTCPUとバスマルチプレクサBMPXとを接続
し、バスB2はバスマルチプレクサBMPXとプ
ログラムコードエリアPCA及びデータエリアDT
とを接続し、バスB3はバスマルチプレクサ
BMPXとバス制御回路BCTL.アクテイブステー
タス制御回路ACTL.双方向メモリBDMY及びリ
ードオンリメモリAROMとを接続し、バスB4
はプロセツサACPUとバス制御回路BCTL.双方
向メモリBDMY.CRTコントローラCRTC.KBD
インタフエースKIF.リードオンリメモリROM及
びランダムアクセスメモリRAMとを接続してい
る。なお、バス制御回路BCTLからはバスマルチ
プレクサBMPXに制御信号Sc1が送出され、アク
テイブステータス制御回路ACTLからは擬似ステ
ータス信号発生回路DSG及びステータス信号切
換回路SSWに制御信号Sc2が送出され、擬似ステ
ータス信号発生回路DSGからはステータス信号
切換回路SSWに擬似ステータス信号Sdsが送出さ
れている。また、ターゲツトシステムTSのプロ
セツサTCPUからはステータス信号切換回路
SSTW.双方向メモリBDMY及びリードオンリメ
モリAROMにステータス信号Ssが送出され、ス
テータス信号切換回路SSWからはプログラムコ
ードエリアPCA及びデータエリアDTAに擬似ス
テータス信号Sds又はステータス信号Ssが送出さ
れる。
In such a configuration, bus B1 connects processor TCPU and bus multiplexer BMPX, and bus B2 connects bus multiplexer BMPX, program code area PCA, and data area DT.
and bus B3 is a bus multiplexer.
Connect BMPX and bus control circuit BCTL, active status control circuit ACTL, bidirectional memory BDMY and read-only memory AROM, and connect bus B4
Processor ACPU and bus control circuit BCTL.Bidirectional memory BDMY.CRT controller CRTC.KBD
Interface KIF. Connects read-only memory ROM and random access memory RAM. Note that the bus control circuit BCTL sends a control signal Sc 1 to the bus multiplexer BMPX, and the active status control circuit ACTL sends a control signal Sc 2 to the pseudo status signal generation circuit DSG and the status signal switching circuit SSW. A pseudo status signal Sds is sent from the signal generation circuit DSG to the status signal switching circuit SSW. In addition, a status signal switching circuit is sent from the processor TCPU of the target system TS.
SSTW.A status signal Ss is sent to the bidirectional memory BDMY and read-only memory AROM, and a pseudo status signal Sds or status signal Ss is sent from the status signal switching circuit SSW to the program code area PCA and data area DTA.

このように構成された装置の動作について説明
する。
The operation of the device configured in this way will be explained.

オペレータは、キーボードKBDを操作して、
マイクロプロセツサアナライザMPAにターゲツ
トシステムTSのメモリエリアの内からアクセス
したいエリア(本実施例ではプログラムコードエ
リアPCA又はデータエリアDTA)を指定入力す
る。マイクロプロセツサアナライザMPAのプロ
セツサACPUは、この指定入力に従つてバス制御
回路BCTL及びアクテイブステータス制御回路
ACTLに条件設定を行う。例えばプログラムコー
ドエリアPCAをアクセスするものとすると、擬
似ステータス信号発生回路DSGは“0”レベル
の擬似ステータス信号Sdをステータス信号切換
回路SSWに送出する。そして、ステータス信号
切換回路SSWは、この“0”レベルの擬似ステ
ータス信号Sdを各部に送出する。これにより、
ターゲツトシステムTSのプロセツサTCPUのス
テータス信号Ssとは無関係にリードオンリメモ
リAROMに格納されたアクテイブプログラムに
従つてプログラムコードエリアPCAがアクセス
されることになる。なお、バス制御回路BCTL
は、これら一連の動作に同期してバスB1をB2
又はB3と接続するように制御信号Sc1をバスマ
ルチプレクサBMPXに送出する。ここで、双方
向メモリBDMYは、ターゲツトシステムTSとマ
イクロプロセツサアナライザMPMとの間でデー
タ伝送を行うためのメールボツクスとして用いら
れるものである。
The operator operates the keyboard KBD to
The area to be accessed (in this embodiment, the program code area PCA or the data area DTA) is specified and input into the microprocessor analyzer MPA from within the memory area of the target system TS. The processor ACPU of the microprocessor analyzer MPA controls the bus control circuit BCTL and active status control circuit according to this specified input.
Set conditions for ACTL. For example, when the program code area PCA is accessed, the pseudo status signal generating circuit DSG sends a pseudo status signal Sd of "0" level to the status signal switching circuit SSW. Then, the status signal switching circuit SSW sends out this "0" level pseudo status signal Sd to each part. This results in
The program code area PCA will be accessed according to the active program stored in the read-only memory AROM, regardless of the status signal Ss of the processor TCPU of the target system TS. In addition, the bus control circuit BCTL
synchronizes with these series of operations, connects bus B1 to B2.
Alternatively, the control signal Sc 1 is sent to the bus multiplexer BMPX so as to be connected to the bus multiplexer BMPX. Here, the bidirectional memory BDMY is used as a mailbox for data transmission between the target system TS and the microprocessor analyzer MPM.

このような構成によれば、ステータス信号によ
りメモリ管理を行うように構成されたマイクロプ
ロセツサを用いたターゲツトシステムに対して、
アクテイブ機能動作を行わせて所望のメモリエリ
アをアクセスすることができる。
According to this configuration, for a target system using a microprocessor configured to perform memory management using status signals,
A desired memory area can be accessed by performing an active function operation.

なお、上記実施例では、ステータスとしてデー
タとプログラムの2種類のみを区別する例を示し
たが、3種類以上を区別する場合であつても同様
に構成できることはいうまでもない。
In the above embodiment, an example was shown in which only two types of status, data and programs, are distinguished, but it goes without saying that the same configuration can be made even when three or more types are distinguished.

以上説明したように、本考案によれば、ステー
タス信号によりメモリ管理を行うように構成され
たマイクロプロセツサを用いたターゲツトシステ
ムのデバツグに有効なマイクロプロセツサアナラ
イザが実現でき、実用上の効果は大きい。
As explained above, according to the present invention, it is possible to realize a microprocessor analyzer that is effective for debugging a target system using a microprocessor configured to perform memory management using status signals, and has practical effects. big.

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

図面は本考案の一実施例を示す要部のブロツク
図である。 MPA……マイクロプロセツサアナライザ、TS
……ターゲツトシステム、B1〜B4……バス、
ACPU……プロセツサ、CRT……ブラウン管、
CRTC……CRTコントローラ、KBD……キーボ
ード、KIF……KBDインタフエース、ROM……
リードオンリメモリ、RAM……ランダムアクセ
スメモリ、BCTL……バス制御回路、BDMY…
…双方向メモリ、AROM……リードオンリメモ
リ、ACTL……アクテイブステータス制御回路、
DSG……擬似ステータス信号発生回路、SSW…
…ステータス信号切換回路、BMPX……バスマ
ルチプレクサ、TCPU……プロセツサ、PCA…
…プログラムコードエリア、DTA……データエ
リア。
The drawing is a block diagram of essential parts showing an embodiment of the present invention. MPA……Microprocessor analyzer, TS
...Target system, B1-B4...Bus,
ACPU...processor, CRT...branch tube,
CRTC...CRT controller, KBD...keyboard, KIF...KBD interface, ROM...
Read-only memory, RAM...random access memory, BCTL...bus control circuit, BDMY...
…bidirectional memory, AROM…read-only memory, ACTL…active status control circuit,
DSG...Pseudo status signal generation circuit, SSW...
…Status signal switching circuit, BMPX…Bus multiplexer, TCPU…Processor, PCA…
...Program code area, DTA...data area.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] マイクロプロセツサのステータス信号に従つて
メモリ管理を行うように構成されたマイクロプロ
セツサを用いた応用機器をターゲツトシステムと
してこのターゲツトシステムを必要に応じてマイ
クロプロセツサアナライザのアクテイブプログラ
ムに従つて動作させてターゲツトシステムのメモ
リをアクセスしてその内容を読み出したり書き換
える機能を有するマイクロプロセツサアナライザ
であつて、擬似ステータス信号を発生する擬似ス
テータス信号発生回路と、ターゲツトシステムの
マイクロプロセツサから送出されるステータス信
号又は擬似ステータス信号発生回路から送出され
る擬似ステータス信号をアクセスすべきターゲツ
トシステムのメモリに選択的に加えるステータス
信号切換回路と、これら擬似ステータス信号発生
回路及びステータス信号切換回路の動作を制御す
るアクテイブステータス制御回路とで構成された
マイクロプロセツサアナライザ。
The target system is an application device using a microprocessor configured to perform memory management according to the status signal of the microprocessor, and this target system is operated according to the active program of the microprocessor analyzer as necessary. A microprocessor analyzer that has the function of accessing the target system's memory and reading or rewriting its contents, which includes a pseudo status signal generation circuit that generates a pseudo status signal and a pseudo status signal that is sent from the target system's microprocessor. A status signal switching circuit that selectively adds a pseudo status signal sent from the status signal or pseudo status signal generating circuit to the memory of the target system to be accessed, and controls the operation of the pseudo status signal generating circuit and the status signal switching circuit. A microprocessor analyzer consisting of an active status control circuit.
JP2828383U 1983-02-28 1983-02-28 microprocessor analyzer Granted JPS59134840U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2828383U JPS59134840U (en) 1983-02-28 1983-02-28 microprocessor analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2828383U JPS59134840U (en) 1983-02-28 1983-02-28 microprocessor analyzer

Publications (2)

Publication Number Publication Date
JPS59134840U JPS59134840U (en) 1984-09-08
JPH0129637Y2 true JPH0129637Y2 (en) 1989-09-08

Family

ID=30159164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2828383U Granted JPS59134840U (en) 1983-02-28 1983-02-28 microprocessor analyzer

Country Status (1)

Country Link
JP (1) JPS59134840U (en)

Also Published As

Publication number Publication date
JPS59134840U (en) 1984-09-08

Similar Documents

Publication Publication Date Title
JPH08202563A (en) Computer system
EP0638864B1 (en) Development support system for microcomputer with internal cache
JPH0129637Y2 (en)
JPS59202547A (en) Debugging device
JP3001205B2 (en) Information processing device
JPS59202546A (en) Debugging device
KR920010412B1 (en) Hardware installing testing program
JPH0229455Y2 (en)
JPS61859A (en) Clinical inspection data processor
JPS6230107Y2 (en)
JPH11134224A (en) Signal observing method/device
JPS6367647A (en) Application equipment for microprocessor
EP0848328A1 (en) Method, apparatus and program storage device for operating nonstandard peripheral device
JPS61163445A (en) Computer development support system
JPS62173543A (en) Emulator
JPH0827740B2 (en) Data processing device
JPH0573358A (en) Coverage system and emulator
JPH05241893A (en) Information collecting method in execution state of processor
JPH04273336A (en) Executing method for foreground monitor program
JP2000215042A (en) In-operation update system for control program
JPH0179142U (en)
JPH0713815B2 (en) Bus converter
JPH01173143A (en) Memory management unit
JPH0196042U (en)
JPH01130235A (en) Microcomputer development supporting equipment