JPH0293847A - Memory test system at time of initial diagnosis - Google Patents

Memory test system at time of initial diagnosis

Info

Publication number
JPH0293847A
JPH0293847A JP63245927A JP24592788A JPH0293847A JP H0293847 A JPH0293847 A JP H0293847A JP 63245927 A JP63245927 A JP 63245927A JP 24592788 A JP24592788 A JP 24592788A JP H0293847 A JPH0293847 A JP H0293847A
Authority
JP
Japan
Prior art keywords
memory
data
mode
read
write
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
JP63245927A
Other languages
Japanese (ja)
Inventor
Tadaaki Inomata
猪股 忠明
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63245927A priority Critical patent/JPH0293847A/en
Publication of JPH0293847A publication Critical patent/JPH0293847A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To discover the defect of a hardware as well by executing a memory access by both a real mode by a LIM system and a protect mode. CONSTITUTION:Means 1 and 2 to write data for the capacity of a memory 3 by the LIM system, which is a first mode to be obtained by a processor 1, and the means 1 to move to the second mode after the writing is finished, to read data by the protect mode and to compare the data with the above mentioned writing data are provided. Further, the means 1 to interrupt the diagnosis of the memory 3 when dissidence is generated and to inform address data of an external part, and a means to execute Write / Read / Compare by the second mode in the case of the dissidence and to execute the judgement of causes according to a compared result are provided. Thus, the defect of the memory 3 itself is discovered and since the memory access is executed by the two modes which are obtained by the processor, the defect of the hard ware can be discovered as well.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は特にパーソナルコンピュータに用いて好適な初
期診断時におけるメモリテスト方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a memory test method at the time of initial diagnosis that is particularly suitable for use in personal computers.

(従来の技術) 従来、パーソナルコンピュータの分野にて標鵡になって
いるオペレーティングシステムの下で使用できるメモリ
領域は、1M以下である。LIMと称される方式を用い
て1M以上のメモリ領域のアクセスを可能としていた。
(Prior Art) Conventionally, the memory area that can be used under an operating system that has become a standard in the field of personal computers is 1M or less. Using a method called LIM, it was possible to access memory areas of 1M or more.

LIMとは拡張メモリ方式の一種であ、9、CPUのメ
モリアドレス空間の一部を窓とし、その窓を介して最大
8MBのメモリをアクセスする方式(発明が解決しよう
とする課題) このためメモリ容量の大きなシステムが出現してきてい
る現在、システム側では、Power ON時に初期診
断プログラムにより、メモリサイズのチェックを行い、
サイズ分のメモリに対しWrHe/ Read/ co
mpare (ライト/リーP/コンイア)を行い正常
に使用できるメモリの検査を行うが、1M以上のメモリ
領域は前に述べたように、標池0Sの下で使用する場合
はLIM方式によりメモリアクセスをする場合と、アプ
リケーションソフトによっては直接プロテクトモーyK
よ、り1.M以上をアクセスする場合の2通シがあシ、
初期診断プログラムでは2通シのアクセス方式(LIM
によるアクセスとプロテクトモードによるアクセス方式
)での確認が必要である。
LIM is a type of extended memory method. Nowadays, as systems with large capacities are emerging, the system checks the memory size using an initial diagnostic program when the power is turned on.
WrHe/Read/co for the memory size
mpare (Write/Lee P/Conia) is performed to check if the memory can be used normally, but as mentioned above, if the memory area is 1M or more, if it is used under Shibei 0S, memory access must be performed using the LIM method. Depending on the application software, you may need to use Protect Mode directly.
Yo, Ri1. Two copies are required when accessing M or more,
The initial diagnostic program uses two access methods (LIM
access method and protected mode access method).

本発明は上記事情に鑑みてなされたものであり、初期診
断プログラムにおいてIMB以上のメモリテストを、L
IM方式によるアクセスとプロテクトモードによるアク
セスの両方により行なうことによりハードウェア不良も
発見し得る、初期診断時におけるメモリテスト方式を提
供することを目的とする。
The present invention has been made in view of the above circumstances, and it is possible to perform a memory test of IMB or higher in the initial diagnosis program.
It is an object of the present invention to provide a memory test method at the time of initial diagnosis, which can detect hardware defects by performing both IM access and protected mode access.

