Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: CRC using IAR compiler

2010-06-17 by Philippe Habib

This has been active because I got pulled away from it for a while.   
Its kind of a back burner task for me.

I did get back to it yesterday and here's what I found out.

1.  I was not running the "slow" CRC twice with 0 to flush out the  
result.  After doing this, I do compute a CRC that agrees with what  
IAR generates.

2.  It only works for me in the emulator, not when I run in the  
debugger.  I suspect that's because I have some funky -D and -Z  
settings in my build comand and the CRC may not be computed for the  
same range in the complier as in my code.  I haven't had the time to  
get back to that issue yet.


On Jun 17, 2010, at 8:22 AM, Marc R.J. Brevoort wrote:

> On Sun, 13 Jun 2010, Jim Wagner wrote:
>
>>> could it be a byte order problem in the computed CRC or the
>>> polynomial?
>> might be!
>> Jim Wagner
>
> This thread has been active for a while now.
> Although CRC is a superior checksum scheme,
> considering the effort this seems to be, I was
> curious why you specifically want a CRC
> checksum, as opposed to a simpler checksum
> scheme?
>
> Best,
> Marc
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.