JP2007241840A - Memory diagnostic apparatus, method and system - Google Patents

Memory diagnostic apparatus, method and system Download PDF

Info

Publication number
JP2007241840A
JP2007241840A JP2006065772A JP2006065772A JP2007241840A JP 2007241840 A JP2007241840 A JP 2007241840A JP 2006065772 A JP2006065772 A JP 2006065772A JP 2006065772 A JP2006065772 A JP 2006065772A JP 2007241840 A JP2007241840 A JP 2007241840A
Authority
JP
Japan
Prior art keywords
memory
random number
diagnosis
number data
counting
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.)
Abandoned
Application number
JP2006065772A
Other languages
Japanese (ja)
Inventor
Noriyuki Ogawa
憲之 小川
Hisashi Otomo
恒 大友
Takashi Yamada
高史 山田
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 JP2006065772A priority Critical patent/JP2007241840A/en
Publication of JP2007241840A publication Critical patent/JP2007241840A/en
Abandoned legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory diagnostic apparatus for specifying a defective memory IC by evenly diagnosing each bit that constitutes the memory, using random numbers as diagnostic data, and counting the occurrences of an abnormality in bit units, i.e., the minimum storage units of the memory. <P>SOLUTION: The apparatus includes a CPU for generating random number data for the diagnosis of memory; a memory comprising a plurality of ICs having memory areas specified by a plurality of access addresses and a plurality of bits and integrated for every predetermined bit width, the memory being connected to the CPU via a data bus; and a counting means for comparing, for every bit of the memory, the random number data written in the respective memory area with the random number data read, and counting the occurrences of an abnormality if the comparison result shows that the data do not match. The defective memory IC is specified based on the count value. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、データバスを介してCPUに接続されたメモリを診断し、故障が発生したメモリを容易に特定することができるメモリ診断装置、メモリ診断方法、及びメモリ診断システムに関する。   The present invention relates to a memory diagnostic apparatus, a memory diagnostic method, and a memory diagnostic system that can diagnose a memory connected to a CPU via a data bus and easily identify a memory in which a failure has occurred.

従来、情報処理装置にあってはメモリにデータを記憶するようにしているが、メモリ内のメモリ素子が故障した場合、書き込んだデータが正しく記憶されないことがあり、その装置は正常な動作ができなくなる。そこで、メモリを搭載している装置では、メモリ素子が故障していないかどうかを診断できるようにしている。   Conventionally, an information processing apparatus stores data in a memory, but if a memory element in the memory fails, the written data may not be stored correctly, and the apparatus can operate normally. Disappear. Therefore, an apparatus equipped with a memory can diagnose whether or not a memory element has failed.

従来、一般的に知られているメモリ診断方法は、CPU(中央演算処理装置)内のレジスタに格納したテストデータを、診断対象メモリの全アドレスに連続して書き込み、その後、メモリの全アドレスからデータを連続して読み出し、書き込んだデータと読み出したデータを互いに比較することで故障の有無を確認している。   Conventionally, a generally known memory diagnosis method is to write test data stored in a register in a CPU (Central Processing Unit) continuously to all addresses of a memory to be diagnosed, and then from all addresses of the memory. Data is read continuously, and the written data and the read data are compared with each other to confirm the presence or absence of a failure.

例えば特許文献1では、メモリに連続的に書き込まれるデータを保存するライトデータ記憶部と、データ書込み後に連続的に読み出されるリードデータをライトデータ記憶部に保存されている内容と比較照合する比較回路と、比較結果に不一致が生じたときにエラーメモリを特定する特定回路を有するメモリ診断システムについて記載されている。   For example, in Patent Document 1, a write data storage unit that stores data continuously written in a memory, and a comparison circuit that compares and collates read data continuously read after data writing with contents stored in the write data storage unit And a memory diagnostic system having a specific circuit for specifying an error memory when a mismatch occurs in the comparison result.

