Using ESP32-WROOM-32UE. We've got a new board we've put a w5500 ethernet chip on and while it works great, there's an issue with flashing the board once the W5500 is active.
The W5500 reset pin is tied to GPIO 32. When configuring PHY, I provide this code
Code: Select all
eth_phy_config_t phy_config = ETH_PHY_DEFAULT_CONFIG();
phy_config.phy_addr = 1;
phy_config.reset_gpio_num = GPIO_NUM_32;
When this code is run, and while running I try to flash the ESP again, it will not flash unless I force it into bootloader mode. However, if I comment phy_config.reset_gpio_num, everything works as normal. Speaking to the guy who designed the hardware, we're a bit confused why I can't flash once that GPIO is set.
Is there any way past this issue without redesigning the board to use a different GPIO for PHY reset? I can provide schematics if necessary.