john30 / ebusd-esp

Firmware for ESP8266 allowing eBUS communication for ebusd (https://github.com/john30/ebusd)
150 stars 21 forks source link

Can't get W5500 ethernet module to work #88

Closed SeAIMe closed 9 months ago

SeAIMe commented 9 months ago

Hi,

I received a v5 a couple of months ago. Integration into Home Assistant went smoothly. However, I've had some connection issues due to a poor wifi signal from time to time.

So I ordered a W5500 ethernet module (the one that gets connected flipped to USRL+W2) using the link on ebusd.eu. It arrived yesterday and I did a reset of the v5, erased it and did a flash with the latest firmware. I configured the pins as described on your website and made sure that I attach it to the right pins (+5V on W2/9).

The red led on the W5500 module lights up and also the link/RX/TX leds of the RJ45 socket indicate a connection as soon as I connect a ethernet wire. However, I can't establish a connection.

The logs show some errors related:

10:24:41 Info execute: var eth 0 10:24:41 Info execute: if "eth -t" "var eth 1" else "if \"eth -wt\" \"var eth 2\"" 10:24:41 Info execute: eth -t 10:24:41 Error w5500.mac: W5500 version mismatched, expected 0x04, got 0x00 10:24:41 Error w5500.mac: emac_w5500_init(795): vefiry chip ID failed 10:24:41 Error esp_eth: esp_eth_driver_install(228): init mac failed 10:24:41 Error eth: initialise_ethernet(250): install driver 10:24:41 Ethernet on USR-ES1 not available 10:24:41 Warning execute: command failed: eth -t = 1 10:24:41 Info execute: if "eth -wt" "var eth 2" 10:24:41 Info execute: eth -wt 10:24:41 Error w5500.mac: W5500 version mismatched, expected 0x04, got 0x00 10:24:41 Error w5500.mac: emac_w5500_init(795): vefiry chip ID failed 10:24:41 Error esp_eth: esp_eth_driver_install(228): init mac failed 10:24:41 Error eth: initialise_ethernet(250): install driver 10:24:41 Ethernet on W5500 module not available 10:24:41 Warning execute: command failed: eth -wt = 1

How should I proceed?

Thank you!

SeAIMe commented 9 months ago

In the meantime I found this issue: https://github.com/john30/ebusd-esp32/issues/21#issue-1901592244

I followed the steps there and came to the conclusion that my W5500 module seems to be broken. I'm going to replace it and then try again.

Sorry for creating this issue in the wrong repo btw. I realized too late that there is also a ebusd-esp32...