Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: campestring on November 12, 2020, 05:32:04 PM

Title: ESP32 EVB basic ethernet example of ESP-IDF doesn't work
Post by: campestring on November 12, 2020, 05:32:04 PM
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
Title: Re: ESP32 EVB basic ethernet example of ESP-IDF doesn't work
Post by: LubOlimex on November 13, 2020, 09:25:46 AM
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 ?
Title: Re: ESP32 EVB basic ethernet example of ESP-IDF doesn't work
Post by: campestring on November 13, 2020, 09:33:20 AM
Thank you for your reply,
I am working with esp-idf with visual studio code.
Title: Re: ESP32 EVB basic ethernet example of ESP-IDF doesn't work
Post by: LubOlimex on November 13, 2020, 10:01:38 AM
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
Title: Re: ESP32 EVB basic ethernet example of ESP-IDF doesn't work
Post by: campestring on November 13, 2020, 10:27:40 AM
thank you it's working ! I Don't know why the esp-idf doesn't work...
Have a good day !