Page 1 of 1
How to delete config.dat
Posted: 04 Nov 2017, 09:06
by foxejoe
Hi I probably have a corrupted config.dat since the esp is unresponding.
I reflash the firmware but the config.dat is still the old one since If I connect to the serial port I can read it.
The ESP remain in ST mode and not connecting to the network ... I probably need to delete the config.data but I don't know how.
Thanks for your help
Lorenzo
Re: How to delete config.dat
Posted: 04 Nov 2017, 13:49
by vader
Send the command 'reset' (e.g. unter Tools in the GUI) and the ESP ist set to AP mode and deletes the config.
Re: How to delete config.dat
Posted: 04 Nov 2017, 18:10
by grovkillen
The command can also be sent over serial if the unit isn't accessible through web.
Re: How to delete config.dat
Posted: 21 Nov 2017, 10:39
by cherylhoward
Thank you for that command
Re: How to delete config.dat
Posted: 25 Jan 2018, 19:26
by tgd
Same porblem, but I can't access my esp through web. How can I send the reset command by serial?
Re: How to delete config.dat
Posted: 25 Jan 2018, 19:41
by grovkillen
You need to connect a cable to the USB port or RX/TX on the unit.
Re: How to delete config.dat
Posted: 25 Jan 2018, 22:40
by tgd
Thanks for the help re RX/TX connect info. Just saw your response - in the meanwhile found this
http://www.pratikpanda.com/completely-f ... sh-memory/
-tried it to no avail, but followed Peter Scargills advice in comments and used Expressif tool
python.exe esptool.py -p com3 -b 115200 erase_flash
Worked great.
Thanks all.
Re: How to delete config.dat
Posted: 29 Jan 2018, 19:32
by GregWoodsLancs
I have been searching for a way to test the setup procedure from scratch, but my WeMos D1 Mini always remembered my WiFi settings.
The Serial command "reset" sounded promising, but doesn't appear to do any sort of factory reset.
Eventually, I discovered esptool.py, and managed to erase the flash.
Code: Select all
esptool.py --chip esp8266 p com7 erase_flash
It's a shame ESP_Easy isn't as easy as it should be for noobs like myself.
Re: How to delete config.dat
Posted: 29 Jan 2018, 19:46
by grovkillen
GregWoodsLancs wrote: ↑29 Jan 2018, 19:32
It's a shame ESP_Easy isn't as easy as it should be for noobs like myself.
Come on... We're doing something great here and we'll deliver a good product for free, and the official version 2 release will of course have more thing working.
Re: How to delete config.dat
Posted: 30 Jan 2018, 00:46
by GregWoodsLancs
Wait until you see my upcoming post about my initial WiFi configuration experiences. I expect to get flamed for that too!!
However, I am persisting with ESPEasy. From what little I've seen, it does look like a great project, and I'm a huge fan of open source and respect the people who donate their time and energy.
But I stand by my statement: "It's a shame ESP_Easy isn't as easy as it should be for noobs like myself."
If you call something "EasyXXX" or "XXXEasy", you have to make sure the path of the noobs is tested over and over again, and is a completely smooth experience. I am of software developer myself, and I know how developers and regular users can become blinded to the flaws of a system. Maybe this has happened here... or maybe I'm an idiot. The fact that you've got all defensive instead of explaining where I went wrong hints at maybe I'm not an idiot after all!
I'm happy to file bug reports, but thought it was better to get feedback here first, just in case I'm doing something stupid.
I am trying to help, and apologise if my tone sounded otherwise.
Re: How to delete config.dat
Posted: 30 Jan 2018, 01:40
by TD-er
Well I'm all in for some proper "delete" features, including a call to clear all flash memory after the sketch. Just to make sure it is not causing issues when left over settings are still present.
It wouldn't be the first time I had to dive into the source to add some jumps in the code, to get rid of something I messed up while testing.
I'm also still often in proper n00b mode, even after adding several thousands lines of code to the project
Perhaps you can add some suggestions here:
https://github.com/letscontrolit/ESPEasy/issues/696