JPH0423053A - Bus monitoring device for microcomputer - Google Patents

Bus monitoring device for microcomputer

Info

Publication number
JPH0423053A
JPH0423053A JP2129800A JP12980090A JPH0423053A JP H0423053 A JPH0423053 A JP H0423053A JP 2129800 A JP2129800 A JP 2129800A JP 12980090 A JP12980090 A JP 12980090A JP H0423053 A JPH0423053 A JP H0423053A
Authority
JP
Japan
Prior art keywords
data
address
bus
microcomputer
signal
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
JP2129800A
Other languages
Japanese (ja)
Inventor
Hirotsugu Tanaka
田中 洋継
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.)
KYOEI KK
Original Assignee
KYOEI KK
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 KYOEI KK filed Critical KYOEI KK
Priority to JP2129800A priority Critical patent/JPH0423053A/en
Publication of JPH0423053A publication Critical patent/JPH0423053A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To record the flow of data in a microcomputer in a long period of time by converting the digital data on a data bus into the analog data with use of an address coincidence signal. CONSTITUTION:A bus monitoring device 13 compares an address set on an address bus with an address set by an address setting circuit 17 through a coincidence circuit 18 and then outputs a signal of a high level when the coincidence is obtained between both addresses. This coincidence signal sets up a gate 19C with a system clock signal E clock signal, and an address valid signal VMA signal received from a control bus and then outputs a chip selection signal of a low level to a D/A converter 23. Thus the data on the data bus are latched by a latch circuit 20 from a processor MPU, decoded and displayed. Meanwhile the digital data on the data bus are converted into the analog data by the converter 23 and outputted to a recorder to be recorded there. These operations are continuously carried out so that the change of the data received from a sensor can be recorded in real time, over a long period of time.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、マイクロコンピュータ内のデータをモニタす
るマイクロコンピュータ用バスモニタ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus monitor device for a microcomputer that monitors data within a microcomputer.

「従来の技術] 一般に、マイクロコンピュータ応用機器の開発に当たっ
ては、ハードウェア及びソフ)・ウェアの両面から検討
を加え、仕様が決定するとハードウェア設計とソフトウ
ェア設計とを分担して実際の作業を遂行する。
"Conventional technology" Generally, when developing microcomputer-applied equipment, consideration is given to both the hardware and software aspects, and once the specifications are decided, the actual work is carried out by dividing the hardware design and software design. do.

そして、設計が完了して製品試作が行われると、まず、
動作テス)・を行ない不具合がないかを確認する。この
段階においては、インサーキットエミュレータ(ICE
)、ロジックアナライザなどを駆使してマイクロコンピ
ュータのソフトウェア及びハードウェア上のデバッグを
行なうわ(うであるが、通常、マイクロコンピュータは
、例えば、車載のエンジンコントロール、土木建設機器
、ロボット機器などの製品組込みの制御用として利用さ
れる場合が多く、このような製品においては、各種環境
における信頼性が特に重視される。
Once the design is completed and the product is prototyped, first,
Perform an operation test) to confirm that there are no defects. At this stage, an in-circuit emulator (ICE
), logic analyzers, etc. are used to debug the software and hardware of microcomputers. They are often used for built-in control, and reliability in various environments is particularly important for such products.

従って、最終的には、各種環境下での長期間に渡る総合
的な環境試験を経て信頼性を確認する必要がある。
Therefore, it is ultimately necessary to confirm reliability through comprehensive environmental tests over a long period of time under various environments.

[発明が解決しようとする課題] しかしながら、このような環境試験においては、マイク
ロコンピュータの動作解析のためのICEやロジックア
ナライザでは、機器の異常発見は困難な場合が多い。
[Problems to be Solved by the Invention] However, in such environmental tests, it is often difficult to detect abnormalities in equipment using an ICE or logic analyzer for analyzing the operation of a microcomputer.

すなわち、ICEやロジックアナライザは、ダイナミッ
クに変化するマイクロコンピュータ内のデータをメモリ
に記憶することによってデータをCRTなどに静的に表
示し、動作解析を支援するものであり、各種環境下にお
けるマイクロコンピュータの動作を長期間に渡ってモニ
タすることは困難である。
In other words, ICE and logic analyzers store dynamically changing data in microcomputers in memory and statically display the data on a CRT or other display to support operation analysis. It is difficult to monitor the operation of the system over a long period of time.

