7 years, 6 months ago.

K64F EthernetInterface library and Watchdog working?


1. Has the low level Ethernet driver for the K64F been ported to EthernetInterface?

2. Does the Watchdog timer for the K64F work. Due to hardware limitations, Watchdog doesn't work on the KL25Z



Question relating to:

The Freedom-K64F is an ultra-low-cost development platform for Kinetis K64, K63, and K24 MCUs.

+1 for the ethernet drivers

posted by Sebastián Pastor 02 May 2014

5 Answers

7 years, 6 months ago.

To be truth told, I haven't tested watchdog on this platform. Out of curiosity, what are hw limiation that watchdog does not work? I am not aware of it, therefore would like to know.

Ethernet is in progress. Will be available soon.

Regards, 0xc0170

Accepted Answer

Thanks for the quick answer.

On the KL25Z, the Watchdog can only be set up once after reset. I believe that something is touching the WD before the user code has a chance to set it up. I could be wrong, but I tried getting the WD to work for a couple days last summer with no luck.


posted by Kevin Braun 08 Apr 2014

The watchdog on KL25Z is disabled in mbed-src\targets\cmsis\TARGET_Freescale\TARGET_KLXX\TARGET_KL25Z\system_MKL25Z4.c by DISABLE_WDOG definition. The very same difinition is also in TARGET_K64F\system_MK64F12.c, but the watchdog on K64F is different. ALLOWUPDATE is set in WDOG->STCTRLH, so the watchdog registers should not be write-once only and it may be possible to use watchdog on K64F without library modification. For KL25Z, you can try to import mbed-src instead of mbed and set DISABLE_WDOG to 0.

posted by Ales Povalac 29 Apr 2014
7 years, 6 months ago.

+1 on ethernet support! - it would solve a big issue for us where we can replace KL25Z with this one for Windows8 support (it requires all kinds of tricky driver signing to do usb on windows8)

7 years, 6 months ago.

I am looking forward to being able to use the Ethernet interface on this platform.

I would like to use the enet too. Any getting started samples ?

I have only seen samples using the serial (USB) port and LEDs ;

posted by John Donn 14 Apr 2014
7 years, 6 months ago.

Looking for enet samples to get started too !

7 years, 6 months ago.

Looking for the Ethernet drivers as well! :) Thanks in advance...