Solved!!! using IAR Technical Note 91733
The CRC16 check value is working!!!
--- In lpc2000@yahoogroups.com, "carlosahsilva" <carlosahsilva@t...>
wrote:
>
> The help says it is a sum, but I found an apllication note and a
> sample of CRC checksum in the IAR suport page, I am testing it now
>
> --- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...>
> wrote:
> >
> > At 08:30 PM 1/10/06 +0000, carlosahsilva wrote:
> > >I have made some tests on the Program CheckSum generated by IAR
> > >compiler and there is realy something fish.
> > <snip>
> >
> > > for (long byte = 0; byte < 0x00037FFF-0x00000000; byte++) {
> > > // Read a byte and sum it
> > > ValCheckSum += *pby;
> > > // Increment pointer
> > > pby++;
> > > }
> >
> > Just a thought, are you sure they are using addition for the
> > checksum. Not, say, xor?
> >
> > Robert
> >
> > " 'Freedom' has no meaning of itself. There are always
> restrictions, be
> > they legal, genetic, or physical. If you don't believe me, try
to
> chew a
> > radio signal. " -- Kelvin Throop, III
> > http://www.aeolusdevelopment.com/
> >
>Message
Re: Checksum Problem Part B
2006-01-11 by carlosahsilva
Attachments
- No local attachments were found for this message.