-->
Page 1 of 1

Why does LuaLoader NOT work after using the Arduino IDE?

PostPosted: Fri Mar 30, 2018 7:19 pm
by RogerF
Why does LuaLoader NOT work after using the Arduino ESP8266 IDE?

My NodeMCU ESP8266 (v 0.9) worked fine with LuaLoader, but I decided to try using the Arduino ESP8266 IDE. So I installed the Arduino ESP8266 IDE on my PC and it too works just fine with the ESP8266. In fact, I can load different Arduino programs to the ESP8266 and everything works as expected.

But now when I end the Arduino IDE and start LuaLoader, the ESP8266 does not respond to any LuaLoader command and there is no command prompt. It appears the ESP8266 is in an infinite loop apparently caused by using the Arduino IDE.

Why would this happen, and what can I do to enable LuaLoader to work again? Thanks for any suggestions.

Re: Why does LuaLoader NOT work after using the Arduino IDE?

PostPosted: Fri Mar 30, 2018 7:52 pm
by rudy
When you loaded a new program with the Arduino IDE you overwrote the Lua code. You need to reload the Lua code if you want to use it again. See https://nodemcu.readthedocs.io/en/master/en/flash/

Re: Why does LuaLoader NOT work after using the Arduino IDE?

PostPosted: Sat Mar 31, 2018 5:24 pm
by RogerF
Thanks Rudy ! I didn't realize that the Arduino IDE actually overwrote the Lua.