JPH01253048A - Output method for data for debugging from memory - Google Patents

Output method for data for debugging from memory

Info

Publication number
JPH01253048A
JPH01253048A JP63080064A JP8006488A JPH01253048A JP H01253048 A JPH01253048 A JP H01253048A JP 63080064 A JP63080064 A JP 63080064A JP 8006488 A JP8006488 A JP 8006488A JP H01253048 A JPH01253048 A JP H01253048A
Authority
JP
Japan
Prior art keywords
data
memory
control means
specified
arithmetic control
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
JP63080064A
Other languages
Japanese (ja)
Inventor
Koichi Yamamoto
幸一 山本
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.)
Hioki EE Corp
Original Assignee
Hioki EE 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 Hioki EE Corp filed Critical Hioki EE Corp
Priority to JP63080064A priority Critical patent/JPH01253048A/en
Publication of JPH01253048A publication Critical patent/JPH01253048A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To enable high-accuracy debugging operation by providing a memory which is stored previously with data consisting of block-specified address and data parts and a means which outputs transfer data read out of the memory through an arithmetic control means. CONSTITUTION:Through the arithmetic control means 1 such as a CPU mounted on equipment itself, a specific block number is specified for the memory 2 which is stored previously with block-specified data, e.g. data consisting of an address part and a data part. Then, data stored in a memory address specified with a specific block is read out of the memory address by a certain number of bytes through the arithmetic control means 1 and this data is transferred to an output means 3 and outputted. Consequently, real data under the influence of noises, etc., in operation is obtained for a real machine as a completely assembled product and the high-accuracy debugging operation is performed with efficiency.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、メモリからのデバッグ用データの出力方法
に係り、さらに詳しくは、メモリと、演算制御手段を介
して1i11記メモリから読み出されたデータの出力手
段とを搭載し、かつ、コンパクト化への要請の特に強い
計測器等の機器類におけるメモリからのデバッグ用デー
タの出力方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method for outputting debugging data from a memory, and more specifically, the present invention relates to a method for outputting debugging data from a memory. The present invention relates to a method for outputting debugging data from a memory in instruments such as measuring instruments, which are equipped with a means for outputting debugging data and are particularly required to be compact.

[従来の技術] シ!測器専の各種機器類に実装されているメモリにより
格納されているプログラム等の各種データについては5
出荷前にデバッグ作業を行なうことで i11能な限り
製品としての完成度を高めて堤供することができるよう
に処理されている。
[Conventional technology] Shi! Regarding various data such as programs stored in memory installed in various instruments dedicated to measuring instruments, see 5.
By performing debugging work before shipping, i11 is processed to ensure that it is as complete as possible as a product before it can be delivered.

この場合に行なわれるデバッグ作業については1通常、
外部装置であるエミュレータを介在させることで1j;
1記メ干りに対してコマンドを送出し、このコマンドに
より読み出されてきたデータをエミュレータの側のCI
)LJ等の演算制御手段が保有しているRAM等のメモ
リに取り込み、しかる後、このメモリの内容をエミュレ
ータにより逐次調べ、その良否を判別することで行なわ
れるものであった。
Regarding the debugging work performed in this case, 1.
1j by intervening an emulator which is an external device;
A command is sent in response to the first step, and the data read by this command is sent to the CI on the emulator side.
) The data is loaded into a memory such as a RAM owned by an arithmetic control means such as an LJ, and then the contents of this memory are sequentially checked by an emulator to determine whether the data is good or bad.

[発明の解決しようとする課題] ところで、エミュレータを介して行なわれる1記デバッ
グ作業は、結果的に絹かなトレースを行なうことができ
るという点で優れたものではある。
[Problems to be Solved by the Invention] By the way, the debugging work described in 1 above, which is performed via an emulator, is excellent in that it allows for smooth tracing as a result.

一方、計測器等の機器にCPU等の演算制御手段ともど
も実装されているメモリについては、これを筺体内に組
み込んだ後のノイズ等の影響をも勘案する必要があるこ
とから、完成品として組み十げた状態のもとで、メモリ
の内容であるデバ・Iり川のデータを出力させ、その内
容を調べることも行なわれている。
On the other hand, when it comes to memory that is installed together with arithmetic control means such as a CPU in equipment such as measuring instruments, it is necessary to take into account the effects of noise etc. after it is installed in the housing, so it is necessary to take into account the effects of noise etc. It has also been done to output the data of the memory, which is the contents of the memory, under the condition of depletion, and to examine the contents.

