In my code I am using a function called "__DATE__" .
The build date is inherently connected to the .S19 file.
After somedays I was repeated the build and compared the new .s19 file with the original .s19. Obviously, the dates will not line up - 8 bytes.
But more than 8 bytes are changing and different.
Expectation : It should not be different anything other than date (8 bytes). In my case more than 8 bytes...Please help
Why only 8 bytes? __DATE__ should evaluate to string, "18 Oct 2010" IIRC. That's more than 8 bytes.
copy of other post, just in case:
Be sure to turn of the inclusion of the Timestamp (default is on) by changing the linker properties and adding the following environment variable setting:
-EnvINCLUDETIME=OFF
Edit>[your tool] Settings>Target>Linker for [HC12|HC08]>Command Line Arguments
just add -EnvINCLUDETIME=OFF
This may help in the binary comparison. All the above comments are correct as well regarding space for the _DATE macro.
My suggestion is to try it first without the date macro, get that to compare consistently, and then work in your _DATE macro