avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #37901] CRC-CCITT calculation incorrect


From: mojo
Subject: [avr-libc-dev] [bug #37901] CRC-CCITT calculation incorrect
Date: Tue, 11 Dec 2012 14:28:57 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11

Follow-up Comment #2, bug #37901 (project avr-libc):

Okay, but in that case I think that needs to be made clear.

The standard CCITT CRC should produce an endian and bit-order independent
result that is compatible with other implementations. I understand that it is
designed to be compatible with the IRDA standard, but it appears to be a
mistake on their part or at least the result of confusion over which version
people are usually referring to by that name.

As I pointed out, the biggest issue for me is that it is incompatible with the
XMEGA CRC module's implementation. Renaming the functions is probably out of
the question now, but the documentation should at least be amended to make it
clear which one you might want to use. There are lots of threads on AVR Freaks
from confused programmers wondering why it doesn't work.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37901>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]