-->
Page 1 of 1

Resetting back to stock flash?

PostPosted: Thu Sep 10, 2015 9:09 am
by dayzman
Does anyone know how to reset the ESP8266 to stock flash? Are there pins that I could pull up/down?

I'm using the NodeMCU dev board like below, but I think it's the same for all ESP8266 anyway.

Image

Thanks

Re: Resetting back to stock flash?

PostPosted: Thu Sep 10, 2015 10:43 am
by SteveSpencer
If you are using Windows, then the nodemcu firmware loader will do this for you, with no problems.

More generally, on the nodemcu boards, there is generally a FLASH button, and if you hold it while resetting, the board goes into bootloader/flash mode.

On newer boards, there is also a reset button, but depending on the USB/Serial chip, you may not need to press either of them, since it's done by toggling a couple of serial lines.

This is the equivalent of grounding GPIO0 (usually via a resistor) during reset.

Of course, when you say "stock firmware", you may mean "AT" firmware, rather than nodemcu firmware, but the principal is the same, it's just the BIN file(s). If you search on the forum for "flash firmware" you can probably find more detailed help.

Re: Resetting back to stock flash?

PostPosted: Fri Sep 11, 2015 1:54 am
by dayzman
SteveSpencer wrote:If you are using Windows, then the nodemcu firmware loader will do this for you, with no problems.

More generally, on the nodemcu boards, there is generally a FLASH button, and if you hold it while resetting, the board goes into bootloader/flash mode.

On newer boards, there is also a reset button, but depending on the USB/Serial chip, you may not need to press either of them, since it's done by toggling a couple of serial lines.

This is the equivalent of grounding GPIO0 (usually via a resistor) during reset.

Of course, when you say "stock firmware", you may mean "AT" firmware, rather than nodemcu firmware, but the principal is the same, it's just the BIN file(s). If you search on the forum for "flash firmware" you can probably find more detailed help.


Thanks!