View previous topic :: View next topic |
Author |
Message |
msstaf
Joined: 04 Jan 2006 Posts: 3
|
Different Checksum with different version of CCS ??? |
Posted: Wed Jan 04, 2006 9:52 am |
|
|
Hy,
I actually work with 2 different version of CCS a 3.219 version and a 3.240 version in two different computer. When i compile the same project and the same file i haven't the same checksum and i haven't the same file.hex, file.cof, it's a big problem for me because i need to work with this two version. I check the option and it's seems to be the same, Someone have a solution please ???
( excuse for my bad english ) |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jan 04, 2006 10:12 am |
|
|
CCS will can change their library functions, and the start-up code
in main(), and the optimizations, and also do bug fixes.
Don't expect different compiler versions to make identical Hex files. |
|
|
rwyoung
Joined: 12 Nov 2003 Posts: 563 Location: Lawrence, KS USA
|
|
Posted: Wed Jan 04, 2006 10:13 am |
|
|
Well, they are producing different machine code. Changes in the compiler tend to do that. Things are fixed, improved or broken as the compiler version numbers change.
Compare the LST files from both and you will see the differences.
If you want the same checksum, use the same version of compiler every time but different machinecode will produce different checksums. _________________ Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month! |
|
|
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
|
|
Posted: Wed Jan 04, 2006 11:54 am |
|
|
If they produced the same hex code, they wouldn't be much of an update.
??
Wouldn't it be great to charge customers for an update and never change/fix the program. ((microsoxxx)) |
|
|
msstaf
Joined: 04 Jan 2006 Posts: 3
|
|
Posted: Thu Jan 26, 2006 12:26 pm |
|
|
I install the same version of ccs and i find the same Checksum. THis is the only solution.
Thank for your answer. |
|
|
|