〔発明の構成] (課題を解決するための手段及び作用)本発明は、電源
ON時に初期診断プログラムによりメモリサイズのチェ
ックを行い、サイズ分のメモリに対しWr i te 
/ Read /Compa reを行うものにおいて
、プロセッサが持つ第1のモードにてメモリ容量分デー
タの書込みを行う手段と、書込み終了後筒2のモードに
移行し、データをリードして先程のライトデータと比較
する手段と、不一致が生じた時点でメモリ診断を中断し
そのアドレス・データを外部へ通知する手段と、不一致
の際に第2のモードにてWrre /Read /Co
mpareを行い、その結果に従い原因判断を行う手段
で構成される。
[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention checks the memory size using an initial diagnostic program when the power is turned on, and writes data to the memory corresponding to the size.
/ Read / Compare, there is a means for writing data equivalent to the memory capacity in the first mode of the processor, and a means for moving to the cylinder 2 mode after the writing is completed, reading the data, and rewriting the previously written data. A means for comparing the memory diagnosis with the address data when a discrepancy occurs, and a means for notifying the address/data to the outside when a discrepancy occurs, and a means for performing a Wrre /Read /Co
It consists of means for performing mpare and determining the cause according to the results.

上記構成において、先ずプロセッサが持つ第1のモーP
(LIMリアルモード)にて1M以上のメモリにデータ
をライ) (Write ) l、、第2のそ−ド(プ
ロテクトモード)にてデータをリーr(Read)する
。先程のライト(Write)のデータとり一1’(R
ead)データとを比較し、異なるデータが発見された
場合にそのアドレスとデータを作成し、表示する。ここ
でデータが一致しない場合に、第1のモードを使用せず
プロテクトモードによりW h i t e / Re
 a d / Co m p a r eを行う。
In the above configuration, first, the first mode P that the processor has is
(Write data to a memory of 1M or more in LIM real mode) (Write) l, Read data in the second mode (protected mode). Data collection 1' (R
ead) data, and if different data is found, create and display the address and data. If the data do not match here, do not use the first mode and use the protected mode to
Perform ad/com pare.

ここで正常に行われたならば第1のモードによるメモリ
アクセスKM因が、再度不一致のときメモリ不良と判断
できる。
If the memory access KM cause in the first mode does not match again if the memory access is performed normally, it can be determined that the memory is defective.

このことにより、メモリ自身の不良を発見するとともに
、メモリアクセスをプロセッサが持つ2つのモーrで行
うことにより、ノ・−rウェアの不良も発見する等の効
果がある。
This has the effect of not only discovering defects in the memory itself, but also discovering defects in hardware by performing memory access using the two memory processors.

(実施例) 以下、図面を使用して本発明実施例について詳細に説明
する。第1図は本発明の実施例を示すブロック図である
。図において、1はCPUであjり、ROM4に記憶さ
れた初期診断プログラムを読み出し実行する。2はLI
M制御部であシ、CPUZがリアルそ一ドで1M以上の
メモリをアクセスするためのものである。3はメモリで
あシ、各種アプリケーションで使われるデータのり−P
ライ) (Read/Write)用に使われる。4は
ROMであシ、初期診断プログラムを記憶している。5
はCRTデイスプレィであシ、メモリテストでエラーが
発生した場合にアドレスと、データを表示する。
(Example) Hereinafter, an example of the present invention will be described in detail using the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 1 is a CPU, which reads and executes an initial diagnosis program stored in a ROM 4. 2 is LI
The M control unit is for the CPUZ to access a memory of 1M or more in real time. 3 is memory, data paste used in various applications-P
Used for (Read/Write). 4 is a ROM which stores an initial diagnosis program. 5
is a CRT display, and displays the address and data if an error occurs during the memory test.