従来のメモリ診断方法において、メモリの全アドレス領域の各ビットが正常に動作するかをチェックするには、全ビットを変化させる必要がある。そのため、特許文献2では、テストデータとして、各ビットの値が相反する2つ以上のデータパターンを用いた例が記載されている。32ビット幅のデータを書き込み、また読み出すメモリにおいては、テストデータとして、55555555hとAAAAAAAAh(hは16進数表示:以下同じ)の2パターンを使用し、それぞれのテストデータにおいて、書き込み、読み出し、及び比較処理を行うことで、メモリの全アドレス領域の各ビットをチェックしている。これにより全メモリIC、またはメモリ基板やモジュール全体の良否判定を行っている。
特開平11−102328号公報 特開2002−312252号公報
In the conventional memory diagnosis method, it is necessary to change all the bits in order to check whether each bit in all the address areas of the memory operates normally. For this reason, Patent Document 2 describes an example in which two or more data patterns in which the values of each bit are contradictory are used as test data. The memory for writing and reading 32-bit width data uses two patterns of 555555555h and AAAAAAAAAh (h is a hexadecimal notation: the same applies hereinafter) as test data, and writing, reading, and comparison for each test data By performing processing, each bit in the entire address area of the memory is checked. As a result, the quality of all memory ICs or memory boards and modules as a whole is judged.
JP-A-11-102328 JP 2002-312252 A

従来のメモリ診断は、メモリ素子の偶発的故障に注目したメモリ診断方法であり、プロセッサ(CPU)、またはデータ比較回路が一度に読書き可能な語長単位で診断が行われてきた。このため、プロセッサのアクセス語長未満の詳しい情報は破棄されるため、情報不足から詳しい故障解析ができなかった。また、予め設定されたテストデータを用いるため、データバスの伝送路特性によっては正しいデータ値が書き込めない場合があり、より高精度な診断が求められる場合に限度があった。   Conventional memory diagnosis is a memory diagnosis method that focuses on an accidental failure of a memory element. Diagnosis has been performed in units of word length that can be read and written by a processor (CPU) or a data comparison circuit at a time. For this reason, detailed information less than the access word length of the processor is discarded, and detailed failure analysis cannot be performed due to insufficient information. In addition, since test data set in advance is used, there is a case where a correct data value cannot be written depending on the transmission path characteristic of the data bus, and there is a limit to a case where more accurate diagnosis is required.

本発明は、上記事情を考慮してなされたもので、診断用データとして乱数を用い、メモリを構成する各ビットを均一に診断し、メモリの最小記憶単位であるビット単位による異常発生回数を計測することで、迅速に故障のメモリICを特定することができるメモリ診断装置を提供することを目的とする。   The present invention has been made in consideration of the above circumstances, using random numbers as diagnostic data, uniformly diagnosing each bit constituting the memory, and measuring the number of abnormal occurrences in units of bits, which is the minimum storage unit of the memory Thus, an object of the present invention is to provide a memory diagnostic apparatus that can quickly identify a faulty memory IC.

請求項1の本発明のメモリ診断装置は、メモリ診断のために乱数データを生成可能なCPU(中央演算処理装置)と、複数のアクセスアドレスと複数のビットで規定されるメモリ領域を有し、所定のビット幅ごとに集積化された複数のICで構成され、前記CPUにデータバスを介して接続されたメモリと、前記メモリに対して前記乱数データの書き込みと読出し制御を行う手段と、前記メモリのビット毎に、それぞれのメモリ領域に書き込んだ乱数データと読み出した乱数データとを比較し、比較結果に不一致があった場合に異常と判断し前記ビット毎に異常発生回数をカウントする計数手段とを具備し、前記計数手段によるカウント値をもとに異常のあるICを特定することを特徴とする。   The memory diagnostic device of the present invention according to claim 1 has a CPU (central processing unit) capable of generating random number data for memory diagnosis, a memory area defined by a plurality of access addresses and a plurality of bits, A memory composed of a plurality of ICs integrated for each predetermined bit width, connected to the CPU via a data bus, and means for controlling the writing and reading of the random number data to the memory; Counting means for comparing random number data written in each memory area with read random number data for each bit of the memory, and determining that there is an abnormality when the comparison result does not match, and counting the number of occurrences of abnormality for each bit And an abnormal IC is identified based on the count value obtained by the counting means.

また、請求項5記載の本発明は、複数のアクセスアドレスと複数のビットで規定されるメモリ領域を有し、所定のビット幅ごとに集積化された複数のICで構成されたメモリの診断方法であって、メモリ診断のために乱数データを生成するステップと、前記メモリに対して前記乱数データの書き込みを行う書き込みステップと、前記メモリに書き込まれた前記乱数データを読出す読み出しステップと、前記メモリのビット毎に、それぞれのメモリ領域に書き込んだ乱数データと読み出した乱数データとを比較し、比較結果に不一致があった場合に異常と判断する比較ステップと、前記ビット毎に異常発生回数をカウントする計数ステップとを具備し、前記計数ステップによるカウント値をもとに異常のあるメモリICを特定可能にしたことを特徴とする。   According to a fifth aspect of the present invention, there is provided a method for diagnosing a memory having a memory area defined by a plurality of access addresses and a plurality of bits, and comprising a plurality of ICs integrated for each predetermined bit width. And generating random number data for memory diagnosis, writing step for writing the random number data to the memory, reading step for reading the random number data written to the memory, and For each bit of the memory, the random number data written in each memory area is compared with the read random number data, and a comparison step for determining an abnormality when there is a mismatch in the comparison result, and the number of occurrences of abnormality for each bit A counting step for counting, and it is possible to identify an abnormal memory IC based on the count value obtained by the counting step. And butterflies.