さらに、マイクロコンピュータ応用機器の開発において
は、ハードウェア設計に携わる技術者とソフトウェア設
計に携わる技術者とが互いに連携して開発を進めてゆく
が、各技術者が必ずしも各自の分担以外のハードウェア
あるいはソフトウェアの細部についてまで精通している
とはかぎらず、また、通常、その必要もない。
Furthermore, in the development of microcomputer-applied equipment, engineers involved in hardware design and engineers involved in software design work together to proceed with development, but each engineer does not necessarily work on hardware that is not part of his or her own responsibility. They are not necessarily, and usually do not need to be, familiar with the ins and outs of software.

従って、製品のソフトウェア及びハードウェア両面に渡
る総合環境試験においては、マイクロコンピュータ内の
デジタルデータのみを短期間モニタしても、ハードウェ
ア技術者あるいはソフI・ウェア技術者にとって、不具
合が発生した場合の真の原因がソフI・ウェアあるいは
ハードウェアのいずれの側にあるのか判然とせず、動作
解析を困難なものとする一因となっていた。
Therefore, in a comprehensive environmental test that covers both the software and hardware of a product, even if only the digital data in the microcomputer is monitored for a short period of time, it will be difficult for hardware engineers or software I/ware engineers to detect problems. It is not clear whether the true cause lies in the software I/ware or the hardware, which is one of the reasons why it is difficult to analyze the behavior.

