Hi.
I will have to take a decision about selection the microcontroller. I must choice between MCF52259 and K60. Very helpful for me will be the answer for the following question:
- What is the estimated date when the FNET for K60 will appear?
Solved! Go to Solution.
Hi Gustavo,
>>are you intending to release a FNET demo for Codewarrior 10.1 (Kinetis K60N512)?
Yes, but I would wait for CW10.2.
Thank you,
Andrey Butok
Hi,
Can any one help how to resolve the error
i. Iam using MK60FX512 processor
ii. I downladed fnet and installed fnet on my pc
iii. I loaded the fnet_shellboot( TWRK60F120M)
iv. I did modifications in fnet_user_config.h file and i started debugging
Iam getting the above error
Regards,
suman.
Hi Suman,
1. K60FX512 is not supported by FNET.
2. You may not take CW K60FN1M project and use it for K60FX512.
As a first step, find any working K60FX512 project (e.g. hello world), and only after that try to port FNET to it.
Hi,
Awaiting for the reply.
can any one please help me how to port fnet stack into k60fx512
Regards,
suman v.
Hi Suman,
Platform specific code is placed in fnet\fnet_stack\cpu, appplication startup is in fnet\fnet_demos\common\startup.
Look at existing ports and you should get inspiration.
For k60fx512-specific information you may ask Freescale Technical Support.
Also you can find/hire somebody for this task;)
BTW: The FNET project is not supported and is not sponsored by Freescale.
Best regards,
Andrey Butok
Hi Andrey,
Thanks for the great project.
I am working with the combination of FNET3_0, MQ4_1 and Atollic TS5.4 (which is using arm-atollic-gcc compiler)
I am totally new to such things and still learning, so can you please point me toward a direction, a document or some useful advice for getting FNET up in my application?
I am not using any FNET application.
My application needs TCP/IP as of now and ethernet communication between nodes when needed
Your advice would be great here.
Thanks.
PM
Hi Andrey,
Thank you for your mail.
I have changed the specific code and application start up code I have not changed I do the changes.
Regards,
Suman v.
Hi andrey,
Thank you for your reply
1. I did ADC and UART for K60FX512
2. Iam trying fnet-stack for k60fx512
I ported the fnet project by adding sources and config files, but unfortunately I don't know what configurations I have to do for my processor to run fnet-stack
What are the main changes I have to do? could you please explain
Regards,
suman.
Hi,
We would like to use K70/K60 in our project.
There is requirement for TCP/IP stack with PPP support over USB interface.
By going through the FNET documentation we didnt find any thing regarding the USB interface and PPP support.
FNET TCP/IP stack is supported for Ethernet interface but we would like to use the FNET with USB interface, is it works?
What is the complexity involved in making it work for USB interface?
Regards,
Siva Kumar
Hi Kumar,
The FNET does not have implementation of PPP and USB.
It have to be developed in addition.
>>.What is the complexity involved in making it work for USB interface?
Developing of USB stack from scratch is complex task. Better to find and reuse existing one.
Developing of PPP protocol set is not trivial task too.
Best regards,
Andrey
Hi Andrey,
Thanks for the quick reply.
Can we use any other stack like LWIP? LWIP has support for PPP over serial.
Is this LWIP stack ported on K60/K70?
Else, is there any other TCP/IP stack that you would like to suggest for K60/K70 series of controllers.
If yes, then is there any porting guide for the same?
Thanks and Regards
Siva Kumar
Hi Kumar,
You can look at the Freescale MQX RTCS TCP/IP stack. It has PPP and USB stack.
Best regards,
Andrey
Hello,
I'm new in this and I have some problems, I would like to ask something about FNET and Kinetis.
I have been looking at FNET and I show that I can use MK60N512 and MK70FN1M. When I want to create a new project in CW 10.4 I can't find MK60N512 but MK70FN1M is on the list of CW.
On the list that CW has, it's MK60DN512 and PK60N512, something of those is compatible with MK60N512 that FNET have in its list? I would like to use MK60DN512 if possible.
Thanks
Jose
>>something of those is compatible with MK60N512 that FNET have in its list?
PK60N512
>> I would like to use MK60DN512 if possible.
Not tested. But you can look at an AN that describes N vs DN: http://www.freescale.com/files/32bit/doc/app_note/AN4445.pdf
Logo ID:02-C-001017
Note: Phase-2 (Golden), Core Protocols, Host.
https://www.ipv6ready.org/db/index.php/public/logo/02-C-001017
FNET is the first open-source, bare-metal TCP/IP stack that has got it!
Correct me, if I am wrong;)
Andrey Butok
FNET 2.6.4 released (http://fnet.sourceforge.net):
Added support of Kinetis K64FN1M (FRDM-K64F board)
hi Andrey,
i use frdm k64f and i seen that, in the last FNET version 2.7.5, there are a project of frdmk64f but is for kds2.0. there is a way to use your FNET bootloader in CW10.6?
thank you
Hello Andrey,
I am trying to use the FNET for bootloading K60, But instead of using TFTP for getting the image as in FNET_BOOTLOADER demo (which works fine and i am able to bootload K60 from tftp server hosted on my PC), But I want to host a very small web page on FNET http server, just to browse to the image file and get the file by http get(). Store the image into external flash connected by SPI, then validate the image, backup the previous image and the burn the flash, So for start, I tried initializing the http services on FNET 2.4.0 by defining the FNET_CFG_HTTP (1) and FAPP_CFG_HTTP_CMD (1) , but I get following error when I issue the http command
BOOT> http
Error: HTTP initialization is failed!
I tried to single step and it might be something related to allocating socket descriptors
Do I need to start the http server in some other way?
How/Where do I store the web page that I am trying to host ? (in MQX 3.8 which I use for main application, I use the tfs to store web page)
Is there a some documentation for FNET where I should be looking
Thanks and regards
Nikhil
Hi Nikhil,
I guess, you have not enabled TCP support, required for the HTTP server.
Please use the FNET “shell” demo as reference for right HTTP server initialization and enabling required components.
>> I use the tfs to store web page
FNET does not support MQX TFS, but you can write a File System driver – use FNET ROM FS driver as a reference.
Best regards,
Andrey
Hi Andrey,
Thanks for quick reply,
I added the TCP support so now http server works fine, but the bootloader size does increase considerably after adding the http and TCP support, so had to increase the reserved memory size for BL (I am sure I also need to set appropriate values in the flash.icf file of my main application), thats fine I am sure I would be able to cut down the size when I implement the FS driver. Also I need to add the SPI drivers to access my external flash. Is there any inbuilt support for that or do I need to develop my own drivers for that? Any suggestions or pointer would be really helpful.
Thanks for the help
Nikhil
Hi Andrey,
I am using FNET 2.4.0 for bootloading K60
Is is possible to use .sim(binary file) instead of .srec file for bootoading ? Just because of smaller size which is requirement of my application as it will take less time to download and less space in external flash where i am stroing the downloaded image for verification before bootloading the K60.
I see the following settings in fapp_config.h which tells me it might be possible.
/************************************************************************
* TFTP data handlers
*************************************************************************/
#ifndef FAPP_CFG_TFTP_RX_BIN
#define FAPP_CFG_TFTP_RX_BIN (1)
#endif
#ifndef FAPP_CFG_TFTP_TX_BIN
#define FAPP_CFG_TFTP_TX_BIN (1)
#endif
Thanks
Nikhil