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

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

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


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [bug #37901] CRC-CCITT calculation incorrect
Date: Tue, 11 Dec 2012 17:01:15 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

As Weddington, Eric wrote:

> Can we create an alias macro? _crc_xmega_ccitt_update()? Then put
> the explanation in the docs.

Why not just _crc_xmega_update()?

However, I'd like to see a reference for what the Xmega actually does
(and under which circumstances).  All I could find at the moment looks
fairly different from the CCITT x^16 + x^12 + x^2 + 1 one:

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=80405&start=0

The guess there is it's x^19 + x^4 + x^3 + x^1 + 1.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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