# US 2015/0178147 A1 · Self monitoring and self repairing ecc

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0178147 A1
- Document ID: US20150178147A1
- Status: Published application
- Kind: A1
- Application number: 14/623,706
- Filed: 2015-02-17
- Published: 2015-06-25
- Earliest claimed: 2013-03-01
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Edgar R. Cordero; Timothy J. Dell; Joab D. Henderson; Jeffrey A. Sabrowski; Anuwat Saetow; Saravanan Sethuraman
- Web page: https://patentgrep.com/patent/US20150178147A1

## CPC

- G06F 11/10: Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F 11/2215: {to test error correction or detection circuits}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/2017: {where memory access, memory control or I/O control functionality is redundant (redundant communication control functionality G06F11/2005; redundant storage control functionality G06F11/2089)}
- G06F 11/28: by checking the correct order of processing (G06F11/08 - G06F11/26 take precedence; monitoring patterns of pulse trains H03K5/19)
- H03M 13/29: combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Exemplary embodiments of the present invention disclose a method and system for monitoring a first Error Correcting Code (ECC) device for failure and replacing the first ECC device with a second ECC device if the first ECC device begins to fail or fails. In a step, an exemplary embodiment performs a loopback test on an ECC device if a specified number of correctable errors is exceeded or if an uncorrectable error occurs. In another step, an exemplary embodiment replaces an ECC device that fails the loopback test with an ECC device that passes a loopback test.

## Claims

### Claim 1

A system for monitoring a first Error Correcting Code (ECC) module for failure and replacing a first ECC module with a second ECC module if the first ECC module fails, the system comprising:
logic to count both correctable errors and an uncorrectable error detected by a first ECC module and by a second ECC module in data that is read from a memory;
logic to perform a first loopback test that replaces an input to the first ECC module with an output from the first ECC module; and
logic to perform a second loopback test that replaces an input to the second ECC module with an output from the second ECC module.

### Claim 2 (depends on 1)

The system of claim 1, the system further comprising:
logic to detect a failed first ECC module with the first loopback test;
logic to detect a failed second ECC module with the second loopback test;
logic to replace the first ECC module with the second ECC module;
wherein the system is operable to:
detect that a specified number of correctable errors is exceeded;
detect an occurrence of an uncorrectable error;
perform the first loopback test on the first ECC module if the specified number of correctable errors is exceeded or if an uncorrectable error is detected in the first ECC module;
perform the second loopback test on the second ECC module if the specified number of correctable errors is exceeded or if an uncorrectable error is detected in the second ECC module; and
replace the first ECC module that fails the first loopback test with the second ECC module that passes the second loopback test.

### Claim 3 (depends on 1)

The system of claim 1, wherein the first loopback test and the second loopback test include a test for a correct generation of check bits, a test for a correct detection and correction of correctable errors, and a test for a detection of a detectable uncorrectable error.

### Claim 4 (depends on 1)

The system of claim 1, wherein the logic to perform a first loopback test can replace an input to the first ECC module with an output from the first ECC module or an output from the second ECC module.

### Claim 5 (depends on 1)

The system of claim 1, wherein the logic to perform a second loopback test can replace an input to the second ECC module with an output from the first ECC module or an output from the second ECC module;

### Claim 6 (depends on 1)

The system of claim 1, wherein the first ECC module and the second ECC module perform single bit correction double bit detection ECC.

### Claim 7 (depends on 3)

The system of claim 3, wherein the first ECC module and the second ECC module perform single bit correction double bit detection ECC.

### Claim 8 (depends on 1)

The system of claim 1, wherein the first ECC module and the second ECC module perform single byte correction, double byte detection code (SBC-DBD).

### Claim 9 (depends on 8)

The system of claim 8, wherein the first loopback test and the second loopback test include a test for a correct generation of check bits, a test for a correct detection and correction of correctable errors, and a test for a detection of a detectable uncorrectable error.

### Claim 10

A method for monitoring a first Error Correcting Code (ECC) module for failure and for monitoring a second ECC module for failure and replacing the first ECC module with the second ECC module if the first ECC module fails, the method comprising the steps of:
performing a first loopback test on the first ECC module if a specified number of correctable errors is exceeded or if an uncorrectable error is detected in the first ECC module;
performing a second loopback test on the second ECC module if the specified number of correctable errors is exceeded or if an uncorrectable error is detected in the second ECC module; and
replacing the first ECC module that fails the first loopback test with the second ECC module that passes the second loopback test.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first loopback test can replace an input to the first ECC module with an output from the first ECC module or an output from the second ECC module.

### Claim 12 (depends on 10)

The method of claim 10, wherein the second loopback test can replace an input to the second ECC module with an output from the first ECC module or an output from the second ECC module.

### Claim 13 (depends on 10)

The method of claim 10, wherein the first loopback test and the second loopback test include a test for a correct generation of check bits, a test for a correct detection and correction of correctable errors and a test for a detection of a detectable uncorrectable error.

### Claim 14 (depends on 10)

The method of claim 10, wherein the first ECC module and the second ECC module perform single bit correction double bit detection ECC.

### Claim 15 (depends on 10)

The method of claim 10, wherein the first ECC module and the second ECC module perform single byte correction, double byte detection code (SBC-DBD).

### Claim 16

A computer program product for monitoring a first Error Correcting Code (ECC) module for failure and for monitoring a second ECC module for failure and replacing the first ECC module with the second ECC module if the first ECC module fails, the computer program product comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, the program instructions comprising:
program instructions to perform a first loopback test on a first ECC module if a specified number of correctable errors is exceeded or if an uncorrectable error is detected in a first ECC module;
program instructions to perform a second loopback test on the second ECC module if the specified number of correctable errors is exceeded or if an uncorrectable error is detected in the second ECC module; and
program instructions to replace the first ECC module that fails the first loopback test with the second ECC module that passes the second loopback test.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the program instructions to perform the first loopback test can replace an input to the first ECC module with an output from the first ECC module or an output from the second ECC module.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the program instructions to perform the second loopback test can replace an input to the second ECC module with an output from the first ECC module or an output from the second ECC module

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the program instructions to perform the first loopback test and the second loopback test include a test for a correct generation of check bits, a test for a correct detection and correction of correctable errors, and a test for a detection of a detectable uncorrectable error.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein either the first ECC module and the second ECC module perform single bit correction double bit detection ECC, or the first ECC module and the second ECC module perform single byte correction double byte detection ECC.
