guys!
I’m new to IoT and trying to repurpose a second-hand ESP32 controller (ESP32-DOWD-V3, revision 3) that’s already connected to a DHT11, light sensor, and RTC.
I want to reset the controller to its default state so I can reuse it for temperature, humidity, and light detection.
I’ve attempted two methods to reset the controller:
Using esptool:
I ran python -m esptool –chip esp8266 erase_flash in CMD, but received the error:
COM3 failed to connect: Write timeout A fatal error occurred: Could not connect to an Espressif device on any of the 3 available serial ports
Using esptool.js (https://espressif.github.io/esptool-js/):
I connected to the device with a baud rate of 115200 and pressed the ‘BOOT’ button on the ESP32. The process gets stuck at:
esptool.js Serial port WebSerial VendorID 0x10c4 ProductID 0xea60 Connecting..... Detecting chip type... ESP32 Chip is ESP32-D0WD-V3 (revision 3) Features: Wi-Fi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: e0:5a:1b:75:90:0c Uploading stub... Running stub... Stub running....
How can I successfully reset this ESP32 controller to its default state? Any guidance would be appreciated.
Owen Spider is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.