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,742 次查看
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,115 次查看
kef
Specialist I

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

0 项奖励
回复

1,115 次查看
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 项奖励
回复