Artemis and W5500 Ethernet on Micromod

Hi. I see there’s been a couple of postings about this combination not working. The Artemis comes with its own “ethernet.h” which seems to get in the way of the CPP finding the “Ethernet.h” associated with the W5500 library. Is there an easy way around this? I tried explicitly referncing the Ethernet.h file. The compiler/linker complains that it can’t find the dynamic library. I also tried changing the name of “ethernet.h” to something else but the CPP still sees it.

Can you cut/move it to a different directory temporarily?

I tried that. I’ve made the most progress by referencing the path of the header file (“” versus <>). However, I’m still having problems with the linker not finding the right dynamic library.

c:/users//appdata/local/arduino15/packages/sparkfun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/…/lib/gcc/arm-none-eabi/8.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: C:\Users<Username>\AppData\Local\arduino\sketches\E52B2F6F5B14E33041464C9B8409CAF0\sketch\LinkStatus.ino.cpp.o: in function loop': LinkStatus.ino.cpp:(.text.loop+0x2): undefined reference to EthernetClass::linkStatus()’
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

the W5500 is NOT supported with Artemis : MicroMod Ethernet Function Board - W5500 Hookup Guide - SparkFun Learn :
"Reminder, the Artemis and nRF52840 currently do not have built in Ethernet libraries in their Arduino cores. An external Arduino Ethernet library may work with these Processors but at this time Ethernet is not supported. We will update the tutorial in the future if Ethernet support is added to these cores."

So you must be using some external Ethernet Library. It MIGHT be that is conflicting it MIGHT also be that it is not complete. Turn on verbose on with ‘file’, ‘preferences’, “show verbose output during” compilation. Now you can see which Ethernet.h it will include/exclude. Make sure to keep " " around the # include “Ethernet.h”. it will look in the current folder first.

I know which Ethernet header files I’m referencing. It’s the dynamic library that I don’t know how to manipulate.

which library do you use ? maybe I can try to help

Can I ask a related question? Can the W5500 Micro-Mod be used a PoE injector, or does it just function as an end node?

looking at the POE part of the schematics is an end node

Thank you, paulvha. The board description says, "We designed this Function Board to use the IEEE802.3af Alternative B power scheme which uses the spare pairs for power delivery, isolated from the data pairs. " I need to connect two controllers using PoE. The slave controller can be an end node but I need the master to send power, and I guess the W5500 module can’t do that.