Hello everybody!
I'm new in the community and I recently started to develop on this family of microcontrollers (Kinetis).
I need to implement a TCP/IP stack on my system based on the K60DM256ZVLL10, so got the idea of using the promising and well-done FNET implementation (to avoid MQX which is too heavy for my purposes).
Since I read that FNET supports specifically the MK60N512 (TWR-K60N512 board) and apparently no other in the family, I'd like to know if it's possible (the main difference between my microcontroller and the MK60N512 is the amount of flash memory, right?)
If the answer is positive, which kind of actions do I have to do for reaching my aim?
Any special configuration/whatsoever?
Important thing to say that I need just basic things like TCP client/server and DHCP (no HTTP, SMTP, etc).
I planned to cut down FNET implementation.
In my board I use the same PHY chipset mounted on Tower K60 board (KSZ8041NL - not NE2000 register compatible AFAIK).
Let me know any hints and suggestions.
Kind regards,
Luca O.
Hi Luca,
The major difference between K60DM256ZVLL10 with MK60N512 (TWR-K60N512 board) is Flash size and package (pin number). K60DM256ZVLL10 supports Ethernet RMII mode.
Both chips are based on Kinetis 100MHz silicon 1.x platform, there with same module registers definitions.
The FNET software doesn't not need be modified, which need to check the image size to match with 256KB flash size.
Wish it helps.
B.R.
Ma Hui
Thanks a lot for the kind answer and for details.
I'm working on this project with a colleague, and effectively yesterday we managed to compile and run the stack on our board which uses the K60DM256 and the same Ethernet PHY chipset used on the Tower development board.
Due to the modular nature of the stack (thanks Andrey for fine config file) we "cut it down" for our purposes, removing telnet and HTTP, and its final size is really suitable for flash memory size (around 32kB).
Since we are using Processor Expert we needed to change a few parameters: I'll explain better what we did in next message.
We still have to understand what FatFS file system is for inside the stack.
Cheers!
Luca O.
Luca
Also check out the uTasker project since it includes K60, K61, K70 support with a low-memory utilisation TCP/IP stack (IPv4/v6) which allows high-speed industrial-proven client/server operations (and of course DHCP). It is a complete project (not just stack) with low footprint OS, TCP/IP (various services such as FTP client and server, web server, TELNET, etc.), USB device, FAT and many drivers and other services.
It has a real-time Kinetis simulator which allows TCP/IP projects to be developed, run, debugged and tested on the PC (using VisualStudio) as well as containing GCC, CW10.x, Keil, IAR and Rowely Crossworks builds.
You can get an overview at http://www.utasker.com/kinetis.html
and see some videos of it operating on the Kinetis at:
Regards
Mark
Hello Mark!
Thanks for the suggestion.
Anyway we managed to put the FNET stack onto our microcontroller system (since the stack is the main thing we need), but we know another option to use in future projects.
Cheers,
Luca O.