7 years, 6 months ago.

After update to the newest EthernetInterface, the Portpin PTC16 is no longer available

I work with FRDM-K64 and I use PTC16 as an output pin. My application works proper, as long as I updated to the newest EthernetInterface version. Since this update, PTC16 is no longer available from my program. I checked the source of EthernetInterface and found, that in the function k64f_init_eth_hardware in the file hardware_init_MK64F12.c this port pin (and in addition some other like PTC17, PTC18 ...) will used. In the previous version, this pins were not use. Does anyboy have an explanation why this pins will used for Ethernet ?

1 Answer

6 years, 7 months ago.

Did you ever get this resolved? I'm having the same problem.

No, not really. But in the meantime I made a lot of tests with different versions to get a stable working version for FRDM-K64 on using EthernetInterface and the SdCard Lib. I found a lot of comments about this, several one recommend to switch back the mbed lib to version 127 or whatever. Some parts work with the mbed lib, sometimes I get error messages where I only have the way to replace mbed with mbed-dev but at least with mbed-dev also several parts do not work. I'm tired to search all these this in the deep of an library. I have a working set with older versions I have converted to a folder. At the moment I look for other options. But I had tested the Kinetis KDS with the exported sources from mbed, the size of the created bin is close to the double and it did not work. So I'm some frustrated. mapetips (Peter)

posted by Peter S. 10 Sep 2017