ESP32-Gateway rev.G not available in Arduino IDE

Started by webgiorgio, June 14, 2021, 09:31:03 AM

Previous topic - Next topic

webgiorgio

Hi,
I am porting a program from ESP32-EVB rev.I to ESP32-Gateway rev.G, but it does not work (Ethernet keeps connect/disconnect/connect/disconnect.... I suspect because in the Arduino IDE I set the revision F instead of G.
Rev F is the maximum I can set in the Arduino IDE. Why?
I have
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
in additional board managers, and I've reinstalled the ESP32 from board manager.

LubOlimex

>  I suspect because in the Arduino IDE I set the revision F instead of G.

No. I doubt it.

The Ethernet circuit is different between the boards. Different source for the clock and more. My advice is to first test the default Ethernet example of ESP32-GATEWAY if you have trouble follow this document:

https://www.olimex.com/Products/IoT/ESP32/_resources/Arudino-ESP32.txt
Technical support and documentation manager at Olimex

webgiorgio

It now works, with rev G hardware and Arduino IDE set for rev F.
today I flashed the board with the ethernet cable disconnected. When I connected the cable, it got the IP and everything worked. Now I can reflash and it runs without problems. Go figure.

LubOlimex

Cool that it got working.

The changes between revision F and G are minor and should NOT affect any configuration in Arduino IDE, only these two major changes:

- R54 removed. R24 and R16 moved further away from the button.
- Improved EN signal - added C5(1uF/0603) on pin #3 of ESP32. R24 now 10k.
Technical support and documentation manager at Olimex

pkjuan

Hello,
can you send me the code please? because i don't find how to program ethernet with rev.G.

Thank you very much!