As the title says... Chat on...

User avatar
By arduimat
#25652 Hi,

I'm French, sorry for my bad english. This is my version :

Image

My ES8266 12-E is stuck due to a bad lua script that I have uploaded... infinite loop and reboot and I can't do anything. Even remove.file("init.lua")...

So ok, I reflash my ESP with the latest firmware but that not remove my init.lua, and after the reflash when I restart the module, loop again and again on the old lua script, he is stuck ! How remove this f*****g init.lua ?? :mrgreen:

Have you a solution for me ? Buy a new one ? Why the flash seem's work, but not remove the init.lua script ? :(

I flash correctly with the ESP8266flasher.exe with the good firmware and it seems ok. I hope you understand me.

Thank you :)
User avatar
By devsaurus
#25714 Have you tried flashing the firmware together with INTERNAL://BLANK and INTERNAL://DEFAULT?

If this doesn't help, just flash an older nodemcu version like https://github.com/nodemcu/nodemcu-firm ... ev20150311. This should ignore the previous init.lua and you can do a file.format() to be sure. Then flash the firmware again which you want to have. The init.lua is hopefully gone now :)

After all, load your init.lua with a timer. A good starting point is https://github.com/nodemcu/nodemcu-firm ... s/init.lua.
User avatar
By arduimat
#25728 Thanks a lot ! It's ok with reflash first with 0X0000.bin and 0X10000.bin of the git. Then BLANK et DEFAULT, etc. :mrgreen: And finally by the latest version. It's ok now !

Image