[発明の目的コ 本発明は、上記事情に鑑みてなされたもので、マイクロ
コンピュータ内のデータの流れを長期間に渡って記録す
ることを可能とし、様々な環境下で動作解析を容易にし
てマイクロコンピュータ応用機器の開発を支援するマイ
クロコンピュータ用バスモニタ装置を提供することを目
的としている。
[Purpose of the Invention] The present invention has been made in view of the above circumstances, and makes it possible to record the flow of data in a microcomputer over a long period of time, and facilitates operation analysis under various environments. The purpose of this invention is to provide a microcomputer bus monitor device that supports the development of microcomputer application equipment.

[課題を解決するための手段] 上記目的を達成するため本発明によるマイクロコンピュ
ータ用バスモニタ装置は、目標とするマイクロコンピュ
ータに対し、このマイクロコンピュータの所定のアドレ
スを設定するアドレス設定回路と、上記マイクロコンピ
ュータのアドレスバスに接続し2、このアドレスバス上
のアドレスと上記アドレス設定回路で設定したアドレス
とが一致しなとき、一致信号を出力する一致回路と、」
−記マイク[7コンピユータのデータバスに接続し、上
記一致回路からの一致信号に基づいて上記データバス」
二のデジタルデータをアナログデータに変換するデジタ
ル/アナログ変換回路とを備えたものである。
[Means for Solving the Problems] In order to achieve the above object, a bus monitor device for a microcomputer according to the present invention includes an address setting circuit for setting a predetermined address of a target microcomputer, and the above-mentioned bus monitor device for a microcomputer. a matching circuit connected to the address bus of the microcomputer 2, and outputting a matching signal when the address on the address bus does not match the address set by the address setting circuit;
-Microphone [7] Connected to the data bus of the computer, and based on the matching signal from the matching circuit, said data bus.
The digital/analog conversion circuit converts the second digital data into analog data.

[作 用] 上記構成によるマイクロコンピュータ用バスモニタ装置
では、まず、このマイクロコンピュータ用バスモニタ装
置を目標とするマイクロコンピュータに接続し、このマ
イクロコンピュータの所定のアドレスをアドレス設定回
路により設定する。
[Operation] In the microcomputer bus monitor device having the above configuration, first, this microcomputer bus monitor device is connected to a target microcomputer, and a predetermined address of this microcomputer is set by an address setting circuit.

すると、上記アドレス設定回路で設定したアドレスと上
記マイクロコンピュータのアドレスバス1−のアドレス
とが一致したとき、一致回路から一致信号が出力され、
この一致信号に基づいてデジタル/アナログ変換回路に
て上記マイクロコンピュータのデータバス」二のデジタ
ルデータがアナログデータに変換される。
Then, when the address set by the address setting circuit matches the address of the address bus 1- of the microcomputer, a match signal is output from the match circuit.
Based on this coincidence signal, the digital data on the microcomputer's data bus 2 is converted into analog data by a digital/analog conversion circuit.

[発明の実施例] 以下、図面を参照して本発明の詳細な説明する。[Embodiments of the invention] Hereinafter, the present invention will be described in detail with reference to the drawings.

図面は本発明の一実施例を示し、第1図はバスモニタ装
置の回路ブロック図、第2図は環境試験モニタ装置の構
成図である。
The drawings show an embodiment of the present invention; FIG. 1 is a circuit block diagram of a bus monitor device, and FIG. 2 is a configuration diagram of an environmental test monitor device.

(JM  成) 第2図において、符号1は制御装置であり、この制御装
置1はマイクロコンピュータ2を中心として構成され、
このマイクロコンピュータ2に入力処理回i?li3を
介してセンサ類4が接続され、さらに、出力処理回路5
を介してアクチュエータ類6が接続されている。
(JM Sei) In FIG. 2, reference numeral 1 is a control device, and this control device 1 is mainly configured with a microcomputer 2.
Input processing times i to this microcomputer 2? Sensors 4 are connected via li3, and output processing circuit 5
Actuators 6 are connected via.

上記マイクロコンピュータ1は、アドレスバス7a、デ
ータバス7b、及び、コン)〜ロールバス7cからなる
パスライン7により、マイクロプロセッサ(MPU)8
.リードオンリメモリ(ROM)9.ランダムアクセス
メモリ(RAM)10タイマ/カウンタ11.入出力(
Ilo)ボート12などの複数のチップが互いに接続さ
れて構成されたマルチチップマイクロコンピュータ、あ
るいは、各チップの機能が1つのLSI上に集積された
シングルチップマイクロコンピュータであり、上記I1
0ボート12の入力ボートに上記入力処理回路3を介し
て上記センサ類4が接続される一方、出力ボートに上記
出力処理回路5を介して上記アクチュエータ類6が接続
されている。
The microcomputer 1 is connected to a microprocessor (MPU) 8 by a path line 7 consisting of an address bus 7a, a data bus 7b, and a control bus 7c.
.. Read-only memory (ROM)9. Random Access Memory (RAM) 10 Timer/Counter 11. Input/output (
Ilo) A multi-chip microcomputer configured by interconnecting multiple chips such as the board 12, or a single-chip microcomputer in which the functions of each chip are integrated on one LSI, and the above I1
The sensors 4 are connected to the input boat of the zero boat 12 via the input processing circuit 3, while the actuators 6 are connected to the output boat via the output processing circuit 5.

また、符号13はバスモニタ装置であり、このバスモニ
タ装置13は、上記マイクロコンピュータ2のタイプに
応じた接続コネクタ(以下、MPUボッドと称する)1
4を、例えばMPU8のチップに接続し、このMPUボ
ッド14から延出した外部バス15を介して上記マイク
ロコンピュータ2内部のアドレスバス7a、データバス
7b、及び、コントロールバス7Cに接続する尚、上記
バスモニタ装置13は、上記マイクロコンピュータ2が
基板端部にバス7を解放している場合には、カードエツ
ジコネクタなどにより接続しても良い。
Further, reference numeral 13 denotes a bus monitor device, and this bus monitor device 13 includes a connection connector (hereinafter referred to as an MPU board) 1 corresponding to the type of the microcomputer 2.
4 is connected to, for example, a chip of the MPU 8, and connected to the address bus 7a, data bus 7b, and control bus 7C inside the microcomputer 2 via an external bus 15 extending from the MPU board 14. The bus monitor device 13 may be connected by a card edge connector or the like when the microcomputer 2 has the bus 7 open at the end of the board.

さらに、このバスモニタ装置13の出力端には、例えば
マルチチャンネル記録計16などの記録計が接続され、
様々な環境下における制御装置1の動作状況をモニタす
る環境試験モニタ装置が構成される。
Furthermore, a recorder such as a multi-channel recorder 16 is connected to the output end of the bus monitor device 13,
An environmental test monitor device is configured to monitor the operating status of the control device 1 under various environments.

第1図に示すように、上記バスモニタ装置13は、アド
レス設定回路17、一致回路18、タイミング回&′8
19、ラッチ回路20、デコーダ21、表示器22、及
び、デジタル/アナログ変換回路(D/Aコンバータ)
23から構成されている。
As shown in FIG. 1, the bus monitor device 13 includes an address setting circuit 17, a matching circuit 18, a timing circuit &'8
19, latch circuit 20, decoder 21, display 22, and digital/analog conversion circuit (D/A converter)
It consists of 23.

上記アドレス設定回路17は、例えば8ピツ)・のマイ
クロコンピュータ2に対応して、デジタルスイッチなど
によりo o o o 1r〜F F F F Hの1
6進数によるアドレス設定を4〜12チヤンネル設定可
能なようになっている。
The address setting circuit 17 corresponds to the microcomputer 2 of, for example, 8 pins, and uses a digital switch etc.
It is possible to set addresses in hexadecimal numbers for 4 to 12 channels.

