How to delete config.dat
Moderators: grovkillen, Stuntteam, TD-er
How to delete config.dat
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
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
Send the command 'reset' (e.g. unter Tools in the GUI) and the ESP ist set to AP mode and deletes the config.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: How to delete config.dat
The command can also be sent over serial if the unit isn't accessible through web.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- New user
- Posts: 1
- Joined: 21 Nov 2017, 09:43
Re: How to delete config.dat
Thank you for that command
On this forum I have found a lot of useful and free tips for my coding projects. Thanx a lot to everybody for this wisdom
Re: How to delete config.dat
Same porblem, but I can't access my esp through web. How can I send the reset command by serial?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: How to delete config.dat
You need to connect a cable to the USB port or RX/TX on the unit.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: How to delete config.dat
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.
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.
-
- New user
- Posts: 2
- Joined: 25 Jan 2018, 10:25
Re: How to delete config.dat
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.
It's a shame ESP_Easy isn't as easy as it should be for noobs like myself.
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
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: How to delete config.dat
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.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.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- New user
- Posts: 2
- Joined: 25 Jan 2018, 10:25
Re: How to delete config.dat
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.
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
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
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
Who is online
Users browsing this forum: Google [Bot] and 11 guests