Compare New .s19 with Old .s19 - Not matching, _Date_ Code function? Please Help

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Compare New .s19 with Old .s19 - Not matching, _Date_ Code function? Please Help

1,744件の閲覧回数
AlexanderLeenus
Contributor I

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

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,117件の閲覧回数
kef
Specialist I

Why only 8 bytes? __DATE__ should evaluate to string, "18 Oct 2010" IIRC. That's more than 8 bytes.

0 件の賞賛
返信

1,117件の閲覧回数
Emac
Contributor III

copy of other post, just in case::smileyhappy:

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

0 件の賞賛
返信