So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By DDRSimon
#73238 OK I SOLVED IT !!!

First of all, I don't know what happened when I first tried to flash NodeMCU, but I tried again, and this time it worked. And several times. Which seemed to rule out any flash issues.

So I tried to write a lua program that would blink my led on GPIO9. No luck, my led did not blink. I changed the program trying other pins, and that caused NodeMCU to crash, which I found was weird.

Long story short, after some googling I found that page : https://github.com/esp8266/Arduino/issues/1446

Turns out that GPIO9 and GPIO10 are actually used to access the flash memory, so tinkering with them caused the resets !

I returned to my arduino sketch, used gpio2 instead of gpio9, and got to blink the on-board led.

Thanks for your time.