I have a production machine which has been working well and generating the code I want. Now I need to take it on the road--after much struggle i have KDS running on my laptop. Is there a way to check the output of the laptop against the output of the production machine to make sure everything is working? Can I just compare ELF files, or is there some date stamp that would make such a comparison impossible?
A compare of the ELF/Dwarf file is not feasible because it contains time stamps and potentially paths to the files which can be differernt.
Instead, convert the file to S19 or binary and compare that.
CodeWarrior: S-Record Generation with gcc for ARM/Kinetis | MCU on Eclipse
MCUXpresso: MCUXpresso IDE: S-Record, Intel Hex and Binary Files | MCU on Eclipse
KDS (which has the GNU MCU Eclipse plugins): Binary (and S19) Files for the mbed Bootloader with Eclipse and GNU ARM Eclipse Plugins | MCU on Ecl...
I hope this helps,
Erich