JPH03257545A - Program working confirmation system - Google Patents
Program working confirmation systemInfo
- Publication number
- JPH03257545A JPH03257545A JP2056973A JP5697390A JPH03257545A JP H03257545 A JPH03257545 A JP H03257545A JP 2056973 A JP2056973 A JP 2056973A JP 5697390 A JP5697390 A JP 5697390A JP H03257545 A JPH03257545 A JP H03257545A
- Authority
- JP
- Japan
- Prior art keywords
- program
- rom
- cpu
- ram
- address
- 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
Links
- 238000012790 confirmation Methods 0.000 title claims abstract description 9
- 238000012360 testing method Methods 0.000 claims abstract description 13
- 238000000034 method Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 101150065817 ROM2 gene Proteins 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はプログラム動作確認方式に関し、特にマイクロ
コンピュータを使用した場合のプログラム動作確認方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program operation confirmation method, and particularly to a program operation confirmation method when a microcomputer is used.
従来、マイクロコンピュータを使用した場合のプログラ
ムの動作状態の正常性を確認する方法としては、正常処
理と異常処理に関する試験を実施し、動作が正常であれ
ば正常性が確認されたものと判定していた。Conventionally, the method of checking the normality of the operating state of a program when using a microcomputer is to conduct tests regarding normal processing and abnormal processing, and if the operation is normal, it is determined that normality has been confirmed. was.
第2図は従来のプログラム確認方式の構成を示すブロッ
ク図で、CPUIとROM2が、アドレスバス3、デー
タバス4で接続され、ROM2にはプログラムを収納し
、CPU1はROM2のプログラムの内容に従って種種
のl10(入出力装置)の制御を行なう。読出し信号5
および書込み信号6は、ROM2に対する書込み、読出
しを行なう信号である。このような構成によって、正常
処理と異常処理に関する試験を実施して、プログラムの
動作状態の正常性を確認していた。FIG. 2 is a block diagram showing the configuration of a conventional program confirmation system. A CPU I and a ROM 2 are connected by an address bus 3 and a data bus 4. The ROM 2 stores a program, and the CPU 1 selects a program according to the content of the program in the ROM 2. Controls the 110 (input/output device). Read signal 5
A write signal 6 is a signal for writing to and reading from the ROM2. With such a configuration, tests regarding normal processing and abnormal processing are conducted to confirm the normality of the operating state of the program.
上述した従来のプログラム動作状態確認方法は、マイク
ロコンピュータに関する機能仕様と試験内容との整合が
とれていない場合や、種種の組合せ試験をもらしてしま
った場合に、実際にプログラムのすべてが動作している
か否かの判定が出来ないという欠点がある。The above-mentioned conventional method for checking program operation status can be used to check if the entire program is actually working if there is a mismatch between the functional specifications of the microcomputer and the test contents, or if a combination test of different types is missed. The drawback is that it is not possible to determine whether or not there are any.
本発明のプログラム動作確認方式は、プログラムを格納
しCPUとアドレスバスおよびデータバスを介して接続
されるROMと同一構成のアドレスを有するRAMを前
記アドレスバスおよびデータバスを介して前記ROMと
並列にマルチ接続し、種種の動作試験において前記CP
Uが前記ROMから読み出すプログラムを前記RAMに
も同時に格納して前記動作試験実施後に読み出し順次オ
リジナルのプログラムとの比較を行なって各アドレスに
おけるデータが同一であるか否かによってプログラムの
動作の正常性を確認する手段を備えて構成される。In the program operation confirmation method of the present invention, a RAM having the same address configuration as a ROM that stores a program and is connected to the CPU via an address bus and a data bus is connected in parallel to the ROM via the address bus and data bus. Multi-connected, the CP in various operation tests
The program that U reads from the ROM is simultaneously stored in the RAM, and after performing the operation test, the program is sequentially read and compared with the original program, and the normality of the program operation is determined by whether the data at each address is the same. The system shall be configured with a means to confirm the
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明のプログラム動作確認方式の一実施例の
構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of an embodiment of the program operation confirmation method of the present invention.
第1図において、1はcpu、2はROM、3はアドレ
スバス、4はデータバス、5は読出し信号、6は書込み
信号、7はゲート信号、8は選択信号、9はゲート回路
、10はROM読出し信号、11は選択回路、12はR
AM書込み信号、13はRAM読出し信号、14はRA
Mである。In FIG. 1, 1 is a CPU, 2 is a ROM, 3 is an address bus, 4 is a data bus, 5 is a read signal, 6 is a write signal, 7 is a gate signal, 8 is a selection signal, 9 is a gate circuit, and 10 is a ROM read signal, 11 is selection circuit, 12 is R
AM write signal, 13 is RAM read signal, 14 is RA
It is M.
第1図において、第2図と同一要素には同一番号を付与
しである。In FIG. 1, the same elements as in FIG. 2 are given the same numbers.
次に、第1図の実施例の動作について説明する。Next, the operation of the embodiment shown in FIG. 1 will be explained.
CPUIは、立上げた時にゲート信号7を出力し、また
読出し信号5を書込み信号6のいずれかを選択する選択
信号8を出力し、立上げ時にはCPU 1からの書込み
信号6をRAM書込み信号12とRAM14に供給し、
読出し信号5はゲート信号7によってゲート回路9から
ROM読出し信号10としてROM2に供給される。When the CPU is started, it outputs a gate signal 7, and also outputs a selection signal 8 that selects either the read signal 5 or the write signal 6, and when it starts, it outputs the write signal 6 from the CPU 1 as a RAM write signal 12. and supplies it to RAM14,
The read signal 5 is supplied from the gate circuit 9 to the ROM 2 as a ROM read signal 10 in response to the gate signal 7 .
CPUIは、ROM2内に格納されたプログラムに従っ
て、各110分の制御等を実施する。The CPUI performs control etc. for each 110 minutes according to the program stored in the ROM2.
CPUIがROM読出し信号10によってROM2から
読み出したプログラムは、データバス4を介してCPU
Iに入力されるとともに、RAM14内にも同時に格納
される。The program read from the ROM 2 by the CPU by the ROM read signal 10 is sent to the CPU via the data bus 4.
The data is input to I and also stored in the RAM 14 at the same time.
プログラムの動作確認のための種種の試験を実施した後
にゲート信号7を断とし、選択信号8を出力してCPU
Iからの読出し信号5をRAM読出し信号13としてR
AM14に供給する。これにより、RAM14内に格納
されたプログラムを読み出し、順次オリジナルのプログ
ラムと比較する。この比較のアドレスにおけるデータが
同一データの場合、プログラムは正しく動作しているこ
とになり、データが相違した場合、プログラムは動作し
ていないことがわかる。After carrying out various tests to confirm the operation of the program, the gate signal 7 is cut off, the selection signal 8 is output, and the CPU
The read signal 5 from I is used as the RAM read signal 13
Supply to AM14. Thereby, the program stored in the RAM 14 is read out and sequentially compared with the original program. If the data at the addresses of this comparison are the same, it means that the program is operating correctly; if the data are different, it can be seen that the program is not operating.
チエツクが終った時、選択信号8を出力して、CPUI
からの書込信号6をRAM書込信号12と接続してRA
M14を初期化する。When the check is completed, the selection signal 8 is output and the CPU
The write signal 6 from RA is connected to the RAM write signal 12.
Initialize M14.
以上説明したように本発明は、CPUとアドレスバスお
よびデータバスを介して接続するROMと同一アドレス
構成としたRAMを併設してROMから読み出すプログ
ラムをCPUとともにRAMにも格納し、試験終了後に
読み出してオリジナルのプログラムと比較することによ
り、プログラムの動作状態を容易に確認できる効果があ
る。As explained above, the present invention provides a RAM with the same address configuration as the ROM connected to the CPU via an address bus and a data bus, stores a program to be read from the ROM in the RAM together with the CPU, and reads the program after the test is completed. This has the effect of making it easy to check the operating status of the program by comparing it with the original program.
第1図は、本発明に係わるプログラム動作確認方式の一
実施例を示すブロック図、第2図は、従来のプログラム
動作確認方式の一例を示すブロック図である。
1・・・CPU、2・・・ROM、3・・・アドレスバ
ス、4・・・データバス、5・・・読出し信号、6・・
・書込み信号、7・・・ゲート信号、8・・・選択信号
、9・・・ゲート回路、10・・・ROM読出し信号、
11・・・選択回路、12・・・RAM書込み信号、1
3・・・RAM読出し信号、
14・・・ROM。FIG. 1 is a block diagram showing an embodiment of a program operation confirmation method according to the present invention, and FIG. 2 is a block diagram showing an example of a conventional program operation confirmation method. 1... CPU, 2... ROM, 3... address bus, 4... data bus, 5... read signal, 6...
・Write signal, 7... Gate signal, 8... Selection signal, 9... Gate circuit, 10... ROM read signal,
11... Selection circuit, 12... RAM write signal, 1
3...RAM read signal, 14...ROM.
Claims (1)
バスを介して接続されるROMと同一構成のアドレスを
有するRAMを前記アドレスバスおよびデータバスを介
して前記ROMと並列にマルチ接続し、種種の動作試験
において前記CPUが前記ROMから読み出すプログラ
ムを前記RAMにも同時に格納して前記動作試験実施後
に読み出し順次オリジナルのプログラムとの比較を行な
って各アドレスにおけるデータが同一であるか否かによ
ってプログラムの動作の正常性を確認する手段を備えて
成ることを特徴とするプログラム動作確認方式。Multiple RAMs that store programs and have the same address structure as the ROM that is connected to the CPU via an address bus and a data bus are connected in parallel with the ROM via the address bus and data bus, and various types of operation tests are carried out. The program read by the CPU from the ROM is simultaneously stored in the RAM, and after the operation test is performed, the program is sequentially read and compared with the original program, and the normal operation of the program is determined by checking whether the data at each address is the same. A program operation confirmation method characterized by comprising a means for confirming the validity of a program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2056973A JPH03257545A (en) | 1990-03-07 | 1990-03-07 | Program working confirmation system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2056973A JPH03257545A (en) | 1990-03-07 | 1990-03-07 | Program working confirmation system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03257545A true JPH03257545A (en) | 1991-11-18 |
Family
ID=13042465
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2056973A Pending JPH03257545A (en) | 1990-03-07 | 1990-03-07 | Program working confirmation system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03257545A (en) |
-
1990
- 1990-03-07 JP JP2056973A patent/JPH03257545A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4924465A (en) | Memory with function test of error detection/correction device | |
| JPH03252993A (en) | Information writing device for e2prom | |
| JPH03257545A (en) | Program working confirmation system | |
| JP2869243B2 (en) | Memory test equipment | |
| JP2659115B2 (en) | Sequence controller | |
| JPH05241900A (en) | Program operation confirmation system of computer | |
| JPS63108600A (en) | Semiconductor device | |
| JPH05181705A (en) | Program operation checking system | |
| JPH09198274A (en) | Method for testing device having processor and RAM | |
| JPH0619631A (en) | Initialization system for storage device | |
| JPH01162300A (en) | Rom checking circuit testing system | |
| JPH0399326A (en) | Microprogram loading method, loading controller, information processor, and information processing system | |
| JPS60549A (en) | Memory testing system | |
| JPH01321539A (en) | Circuit for checking connecting state of bus connector | |
| JP2635637B2 (en) | In-system memory test equipment | |
| JPH1040125A (en) | Microcomputer | |
| JPH04131939A (en) | Test method for one-chip cpu with built-in rom | |
| JPH03265037A (en) | Large capacity memory initial diagnostic control system | |
| JPH04338851A (en) | Test system for output private control part | |
| JPH03127151A (en) | Testing device | |
| JPH1091537A (en) | Microcomputer | |
| JPH01197860A (en) | Memory fault detecting circuit | |
| JPS5914196A (en) | Test device of microcomputer | |
| JPS63311526A (en) | Collating test device for non-volatile memory content of printer | |
| JPH0744420A (en) | Program debug device |