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 16:24:52 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

As mojo wrote:

> If you are interested I have working code that implements the IEEE
> 802.3 CRC-32 and is compatible with the XMEGA CRC generator. I also
> have code that generates the weird CRCs the XMEGA produces when it
> calculates the checksum of the flash memory regions, both for AVR and
> 32 bit processors (so that firmware updaters can compare notes with
> the XMEGA).

Just file it as a patch, please.  Don't forget to include the
leading comment that starts with /** so it gets added to the
documentation.

Obviously, since all this is a header file only, it ought to be
suitable for an inline function.
-- 
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]