Yesterday i tried to generate new firmware bin from nodemcu-build.com and after flashing with esptool.py, my esp started blinking (blue diode on esp chip) and sending out (t
I'm quite certain you're missing two points explained in the NodeMCU flashing docs:
write_flash
optionsAssuming you've got a 4MB device such as ESP-12E / WeMos D1 mini / NodeMCU devkit v2 (comparison) the write_flash options are -fm dio -fs 32m
.
You're likely upgrading from an older NodeMCU version. Therefore, you need to flash esp_init_data_default.bin
to the right memory address.
Hence, the full flash command should be something like that:
esptool.py --port /dev/cu.wchusbserialfa130 write_flash -fm dio -fs 32m 0x00000 nodemcu-master-13-modules-2016-04-09-12-28-55-float.bin 0x3fc000 esp_init_data_default.bin
Update 2016-10-20
Thanks to a fix in the firmware you won't have to provide the init data yourself anymore, the firmware does it automatically if necessary. Has been available in the dev
branch for a few days and will also be on master
in early December 2016.