The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.
Re: Re: CRC-CCITT code in ANSI C for MSP430 - Augusto Einsfeldt - Oct 23 11:45:59 2009
I will try one more time... sorry about these glitches.... using poor webmail access end
in this kind of fails...
Would not be just change the < < 12 to < < 15 and < < 5 to < < 2 ?
Try and verify using an internet available CRC test like this:
http://zorc.breitbandkatze.de/crc.html
-Augusto
On Sex 23/10/09 13:43 , Augusto Einsfeldt a...@terra.com.br sent:
hahaha... this shi* webmail did not like the < < and cut out the rest
of the text... so here it is in a bit different format:
Would not be just change the <
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: CRC-CCITT code in ANSI C for MSP430 - safeldt2 - Oct 23 17:04:18 2009
This was my first attempt, but it does not calculate correctly. I can't figure out how the
function are working.
Uffe
--- In m...@yahoogroups.com, Augusto Einsfeldt
wrote:
> I will try one more time... sorry about these glitches.... using poor webmail access end
in this kind of fails...
> Would not be just change the < < 12 to < < 15 and < < 5 to < < 2 ?
> Try and verify using an internet available CRC test like this:
> http://zorc.breitbandkatze.de/crc.html
>
> -Augusto
> On Sex 23/10/09 13:43 , Augusto Einsfeldt aee@... sent:
>
>
>
> hahaha... this shi* webmail did not like the < < and cut out the rest
> of the text... so here it is in a bit different format:
> Would not be just change the <
>
> [Non-text portions of this message have been removed]
>
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: CRC-CCITT code in ANSI C for MSP430 - Hugh Molesworth - Oct 23 18:10:45 2009
I didn't look at Paul's code, but be aware that the starting seed
value for the two polynomials are different; one uses 0x0000 and one
uses 0xFFFF. Why 0xFFFF? Because that stops an error condition where
an all-zero "packet" (not really a packet, just a sequence of '0's)
appears to have a correct CRCC.
Hugh
At 10:04 PM 10/23/2009, you wrote:
>This was my first attempt, but it does not calculate correctly. I
>can't figure out how the function are working.
>
>Uffe
>
>--- In m...@yahoogroups.com, Augusto Einsfeldt
wrote:
> >
> >
> > I will try one more time... sorry about these glitches.... using
> poor webmail access end in this kind of fails...
> >
> >
> > Would not be just change the < < 12 to < < 15 and < < 5 to < < 2 ?
> > Try and verify using an internet available CRC test like this:
> > http://zorc.breitbandkatze.de/crc.html
> >
> > -Augusto
> >
> >
> >
> >
> > On Sex 23/10/09 13:43 , Augusto Einsfeldt aee@... sent:
> >
> >
> >
> >
> >
> > hahaha... this shi* webmail did not like the < < and cut out the rest
> > of the text... so here it is in a bit different format:
> > Would not be just change the <
> >
> > [Non-text portions of this message have been removed]
> >
>------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )