Current Lua downloadable firmware will be posted here

User avatar
By Phis
#53326 Hi,

Unfortunately I bricked my NodeMCU. I load an init.lua script with an busy waiting script. It sends an http requests and then waits for one second with tmr.delay(...). Now I don't know how I could unbrick it.

I tried to flash the firmware (1.5.4) again but this didn't overwrite the init.lua file. I used esptool and the windows nodemcu-flasher. Both without success. I also tried to load a firmware without the necessary modules so that the init.lua should throw an error. But this also didn't work.

I would very happy if anyone had an idea.
User avatar
By marcelstoer
#53379
Phis wrote:Unfortunately I bricked my NodeMCU


When you say "NodeMCU" you mean the NodeMCU devkit v2/1.0? I just assume so in the commands below...

Since you're on 1.5.4 I suggest to upgrade to 1.5.4.1 since you want to erase the flash anyway.

Code: Select allesptool.py --port <serial-port-of-ESP8266> erase_flash
esptool.py --port <serial-port-of-ESP8266> write_flash -fm dio -fs 32m 0x00000 <nodemcu-firmware>.bin 0x3fc000 esp_init_data_default.bin
User avatar
By Phis
#53401 I have the NodeMCU V2.

Thanks. I have solved it. I erased the flash with esptool and flashed with it with a new firmware with nodemcu-flasher.