また、上記表示器22は、LEDセグメントなどから構
成され、上記アドレス設定回路17によるアドレス設定
に対応して、例えばデータを00I(〜FFHの16進
数で4〜12チャンネル分表示するようになっている。
The display device 22 is composed of LED segments and the like, and is adapted to display data for 4 to 12 channels in hexadecimal notation of 00I (~FFH) in response to the address setting by the address setting circuit 17. There is.

そして、上記マイクロコンピュータ2のアドレスバス7
aと上記アドレス設定回路17とが一致回路18に接続
され、この一致回路18の出力端と上記マイクロコンピ
ュータ2のコントロールバス7cとがタイミング回路1
9に接続される。さらに、上記マイクロコンピュータ2
のデータバス7bと上記タイミング回路19の出力端と
がラッチ回路20に接続され、このラッチ回路20にデ
コーダ21を介して表示器22が接続されている。
Then, the address bus 7 of the microcomputer 2
a and the address setting circuit 17 are connected to a coincidence circuit 18, and the output terminal of this coincidence circuit 18 and the control bus 7c of the microcomputer 2 are connected to the timing circuit 1.
Connected to 9. Furthermore, the microcomputer 2
The data bus 7b and the output end of the timing circuit 19 are connected to a latch circuit 20, and a display 22 is connected to the latch circuit 20 via a decoder 21.

上記タイミング回路19は、図においては、例えばマイ
クロコンピュータ2が米mモトローラ社製のマイクロプ
ロセッサMC6802あるいは同タイプのマイクロプロ
セッサにより構成されている場合の例を示し、上記一致
回路18の出力信号と、上記コントロールバス7cから
のシステムクロック信号(Eクロック信号)と、インバ
ータ18bによって反転されたり一ド/ライト信号(R
/W信号)とがアンドゲート19aに入力され、このア
ンドゲート19aの出力信号が上記ラッチ回FI?12
0に入力されるよう接続されている。
The above-mentioned timing circuit 19 is shown in the figure, for example, in the case where the microcomputer 2 is constituted by a microprocessor MC6802 manufactured by Motorola in the United States or a microprocessor of the same type, and the output signal of the above-mentioned coincidence circuit 18, The system clock signal (E clock signal) from the control bus 7c is inverted by the inverter 18b and the read/write signal (R
/W signal) is input to the AND gate 19a, and the output signal of this AND gate 19a is the latch circuit FI? 12
It is connected to be input to 0.

また、上記−数回i¥818の出力信号と、上記コント
ロールバス7cからのEクロック信号と、アドレス有効
信号(VMA信号)とがナントゲート1つ(:に入力さ
れ、このナンドゲ−1・1.9 cの出力信号がD/A
コンバータ23に入力される。
In addition, the output signal of the above-mentioned -several times i ¥818, the E clock signal from the control bus 7c, and the address valid signal (VMA signal) are input to one Nands gate (:), and this Nands gate -1. .9 The output signal of c is D/A
It is input to the converter 23.

上記D/Aコンバータ23は上記マイクロ:1ンピユー
タ2のデータバス7bに接続され、さらに、上記タイミ
ング回路1つのナンドゲ−1・19cがらの出力信号が
チップセレクト端子(C8端子)に入力されるとともに
、チップイネーブル端子(■端子)に上記コントロール
バス7cからのR/W信号が入力されるよう接続され、
例えば00H〜F F Hのデジタルデータがo、oo
v〜255Vのアナログ電圧に変換されて上記マルチチ
ャンネル記録計16に記録される。
The D/A converter 23 is connected to the data bus 7b of the micro:1 computer 2, and the output signal from the NAND game 1/19c of the timing circuit 1 is input to the chip select terminal (C8 terminal). , connected so that the R/W signal from the control bus 7c is input to the chip enable terminal (■ terminal),
For example, digital data from 00H to FFH is o, oo
The voltage is converted into an analog voltage of 255 V and recorded on the multi-channel recorder 16.

(作 用) 次に、上記構成による実施例の作用について説明する。(for production) Next, the operation of the embodiment with the above configuration will be explained.

まず、目標とするマイクロコンピュータ2のタイプに応
じてMPUボッド14を選択し、このMl” Uボッド
14を介してバスモニタ装′If、13を上記マイクロ
コンピュータ2に接続し、次いで、上記マイクロコンピ
ュータ2のメモリ空間における所定のアドレスをアドレ
ス設定回路17のデジタルスイッチなどにより設定する
First, select the MPU board 14 according to the type of the target microcomputer 2, connect the bus monitor device 'If, 13 to the microcomputer 2 via this Ml''U board 14, and then connect the MPU board 14 to the microcomputer 2. A predetermined address in the memory space No. 2 is set by a digital switch of the address setting circuit 17 or the like.

ここで、上記マイクロコンピュータ2の動作をモニタす
る場合、例えば、上記マイクロコンピュータ2が、セン
サ類4からのデータをRAMl0の800 OL1番地
にストアし、この80008番地のデータD A TA
 800011が所定の第1の条件を満足しなとき80
八〇 H番地に割付けなタイマ/カウンタ】1のカウン
タの内容をインクリメントする一方、第2の条件を満足
したとき上記カウンタの内容をデクリメントし、そして
、上記データD A T A 800011が第1.第
2のいずれの条件も満足しないとき上記カウンタの内容
を保持するといった動作をモニタする場合、上記アドレ
ス設定回路17のチャンネルCH1を8000 Hにア
ドレス設定し、チャンネルCH2を80AOHにアドレ
ス設定する。
Here, when monitoring the operation of the microcomputer 2, for example, the microcomputer 2 stores data from the sensors 4 at address 800OL1 of RAM10, and stores the data at address 80008 DATA.
80 when 800011 does not satisfy the predetermined first condition
80 Timer/Counter assigned to address H] The contents of the counter 1 are incremented, and when the second condition is satisfied, the contents of the counter are decremented, and the data D A T A 800011 is assigned to the first. When monitoring the operation of holding the contents of the counter when neither of the second conditions is satisfied, the address of channel CH1 of the address setting circuit 17 is set to 8000H, and the address of channel CH2 is set to 80AOH.

そして、マイクロコンピュータ2において、MP tJ
 8がI10ボート12を介して取込んだセンサ類4の
データをRAM10にストアするため、Eクロック信号
の立ち下がりに同期してアドレスバス7a上に8000
Hのアドレスを出力するとともに、コントロールバス7
C上のR/W信号をローレベルとし、また、VMA信号
をハイレベルとすると、これらの信号が上記バスモニタ
装r113に入力される。
Then, in the microcomputer 2, MP tJ
In order to store the data of the sensors 4 taken in by 8 via the I10 port 12 into the RAM 10, the 8000 data is sent on the address bus 7a in synchronization with the falling edge of the E clock signal.
In addition to outputting the address of H, the control bus 7
When the R/W signal on C is set to low level and the VMA signal is set to high level, these signals are input to the bus monitor device r113.

上記バスモニタ装置13では、上記アドレスバス7a上
のアドレスと上記アドレス設定回路17で設定したアド
レスとを一致回路18にて比較し、これらのアドレスが
一致するとハイレベルの一致信号を出力する。
In the bus monitor device 13, the address on the address bus 7a and the address set by the address setting circuit 17 are compared in a match circuit 18, and when these addresses match, a high level match signal is output.

上記一致回路18からの一致信号はタイミング回路1つ
に入力され、このタイミングIT!7i19では、Eク
ロック信号がハイレベルに反転したとき、上記一致信号
、Eクロック信号、及び、インバータ191〕によって
反転されたR 、/ W信号に対しアンド条件が成立し
、アントゲ−1−19aからラッチ回路20にハイレベ
ルのアクティブ信号を出力する。
The coincidence signal from the coincidence circuit 18 is input to one timing circuit, and this timing IT! In 7i19, when the E clock signal is inverted to high level, an AND condition is established for the R and /W signals inverted by the above match signal, the E clock signal, and the inverter 191], and the A high level active signal is output to the latch circuit 20.