さらに、請求項6記載の本発明のメモリ診断システムは、メモリ診断のために乱数データを生成可能なCPU(中央演算処理装置)と、前記CPUにデータバスを介して接続され、それぞれ複数のアクセスアドレスと複数のビットで規定されるメモリ領域を有し、所定のビット幅ごとに集積化された複数のICで構成された複数のメモリと、前記CPUにて生成されたメモリ診断用の乱数データを、前記複数のメモリの診断対象メモリに書き込み、かつ読出しを行い、この診断対象メモリのビット毎に、書き込んだ乱数データと読み出した乱数データを比較し、比較結果に不一致があった場合に異常と判断し前記ビット毎に異常発生回数をカウントする計数手段と、前記計数手段による計数結果を保存する保存手段とを具備し、前記保存手段に保存された計数結果を利用して、異常のあるメモリICを特定することを特徴とする。   Furthermore, the memory diagnostic system of the present invention as claimed in claim 6 is connected to a CPU (central processing unit) capable of generating random number data for memory diagnosis and to the CPU via a data bus, each of which has a plurality of accesses. A plurality of memories each having a memory area defined by an address and a plurality of bits and integrated with a predetermined bit width, and random data for memory diagnosis generated by the CPU Is written to and read from the memory to be diagnosed of the plurality of memories, and the written random number data is compared with the read random number data for each bit of the memory to be diagnosed. And counting means for counting the number of occurrences of abnormality for each bit, and storing means for storing the counting result by the counting means, By using the stored count result, and identifies the memory IC with abnormalities.

本発明のメモリ診断装置によれば、実装されている各メモリの物理的配置を考慮して診断することで、エラーが発生したメモリICをビット番号をもとに特定することができる。   According to the memory diagnostic device of the present invention, it is possible to identify the memory IC in which an error has occurred based on the bit number by performing a diagnosis in consideration of the physical arrangement of each mounted memory.

以下、この発明の一実施の形態について図面を参照して詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

図1は本発明のメモリ診断装置の一実施形態を示すブロック図である。図1において、11はCPU(中央演算処理装置)であり、12,13,14はデータバスである。また15は異なるデータバス同志を接続するバスブリッジであり、DMAC(Direct Memory Access Controller)16を備えている。DMAC16は、CPU11を経由せずに周辺装置とメモリ間でデータをやり取りするものである。CPU11は、データバス12を介してバスブリッジ15に接続され、さらに、バスブリッジ15、データバス13、14にはそれぞれメモリ17,18,19が接続されている。   FIG. 1 is a block diagram showing an embodiment of a memory diagnostic apparatus of the present invention. In FIG. 1, 11 is a CPU (central processing unit), and 12, 13, and 14 are data buses. A bus bridge 15 connects different data buses and includes a direct memory access controller (DMAC) 16. The DMAC 16 exchanges data between the peripheral device and the memory without going through the CPU 11. The CPU 11 is connected to the bus bridge 15 via the data bus 12, and the memories 17, 18, and 19 are connected to the bus bridge 15 and the data buses 13 and 14, respectively.

メモリ17,18,19は、それぞれが診断対象のメモリであり、例えばページメモリのような大容量のメモリでなる。メモリ間におけるデータのやり取りは、DMAC16の制御により、全てDMA転送(ダイレクト・メモリ・アクセス転送)で行われる。DMA転送は、対象となるデータバスにおける最大ビット長を用いて行う。また、データバス12には入力装置20が接続されている。   Each of the memories 17, 18, and 19 is a memory to be diagnosed, and is a large-capacity memory such as a page memory. Data exchange between the memories is all performed by DMA transfer (direct memory access transfer) under the control of the DMAC 16. The DMA transfer is performed using the maximum bit length in the target data bus. An input device 20 is connected to the data bus 12.

