(cross-posted on the 68K/ColdFire® MPU forum)
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
解決済! 解決策の投稿を見る。
Hello guys,
Sorry for not getting back to this any earlier. It's been a while since I have been active on this forum...:smileyblush:
I once uploaded the modified CF Lite as an attachment to one of my messages but apparently attachments aren't possible anymore now. I have made a download link available of my most recent version, which is now about 2 years old. I'm no longer using CF Lite anymore myself, I switched to using FNET.
Here's the link:
https://dl.dropbox.com/u/92749876/7.2%20REG_ABI%2020110524.zip
I hope this helps!
Hi Marc,
I'm developing an application based on the Coldfire Lite modified for use with Codewarrior 7 and its fine.
I noticed there is an ethernet bootloader inside the source code...
do you have a mcp project with a bootloader for the Coldfire Lite modified for use with Codewarrior 7?
or could you suggest me where to find it?
thank you again,
Maurice
Hello Maurice,
It's been a while since I have used Coldfire lite, I switched to FNET for my application.
I have never used the boot loader and I have no modified version of it. But I don't think it shoud be too difficult to adapt the code to Codewarrior 7.2.2.
The most important thing to do is to replace the original files that contain assembly code with the new ones.
I'll see if I can take a look into it.
Regards - Marc
that would be great!
thank you
Maurice
Hi Marc,
thanks for the Coldfire Lite modified for use with Codewarrior 7.2...
I noticed you have switched to FNET...
could you please post also a project with FNET for the M52233DEMO board?
@ FNET I found only a project for M52235EVB and I don't know how to adapt it to M52233DEMO board....
thank you a lot!
Maurice
Hi Maurice,
There's no need to adapt FNET to the 52233demo board. Just use the 52235evb version, it runs just fine on the demo board. Works for me! :smileywink:
- Marc
Hi Marc,
thank you for your reply...
I compiled FNET Shell and Shell_boot and it worked! :smileyhappy:
Then I tried to compile boot project and I found this error:
illegal constant expression
fapp_mem.c line 76 {"FNET Params", FAPP_FLASH_PARAMS_ADDRESS, FAPP_FLASH_PARAMS_SIZE},
C:\FNET 2.6.2\fnet_demos\common\fnet_application\fapp_mem.c
(CW 7.2, C:\FNET 2.6.2\fnet_demos\mcf52235\boot\cwcf7.2\m52235evb_boot.mcp)
do you have the same error?
thank you for support,
Maurice
All demo apps appear to compile fine here (FNET 2.6.2, Codewarrior classic 7.2.2).
thanks a lot again!!!
I was using 7.2 ... after upgrading to 7.2.2 everithing went fine
:smileyhappy:
Hello Marc,
I tried to open the specified link (http://www.mvdh.be/cf_lite_patched.html) but this page is not available. I want to use the CF-Lite by Codewarrior 7.2.
Can you do to available your patched CF-Lite project?
Thank you very much for your help!
Hello Marc,
I have the same problem than István.
I tried to migrate Nichelite stack to cw7.2 but a have problems with the vectors initialization.
Thanks
Hello guys,
Sorry for not getting back to this any earlier. It's been a while since I have been active on this forum...:smileyblush:
I once uploaded the modified CF Lite as an attachment to one of my messages but apparently attachments aren't possible anymore now. I have made a download link available of my most recent version, which is now about 2 years old. I'm no longer using CF Lite anymore myself, I switched to using FNET.
Here's the link:
https://dl.dropbox.com/u/92749876/7.2%20REG_ABI%2020110524.zip
I hope this helps!
Thak you very much Marc.
I proved and its works perfect. So i can use the debugger, that not works in cw7.1.
Date: Sun, 24 Mar 2013 05:44:07 -0700
From: admin@community.freescale.com
To: diegoag8@hotmail.com
Subject: Re: CodeWarrior for QorIQ - Coldfire Lite modified for use with Codewarrior 7.2 available for downloading!
Coldfire Lite modified for use with Codewarrior 7.2 available for downloading!
created by Marc Vandenhende in CodeWarrior for QorIQ - View the full discussion
Hello guys, Sorry for not getting back to this any earlier. It's been a while since I have been active on this forum... :smileyblush: I once uploaded the modified CF Lite as an attachment to one of my messages but apparently attachments aren't possible anymore now. I have made a download link available of my most recent version, which is now about 2 years old. I'm no longer using CF Lite anymore myself, I switched to using FNET. Here's the link:https://dl.dropbox.com/u/92749876/7.2%20REG_ABI%2020110524.zip I hope this helps!
Reply to this message by replying to this email -or- go to the message on Freescale Community
Start a new discussion in CodeWarrior for QorIQ by email or at Freescale Community
I'm glad it works for you!
Kind regards - Marc
2013/4/1 Diego Alonso <admin@community.freescale.com>
**
image: Freescale Community<https://community.freescale.com/index.jspa> Coldfire Lite modified for use with Codewarrior 7.2 available for
downloading! created by Diego Alonso<https://community.freescale.com/people/diegoalonso>in
CodeWarrior for QorIQ - View the full discussion<https://community.freescale.com/message/322254#322254>
Hi Marc,
thanks for the Coldfire Lite modified for use with Codewarrior 7.2...
I'm trying to use the udp_client_example, but I'm a bit stack on how to compile it and run.
HTTP_WEB_SERVER works fine, and I would need to integrate udp in there.
I can not find any example to include the udp function in the main code.
I went in to the code that uses the task for the socket handle, but I don't know how to init udp in the main.c
I just need to implement udp send and udp receive...
thank you a lot!
Maurice