CodeWarrior v5.1 and v5.2 not building to the same .HEX files

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CodeWarrior v5.1 and v5.2 not building to the same .HEX files

跳至解决方案
1,625 次查看
aceshigh78
Contributor I

I maintain several software projects that were developed using CodeWarrior v5.1.  I was running v5.1 on a Windows 7 PC, but it died unfortunately and I was forced to upgrade to Windows 10. 

My co-worker told me that only v5.2 is compatible with Win10 with a patch workaround, which I've installed and applied, but when I compile those same software projects, the .HEX file is completely different content-wise, and also slightly different size-wise.

The project .MCP files open in v5.2 with no errors or warnings, and it looks like all of the settings and files were carry over and import with no obvious issues.  Is this difference in .HEX file content/size to be expected, or are there any settings or options I might need to modify?

0 项奖励
回复
1 解答
1,611 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

from CW5.1 to 5.2,  some changes have been made inside the compiler itself which corrects  bugs and add new features. For instance, to correct a certain bug, sometimes we have to revise and rearrange lib assembly code or sacrifice the hex code size and etc. Bug fixing can make compiler be more stable and usable. But it will cause the generated burning file not same.

What we can guarantee is the software functionality keep same when compiled code with newer CW version. but we can't guarantee the generated code size and burning file still the same.

 

Have a nice day,

Jun Zhang

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,612 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

from CW5.1 to 5.2,  some changes have been made inside the compiler itself which corrects  bugs and add new features. For instance, to correct a certain bug, sometimes we have to revise and rearrange lib assembly code or sacrifice the hex code size and etc. Bug fixing can make compiler be more stable and usable. But it will cause the generated burning file not same.

What we can guarantee is the software functionality keep same when compiled code with newer CW version. but we can't guarantee the generated code size and burning file still the same.

 

Have a nice day,

Jun Zhang

0 项奖励
回复