図2は、メモリ17,18,19の内部構成を示す図である。メモリ17,18,19はいずれも同様の構成を有するものであり、メモリMとして説明する。メモリMは、複数のメモリIC(IC1〜IC4)から成り、縦方向はアクセスアドレスを示し、プロセッサ(CPU)のアクセス単位内において、N番地から(N+M−1)番地のアドレスを有する。また、横方向は処理方向を示し、例えば0〜63の計64ビット(bit)構成のメモリ領域を有している。   FIG. 2 is a diagram illustrating an internal configuration of the memories 17, 18, and 19. The memories 17, 18 and 19 have the same configuration, and will be described as the memory M. The memory M is composed of a plurality of memory ICs (IC1 to IC4), the vertical direction indicates an access address, and addresses N to (N + M−1) in the access unit of the processor (CPU). The horizontal direction indicates the processing direction, and has a memory area with a total of 64 bits (bits), for example, 0 to 63.

IC1〜IC4は、例えば16ビット毎に区分されたビット位置によって物理的なIC配置が決定され、メモリIC1は各番地の0〜15ビットのメモリ領域を有し、メモリIC2は各番地の16〜31ビットのメモリ領域を有する。同様にメモリIC3は各番地の32〜47ビットのメモリ領域を有し、メモリIC4は各番地の48〜64ビットのメモリ領域を有している。メモリIC(IC1〜IC4)は同一構成の集積回路であり、メモリIC(IC1〜IC4)を1組にして1つのバンクを構成し、複数のバンクによってメモリMは構成されている。   IC1 to IC4 have physical IC arrangements determined by, for example, bit positions divided every 16 bits. The memory IC1 has a memory area of 0 to 15 bits at each address, and the memory IC2 has 16 to 16 at each address. It has a 31-bit memory area. Similarly, the memory IC3 has a 32-47 bit memory area at each address, and the memory IC4 has a 48-64 bit memory area at each address. The memory ICs (IC1 to IC4) are integrated circuits having the same configuration. The memory ICs (IC1 to IC4) constitute a set to form one bank, and the memory M is configured by a plurality of banks.

図2では、バンク1とバンクkで構成された例を示し、バンク1の先頭アドレスをN番地とし、バンクkの先頭アドレスをP番地としている。また、それぞれのバンクは独立した集積回路にて構成されている。   FIG. 2 shows an example composed of bank 1 and bank k, where the first address of bank 1 is N address and the first address of bank k is P address. Each bank is constituted by an independent integrated circuit.

次に本発明のメモリの診断方法を図3〜図5のフローチャートを用いて説明する。メモリ診断はCPU11の制御のもとに実施され、図3のステップS1でメモリ診断が開始される。ステップS2では、診断回数iが入力部20を介して入力される。例えばi=1000とすれば、1000回診断が行われる。診断回数が多ければ多いほど、診断の精度が上がる。   Next, the memory diagnosis method of the present invention will be described with reference to the flowcharts of FIGS. The memory diagnosis is performed under the control of the CPU 11, and the memory diagnosis is started in step S1 of FIG. In step S <b> 2, the diagnosis count i is input via the input unit 20. For example, if i = 1000, diagnosis is performed 1000 times. The greater the number of diagnoses, the higher the accuracy of the diagnosis.

次のステップS3でCPU11は、診断用のデータとして乱数データを生成する。従来では予め設定したテストデータを用いていたが、情報不足から詳しい故障解析ができないことがあったが、本発明では乱数データを用い、診断回数を多くすることによって満遍なく診断し十分な解析ができるようにしている。ステップS4はメモリMをバンク単位に分割して診断するため、分割数jを設定する。   In the next step S3, the CPU 11 generates random number data as diagnostic data. Previously, test data set in advance was used, but there was a case where detailed failure analysis could not be performed due to lack of information, but in the present invention, random number data is used and diagnosis is performed uniformly by increasing the number of diagnosis, and sufficient analysis can be performed. I am doing so. In step S4, the number of divisions j is set in order to diagnose the memory M in units of banks.

ステップS5は、DMAC16を用いて診断用データ(乱数データ)を対象メモリに書込み、ステップS6は、DMAC16を用いて書き込んだ診断用データを読み出すステップである。   In step S5, diagnostic data (random number data) is written into the target memory using the DMAC 16, and in step S6, the diagnostic data written using the DMAC 16 is read.

