TWR-K60D100M FreeRTOS demo - Ethernet issues

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

TWR-K60D100M FreeRTOS demo - Ethernet issues

672 Views
bhh
Contributor II

Has anyone else run the FreeRTOS full demo (web server) with the IAR tool for the TWR-K60FD100M tower?

I am able to build and download, and it seems to work, but I am dropping a lot of Ethernet packets.  I get 50% or more loss on pings.  I have tried a regular cable and a null cable between a PC and the tower.  I going to try to dig up a switch today and try through that.

Also, in the demo instructions on the freeRTOS site it says that the jumper on J6 on the main board needs to be set to pins 2-3.  I think that they mean J10 (J6 is a header, not a jumper header) to set the system clock to CLKIN0 from the TWR-SER boarrd.  I would like to confirm this.

Thanks.

0 Kudos
Reply
2 Replies

522 Views
mjbcswitzerland
Specialist V

Hi Brian

Try the binary from here to verify the HW: http://www.utasker.com/kinetis/TWR-K60D100M.html

There are also notes about jumper settings. Further notes in http://www.utasker.com/docs/KINETIS/uTaskerV1.4_Kinetis_demo.pdf on age 9.

The most imortant is to ensure that the processor and PHY are using the same 50MHz synchronised clock otherwise there are high losses.

The other thing is that the PHY is used in RMII mode and so its interrupt handler must be setting the EMAC mode correctly when it receives new link information otherwise it may be using mismacthed settings (also data loss can result).

The last point is that this board has a reset output to the elevator that is controlled by a port. Applications that use the port (without realising this) can be resetting the PHY.

Regards

Mark

Kinetis: µTasker Kinetis support

K60: µTasker Kinetis TWR-K60D100M support / µTasker Kinetis TWR-K60D100M support / µTasker Kinetis TWR-K60F120M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos
Reply

522 Views
FreeRTOS_org
Contributor IV

I hate answering the same question in more than one place so will just post the link to the reply:

FreeRTOS Real Time Kernel (RTOS) / Discussion / Open Discussion and Support:FreeRTOS demo for Freesc...

0 Kudos
Reply