ESP32-EVB: Ethernet Connection pysically lost

Started by A002005, February 25, 2022, 05:04:49 pm

Previous topic - Next topic

A002005

Hello,

We have some issues with the ethernet connection of the ESP32-EVB. Sometimes the physical connection gets lost. The device is still working. We don't get a ETH: Connection lost message. But the physical connection is not established anymore. Pings etc. don't work anymore. A soft reboot cannot establish the connection again. We need to perform a hard reset. We tried many different cables and switches. No difference. The use of some really, really accurate power supplies seems to make it better, but not completely. We have tried over 20 ESP32-EVB. The effect is always the same.

Can someone help me?

Thank you!

LubOlimex

Describe your software and hardware setup. What exactly are you doing, what do you have connected. What are the tools you are using.

The more information you provide on what you are doing, the higher the chance someone might be able to help you.
Technical support and documentation manager at Olimex

A002005

We are using the MOD-RS232 extension to connect a rs232 device. This connection seams to be stable. On the other side we use the ethernet connection. On the device there is a webserver running.

#include <WiFi.h>
#include <ETH.h>
#include <HardwareSerial.h>

LubOlimex

How do you power the ESP32-EVB board? How do you power the MOD-RS232 and the RS232 device?

Did you try without the MOD-RS232 and the device? Does the hang still occur?

Did you try with default Ethernet demo from Arduino IDE, the one described here: https://www.olimex.com/Products/IoT/ESP32/_resources/Arudino-ESP32.txt ?
Technical support and documentation manager at Olimex

A002005

I use the related product SY0605E as power supply. We also tried some pretty good power supplies with good filters and high current. Maybe we have are a little bit less errors but the errors a still there. The MODR232 got no separate power supply. The RS232 devices are several industrial scales with own industrial standard power supplies.

I never tried it without the MOD-RS232 because we need it and the error occurs only sometimes after between a few seconds and 50 hours! But we tried to disconnect the device behind the MOD-RS232. No difference. We also tried the demo. No difference. 

LubOlimex

What is the hardware revision on the board?

Are you using the relays?

Can it be this issue: https://github.com/OLIMEX/ESP32-EVB/issues/35 ?
Technical support and documentation manager at Olimex

A002005

Rev H. I am not using the relays. This is not exactly the same thing, but it seems to be similar. I will try it and come back later. Thank you!