例えば、図1のメモリ17を診断用の一時メモリとし、図1のメモリ18を診断対象メモリと仮定し、診断サイズを1Mバイトと仮定する。CPU11は、診断用の一時メモリ17に対して、例えば1Mバイト分の乱数データを作成して書き込み、DMAC16を用いて、一時メモリ17の診断データを診断対象メモリ18へ1Mバイト分書き込む(ステップ5)。そして、DMAC16を用いて、診断対象メモリ18から診断用の一時メモリ17の読出し領域(リードバックメモリ)へ1Mバイト分読み込む(ステップS6)。   For example, assume that the memory 17 in FIG. 1 is a temporary memory for diagnosis, the memory 18 in FIG. 1 is a diagnosis target memory, and the diagnosis size is 1 Mbyte. The CPU 11 creates and writes, for example, 1 Mbytes of random data in the diagnostic temporary memory 17 and writes 1 Mbytes of diagnostic data in the temporary memory 17 to the diagnosis target memory 18 using the DMAC 16 (step 5). ). Then, the DMAC 16 is used to read 1 Mbytes from the diagnosis target memory 18 to the reading area (readback memory) of the diagnostic temporary memory 17 (step S6).

次に図4のステップS7に移行し、診断メモリのサイズkが入力され、メモリIC1、IC2、IC3、IC4の単位で決まるメモリサイズkを設定する。   Next, the process proceeds to step S7 in FIG. 4, where the size k of the diagnostic memory is input, and the memory size k determined by the unit of the memory IC1, IC2, IC3, IC4 is set.

ステップS8では、診断用の一時メモリ17に記憶した診断データと、リードバックメモリに読み込んだデータの排他的論理和処理を行い、その結果が「0」であれば正常と判断し、次のメモリを診断する。「0」以外となった場合、即ち排他的論理和の結果が「1」の場合は、データバスまたはメモリが異常と判断され、ステップS9においてエラー計数処理を呼び出し、異常(エラー)の計数処理を行う。   In step S8, an exclusive OR process is performed on the diagnosis data stored in the temporary memory 17 for diagnosis and the data read into the readback memory. If the result is “0”, it is determined as normal, and the next memory Diagnose. If the result is other than “0”, that is, if the result of the exclusive OR is “1”, it is determined that the data bus or the memory is abnormal, the error counting process is called in step S9, and the abnormal (error) counting process is performed. I do.

図5は、ステップS9のエラー計数処理のフローを示したものである。ステップS91でエラー計数処理がスタートすると、ステップS92では異常発生アドレスからバンク番号Aを求める。図2で示すように、各バンクのアドレスはN番地、P番地といった異なる番地が割り当てられているため、異常発生アドレスから該当するバンクを求めることができる。   FIG. 5 shows a flow of the error counting process in step S9. When the error counting process starts in step S91, the bank number A is obtained from the abnormality occurrence address in step S92. As shown in FIG. 2, since the addresses of each bank are assigned different addresses such as N address and P address, the corresponding bank can be obtained from the abnormality occurrence address.

ステップS93では、診断対象メモリの語長yが入力される。即ち、ここではy=64が入力され、0〜63ビットまでのメモリ領域を順々に診断することになる。次のステップS94では、排他的論理和結果を、1ビットずつ調査し、「0」であればステップS96に移行し、「1」となったビットがあればビット番号を確定する。そしてステップS95では、メモリバンク番号Aとビット番号yから識別される異常領域に異常発生回数の値を+1だけカウントアップする。この排他的論理和結果の確認と異常発生回数のカウントはステップS96により、メモリ領域の全ビット(y)に対して実施する。   In step S93, the word length y of the diagnosis target memory is input. That is, here, y = 64 is input, and the memory area of 0 to 63 bits is diagnosed sequentially. In the next step S94, the exclusive OR result is checked bit by bit, and if it is “0”, the process proceeds to step S96, and if there is a bit that is “1”, the bit number is determined. In step S95, the value of the number of abnormal occurrences is incremented by +1 in the abnormal area identified from the memory bank number A and the bit number y. Confirmation of the exclusive OR result and counting of the number of occurrences of abnormality are performed for all bits (y) in the memory area in step S96.

ステップS97でエラー計数処理が終了すると、図4のステップS10に移行し、メモリサイズkの回数だけ診断処理が実行され、IC1〜IC4について診断を行う。またステップS11では分割数jの回数だけ診断処理が行われ、すべてのバンクについて診断処理が実行される。さらにステップS12では診断回数i(=1000)だけ同様の診断処理が実行される。   When the error counting process is completed in step S97, the process proceeds to step S10 in FIG. 4, and the diagnosis process is executed as many times as the memory size k, and the IC1 to IC4 are diagnosed. In step S11, the diagnosis process is performed as many times as the number of divisions j, and the diagnosis process is executed for all banks. Further, in step S12, the same diagnosis processing is executed as many times as the number of diagnosis i (= 1000).

