• AVR Freaks

Hot!Different HEX files.

New Member
  • Total Posts : 13
  • Reward points : 0
  • Joined: 2019/08/01 00:02:22
  • Location: 0
  • Status: offline
2019/08/19 22:33:39 (permalink)

Different HEX files.

I have Source code for PIC24(using C30-V3.30 compiler) written in embedded c.Whenever I try to compare the HEX file of same source code compiled on two different machines(using same compiler with same version),it shows that these two hex files are different in Beyond compare Tool but when compiled on same machine and compared ,these hex files are showing same.
I am new to MPLAB and dont know why this is happening.Kindly help.

2 Replies Related Threads

    A Guy on the Net
    • Total Posts : 18259
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Different HEX files. 2019/08/20 05:06:36 (permalink)
    All the compiler settings in the project need to be the same too. Are you sure both machines are actually using the same compiler?
    Look at the output window it should list the compiler version and what’s on the command line.
    Super Member
    • Total Posts : 5917
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: Different HEX files. 2019/08/20 07:28:10 (permalink)
    +1 (1)
    Even though HEX files are different, they may have the same functionality.
    Some minor differences in settings or compiler version may cause the files to become different, but they both will work the same.
    Jump to:
    © 2020 APG vNext Commercial Version 4.5