-->
Page 1 of 1

Revert back after writing sketch to ESP8266-01?

PostPosted: Mon Sep 26, 2016 10:39 am
by pcm2a
If I use sketch to write some code to an ESP8266-01 and then later on want to go back to using the ESP8266 as a peripheral device with my arduino, is it as simple as writing a blank sketch to the ESP8266?

To elaborate in more detail, right now I can control the ESP8266 with AT commands from my arduino. The arduino is doing all the logic and telling the ESP8266 what to do. After I flash some sketch over to the ESP8266 it will be doing the wifi logic all on it's own. Later on I may want to undo that. Hopefully that makes sense.

Re: Revert back after writing sketch to ESP8266-01?

PostPosted: Mon Sep 26, 2016 11:33 am
by martinayotte
No, if you've uploaded an Arduino sketch inside ESP, the AT Firmware is gone/erased.
To get it back, you have to upload this AT firmware again, either from a backup, or from the Espressif SDK.

Re: Revert back after writing sketch to ESP8266-01?

PostPosted: Mon Sep 26, 2016 5:41 pm
by pcm2a
Thanks! My esp is on 1.3 so I guess that should be my first course of action: flash esp firmware (make sure it works), flash sketch, flash esp firmware again.