こうして、上記診断処理を診断対象メモリの全メモリ領域に渡り実施し、設定した回数、例えばi=1000に設定した場合は1000回繰り返して行う。   Thus, the above-described diagnosis process is performed over the entire memory area of the diagnosis target memory, and is repeated 1000 times when the set number of times is set, for example, i = 1000.

図6は、1000回繰り返して診断処理を実施した場合の異常回数(エラー発生回数)を示すグラフの一例である。図6はバンク1におけるビット毎のエラー回数をカウントした結果を示し、0〜15ビット及び15〜31ビットについてはエラーがなく、32〜47ビット及び48〜63ビットについてはエラー回数が多いことが分かる。この結果、メモリMが図2のような構成である場合、IC1,IC2は異常がなく、IC3,IC4に異常が発生していると判断することができる。   FIG. 6 is an example of a graph showing the number of abnormalities (number of error occurrences) when the diagnosis process is performed 1000 times. FIG. 6 shows the result of counting the number of errors for each bit in bank 1. There are no errors for 0 to 15 bits and 15 to 31 bits, and there are many errors for 32 to 47 bits and 48 to 63 bits. I understand. As a result, when the memory M has the configuration as shown in FIG. 2, it can be determined that there is no abnormality in IC1 and IC2, and abnormality has occurred in IC3 and IC4.

尚、自己診断結果(異常回数のカウント値)は、CPU11内のメモリ領域や、自己診断によって異常なしと判断されたメモリのメモリ領域に保存される。この自己診断結果を保存するメモリ領域は、例えばプロセッサのアクセス単位を構成するビット数×メモリバンク数×4バイトで定義され、容量の大きさと関係がない。例として、プロセッサのアクセス単位を64ビット、メモリバンク数を1とした場合、保存するメモリ領域は64ビット×1バンク×4バイト=256バイトとなる。   The self-diagnosis result (abnormal number count value) is stored in a memory area in the CPU 11 or a memory area of a memory determined to have no abnormality by the self-diagnosis. The memory area for storing the self-diagnosis result is defined by, for example, the number of bits constituting the access unit of the processor × the number of memory banks × 4 bytes, and is not related to the size of the capacity. For example, if the access unit of the processor is 64 bits and the number of memory banks is 1, the memory area to be stored is 64 bits × 1 bank × 4 bytes = 256 bytes.

以上説明したとおり、本発明のメモリ診断装置は、従来のメモリ診断方法に比べて、実装されている各メモリの物理的配置を考慮して診断を行うことにより、エラーが発生したバンク番号とビット番号から故障のあるメモリICを特定することが可能である。よって、故障異常情報を開発部門等にフィードバックすることで、容易に故障したメモリを交換することが可能であり、作業性を向上することができる。   As described above, the memory diagnostic device according to the present invention has a bank number and a bit in which an error has occurred by performing a diagnosis in consideration of the physical arrangement of each mounted memory as compared with the conventional memory diagnostic method. It is possible to identify a faulty memory IC from the number. Therefore, the failure abnormality information is fed back to the development department or the like, so that the failed memory can be easily replaced and workability can be improved.

また、以上の実施形態に限定されることなく、特許請求の範囲を逸脱しない範囲内で他の変形例も考えられる。   Further, the present invention is not limited to the above-described embodiment, and other modifications are conceivable within the scope not departing from the scope of the claims.

本発明のメモリ診断装置の一実施形態を示すブロック図。The block diagram which shows one Embodiment of the memory diagnostic apparatus of this invention. 同実施形態において使用するメモリの内部構成を示す説明図。Explanatory drawing which shows the internal structure of the memory used in the embodiment. 同実施形態におけるメモリ診断の動作を説明するフローチャート。6 is a flowchart for explaining an operation of memory diagnosis in the embodiment. 同実施形態におけるメモリ診断の動作を説明するフローチャート。6 is a flowchart for explaining an operation of memory diagnosis in the embodiment. 同実施形態におけるメモリ診断の動作を説明するフローチャート。6 is a flowchart for explaining an operation of memory diagnosis in the embodiment. 同実施形態におけるメモリ診断結果の一例を示す説明図。Explanatory drawing which shows an example of the memory diagnostic result in the embodiment.

符号の説明Explanation of symbols

11…CPU(プロセッサ)
12,13,14…データバス
15…バスブリッジ
16…DMAC
17,18,19…メモリ
20…入力部
M…メモリ
IC1,IC2,IC3,IC4…メモリIC
11 ... CPU (processor)
12, 13, 14 ... data bus 15 ... bus bridge 16 ... DMAC
17, 18, 19 ... Memory 20 ... Input part M ... Memory IC1, IC2, IC3, IC4 ... Memory IC

