- 19:55:22.704 -> E (133) rtl8201: rtl8201_pwrctl(252): power up timeout
- 19:55:22.704 -> E (133) rtl8201: rtl8201_init(334): power control failed
- 19:55:22.746 -> E (133) esp_eth: esp_eth_driver_install(215): init phy failed
I've got an Sillicognition wESP32 (revision 7 with RTL8201 chip) connected to my computer via the programmer.
If I run the code below (the code originates from the documentation), I'll get the following error:
- #include <ETH.h>
- #include <WebServer.h>
- #include <ESPmDNS.h>
- // Web server
- WebServer server(80);
- // HTTP handlers
- void handleRoot() {
- server.send(200, "text/plain", "Hello from wESP32!\n");
- }
- void handleNotFound() {
- server.send(404, "text/plain", String("No ") + server.uri() + " here!\n");
- }
- void setup(){
- // Start the Ethernet, revision 7+ uses RTL8201
- ETH.begin(0, -1, 16, 17, ETH_PHY_RTL8201);
- // The defaults work for older revision boards
- // ETH.begin();
- // You can browse to wesp32demo.local with this
- MDNS.begin("wesp32demo");
- // Bind HTTP handler
- server.on("/", handleRoot);
- server.onNotFound(handleNotFound);
- // Start the Ethernet web server
- server.begin();
- // Add service to MDNS-SD
- MDNS.addService("http", "tcp", 80);
- }
- void loop(){
- server.handleClient();
- }