しかし、このような完成品状態にある機器に対しは、コ
ネクタの介在を必要とするエミュレータを接続してやる
ことができず、したがって、実装後のメモリの内容を調
べることは実質的に不可能な状態におかれ、結果的に精
度の高いデバッグ作業が困難になるという問題があった
However, it is not possible to connect an emulator that requires an intervening connector to such a finished device, and therefore it is virtually impossible to check the contents of the memory after it is installed. As a result, highly accurate debugging becomes difficult.

この発明は、デバッグ作業のためのデータを出力させる
際にみられた上記従来方法の課題に鑑みてなされたもの
であり、その【1的は、機器を完成品状態におき、その
際にメ干りからデータを出力させ、れ1度の高いデバッ
グ作業を行なうことができるメモリからのデバッグ用デ
ータの出力方法を提供することにある。。
This invention was made in view of the above-mentioned problems with the conventional method when outputting data for debugging work. To provide a method for outputting debugging data from a memory, which allows data to be outputted immediately and debugging work to be performed with high efficiency. .

[課題を解決するための手段] このよりな1」的を達成するため、この発明は、次のよ
うにして構成されている。。
[Means for Solving the Problems] In order to achieve this more specific objective, the present invention is configured as follows. .

すなわち、この発明は、ブロック指定されたアドレス部
とデータ部とからなるデータを予め格納してあるメモリ
と、演算制御手段を介することで1);1記メ干りから
読み出された転送データを出力する出力手段とを備え、
前記鷹干りに格納されているデータは、演算制御手段を
介して入力される(8号に従って前記メモリにおける特
定ブロックを指定し、この指定ブロックから読み出され
たデータの内容を前記出力手段を介し、制御コードと結
果データとを対応させることでデバッグ0工能に出力さ
せることにその構成上の特徴がある。
That is, the present invention provides transfer data read from 1); and an output means for outputting the
The data stored in the Takabori is inputted via the arithmetic control means (a specific block in the memory is designated according to No. 8, and the content of the data read from this designated block is input to the output means). The feature of the structure is that the control code and result data are outputted to the debug function by making them correspond to each other.

[実施例] 以ト1図面を参酌してこの発明の実施例を詳説する。[Example] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、この発明方法の実施に供される計測器等の機
器における要部構成の一例を示す機能ブロック図である
FIG. 1 is a functional block diagram showing an example of the main configuration of equipment such as a measuring instrument used to implement the method of the present invention.

すなわち、この発明の実施に供される前記機器には、C
I) tJ等の演算制御手段1を中心として、この演算
制御手段1により制御されている1< A M等からな
るメ干り2のほか、入力端子T。
That is, the equipment used for carrying out this invention includes C.
I) Centering on the arithmetic control means 1 such as tJ, in addition to the input terminal T, in addition to the input terminal 2, which is controlled by the arithmetic control means 1 such as 1<AM, etc.

及び測定部4を介して取り込まれたデータをディジタル
信号に変換するA/1〕変換手段6や、演算制御手段1
からの出力データをアナログ信号などに変換して出力す
る出力信号発生部7およびその出力端子T2.さらには
、プリンタやCRT 。
and A/1 which converts the data taken in through the measurement unit 4 into a digital signal] conversion means 6 and arithmetic control means 1
An output signal generator 7 converts output data from the converter into an analog signal and outputs the converted signal, and its output terminal T2. Furthermore, printers and CRTs.

7セグメントl E D等からなる出力手段3などが配
設されている。このうち、前記演算制御手段1は、RA
Mなどからなる前記メ干り2よりアドレスを山定してデ
ータを読み込み、逐次、プリンタなどからなる前記出力
手段3とに対し、データを転送し、出力させることが可
能になっている第2図は、このような構成からなる機器
に対しこの発明方法を適用する場合の処理手順を示すフ
ローチャートである。
An output means 3 consisting of seven segments LED, etc. is provided. Of these, the arithmetic control means 1
A second device is capable of reading data by specifying an address from the main device 2, which is made of M, etc., and sequentially transfers the data to the output device 3, which is a printer or the like, and outputs the data. The figure is a flowchart showing the processing procedure when the method of the present invention is applied to a device having such a configuration.

