0% found this document useful (0 votes)
172 views

Checksum and CRC Error Detection

Checksum is a calculated value used to detect errors in transmitted or stored data. A checksum is generated by combining all bytes of a chunk of data using arithmetic or logical operations. After transmission or storage, a new checksum is calculated and compared to the original - if they do not match, an error occurred. Checksums can detect but not correct errors, and may not find all errors. They are simpler to implement than other error detection methods like parity or cyclic redundancy check codes.

Uploaded by

Munir Habib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
172 views

Checksum and CRC Error Detection

Checksum is a calculated value used to detect errors in transmitted or stored data. A checksum is generated by combining all bytes of a chunk of data using arithmetic or logical operations. After transmission or storage, a new checksum is calculated and compared to the original - if they do not match, an error occurred. Checksums can detect but not correct errors, and may not find all errors. They are simpler to implement than other error detection methods like parity or cyclic redundancy check codes.

Uploaded by

Munir Habib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CHECKSUM ERROR DETECTION

CHECKSUM ERROR DETECTION


Checksum is a calculated value that is used to test data integrity. Errors can occur when data is
transmitted or when it is written to disk. One means of detecting such errors is use of a
checksum. Checksum is a value calculated for a given chunk of data by sequentially combining
all the bytes of data with a series of arithmetic or logical operations. After the data is
transmitted or stored, a new checksum can be calculated (using the possibly faulty transmitted
or stored data) and compared with the original one. If the checksum do not match, an error
occurred, and the data should be transmitted or stored again. If they do match, the
transmission or storage was probably error-free. Checksums are simple validation mechanism.
They cannot detect all errors and they cannot be used to correct errors.

The parity and LRC methods are not very reliable, when more than error occurs within a
character or message. One major advantage of the CRC method is its ability to detect multiple
errors within any length of message.

Another major advantage of checksum is that it is simple to implement. In this method, each
character being transmitted is exclusive ORed with an accumulated total of all previous
characters. The final accumulated total is the checksum character sent with the message. Once
again, at the receiver exclusive ORing all the characters and the transmitted checksum should
produce a result of zero. Any other result indicates that an error has occurred.

In comparison with CRC, checksum is more likely to experience similar values for
different messages. While the odds that enough errors would cause a duplicate checksum to
the one originally sent are reasonable high, that possibility is still far more likely than a similar
occurrence using the CRC method.

http://cedticomputer.blogspot.com/2013/06/cyclic-redundancy-check-crc.html

You might also like