ESP32 EVB basic ethernet example of ESP-IDF doesn't work

Started by campestring, November 12, 2020, 05:32:04 PM

Previous topic - Next topic

campestring

Hello everyone,
I am trying to connect my esp32 evb with ethernet but when I run the code my terminal display these lines :
E (383) ip101: ip101_pwrctl(285): power up failed
E (383) ip101: ip101_init(325): power control failed
E (393) esp_eth: esp_eth_driver_install(199): init phy failed

I didn't fine any solution...
Thank you for your help.

Arnaud

LubOlimex

Did you install our JSON and select ESP32-EVB from the board selection?

Did you follow this document for testing the Ethernet:

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

campestring

Thank you for your reply,
I am working with esp-idf with visual studio code.

LubOlimex

So did you test with our ESP-IDF demo. You can at least use it as a template, maybe it would give you hit what might be wrong. You can find it here:

https://github.com/OLIMEX/ESP32-EVB/tree/master/SOFTWARE/ESP32-EVB_Ethernet_v4.0

All ESP-IDF examples for the board can be found here:

https://github.com/OLIMEX/ESP32-EVB/tree/master/SOFTWARE
Technical support and documentation manager at Olimex

campestring

thank you it's working ! I Don't know why the esp-idf doesn't work...
Have a good day !