すなわち、機器自体に搭載されているC P U等の演
算制御手段!を介することで、予めブロック指定された
所定のデータ、例えばアドレス部とデータ部とからなる
データが格納されているメ干り2に対し、まず、特定の
ブロック番号を指定する処理を行なう。この場合におけ
るブロック番号の具体的な指定方法は、キー入力等によ
り予め定められているプログラムに従った数値等を入力
することで1例えばアドレス指定をするなどして1うな
われる。
In other words, arithmetic control means such as a CPU installed in the device itself! First, a process is performed to designate a specific block number for the block 2 in which predetermined data designated as a block in advance, for example, data consisting of an address part and a data part, is stored. In this case, the specific method for specifying the block number is to input a numerical value according to a predetermined program by key input, etc., and specify the address.

このような処理ステップを経た後、当該指定ブロックに
より指定されたメモリ番地から、゛5該メモリ番地に格
納されているデータをあるバイト数だけ演算制御手段l
を介することで読み出し、このデータを出力手段3に転
送して出力する6、この場合に得られる具体的な出力デ
ータについては。
After passing through such processing steps, from the memory address specified by the specified block, the arithmetic control means 5 calculates a certain number of bytes of data stored in the memory address.
6, the data is read out via the output means 3 and outputted by transferring it to the output means 3.The specific output data obtained in this case is as follows.

例えば、指定ブロックのアドレス番地のほか、当該アド
レス番地に保持されているデータ、例えば制御コードと
結果データなどからなるデータについての!6進数とこ
れに対応させたASCII記りを−r・め決められてい
るバイト数の分だけプリンタにより印字させるなどして
出力させたものなどが好適である。
For example, in addition to the address of a designated block, the data held at that address, for example, data consisting of a control code and result data! It is preferable to output a hexadecimal number and an ASCII notation corresponding thereto by printing a predetermined number of bytes using a printer.

この発明方法は、このような処理手順を経ることでメモ
リからデバッグ用のデータ、例えば制御コードと結果デ
ータなどからなるデータを出力させることができる1、
このため、制御コードと結果データなどからなるデータ
を検証することで1例えば、出力手段3から誤りである
ことを意味するrNGJが出力された場合について、そ
の理由か何故なのかを知るための手掛かりとし、あるい
は、実際は回路が閉成されているのに開成状態にあるデ
ータが出力されてきた場合にその原因を探るための手掛
かりとするなど、出力データに表示されている誤り情報
が何により起因するものかを、Fめ設定されているプロ
グラムとの関係で比較的容易に知ることができる。
The method of this invention is capable of outputting debugging data from the memory, for example, data consisting of a control code and result data, through such processing steps.
Therefore, by verifying the data consisting of the control code and result data, for example, if rNGJ, which means an error, is output from the output means 3, it is possible to find a clue as to why. Or, if data is output that shows the circuit is open when it is actually closed, this can be used as a clue to find out the cause of the error information displayed in the output data. It is relatively easy to find out which program is being used based on the relationship with the program that is set to F.

また、このようなデバッグ用のデータは、エミュレータ
などのような外部装置を介することなく出力させること
ができるので1組み−Lげられた完成品としての実機に
対し、稼動時のノイズ等による影響下にある実データと
して得ることができ、さらには、解析資料となるデータ
として機器が実際に設置されているユーザのもとでも容
易に出力させることができ、その迅速な対応を図ること
ができる。
In addition, since such debugging data can be output without going through an external device such as an emulator, the actual machine as a finished product can be easily affected by noise during operation. It can be obtained as the actual data below, and furthermore, it can be easily outputted as data for analysis by the user where the equipment is actually installed, allowing for quick response. .

E発明の効果] 以」−述べたようにこの発明方法によれば、c p u
等の演算制御手段により制御されているメモリと、出力
手段とを備える機器を筐体に絹み込むことにより完成品
とした実機の状態のもとでも、演算制御手段を介するこ
とで前記メモリからその内容をデータとして直ちに出力
させることができるので、当該機器の実際の設置現場等
、ノイズMの影響にさらされる実稼動状態のもとてデバ
ッグ用のデータを得ることができ、精度の高いデバッグ
作業を効率的に行なうことができる。
E Effects of the Invention] As stated above, according to the method of this invention, c p u
Even in the state of an actual machine, which is a finished product by incorporating a device equipped with a memory controlled by a calculation control means such as Since the contents can be immediately output as data, debugging data can be obtained under actual operating conditions exposed to the influence of noise M, such as at the actual installation site of the device, allowing for highly accurate debugging. Able to perform work efficiently.

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

