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.
Techopedia Explains Error Correction Code
Error correction code is applied to data storage via the following steps:
- 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.
- 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.
- If the codes match, the data is error free and is forwarded for processing.
- 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).