Size: 738
Comment:
|
Size: 812
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 11: | Line 11: |
http://www.feng.pucrs.br/~stemmer/processadores2/trab2-2012-2/crc.html |
CRC
A cyclic redundancy check (CRC) is an error-detecting code.
http://en.wikipedia.org/wiki/Cyclic_redundancy_check
http://en.wikipedia.org/wiki/Computation_of_cyclic_redundancy_checks
http://www.drdobbs.com/implementing-the-ccitt-cyclical-redundan/199904926
http://www.ietf.org/rfc/rfc1952.txt
http://www.feng.pucrs.br/~stemmer/processadores2/trab2-2012-2/crc.html
HDLC like framing
The http://www.ietf.org/rfc/rfc1662.txt has two examples of CRC calculations.
Polynom CRC-16: 0x8408 ( CRC-16-CCITT Reversed )
Polynom: x0 + x5 + x12 + x16
CRC-16-IBM
Bisync, Modbus, USB, ANSI X3.28, SIA DC-07, many others; also known as CRC-16 and CRC-16-ANSI
Polynom: x16 + x15 + x2 + 1
Normal |
Reversed |
Reversed reciprocal |
0x8005 |
0xA001 |
0xC002 |