might be! Jim Wagner On Jun 13, 2010, at 9:04 PM, stevec wrote: > > could it be a byte order problem in the computed CRC or the > polynomial? > > --- In AVR-Chat@yahoogroups.com, Dede <dewa27@...> wrote: > > > > > > J > > > > > > ----- Original Message ----- > > From: wagnerj@... > > Sent: 05 May 2010 11:13 > > To: AVR-Chat@yahoogroups.com > > Subject: Re: [AVR-Chat] CRC using IAR compiler > > > > > > > I'm using the IAR compiler V5.11 or 5.12 and need to use the > feature > > > that has the linker write a CRC in the last two bytes of the > executable. > > > > > > I got the linker to write the CRC and I am able to read it back. > The > > > problem is, I can't manage to compute the same one. I have tried > > > several different routines to generate the CRC and they agree with > > > each other, but not with what IAR computes. In each case, it is > > > supposed to be a CRC 16 of the CCITT variety with 0x1021 as the > > > polynomial. > > > > > > Has anyone gotten this to work? Is there some sample code > somewhere > > > that has been shown to work with the IAR computed CRC? > > > > > > Thanks. > > > > > > > PS - sorry for misspelling your name! > > > > Jim Wagner > > > > > > Reply to sender | Reply to group | > > > > [The entire original message is not included] > > > > [Non-text portions of this message have been removed] > > > > > [Non-text portions of this message have been removed]
Message
Re: [AVR-Chat] Re: CRC using IAR compiler
2010-06-14 by Jim Wagner
Attachments
- No local attachments were found for this message.