同時に、上記一致回路]8がらの−・致信号、コントロ
ールバス7cからのEクロック信号及びVMA信号によ
ってナンドゲ−1−1,9cのアクティブ条件が成立し
、」上記R/ W (、g号によってアクティブ状態と
なったD/Aコンバータ23にローレベルのデツプセレ
クト信号を出力する。
At the same time, the active condition of the NAND games 1-1 and 9c is established by the match signal from the matching circuit 8, the E clock signal from the control bus 7c, and the VMA signal, and the above R/W (by the g. A low level depth select signal is output to the D/A converter 23 which has become active.

これにより、上記MPL18からデータバス7b−1−
に所定の遅延時間をもって出力されたデータDA T 
A 800011がラッチ回路20に固定されてデコー
ダ21により16進文字に変換され、表示器22のチャ
ンネルCHIに表示されるとともに、上記D/Aコンバ
ータ23内部でラッチされ、アナログ電圧に変換されて
マルチチャンネル記録iL 16に出力され、このマル
チチャンネル記録計16のチャンネルCH1に記録され
る。
As a result, from the MPL 18 to the data bus 7b-1-
Data DA T output with a predetermined delay time
A 800011 is fixed in the latch circuit 20, converted into hexadecimal characters by the decoder 21, and displayed on the channel CHI of the display 22. It is also latched inside the D/A converter 23, converted to an analog voltage, and then sent to the multiplayer. The signal is output to channel recording iL 16 and recorded on channel CH1 of this multi-channel recorder 16.

その後、上記MPU8にて上記RAM10の80001
1番地にストアしたデータD A T A 8000+
1が所定の条件を満足するか否かを判別し、その判別結
果に応じて上記タイマ/カウンタj1のカウンタの内容
を更新するためライト動作を行なうと、上記アドレスバ
ス7aJ二のアドレスと上記アドレス設定回路17のチ
ャンネルCH2の設定アドレス(80ΔO1])とが一
致したとき上記一致回路18から一致信号が出力され、
同様にして、データバス7b上のデータが表示器22の
チャンネルCI 2に表示されるとともに、マルチチャ
ンネル記録計16のチャンネルC112にアナログ電圧
として記録される。
After that, the MPU 8 reads 80001 of the RAM 10.
Data stored at address 1 DATA 8000+
1 satisfies a predetermined condition and performs a write operation to update the contents of the counter of the timer/counter j1 according to the determination result, the address of the address bus 7aJ2 and the address When the set address (80ΔO1] of channel CH2 of the setting circuit 17 matches, a match signal is output from the matching circuit 18,
Similarly, data on the data bus 7b is displayed on channel CI 2 of the display 22 and recorded as an analog voltage on channel C 112 of the multi-channel recorder 16.

この動作が連続して行われ、上記バスモニタ装置13に
より、マイクロコンピュータ2におけるセンサ類4から
のデータの変化と、このデータの変化に応じてタイマ/
カウンタ11のカウンタ内容がインリメントあるいはデ
クリメントされる様子をリアルタイムに、しかも、長期
間に渡って記録することができ、制御袋M1をあらゆる
環境下で長期間試験することができる。
This operation is performed continuously, and the bus monitor device 13 detects the change in data from the sensors 4 in the microcomputer 2 and the timer/timer according to the change in data.
The manner in which the counter contents of the counter 11 are incremented or decremented can be recorded in real time and over a long period of time, and the control bag M1 can be tested for a long period of time under any environment.

すなわち、制御装置1の実際の動作を長期間に渡ってリ
アルタイムにアナログデータとしてモニタすることによ
り、例えば、センサ類4が長期間のテスト中に劣化し、
タイマ/カウンタ11のカウンタの内容が予測に反して
変化した場合においても、その時刻と状況とを適確に把
握することができ、直ちに上記センサ類4の異常と判別
することができる。また、上記センサ類4の出力が正常
であるにもかかわらず、上記カウンタの内容が予測に反
して変化した場合には、ソフトウェア上の条件チエツク
ルーチンに問題があると推定できる。
That is, by monitoring the actual operation of the control device 1 as analog data in real time over a long period of time, for example, the sensors 4 may deteriorate during a long period of testing.
Even if the contents of the counter of the timer/counter 11 change unexpectedly, the time and situation can be accurately grasped, and an abnormality in the sensors 4 can be immediately determined. Furthermore, if the contents of the counter change unexpectedly even though the outputs of the sensors 4 are normal, it can be assumed that there is a problem with the condition check routine on the software.

これにより、ソフトウェアに精通していないハードウェ
ア技術者にとってもソフトウェア上のバグを発見するこ
とが可能となるばかりでなく、ハードウェアに精通して
いないソフトウェア技術者にとってもハードウェア上の
異常を発見することが可能となり、総合的なソフトウェ
ア及びハードウェアのデバッグを確実に行なうことでき
、マイクロコンピュータ応用機器の開発効率を大幅に向
上することができるのである。
This not only makes it possible for hardware engineers who are not familiar with software to discover software bugs, but also enables software engineers who are not familiar with hardware to discover hardware abnormalities. This makes it possible to perform comprehensive software and hardware debugging reliably, and greatly improve the efficiency of developing microcomputer-applied equipment.

[発明の効果] 以上説明したように本発明によれば、目標とするマイク
ロコンピュータに対し、所定のアドレスをアドレス設定
回路により設定すると、このアドレス設定回路で設定し
たアドレスと上記マイクロコンピュータのアドレスバス
上のアドレスとが一致したとき、一致回路から一致信号
が出力され、この一致信号に基づいてデジタル/アナロ
グ変換回路によりデータバス上のデジタルデータがアナ
ログデータに変換される。
[Effects of the Invention] As explained above, according to the present invention, when a predetermined address is set for a target microcomputer by the address setting circuit, the address set by the address setting circuit and the address bus of the microcomputer are When the above address matches, a match signal is output from the match circuit, and based on this match signal, the digital data on the data bus is converted into analog data by the digital/analog conversion circuit.

従って、上記デジタル/アナログ変換回路に記録計など
を接続することにより上記マイクロコンピュータのデー
タバス上のデータの流れを長期間に渡ってアナログデー
タとして記録することができ、様々な環境下での動作解
析を容易にしてマイクロコンピュータ応用機器の開発効
率を大幅に向上することができるなど優れた効果が奏さ
れる。
Therefore, by connecting a recorder or the like to the digital/analog conversion circuit, the data flow on the data bus of the microcomputer can be recorded as analog data over a long period of time, allowing operation under various environments. It has excellent effects such as making analysis easier and greatly improving the efficiency of developing microcomputer-applied equipment.

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

図面は本発明の一実施例を示し、第1図はバスモニタ装
置の回路ブロック図、第2図は環境試験モニタ装置の構
成図である。 2・・・マイクロコンピュータ 7a・・・アドレスバス 7b・・・データバス 17・・・アドレス設定回路 18・・・一致回路
The drawings show an embodiment of the present invention; FIG. 1 is a circuit block diagram of a bus monitor device, and FIG. 2 is a configuration diagram of an environmental test monitor device. 2... Microcomputer 7a... Address bus 7b... Data bus 17... Address setting circuit 18... Matching circuit

Claims (1)

【特許請求の範囲】 目標とするマイクロコンピュータに対し、このマイクロ
コンピュータの所定のアドレスを設定するアドレス設定
回路と、 上記マイクロコンピュータのアドレスバスに接続し、こ
のアドレスバス上のアドレスと上記アドレス設定回路で
設定したアドレスとが一致したとき、一致信号を出力す
る一致回路と、 上記マイクロコンピュータのデータバスに接続し、上記
一致回路からの一致信号に基づいて上記データバス上の
デジタルデータをアナログデータに変換するデジタル/
アナログ変換回路とを備えたことを特徴とするマイクロ
コンピュータ用バスモニタ装置。
[Claims] An address setting circuit for setting a predetermined address of a target microcomputer, and an address setting circuit connected to an address bus of the microcomputer, and an address on the address bus and the address setting circuit. A match circuit that outputs a match signal when the address set in matches, is connected to the data bus of the microcomputer, and the digital data on the data bus is converted to analog data based on the match signal from the match circuit. Digital to convert/
A bus monitor device for a microcomputer, characterized by comprising an analog conversion circuit.
JP2129800A 1990-05-17 1990-05-17 Bus monitoring device for microcomputer Pending JPH0423053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2129800A JPH0423053A (en) 1990-05-17 1990-05-17 Bus monitoring device for microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2129800A JPH0423053A (en) 1990-05-17 1990-05-17 Bus monitoring device for microcomputer

Publications (1)

Publication Number Publication Date
JPH0423053A true JPH0423053A (en) 1992-01-27

Family

ID=15018542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2129800A Pending JPH0423053A (en) 1990-05-17 1990-05-17 Bus monitoring device for microcomputer

Country Status (1)

Country Link
JP (1) JPH0423053A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007527597A (en) * 2003-06-30 2007-09-27 シンボル テクノロジーズ インコーポレイテッド Battery pack with communication port

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5136841A (en) * 1974-09-17 1976-03-27 Nippon Electric Co
JPS595366A (en) * 1982-07-01 1984-01-12 Hitachi Ltd Operating state monitoring device of microprocessor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5136841A (en) * 1974-09-17 1976-03-27 Nippon Electric Co
JPS595366A (en) * 1982-07-01 1984-01-12 Hitachi Ltd Operating state monitoring device of microprocessor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007527597A (en) * 2003-06-30 2007-09-27 シンボル テクノロジーズ インコーポレイテッド Battery pack with communication port
JP4910170B2 (en) * 2003-06-30 2012-04-04 シンボル テクノロジーズ, インコーポレイテッド Battery pack with communication port

Similar Documents

Publication Publication Date Title
US6842865B2 (en) Method and system for testing microprocessor based boards in a manufacturing environment
US6996747B2 (en) Program counter trace stack, access port, and serial scan path
JP3998303B2 (en) Integrated circuit having a TAP controller
US6055656A (en) Control register bus access through a standardized test access port
US5809037A (en) Integrated circuit testing
JP4211010B2 (en) Integrated circuit
CN115454751A (en) FPGA chip testing method and device and computer readable storage medium
EP0411904A2 (en) Processor condition sensing circuits, systems and methods
JPS5853774B2 (en) information processing equipment
US7360117B1 (en) In-circuit emulation debugger and method of operation thereof
US5940783A (en) Microprocessor and method of testing the same
Winters Using IEEE-1149.1 for in-circuit emulation
JPH0423053A (en) Bus monitoring device for microcomputer
JPS5868165A (en) Additional function unit in microprocessor and operation thereof
JP2001142733A (en) Internal signal observation device
Maunder A universal framework for managed built-in test
KR200221586Y1 (en) Electronic equipment checking device
JPH02103482A (en) Integrated circuit device
KR0156061B1 (en) Test apparatus of micro-processor board
JPS648381B2 (en)
Goodyer Integration and testing of microprocessor based systems.
JPH0484228A (en) Debug device
JPH04155278A (en) Lsi tester
JPS62261970A (en) Diagnosis device
JPS5990126A (en) Input and output interface simulator