第1図は、この発明方法の実施に供される機器構成の一
例を示す機能ブロック図、第2図は、この発明方法によ
る処理手順の一例を示すフローチャートである。 1・・・演算制御手段、 2・・・メモリ、:3・・・
出力手段、   4・・・測定部、〔5・・・Δ/D変
換手段、7・・・出力信号発生部。 ′I゛1・・・入力端子、  ′「2・・・出力端了第
 III
FIG. 1 is a functional block diagram showing an example of the equipment configuration used to carry out the method of the present invention, and FIG. 2 is a flowchart showing an example of the processing procedure according to the method of the present invention. 1... Arithmetic control means, 2... Memory, :3...
Output means, 4... Measuring section, [5... Δ/D conversion means, 7... Output signal generation section. 'I゛1...Input terminal, '2...Output terminal III

Claims (1)

【特許請求の範囲】[Claims] 1、ブロック指定されたアドレス部とデータ部とからな
るデータを予め格納してあるメモリと、演算制御手段を
介することで前記メモリから読み出された転送データを
出力する出力手段とを備え、前記メモリに格納されてい
るデータは、演算制御手段を介して入力される信号に従
って前記メモリにおける特定ブロックを指定し、この指
定ブロックから読み出されたデータの内容を前記出力手
段を介し、制御コードと結果データとを対応させること
でデバッグ可能に出力させることを特徴とするメモリか
らのデバッグ用データの出力方法。
1, comprising a memory in which data consisting of an address field and a data field designated by a block are stored in advance; and an output means for outputting transfer data read from the memory through an arithmetic control means; The data stored in the memory is specified by specifying a specific block in the memory according to a signal inputted through the arithmetic control means, and the content of the data read from the specified block is sent to the output means as a control code. A method for outputting debugging data from memory, characterized by outputting debugging data by associating it with result data.
JP63080064A 1988-03-31 1988-03-31 Output method for data for debugging from memory Pending JPH01253048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63080064A JPH01253048A (en) 1988-03-31 1988-03-31 Output method for data for debugging from memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63080064A JPH01253048A (en) 1988-03-31 1988-03-31 Output method for data for debugging from memory

Publications (1)

Publication Number Publication Date
JPH01253048A true JPH01253048A (en) 1989-10-09

Family

ID=13707801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63080064A Pending JPH01253048A (en) 1988-03-31 1988-03-31 Output method for data for debugging from memory

Country Status (1)

Country Link
JP (1) JPH01253048A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6142041A (en) * 1984-08-02 1986-02-28 Nec Corp Pos terminal
JPS62137627A (en) * 1985-12-11 1987-06-20 Nec Corp Memory dump system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6142041A (en) * 1984-08-02 1986-02-28 Nec Corp Pos terminal
JPS62137627A (en) * 1985-12-11 1987-06-20 Nec Corp Memory dump system

Similar Documents

Publication Publication Date Title
JP2546157B2 (en) Program test method
JPH01253048A (en) Output method for data for debugging from memory
US5053981A (en) Method of measuring electrical characteristics of electronic circuit
JPH02189476A (en) Measuring method for electronic circuit
JP2962239B2 (en) Semiconductor integrated circuit inspection apparatus and inspection method thereof
JP3097132B2 (en) Test program / test standard table converter
KR100250322B1 (en) An emulation display device for optical communication
JPS6365542A (en) Debugging system
JPH1185251A (en) Digital control device and input/output substrate testing device for the digital
JPS60179847A (en) Matching check system between real array and virtual array
JP2791573B2 (en) Batch input / output control method for setting conditions required for measuring equipment
JPH01261735A (en) Debugging device for distributed processing program
KR100399247B1 (en) Interfacing system between caliper and computer
JPH02109658A (en) Method and device for measuring work
JP2908142B2 (en) Microcomputer automatic inspection equipment
JPS5999269A (en) Testing system of large-scale integrated circuit
JPS63103985A (en) Inspecting device for integrated circuit element
JPH01195381A (en) Measuring program generating device
JPH0561930A (en) Cad system
JPH02216539A (en) Interactive test system for information processor
JPH0137771B2 (en)
JPS63250747A (en) Program developing device
JPH0713655B2 (en) Integrated circuit test method
JPH03195979A (en) Method for inspecting electronic circuit
JPS60147849A (en) System for debugging microprogram