第2図は本発明実施例の動作を示すフローチャートであ
シ、ROMK記憶された初期診断プログラムにおけるI
MB以上のメモリテスト処理手順を示す。符号■はメモ
リにライ)(Write)するステップであ、り、LI
M方式を使用し1M以上のメモリにデータをライトする
。符号■はデータを比較するステップであり、LIM方
式でライトしたデータとプロテクトモードによりリード
したデータを比較する。符号■は比較結果一致しなかっ
た場合に実行するステップであシ、エラーアドレス、デ
ータを作成しCRTデイスプレイ5へ表示する。符号■
はメモリにライトするステップであシ、プロテクトモー
ドによjDIM以上のメモリサイズ分までデータをライ
トする。符号■はデータを比較するステップであシ、プ
ロテクトモードでライトしたデータをプロテクトモーr
でリードする。
FIG. 2 is a flowchart showing the operation of the embodiment of the present invention.
A memory test processing procedure for MB or more is shown. The symbol ■ is a step to write to memory.
Write data to a memory of 1M or more using the M method. Symbol ■ is a step for comparing data, in which data written in the LIM method and data read in the protect mode are compared. Symbol ■ indicates a step to be executed when the comparison result does not match, and an error address and data are created and displayed on the CRT display 5. Sign■
This is the step of writing to memory, and data is written to a memory size of jDIM or more in protected mode. The symbol ■ is a step to compare data, and the data written in protect mode is
Lead with.

以下、本発明実施例の動作について詳細に説明する。ま
ず、システムのPowerON後、CPUJは、1MB
以上のメモリサイズチェックを行い、メモリ容量の確認
を行う。確認後、LIM方式を使いリアルモードでIM
〜メモリサイズ分までデータのライトを行い、メモリサ
イズ分まで終了したならば、プロテクトモート0に移行
しLMからデータをリーPL、ライトしたデータとの比
較を行う。リードと比較がメモリサイズ分まで正常に行
われた場合はメモリの診断を終了するが、途中でライト
データとリードデータとで不一致が生じた場合は、その
時点でメモリの不一致が生じたアドレスとデータを作成
しCRTデイスプレィ5へ表示する。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail. First, after powering on the system, the CPUJ is 1MB
Perform the above memory size check and confirm the memory capacity. After confirmation, IM in real mode using LIM method
- Write data up to the memory size, and when the memory size is completed, move to protect mode 0, read data from LM, PL, and compare with the written data. If the read and comparison are successfully performed up to the memory size, the memory diagnosis ends, but if a mismatch occurs between the write data and the read data during the process, the address where the memory mismatch occurred is checked. Data is created and displayed on the CRT display 5.

表示した後、今度はプロテクトセードだけでWrite
/Read/Compareを打込、正常にライト/リ
ード(Write/Rend )か行われたならばLI
M方式によるメモリのアクセスに原因があると判断し、
再度、不一致が生じた場合はメモリの不良と判断するこ
とができる。このように本処理を行うことにより、1M
B以上のメモリの診断とLIM方式によるアクセスでバ
ーPウェアの診断も実現できる。
After displaying, write with only protect shade
/Read/Compare, and if the write/read (Write/Rend) is performed normally, LI
It is determined that the cause is memory access using the M method,
If a mismatch occurs again, it can be determined that the memory is defective. By performing this process in this way, 1M
By diagnosing B or higher memory and accessing using the LIM method, it is also possible to diagnose bar Pware.

〔発明の効果〕〔Effect of the invention〕

以上詳記したよう忙本発明によれば、IMB以上のメモ
リの初期診断において、メモリ自身の不良を発見すると
とも忙、メモリアクセスをLIM方式によるリアルモー
ドとプロテクトモーYで行うことKよシ、ハードウェア
の不良も発見できる等の効果がある。
As described in detail above, according to the present invention, in the initial diagnosis of memory of IMB or higher, it is possible to discover a defect in the memory itself and perform memory access in real mode and protected mode Y using the LIM method. It has the advantage of being able to detect hardware defects.

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

