Coldfire Lite modified for use with Codewarrior 7.2 available for downloading!

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

Coldfire Lite modified for use with Codewarrior 7.2 available for downloading!

跳至解决方案
1,738 次查看
vier_kuifjes
Senior Contributor I

I have made some modifications to Coldfire TCP/IP Lite to make it compatible with the new Codewarrior 7.2. These modifications were necessary because CW7.2 can only use register parameter passing to functions while CF Lite was designed to use stack based parameter passing to functions.

 

I have found one issue though. When the optimisation of the compiler is set to >1, the TCP protocol fails to work. UDP on the other hand works fine on any optimisation level.

When this version of Coldfire Lite is compiled on CW7.1.2 (using register parameter passing), everything keeps working fine at every optimisation level.

This makes me believe there is an issue with code optimisation in Codewarrior 7.2.

 

For those interested, the new Coldfire Lite is available here:

http://www.mvdh.be/cf_lite_patched.html

标签 (1)
0 项奖励
回复
1 解答
1,040 次查看
vier_kuifjes
Senior Contributor I

For those of us still using Coldfire Lite, I have updated my patched version. The issue with the optimisation level is now solved and had to do with the IP checksum being calculated wrongly (see description on my web page).

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,041 次查看
vier_kuifjes
Senior Contributor I

For those of us still using Coldfire Lite, I have updated my patched version. The issue with the optimisation level is now solved and had to do with the IP checksum being calculated wrongly (see description on my web page).

0 项奖励
回复
1,040 次查看
vier_kuifjes
Senior Contributor I

For those of you still interested in downloading the modified version of Coldfire Lite, it can be found as attachment in this forum message:

 

https://community.freescale.com/message/89836#89836

0 项奖励
回复