Building AN3470 / AN3518

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

Building AN3470 / AN3518

2,177 Views
MarcVDH
Contributor I
Hello,
I am currently trying to build the AN3470 and AN3518 applications using CW7.0 SE.
I opened the application using the .mcp file which I found buried deep in the directory tree of the application note. This works (after automatic conversion of the project for CW7.0), but when I hit the "make" button, all I get are plenty of errors.
Am I missing something here?

I am actually interested in building an application based around a HTTP client.
Labels (1)
0 Kudos
8 Replies

593 Views
MarcVDH
Contributor I
I tried uninstalling Codewarrior for Coldfire V7 and installed version 6.4
The application notes can now successfully be built.
0 Kudos

593 Views
michal_d
Contributor I
Hello,
 and where I can now get 6.4 CW?
 
thanks, Michal
0 Kudos

593 Views
JimDon
Senior Contributor III
If  you do service request, they  will send you a link to download 6.4.

While you are at it, tell them the code needs to be fixed to work with 7.

0 Kudos

593 Views
michal_d
Contributor I
Hello,
 I have a new ColdFire_Lite_DEMO project, which you can compile without problems with CW 7.0 but there something strange .... tasks created by create_freescale_task which has NET_PRIORITY priority does not work correctly and when in sleeping state yield most of the time of system and the rest of tasks (e.g. console) is almost frozen.
 Do you have similar experience?
 
M.


Message Edited by michal_d on 2008-07-01 11:29 PM
0 Kudos

593 Views
vier_kuifjes
Senior Contributor I
When the AN3470/AN3518 (TCP/IP Lite based application notes) are compiled with CW7.0, compilation fails.
TCP/IP Lite can be downloaded from the Freescale web site by itself too, not as part of an application note. This version is more recent than the one in the application note and does compile fine with CW7.0.

This made me decide to port my AN3518-based application to this more recent version of TCP/IP Lite. It compiles fine with CW7.0 but... for some reason the application doesn't run. I haven't figured out why, I decided that since it works fine when compiled with CW6.4, I will simply keep using CW6.4. CW6.4 requires a lot less hard disk space also! (not that this matters these days...)

I also read somewhere in the TCP/IP Lite documentation :


ColdFire TCP/IP Lite Project                                                 Version 2.0 October 12, 2007

CodeWarrior for ColdFire currently has a stable release with Version 6.4. A Version 7.0 is expected in December 2007 and a new drop of this project will be released then. This is why we have included 6.4 in the filename.


So I guess one day a CW7.0 compatible version of TCP/IP Lite should arrive...
0 Kudos

593 Views
michal_d
Contributor I
I have found where was the problem in web server target - use tk_yield() instead of tk_sleep() in freescale_http_loop().
 Now the performance of web server is excelent.
 
I would not recommend to tk_sleep() while the performance rapidly goes down. During tk_sleep() there is also task switch but it freeze other tasks ... or I am doing something wrong. If yes please let me know.
 
Michal
 
 
0 Kudos

593 Views
alager
Contributor II
I'm using CW version 7.0 build 15.
freescale TCP files version 6.4 rev 2.0 and the tk_sleep(10) call is in the freescale_http_loop() and it works fine.

Aaron
0 Kudos

593 Views
michal_d
Contributor I
Hello Aaron,
 I was not able to compile this project with 7.0 CW IDE (don't know which build). There was plenty of errors .... Change of tk_sleep() function was because I include in http loop check of another TCP server and performance of this server was very poor if http was alive.
 Anyway from my point of view TCP stack from this project is not stable (I am not sure if I did not somthing wrong) so we decided to use another (uTasker) and we are very satisfied.
 
regards, Michal
0 Kudos