-->
Page 1 of 2

Bare Minimum

PostPosted: Fri Jul 03, 2015 2:54 am
by vishruit
Can someone please upload a bare minimum sketch for ESP8266 - 01?

Actually I flashed WifiTelnetToSerial file onto the module. It got uploaded properly without any errors. But it didn't work in the normal mode (GPIO0 -- floating). So I want a sketch which will allow me to go back to the factory settings within the Arduino IDE itself. (Reflashing via IDE)

Please help me and I am sure others too would require this.

Re: Bare Minimum

PostPosted: Mon Jul 13, 2015 12:52 am
by vishruit
Let's discuss it over here folks!

Re: Bare Minimum

PostPosted: Mon Jul 13, 2015 8:52 am
by martinayotte
I would say that "WifiTelnetToSerial" isn't a bare minimum to try as a first upload.
Maybe you should start with a simple LED Blinker sketch to at least validate your setup.
Also, I suggest to add PullUps on the GPIO2 and GPIO0 for proper boot sequence.

Re: Bare Minimum

PostPosted: Mon Jul 13, 2015 9:32 am
by kolban
I'm still very much new to the ESP8266s ... is this thinking correct:

--- thinking start ---
When we receive ESP8266 devices in the mail, they already contain an application pre-installed in them. That application is the "AT" command processor which listens for AT commands via UART and processes them. When we build new applications and deploy them to the ESP8266, we are replacing the original "AT command processor" application with our own application.

The concept of a "factory reset" would then be the same notion as loading the original "AT" command processor application into the device?
--- thinking end ---

If this is the case, then it would seem to me that downloading the Espressif SDK which I *think* has the binaries of the AT command processor included is what would be needed. Is that not the case?