Closed paultbarrett closed 5 years ago
Should also point out that
int present = eth.begin(mac)
results in 0 so it is not initialising correctly
I need to take the Ethernet 2.0.0's W5100 driver and extract from it the ethernet part only (remove the IP/UDP/TCP part) so we can have W5100 W5500 and your W5500 lite working with this driver for lwIP. I need: time :]
The W5500 lite still uses the standard W5500 chip so shouldn't be any different. Is it just that the library doesn't work anymore with any W5500s ?
If you can tell me the version of esp library and matching W5500lwIP library then I am happy to downgrade
eth.begin()
does not depend on arduino core. The current driver only works with W5500, so it should work. I'll try on my tonight (12 hours from now) with my hardware and confirm it is still working.
I just tried again and it works.
Note that you need to initialize SPI before calling .begin()
.
(SPI is not initialized from inside this ethernet driver, unlike ethernet 2.0.0 which does the init)
edit: git head version of esp8266 arduino core is needed for this driver to work. v2.5.2 is not enough.
That was it.
I added SPI.begin(); before the eth.begin and it is now working.
Thanks for the help.
For the life of me I cannot get this library to work.
Hardware: Wemos NodeMCU 3 W5500 Lite Module
Have tested the hardware with ESP8266 Board Package 2.4.2 and Ethernet 2.0.0 library so can confirm all is working. Example sketch DhcpAddressPrinter working
Used both D8 (With transistor) and D2, both work in non W5500lwIP setup
Testing so far
Have installed the latest esp8266 core from git (2.6dev) along with latest git of this library. Also tried 2.5.0 through 2.5.2 of ESP8266 core. Used various example sketches found within this issues section with no luck.
After sketch is loaded it never actually connects. Just sits within the !eth.connected loop