How perform reset factory Esp32 I try to solved by New program but when i download again esp easy same pb no wifi
What do you mean by factory reset? Do you want flash the AT firmware?
Every time you flash a new Arduino sketch, it automatically flashes a new firmware to your ESP32.
I flashed esp easy then crashed wifi access after few day . Even when flashing other Program no problème but impossible to reset the wifi password if flash again esp easy that must be socker in non-volatile memories. So factory reset
thank for your help
I see. Those configs are stored in the flash memory. So, I recommend using the esptool: https://github.com/espressif/esptool
Basically, you need to send a similar command to erase the flash memory:
esptool.py --chip esp8266 p com7 erase_flash
You need to replace with your ESP8266 port.
I hope that helps,
Thank you i tried it this week
Can i use chip esp32 in place of chip esp8266?
thank again for your help
Exactly (write esp32 for the ESP32 chip). You will need either Python 2.7 or Python 3.4 or newer installed on your system.
The latest stable esptool.py release can be installed from pypi via pip or you can download the repository on GitHub:
$ pip install esptool
esptool.py --chip esp32 p com7 erase_flash
With your ESP32 com port. It should work
It’s working great.
type esptool.py erase-flash is enough
Thank you my esp32 Work Well
I am getting fatal error occurred: failed to connect to esp32: timed out waiting for packet header.
i’ve run the command below:
py -3.9 -m –chip esp32 –port COM7 erase_flash
nothing seems to work. cannot upload new firmware as well from adruino ide.
Have you checked the esp32 troubleshooting guide?
Did you hold the BOOT button for force your board into flashing mode?
This guide might help: [SOLVED] Failed to connect to ESP32: Timed out waiting for packet header
Somehow I got >>>>>rst:0x1 (RTCWDT_RTC_RESET), BOOT:0X13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
…on the serial monitor. This video solved my problem.
Wow! Great Stuff …!!!
I thought I had cooked an ESP32. I was puzzled by the popular belief that the ESP32 EEPROM access from Arduino/platformio/VSCode is limited to 512 bytes. This seemed highly restrictive given the claimed 4MB of flash.
I began experimenting with various settings for EEPROM_SIZE in the EEPROM.begin( ) call. Everything worked fine up to and including 4096, but when I went to 8192, I got all sorts of ugly error messages and the errors continued even as I backed off the EEPROM_SIZE.
I thought maybe I’d cooked the ESP32, but Rui’s procedure appears to have restored it. That being the case, I’m going start tweaking the rumored ‘partitions’ to see if I can get more SRAM to play with.