Error Correction Code

Why Trust Techopedia

What Does Error Correction Code Mean?

Error correction code (ECC) checks read or transmitted data for errors and corrects them as soon as they are found. ECC is similar to parity checking except that it corrects errors immediately upon detection. ECC is becoming more common in the field of data storage and network transmission hardware, especially with the increase of data rates and corresponding errors.

Advertisements

Techopedia Explains Error Correction Code

Error correction code is applied to data storage via the following steps:

  1. When a data byte or word is stored in RAM or peripheral storage, a code-specifying bit sequence is estimated and stored. Each fixed number of bits per word has an additional fixed number of bits to store this code.
  2. When the byte or word is called for reading, a code for the retrieved word is calculated according to the original algorithm and then compared to the stored byte’s extra fixed bits.
  3. If the codes match, the data is error free and is forwarded for processing.
  4. If the codes do not match, the changed bits are caught through a mathematical algorithm and the bits are immediately corrected.

Data is not verified during its storage period, but is tested for errors when it is requested. If required, the error correction phase follows detection. Frequent recurring errors at the same storage address indicate a permanent hardware error. In this case, the system sends the user a message, which is logged to record the error location(s).

Advertisements

Related Terms

Margaret Rouse
Technology Specialist
Margaret Rouse
Technology Specialist

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.