Errors in the ESP32 POE Ethernet Arduino Example

Started by JefferyS, April 15, 2023, 03:04:47 AM

Previous topic - Next topic


Sadly I've spent half a day trying to get the example to work.

And what I finally figured out is that the WiFi Event names were wrong.


These and the rest of them in the code should start with ARDUINO_ not SYSTEM_

I don't know if it had changed at some point but the current arduino-esp32 library shows it as ARDUINO_

Please verify but the Code on my ESP32-POE-ISO is working now.

Sadly somewhere trying to figure what the problem is the bootloader stopped working and now I'm having to ground GPIO0 to ground with a push button.

I tried many directions to fix it but most of it is vague or didn't work.

It would be great if you could put together a tutorial on how to get the bootloader working on the Olimex boards if something goes wrong.




I should probably just remove that example. There is a built-in Ethernet example nowadays that works fine with Olimex boards, it is called "ETH_LAN8720", it is by default located in the examples in the Ethernet sub-category. This one:

During production we write a few files but you can use those released by espressiff instead:

We write bootloader.bin at 0x1000
We write ESP32-PoE_WROOM.bin at 0x10000
We write partitions_singleapp.bin at 0x8000

Then we erase the board with:

$ESPTOOL --chip esp32 --port $USB_PORT --baud $BAUD --before default_reset --after hard_reset erase_flash 2>&1 > /dev/null && echo -e "\033[32m[ГОТОВО]\033[0m" && \ [[ $ERRORS -ne 0 ]] && print_endline && continue
The three files mentioned can be found here:
Technical support and documentation manager at Olimex


Thanks a lot for your help!

I'll give that a try.