-->
Page 1 of 2

How to completely erase the flash?

PostPosted: Wed Jul 08, 2015 8:16 pm
by helpme
I would like to completely erase the flash on the ESP8266. I am encountering strange problems and am not sure if it is caused by corrupted flash in certain sectors. How can a complete erase of the flash be done? My module is using 4096Mbit flash and DIO flashing.

Re: How to completely erase the flash?

PostPosted: Wed Jul 08, 2015 8:45 pm
by lethe
esptool.py has an option "erase_flash", which will perform a full chip erase.

Re: How to completely erase the flash?

PostPosted: Sun Aug 28, 2016 3:43 pm
by javo
lethe wrote:esptool.py has an option "erase_flash", which will perform a full chip erase.


What's the command?

Re: How to completely erase the flash?

PostPosted: Mon Aug 29, 2016 8:50 am
by martinayotte
Code: Select allesptool.py --port /dev/ttyUSB0 erase_flash