Current Lua downloadable firmware will be posted here

User avatar
By dark_skeleton
#52749 Just registered to note that I've been trying to flash my ESP-01 for two days now. I managed to flash my ESP12 (nodemcu dev board) at least like a week ago with the help of init data, but procedures there aren't working for an ESP-01

EDIT: Both my posts have been approved now so I'm gonna merge them into one. I've managed to resolve the issue.

The ESP-01 has actually 512kB+512kB flash (firmware+storage). This means that the flash chip is actually 8m instead of 4m and we have to push the init data to the other address as well!

Here's what made my ESP-01 work (check the previously mentioned flashing guide for init data file download)

Code: Select all$ tools/esptool.py --port <your_port> write_flash --verify --flash_mode qio --flash_size 8m 0x00000 bin/<your_firmware> 0xfc000 esp_init_data_default.bin


For the dev board just change flash_size and flash_mode as per the flashing guide and flash init data to 4MB address
User avatar
By ChrisSparks
#52761 well I got a bit lucky I suppose. I used the ESPFlasher on Windows and that seemed to get my firmware back to 0.9.6. Still having a lot of ESP complaints or not responding. I am going to try the lastest and hope it works. Then to try and build my own.
User avatar
By devsaurus
#52765
ChrisSparks wrote:sudo python esptool.py --port /dev/ttyUSB0 write_flash 0x0000 nodemcu-master-22-modules-2016-08-10-16-54-08-float.bin 0x3fc000 esp_init_data_default.bin

This is missing the flash parameters for a 4 MByte module. Something like:

Code: Select allsudo python esptool.py --port /dev/ttyUSB0 write_flash -fs 32m -fm dio 0x0000 nodemcu-master-22-modules-2016-08-10-16-54-08-float.bin 0x3fc000 esp_init_data_default.bin

Depending on the type of module '-fm qio' could also work.
User avatar
By Spafin
#52766 I also had the same problem nodemcu-build started using V 1.5.4.1, so finally I started using Docker and I use V 1.5.1 now with great results. Maybe it's not the right option, but at least it works and it's quite easy to use. Recommended: https://hub.docker.com/r/marcelstoer/nodemcu-build/