-->
Page 1 of 2

esp12 wiht Nodemcu firmware reset problem (green hand)

PostPosted: Mon Jan 23, 2017 8:50 am
by Alvin_Liu
hello everyone
I'm a green hand with esp8266 ,today i flash the Nodemcu fiemware into my esp-12f
and i success upload a simple sketch <blink>
but i have problem is why when i cut out the power or reset and my esp-12f cannot work like before i reset it
(my mean is why my esp-12f can't remember the code after i reset it)
i use basic esp-12f module
Image

ps: sorry my English is not very well :P :P

Re: esp12 wiht Nodemcu firmware reset problem (green hand)

PostPosted: Mon Jan 23, 2017 11:58 am
by eduperez
There are different booting modes for the ESP, depending on how you wired GPIO0 and GPIO2.

Re: esp12 wiht Nodemcu firmware reset problem (green hand)

PostPosted: Mon Jan 23, 2017 10:13 pm
by mrburnette
https://github.com/esp8266/Arduino/blob/master/doc/boards.md

The link above has some basic schematics for minimum configuration. If you can program the chip and it works, then a power-cycle does not bring the unit back "alive": you likely have a wiring issue, like reset being low ... you need a pull-up of about 10K to 3.3Vcc

Ray

Re: esp12 wiht Nodemcu firmware reset problem (green hand)

PostPosted: Tue Jan 24, 2017 7:56 am
by marcelstoer
Alvin_Liu wrote:i flash the Nodemcu fiemware into my esp-12f


This is the Arduino forum...viewforum.php?f=17 would have been more appropriate.

Alvin_Liu wrote:why my esp-12f can't remember the code after i reset it


The code needs to be in a file called init.lua, see http://nodemcu.readthedocs.io/en/latest ... d/#initlua