[Icc-avr] RE: Different executable images with .COF and, .HEX??

Bate, Michael michael.bate at integra-ls.com
Wed May 28 10:33:44 PDT 2008


I was the original poster of this query.

Unfortunately the question that I asked has not been addressed, so I'm trying again.  Instead we have got bogged down in a discussion of CRC algorithms and how to implement them.

My question was: Is there any reason why the program images (as stored in the atmega168) loaded from a .COF file should be any different from that loaded from the corresponding .HEX file (generated at the same time by the Imagecraft compiler, which supports creating both files simultaneously)?

Someone suggested that maybe debug information is being loaded to the atmega168 from the .COF file, but I'm not sure that makes any sense.  Then again I don't have a good understanding of the details of how the JTAG ICE mk2 works, in conjunction with AVR Studio.  I understand that the .COF file contains lots more information (for debugging) but does that affect what is loaded to the chip?

I could understand how these images might be different due to unused bytes, but I specified to the compiler that these bytes should be set to zero.

We got sidetracked into a discussion of CRCs because I made the mistake of mentioning that that was how I knew that the program images were different.  I even included the CRC algorithm (or part of it) in my original message.  That was clearly a mistake.

Michael Bate
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3358 bytes
Desc: not available
Url : http://dragonsgate.net/pipermail/icc-avr/attachments/20080528/2e698e47/attachment.bin


More information about the Icc-avr mailing list