Claims (8)

メモリ診断のために乱数データを生成可能なCPU(中央演算処理装置)と、
複数のアクセスアドレスと複数のビットで規定されるメモリ領域を有し、所定のビット幅ごとに集積化された複数のICで構成され、前記CPUにデータバスを介して接続されたメモリと、
前記メモリに対して前記乱数データの書き込みと読出し制御を行う手段と、
前記メモリのビット毎に、それぞれのメモリ領域に書き込んだ乱数データと読み出した乱数データとを比較し、比較結果に不一致があった場合に異常と判断し前記ビット毎に異常発生回数をカウントする計数手段と、を具備し、
前記計数手段によるカウント値をもとに異常のあるICを特定することを特徴とするメモリ診断装置。
A CPU (Central Processing Unit) capable of generating random number data for memory diagnosis;
A memory having a memory area defined by a plurality of access addresses and a plurality of bits, configured by a plurality of ICs integrated for each predetermined bit width, and connected to the CPU via a data bus;
Means for writing and reading the random number data to and from the memory;
For each bit of the memory, the random number data written in each memory area is compared with the read random number data, and when there is a mismatch in the comparison result, it is determined that there is an abnormality, and the count for counting the number of occurrences of abnormality for each bit Means,
A memory diagnostic apparatus, wherein an abnormal IC is identified based on a count value obtained by the counting means.
前記メモリに対して前記乱数データの書き込みと読出しの制御は、前記CPUが行うことを特徴とする請求項1記載のメモリ診断装置。   The memory diagnostic apparatus according to claim 1, wherein the CPU controls the writing and reading of the random number data with respect to the memory. 前記メモリの診断は、予め設定した回数行い、前記計数手段はそれぞれの診断結果における異常発生回数を累積加算することを特徴とする請求項1記載のメモリ診断装置。   2. The memory diagnosis apparatus according to claim 1, wherein the memory diagnosis is performed a preset number of times, and the counting means accumulates and adds the number of occurrences of abnormality in each diagnosis result. 前記メモリは前記複数のIC群で1つのバンクを構成し、前記メモリの診断をバンク毎に実施することを特徴とする請求項1記載のメモリ診断装置。   2. The memory diagnosis apparatus according to claim 1, wherein the memory comprises one bank with the plurality of IC groups, and the memory is diagnosed for each bank. 複数のアクセスアドレスと複数のビットで規定されるメモリ領域を有し、所定のビット幅ごとに集積化された複数のICで構成されたメモリの診断方法であって、
メモリ診断のために乱数データを生成するステップと、
前記メモリに対して前記乱数データの書き込みを行う書き込みステップと、
前記メモリに書き込まれた前記乱数データを読出す読み出しステップと、
前記メモリのビット毎に、それぞれのメモリ領域に書き込んだ乱数データと読み出した乱数データとを比較し、比較結果に不一致があった場合に異常と判断する比較ステップと、
前記ビット毎に異常発生回数をカウントする計数ステップと、を具備し、
前記計数ステップによるカウント値をもとに異常のあるメモリICを特定可能にしたメモリ診断方法。
A memory diagnostic method comprising a plurality of ICs having a memory area defined by a plurality of access addresses and a plurality of bits and integrated for each predetermined bit width,
Generating random data for memory diagnosis;
A writing step of writing the random number data to the memory;
A reading step of reading the random number data written in the memory;
For each bit of the memory, comparing the random number data written in each memory area and the read random number data, a comparison step of determining an abnormality when there is a mismatch in the comparison results;
A counting step for counting the number of occurrences of abnormality for each bit, and
A memory diagnostic method that makes it possible to identify an abnormal memory IC based on the count value obtained in the counting step.
メモリ診断のために乱数データを生成可能なCPU(中央演算処理装置)と、
前記CPUにデータバスを介して接続され、それぞれ複数のアクセスアドレスと複数のビットで規定されるメモリ領域を有し、所定のビット幅ごとに集積化された複数のICで構成された複数のメモリと、
前記CPUにて生成されたメモリ診断用の乱数データを、前記複数のメモリの診断対象メモリに書き込み、かつ読出しを行い、この診断対象メモリのビット毎に、書き込んだ乱数データと読み出した乱数データを比較し、比較結果に不一致があった場合に異常と判断し前記ビット毎に異常発生回数をカウントする計数手段と、
前記計数手段による計数結果を保存する保存手段と、を具備し、
前記保存手段に保存された計数結果を利用して、異常のあるメモリICを特定することを特徴とするメモリ診断システム。
A CPU (Central Processing Unit) capable of generating random number data for memory diagnosis;
A plurality of memories connected to the CPU via a data bus, each having a memory area defined by a plurality of access addresses and a plurality of bits, and composed of a plurality of ICs integrated for each predetermined bit width When,
The random number data for memory diagnosis generated by the CPU is written to and read from the diagnosis target memory of the plurality of memories, and the written random number data and the read random number data are read for each bit of the diagnosis target memory. A counting means for comparing, and determining that there is an abnormality when the comparison result is inconsistent and counting the number of occurrences of abnormality for each bit;
Storing means for storing the counting result by the counting means,
A memory diagnostic system characterized in that an abnormal memory IC is identified using a counting result stored in the storage means.
前記書き込んだ乱数データと読み出した乱数データを比較するため、排他的論理和処理を行うことを特徴とする請求項6記載のメモリ診断システム。   7. The memory diagnosis system according to claim 6, wherein an exclusive OR process is performed to compare the written random number data with the read random number data. 前記計数手段による計数結果は、前記CPU内のメモリ又は、診断結果により異常がないと判断されたメモリに保存することを特徴とする請求項6記載のメモリ診断システム。   7. The memory diagnosis system according to claim 6, wherein the counting result by the counting means is stored in a memory in the CPU or a memory determined not to be abnormal based on the diagnosis result.
JP2006065772A 2006-03-10 2006-03-10 Memory diagnostic apparatus, method and system Abandoned JP2007241840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006065772A JP2007241840A (en) 2006-03-10 2006-03-10 Memory diagnostic apparatus, method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006065772A JP2007241840A (en) 2006-03-10 2006-03-10 Memory diagnostic apparatus, method and system

