7 years, 11 months ago.

Latest mbed-rtos breaks Ethernet on K64F

FYI,

Version 111 of mbed-rtos works, 114 is broken.

...kevin

1 Answer

7 years, 11 months ago.

Hi,

can you be more specific, breaks how ? compilation error ? run time error ? How to reproduce it?

Accepted Answer

Update: I had a look, EthernetInterface was not updated, thus lwip-sys did not reflect the size of mutex for new kernel (was changed in RTX). I tested this with TCP hello world. Previously field, with an update, passes.

posted by Martin Kojtal 10 May 2016

It compiles fine, but it never gets a DHCP address.

posted by Kevin Braun 10 May 2016

what is the revision you are testing with? get the latest EthernetInterface, should get dhcp address. (revision 53 fixes it)

posted by Martin Kojtal 10 May 2016

EthernetInterface v52. 53 is not yet available.

posted by Kevin Braun 10 May 2016

That's correct, it should be now available : https://developer.mbed.org/users/mbed_official/code/EthernetInterface/

posted by Martin Kojtal 10 May 2016

Perfect Martin!!

DCHP works, pinging works, NTP client works, TFTP Server works and SD File access works!!

All is right with the world. Thanks Martin

posted by Kevin Braun 10 May 2016

If I update all libraries to current version, then EthernetInterface doesnt compile ( K64F compile error). Cannot open source file "fsl_enet.h"

posted by Tobi Roe 11 May 2016

Tobi, there was one more thing missing for latest sources, whcih should be live now (KSDK2 defines)

posted by Martin Kojtal 11 May 2016