ESP32 Gateway and Latest ESP32 Arduino Library (2.0.1)

Started by evanevery, November 23, 2021, 05:15:27 PM

Previous topic - Next topic

evanevery

I'm working to test the ESP32 Gateway product.  I've read the notes about using the "development" version of the Arduino ESP32 board support.  I have Rev"F" selected for my Rev "G" board...

Basically I can't get the Ethernet interface to come up.  Getting these errors on some very minimal code:

E (1012) esp.emac: emac_esp32_init(354): reset timeout
E (1012) esp_eth: esp_eth_driver_install(222): init mac failed

The code is quite simple:
----------------------------
#include "ETH.h"

void setup(){
  Serial.begin(9600);
  Serial.println();
  Serial.println("Rebooting...");
  ETH.begin();
}

void loop() {
}
--------------------------

I wonder if there are a couple of issues which may be relevant:

1.  The current version of the Arduino ESP32 Board Support is v2.01 (9 Nov 2021)

2.  THERE IS NO DIFFERENCE between the "development" and "stable" releases.  As the stable release is quite new, they are both the same!

Anyone know what is going on here?

LubOlimex

Where in this code do you initialize Ethernet? It is just serial print?

Just try the ETH_LAN8720 example.

In version 2.0.1 you can find it here:

https://github.com/espressif/arduino-esp32/tree/2.0.1/libraries/Ethernet/examples/ETH_LAN8720
Technical support and documentation manager at Olimex