JPH01162300A - Rom checking circuit testing system - Google Patents
Rom checking circuit testing systemInfo
- Publication number
- JPH01162300A JPH01162300A JP62320528A JP32052887A JPH01162300A JP H01162300 A JPH01162300 A JP H01162300A JP 62320528 A JP62320528 A JP 62320528A JP 32052887 A JP32052887 A JP 32052887A JP H01162300 A JPH01162300 A JP H01162300A
- Authority
- JP
- Japan
- Prior art keywords
- rom
- data
- crc
- circuit
- rom checking
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 14
- 125000004122 cyclic group Chemical group 0.000 claims abstract description 8
- 238000013500 data storage Methods 0.000 claims description 7
- 238000010998 test method Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000007547 defect Effects 0.000 abstract description 4
- 230000002950 deficient Effects 0.000 abstract description 4
- 230000005856 abnormality Effects 0.000 abstract description 3
- 206010009944 Colon cancer Diseases 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はROMチェック回路試験方式、特にサイクリッ
ク冗長チェック(以下CRCと記す)データを付加した
プログラムデータを格納したROMと、このROM内の
CRCデータをチェックする回路を有するシステムにお
けるROMチェック回路試験方式に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a ROM check circuit test method, particularly a ROM that stores program data to which cyclic redundancy check (hereinafter referred to as CRC) data is added, and a method for testing a ROM check circuit. The present invention relates to a ROM check circuit test method in a system having a circuit for checking CRC data.
従来、ROMチェック回路を有するシステムにおいて、
本回路不良でROMチェック試験が動作していない場合
は、試験結果が正常終了と同じ状態にしか見えないよう
になっていた。Conventionally, in a system having a ROM check circuit,
If the ROM check test was not operating due to a defect in this circuit, the test result would only appear to be in the same state as a normal completion.
上述した従来方式では、正常終了かROMチェック回路
不良なのかの区別がつかないなめ、ROMチェック回路
が不良である場合でも、回路不良の発見がおくれ、その
間は正しくROMチェックが行われないという問題があ
る。In the conventional method described above, it is impossible to distinguish between normal termination and a defective ROM check circuit, so even if the ROM check circuit is defective, the circuit defect is discovered late, and the ROM check is not performed correctly during that time. There is.
本発明は、ROMチェック回路を試験することによって
回路の異常をなるべく早く発見しようとすることを目的
とするものである。An object of the present invention is to discover circuit abnormalities as early as possible by testing a ROM check circuit.
本発明の方式は、サイクリック冗長チェックデータを付
加したプログラムデータを格納したROMと、サイクリ
ック冗長データをチェックする回路を有するシステムに
おけるROMチェック回路試験方式であって、
ROM上の未使用領域にそれまでの番地に格納されたプ
ログラムデータ内のサイクリック冗長データの計算結果
の反転データを格納しておき、通常のCRCチェックに
よるROMチェックを行うモードと、反転データ格納領
域でのCRCチェックを行ってROMチェック回路が正
しく動作しているかどうかを試験するモードとを有する
ことを特徴とする。The method of the present invention is a ROM check circuit test method for a system having a ROM storing program data to which cyclic redundancy check data has been added, and a circuit for checking the cyclic redundant data. The inverted data of the calculation result of the cyclic redundant data in the program data stored at the previous address is stored, and the ROM check is performed using a normal CRC check, and the CRC check is performed in the inverted data storage area. and a mode for testing whether the ROM check circuit is operating correctly.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は、本発明のROMチェック回路試験方式を実施
するための、ROMのアドレス空間のブロック図である
。FIG. 1 is a block diagram of a ROM address space for implementing the ROM check circuit testing method of the present invention.
第1図において、ROMアドレス空間1は、CRCデー
タを付加したプログラムデータを格納したアドレスO〜
(n−2)のプログラムデータ格納領域2と、アドレス
0〜(n−2)のプログラムデータ内のCRCデータに
対する反転データを格納したアドレス(n−1)のCR
C反転データ格納領域3と、アドレスO〜(n −1)
ノーF−9のCRCデータを格納したCRCデータ格
納領域4とから成る。In FIG. 1, ROM address space 1 is an address O~ which stores program data with CRC data added.
Program data storage area 2 at (n-2) and CR at address (n-1) where inverted data for the CRC data in the program data at addresses 0 to (n-2) is stored.
C inverted data storage area 3 and address O~(n-1)
It consists of a CRC data storage area 4 in which CRC data of No.F-9 is stored.
第2図は本発明の一実施例の流れ図である。FIG. 2 is a flow diagram of one embodiment of the present invention.
先ず、通常のCRCチェックによりROMチェックか、
ROMチェック回路の試験を行うかを選択しく 1.0
) 、通常のROMチェックの場合(モード1)は、
第1図のアドレスO〜(n−1)のCRCを算出して、
n番地の内容と比較しく20)、エラーであればエラー
出力をする(4o。First, check the ROM using a normal CRC check.
Select whether to test the ROM check circuit 1.0
), for normal ROM check (mode 1),
Calculate the CRC of addresses O~(n-1) in Figure 1,
Compare with the contents of address n (20), and if there is an error, output an error (4o).
50)。50).
また、ROMチェック回路の試験モードを選択した場合
(モード2)は第3図にその詳細を示すROMチェック
回路試験を行う(30)。Further, when the ROM check circuit test mode is selected (mode 2), a ROM check circuit test is performed (30), the details of which are shown in FIG.
第3図において、第1図の0〜(n−2)番地のCRC
を算出しく60)、(n−1)番地の内容と比較する(
70)。ROMチェック回路が正常に動作していれば、
(n−1)番地には正しいデータの反転データが格納さ
れているので、必ずROMチェックエラーとなるが、R
OMチェック回路に異常がありROMチェックが動作し
ない場合は、r(0Mチェックエラーを検出できない。In Figure 3, the CRC of addresses 0 to (n-2) in Figure 1
Calculate 60) and compare it with the contents of address (n-1) (
70). If the ROM check circuit is working properly,
Since the inverted data of the correct data is stored at address (n-1), a ROM check error will always occur, but R
If there is an abnormality in the OM check circuit and the ROM check does not operate, r(0M check error cannot be detected).
この時、本発明では、ROMチェック回路不良と判断す
る(80.90)。At this time, the present invention determines that the ROM check circuit is defective (80.90).
以上説明したように、本発明では、通常のCRCデータ
の他に、CRCの反転データをあらかじめ格納しておい
て、ROMチェック回路が正常なときには、意図的にR
OMチェックエラーを発生させ、ROMチェック回路が
エラーを検出できるかを確認することにより、ROMチ
ェック回路の不良を発見できるという効果がある。As explained above, in the present invention, in addition to normal CRC data, inverted CRC data is stored in advance, and when the ROM check circuit is normal, R
By generating an OM check error and checking whether the ROM check circuit can detect the error, there is an effect that a defect in the ROM check circuit can be discovered.
第1図は本発明のROMチェック回路試験方式を実施す
るための、ROMのアドレス空間のブロック図、第2図
は本発明の一実施例の流れ図、第3図は本流れ国内のR
OMチェック回路試験部分の詳細な流れ図をそれぞれ示
す。
1・・・ROMアドレス空間、2・・・データ格納領域
、3・・・CRC反転データ格納領域、4・・・CRC
データ格納領域。Figure 1 is a block diagram of the ROM address space for carrying out the ROM check circuit test method of the present invention, Figure 2 is a flowchart of an embodiment of the present invention, and Figure 3 is a block diagram of the ROM check circuit test method of the present invention.
A detailed flowchart of the OM check circuit test portion is shown respectively. 1... ROM address space, 2... Data storage area, 3... CRC inverted data storage area, 4... CRC
Data storage area.
Claims (1)
データを格納したROMと、前記サイクリック冗長デー
タをチェックする回路を有するシステムにおけるROM
チェック回路試験方式であって、 前記ROM上の未使用領域にそれまでの番地に格納され
た前記プログラムデータ内のサイクリック冗長データの
計算結果の反転データを格納しておき、通常のCRCチ
ェックによるROMチェックを行うモードと、前記反転
データ格納領域でのCRCチェックを行って前記ROM
チェック回路が正しく動作しているかどうかを試験する
モードとを有することを特徴とするROMチェック回路
試験方式。[Claims] A ROM in a system that includes a ROM that stores program data to which cyclic redundancy check data is added, and a circuit that checks the cyclic redundancy data.
This is a check circuit test method, in which inverted data of the calculation result of the cyclic redundant data in the program data stored at the previous address is stored in an unused area on the ROM, and the test is performed using a normal CRC check. A mode for performing a ROM check, and a mode for performing a CRC check in the inverted data storage area.
1. A ROM check circuit test method comprising a mode for testing whether a check circuit is operating correctly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62320528A JPH01162300A (en) | 1987-12-18 | 1987-12-18 | Rom checking circuit testing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62320528A JPH01162300A (en) | 1987-12-18 | 1987-12-18 | Rom checking circuit testing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01162300A true JPH01162300A (en) | 1989-06-26 |
Family
ID=18122439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62320528A Pending JPH01162300A (en) | 1987-12-18 | 1987-12-18 | Rom checking circuit testing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01162300A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008123623A (en) * | 2006-11-14 | 2008-05-29 | Yokogawa Electric Corp | Memory testing device |
US7568284B2 (en) | 2002-07-19 | 2009-08-04 | Panasonic Corporation | Components insertion method |
JP2013109393A (en) * | 2011-11-17 | 2013-06-06 | Toyota Motor Corp | Information processing device and operation check method for memory protection device |
-
1987
- 1987-12-18 JP JP62320528A patent/JPH01162300A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7568284B2 (en) | 2002-07-19 | 2009-08-04 | Panasonic Corporation | Components insertion method |
JP2008123623A (en) * | 2006-11-14 | 2008-05-29 | Yokogawa Electric Corp | Memory testing device |
JP2013109393A (en) * | 2011-11-17 | 2013-06-06 | Toyota Motor Corp | Information processing device and operation check method for memory protection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2606862B2 (en) | Single error detection and correction method | |
JPH01162300A (en) | Rom checking circuit testing system | |
JP2002244934A (en) | Memory monitoring device and method | |
JP2808983B2 (en) | Memory diagnosis method | |
JPH0342747A (en) | Memory test system | |
KR100216045B1 (en) | Bit arithmetic processing method and apparatus of programmable controller | |
JPH09204317A (en) | Diagnostic device for error detecting/correcting circuit | |
JPH0922387A (en) | Memory unit | |
JPS59177799A (en) | Checking system of read-only memory | |
JPH01187475A (en) | Test device for semiconductor integrated circuit | |
JPH0778731B2 (en) | Information processing equipment | |
JPH0240727A (en) | Error detecting and correcting device | |
JPS6158063A (en) | Data processing device | |
JPH1064299A (en) | Method for testing random access memory | |
JPH05225070A (en) | Memory device | |
JP2002215471A (en) | Memory port, storage device and information processing system | |
JPH06139155A (en) | Method for diagnosing storage device | |
JPH0293854A (en) | Test and set system | |
JPH0594379A (en) | Shared memory control system | |
JPH07191914A (en) | Data error correction device | |
JPH05204771A (en) | Memory control system | |
JPH01194035A (en) | Address parity checking system for information processor | |
JPH0193833A (en) | Semiconductor integrated circuit | |
JPH086864A (en) | Diagnostic system for address bus for memory control | |
JPS62224833A (en) | Suitability inspecting system of data form |