I need to connect my Tower (TWR-K70F120M + TWR-SER) to my network to communicate with a cloud by Ethernet. But I have not found example or function in KINETIS_120MHZ_SC.
And for information I am a newbie in kinetis.
You can get a complete solution here: http://www.utasker.com/forum/index.php?topic=1721.0
Details about the jumper settings at: http://www.utasker.com/docs/KINETIS/uTaskerV1.4_Kinetis_demo.pdf (chapter 7).
This also allows the TWR-K70 and Ethernet to be simulated in real-time in a network (using VisualStudio).
You can also use MQX which includes a free TCP/IP stack with source and lots of Ethernet examples: MQX: Freescale MQX™ Software Solutions
Thank you to both for your answer, I will became by explore the MQX solution which is more specify.
After pass this day to research solution with MQX RTCS, I have many problems and I dont know if it is my fault or if its generals problems.
- I have compiled without error "build_libs.eww" for my board / iar,
(1) - I can't compiled or open example in MQX 4.1, I haven't "eww" (I work with IAR 7.2) or "exe" file in example repertory,
(2) - After read e few codes with Notepad (it is very hard) I can't found a simple code to initiate Ethernet and / or use http protocols
If my first problem is not due to an error of installation of my part do you know an issue and for the second problem, maybe there are not simple code like the code for UART but if a simple code exist thank to say me where I can found it.
Again thank you for yours answers
Don't forget to compare the uTasker solution - it can be used with CW, KDS, IAR, Keil, Rowely, GCC, CooCox, Atollic, VisualStudio simulator and builds out-of-the-box (all K and KL boards with maximum 4 project settings to adjust) with UART, Ethernet with Web server, FTP, IGMP, TELNET etc. with small footprint (less that 128k for complete projects and services with USB, FAT and multiple networked Ethernet).
Full support is available here or in the uTasker forum.
In the case of MQX based projects I think that you are best asking at the MQX forum.
There are not IAR workspaces for the examples in MQX, only the actual project files. So you have to create a new workspace and add a project to it (Project->Add Existing Project). Read the IAR Tool guide in C:\Freescale\Freescale_MQX_4_1\doc\tools\iar\MQX_IAR_Getting_Started.pdf
For Ethernet examples, check out C:\Freescale\Freescale_MQX_4_1\rtcs\examples\shell
Also make sure to read the rest of MQX Release Notes and MQX Getting Started guides in C:\Freescale\Freescale_MQX_4_1\doc and check out some of the videos: Essentials of MQX RTOS Application Development
I have research a solution in uTasker, in Etherios connector and in RTCS but I haven't found it.
For more precision, my project it's to recuperate data from another device by UART connection (this is do) and to send this data on a web page.
I need to recuperate data of this web page too (maybe not the same web page). So I want to send by ethernet a command like "http://www.mypage.com/POST=data".
When I write this I am not sure of the possibility of this project.
Again thanks for yours answers
It is not clear whether you are running the web server on your board or whether your board has to send data to a web server (as a client).
If you need to display the data locally (as a web server) there are a number of different techniques that can be used but all involve also HTTP and/or JAVA script which means that these files have to be loaded to the web server and interact with the data that you have collected.
In the web server case: One technique is dynamic content generation which is described here: http://www.utasker.com/docs/uTasker/uTaskerV1.3_Content_Generation.PDF
In the uTasker web server project there is a web page which has two examples according to the document details (although most web pages do some form of content generations).
If you need to send data to a remote web server you can use a simple TCP client that connects to the IP address and sends the string (file contents). It doesn't need to be an HTTP client as such (although there may be a need for a HTTP header in each post frame for the web server to accept the data - and possibly containing basic authentication in the header if there is simple user/password protection). Such a header is essentially a fixed string that is sent before the POST data - whereby it needs to have the data content length value set to match the data length that is being sent.
You have right, I haven't understand what I need. I do this for an internship and my boss ant that I use Etherios connector which enables the ethernet connection and the exchange file. So my problem is solving.
But, because there are always but, do you known if uart.h and uart.c (file to open and use uart port) exist on MQX 4.0
Retrieving data ...