Computer Interfacing
Discussions about interfacing and electronics
 

CRC-CCITT (Kermit) 0x697C

kermit Calculation


 

       Computer Interfacing Forum Index -> Error detection and correction
Author Message
Raja
Guest







Jan 17, 2010 6:43 pm

Hello everybody,
Is it possible to guide me that how the calculation can be done by hand, i mean manually with out the help of computer.

I am calculating thia logic: 2b3cdb7c00000000 on online crc calculator and the answer on CRC-CCITT (KERMIT) is comming 697c. I just want to know how does it work. If there is a simple formula or example of that, is available, please guide me. I shall be highly thankfull to you.

Kind Regards,
Raja
Santyvall
Guest







Jan 27, 2010 6:38 am

Hola, usa el siguiente código. está en delphi y yo lo uso y hasta ahora no he tenido problemas. Smile


function CRC_16(cadena : string):word;
var
valuehex : word;
i: integer;
CRC : word;
Begin
CRC := 0;
for i := 1 to length(cadena) do
begin
valuehex := ((ord(cadena[i]) XOR CRC) AND $0F) * $1081;
CRC := CRC SHR 4;
CRC := CRC XOR valuehex;
valuehex := (((ord(cadena[i]) SHR 4) XOR LO(CRC)) AND $0F);
CRC := CRC SHR 4;
CRC := CRC XOR (valuehex * $1081);
end;
CRC_16 := (LO(CRC) SHL 8) OR HI(CRC);

end; Wink Smile
Guest








Feb 20, 2010 11:35 pm

Hi Iam calculating like u only, In CRC-CCIT(XModem), If I am giving 01 06 1C 2C 00 01" and choose input type "Hex". The output for CRC XModem is 0x3F36,

Any one helps me how this calcualtes...

Thanks in advance
Leandro
Guest







Apr 28, 2010 1:18 pm

Tengo este dato 0a1a00000000 y quiero este crc e6d1.
El calculador de la pagina con la opcion de hexa me da d1e6 en crc-ccitt(kermit)lo cual me sirve pero no puedo reproducirlo.
Tienen el php que calcula el crc-ccitt(kermit) ?

gracias.
uttam
Guest







Nov 27, 2013 11:40 am

hey hi to all, can any1 tell me how to solve it normally the KERMIT ..... ikeenly need it
Guest








Nov 27, 2013 11:43 am

means with the examples like as


Calculation of the 16-bit CRC-CCITT for a one-byte message consisting of the letter “A”:
Quotient= 111100001110111101011001
poly= ------------------------------------------
10001000000100001 ) 1111111111111111010000010000000000000000
10001000000100001
----------------- red bits are initial value
11101111110111111 bold bits are message
10001000000100001 blue bits are augmentation
-----------------
11001111100111100
10001000000100001
-----------------
10001111000111010
10001000000100001
-----------------
00001110000110110
00000000000000000
-----------------
00011100001101100
00000000000000000
-----------------
00111000011011000
00000000000000000
-----------------
01110000110110001
00000000000000000
-----------------
11100001101100010
10001000000100001
-----------------
11010011010000110
10001000000100001
-----------------
10110110101001110
10001000000100001
-----------------
01111101011011110
00000000000000000
-----------------
11111010110111100
10001000000100001
-----------------
11100101100111010
10001000000100001
-----------------
11011011000110110
10001000000100001
-----------------
10100110000101110
10001000000100001
-----------------
01011100000011110
00000000000000000
-----------------
10111000000111100
10001000000100001
-----------------
01100000000111010
00000000000000000
-----------------
11000000001110100
10001000000100001
-----------------
10010000010101010
10001000000100001
-----------------
00110000100010110
00000000000000000
-----------------
01100001000101100
00000000000000000
-----------------
11000010001011000
10001000000100001
-----------------
1001010001111001 = CRC


Conversion of the binary value above to hexadecimal by segmenting the bits to nibbles:
binary nibbles 1001 0100 0111 1001
hexadecimal 9 4 7 9
Blackcat345
New User



Joined: 16 Dec 2014
Posts: 1


Dec 16, 2014 8:45 am

I have the following information where from the 2nd, 3rd, 4th and 5th pairs a cyclic redundancy check has been calculated using CRC-CCITT(16 bit) and the result stored at the 10th and 11th pairs. I understand the 7E is used to represent read only.





___________________
watson

       Computer Interfacing Forum Index -> Error detection and correction
Page 1 of 1



Running on php BB © 2001, 2009 php BB Group
   Lammert Bies     Interfacing     Sitemap     Forum