I've added FNET to my MK60FN1M0VMD120 board and it compiles with IAR and runs through its initialisation. My problem is that I can't ping my target and I've got no idea how to debug it. Can anyone tell me where to start?
None of the MK60N512 demos run on the MK60FN1M0 because Freescale chose to change the MCG module. If you use MK60N512 MCG configuration code the processor will hang in the initialisation section.
I've fixed my problem now, which turned out to be in the configuration of the K60 MAC to Phy interface. My target uses the MII mode instead of the RMII mode. I've now got ping and telnet working (more or less) so I'm very happy.
Have you tried FNET provided example demo, such as <shell> demo?
I could use this demo run at TWR-K60N512 board, then use PC can ping the TWR-K60N512 board.
It need to config both TWR-K60N512 board and PC in same network IP segment.
Wish it helps.
What did you have to change in sysinit() or start.c in FNET 2.6.1 to get the boot application to run on the TWR-K60F120M?
Is there or is there going to be any support for FNET on the TWR-K60F120M?
Any pointers would much be appreciated.
The crucial line is in mcg.c where I had to change
My hardware has a 25MHz external oscillator and this change keeps the PLL happy.
Retrieving data ...