Preface: I am still quite new to the ESP8266, however I followed both Julian Ilett's video guide to setting up mine (successfully) as well as Hari Wiguna's.
I have flashed the module with NodeMCU Flasher Master and it uploaded successfully. I initially started utilizing LuaUploader and successfully uploaded a simple Web Page with toggle pin (toggling on a LED). It works absolutely fine. I then decided to save the file to the ESP8266, of course naming it "init.lua". When I disconnect my 3.3V USB-to-Serial adapter (the unit remains powered through a 3.3 voltage regulated circuit) the web page continues to work perfectly (i did notice however that only after I have removed the USB-to-Serial adapter, that a blue light begins to flash on the ESP8266). Then I unplug the power supply, plug it back in and NOTHING.
NOTE*** The USB-to-Serial adapter does NOT power the ESP8266. Although the share a common Gnd, the 3.3V pin from the USB-to-Serial adapter is not connected to anything and left "floating".
WEIRD TWIST: I plug back in the USB-to-Serial Adapter and then unplug the power supply to "reset" the ESP8266, and the web page goes right back online like nothing happened. Note, I did NOT re-upload anything. LuaUploader can be completely closed out and this still happens.
I go back to LuaUploader and press "List Files" and it says "name:init.lua, size:1201". So it's there...I try the process of deleting and re-saving it, followed by trying to overwrite the file, but the same issue occurs.
I then open up ESPlorer v0.2.0-rc2 and connect successfully, press "FS Info" and get:
Total : 549941 bytes
Used : 1506 bytes
Remain: 548435 bytes
so I enter "file.remove("init.lua")"
and then "FS Info" again and get
Total : 549941 bytes
Used : 0 bytes
Remain: 549941 bytes
Close the connection, BUT THE WEB PAGE STILL WORKS!!! All the while the USB-to-Serial is still plugged in. But then when I remove power from the ESP8266 and apply power, nothing (as it should be).
So now I have a blank ESP8266. Now I go to ESPlorer and put in the same code. Open the connection, select "Save to ESP", close connection and the web page runs perfectly. Do the same thing again: remove power...apply power (while USB-to-Serial is connected) and everything works good. Remove USB-to-Serial adapter, remove power from ESP8266, reattach power...nothing. But if I reattach the USB-to-Serial adapter, then reattach power to the ESP8266, works fine.
What the hell is going on? Is the USB-to-Serial sending some type of reset message to the module? How do I get this working from just a boot-up? Am I forgetting to tie a certain pin HIGH or LOW? I don't know, but it's freaky.
Please let me know if you need any additional information. Thank you all so much in advance.
-Joe