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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,066 Views
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

Labels (1)
0 Kudos
1 Solution
368 Views
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).

View solution in original post

0 Kudos
2 Replies
369 Views
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 Kudos
368 Views
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 Kudos