Publications (1)

Publication Number Publication Date
JP2007241840A true JP2007241840A (en) 2007-09-20

Family

ID=38587293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006065772A Abandoned JP2007241840A (en) 2006-03-10 2006-03-10 Memory diagnostic apparatus, method and system

Country Status (1)

Country Link
JP (1) JP2007241840A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61202255A (en) * 1985-03-04 1986-09-08 ジヨン・フルーク・マニユフアクチユアリング・カンパニー・インコーポレーテツド Quick function test method and apparatus for random access memory
JPH11259374A (en) * 1998-03-12 1999-09-24 Nec Corp Device and method for testing memory and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61202255A (en) * 1985-03-04 1986-09-08 ジヨン・フルーク・マニユフアクチユアリング・カンパニー・インコーポレーテツド Quick function test method and apparatus for random access memory
JPH11259374A (en) * 1998-03-12 1999-09-24 Nec Corp Device and method for testing memory and storage medium

Similar Documents

Publication Publication Date Title
JP5545718B2 (en) System and method for testing and providing an integrated circuit having a plurality of modules or sub-modules
JP2004005951A (en) Test of ecc (error correction code) memory
TWI453752B (en) Control device, test device and control method
US9009548B2 (en) Memory testing of three dimensional (3D) stacked memory
JP3570388B2 (en) Memory diagnostic device and diagnostic method
US7484147B2 (en) Semiconductor integrated circuit
JP2007241840A (en) Memory diagnostic apparatus, method and system
JP4215723B2 (en) Integrated circuit
JP2008171287A (en) Information equipment, connection inspection method, program and recording medium
JP5964265B2 (en) Semiconductor integrated circuit device
US7149869B2 (en) Method and apparatus for generating generic descrambled data patterns for testing ECC protected memory
JP2020030874A (en) Memory wiring diagnostic method of electronic control device
JP5279641B2 (en) Test apparatus and diagnosis method thereof
US20240087665A1 (en) Read-only memory diagnosis and repair
JP2006277133A (en) Semiconductor integrated circuit and memory data checking method
JP2007148570A (en) Diagnostic device and diagnostic method for storage device
JP2002042485A (en) Test apparatus for semiconductor memory
JPH0793225A (en) Memory check system
JP2006268886A (en) Semiconductor memory device
JP2005018397A (en) Memory check method and information processor
JP2013073283A (en) Information processor and storage unit inspection method
CN118116449A (en) Chip testing method, device, system and computer readable storage medium
JP2006338546A (en) Memory diagnostic method and memory diagnostic program
JPH11212731A (en) File device testing method
JP5465164B2 (en) Train information management apparatus and majority processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080313

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110316

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110322

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20110510