Re: CCITT in C++ for AVR
- From: John Hudak <jhudak@xxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 15:41:26 -0500
A colleague here at CMU did some interesting work looking at the
robustness of CRCs and their implementation. One interesting artifact of his work is that some of the assumptions about failures do not hold in ultra-dependable systems. You might want to take a look at:
http://www.ece.cmu.edu/~koopman/pubs/paultisch05_dsn_crc_ultradependable.pdf
Perhaps this paper may be overkill for you, you sound like you just want an algorithm, but the first couple of sections may help you in your understanding of it.
John
PeteS wrote:
The CRC algorithm is almost trivial to implement. This search gave over 2 million hits (of which at least some appeared useful) http://www.google.com/search?hl=en&lr=&q=crc+implementation+c&btnG=Search
I implemented CRC16 and CRC32 some years ago - took maybe an hour once I had the algorithm in front of me. The polynomial is irrelevant to the fundamental implementation.
It's possible there's a free implementation for AVR - see http://www.avrfreaks.net/
Cheers
PeteS
.
- References:
- CCITT in C++ for AVR
- From: RadGar
- Re: CCITT in C++ for AVR
- From: Kurt Harders
- Re: CCITT in C++ for AVR
- From: RadGar
- Re: CCITT in C++ for AVR
- From: PeteS
- CCITT in C++ for AVR
- Prev by Date: Re: Will SoC completely replace generalized microcontrollers?
- Next by Date: Re: Debugging assembly
- Previous by thread: Re: CCITT in C++ for AVR
- Next by thread: Re: CCITT in C++ for AVR
- Index(es):
Relevant Pages
|