第1図は本発明の実施例を示すブロック図、第2図は本
発明実施例の動作を示すフローチャートである。 1・・・CPU1 J・・・LIM制御部、3・・・メ
モリ、4・・・ROM、5・・・CRTデイスプレィ。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart showing the operation of the embodiment of the present invention. 1... CPU1 J... LIM control unit, 3... Memory, 4... ROM, 5... CRT display.

Claims (1)

【特許請求の範囲】[Claims] 電源ON時メモリサイズのチェックを行い、サイズ分の
メモリに対してテストを行うコンピュータシステムにお
いて、プロセッサが持つ第1のモードにて上記メモリサ
イズ分あるデータの書込みを行う手段と、上記書込み終
了後、第2のモードに移行し、データを読み出し上記書
込みデータとの比較を行う手段と、ここで不一致が生じ
た時点でテストを中断し、そのアドレス・データを生成
して外部へ通知する手段と、不一致が生じた場合に第2
のモードにてメモリテストを行いその結果により原因を
判断する手段とを具備することを特徴とする初期診断時
におけるメモリテスト方式。
In a computer system that checks the memory size when the power is turned on and tests the memory of the size, means for writing data of the memory size in a first mode of the processor, and after the writing is completed. , a means for shifting to a second mode, reading the data and comparing it with the written data, and a means for interrupting the test when a discrepancy occurs, generating the address data and notifying the outside. , if a discrepancy occurs, the second
A memory test method at the time of initial diagnosis, characterized by comprising means for performing a memory test in the mode and determining the cause based on the result.
JP63245927A 1988-09-30 1988-09-30 Memory test system at time of initial diagnosis Pending JPH0293847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63245927A JPH0293847A (en) 1988-09-30 1988-09-30 Memory test system at time of initial diagnosis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63245927A JPH0293847A (en) 1988-09-30 1988-09-30 Memory test system at time of initial diagnosis

Publications (1)

Publication Number Publication Date
JPH0293847A true JPH0293847A (en) 1990-04-04

Family

ID=17140920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63245927A Pending JPH0293847A (en) 1988-09-30 1988-09-30 Memory test system at time of initial diagnosis

Country Status (1)

Country Link
JP (1) JPH0293847A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018225461A1 (en) * 2017-06-05 2018-12-13 株式会社オートネットワーク技術研究所 Processing device and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018225461A1 (en) * 2017-06-05 2018-12-13 株式会社オートネットワーク技術研究所 Processing device and computer program

Similar Documents

Publication Publication Date Title
JPH06223002A (en) Test circuit of microprocessor memory
US5142673A (en) Bus monitor with dual port memory for storing selectable trigger patterns
US6279104B1 (en) Debugging system for parallel processed program and debugging method thereof
JPH0314033A (en) Inspection system for microprocessor comparison checking function
JPH0293847A (en) Memory test system at time of initial diagnosis
JPS63148498A (en) Memory device with self-disagnosing function
JPH0244269A (en) System for analyzing trouble of lsi
JP2001202272A (en) Debugging method, debugging device using this method and recording medium with debugging method recorded thereon
JPH01162300A (en) Rom checking circuit testing system
JPH06349299A (en) Memory test result collecting method and memory tester
JPH01116855A (en) Memory tester
JPH0997194A (en) Data acquisition device for fail memory
JPH0148567B2 (en)
JPS6345651A (en) Memory access system
JPH01321529A (en) Initial diagnostic system for device
JPH06103172A (en) Memory test method
JPS60549A (en) Memory testing system
JPS6158063A (en) Data processing device
JPS6175440A (en) Program quality evaluating device
JPH0619631A (en) Initialization system for storage device
JPH02103647A (en) Method for controlling intelligent measuring card
JPH09198274A (en) Method for testing device having processor and ram
JPS58176756A (en) Diagnosing system of circuit block
JPH03126147A (en) Test system for external storage device
JPH1040125A (en) Microcomputer