% python esptool.py -p /dev/tty.wchusbserial1420 erase_flash
esptool.py v1.2-dev
Connecting...
Running Cesanta flasher stub...
Erasing flash (this may take a while)...
Erase took 8.8 seconds
% python esptool.py -p /dev/tty.wchusbserial1420 --baud 115200 write_flash 0x00000 nodemcu-master-11-modules-2016-01-20-20-42-38-float.bin
esptool.py v1.2-dev
Connecting...
Auto-detected Flash size: 32m
Running Cesanta flasher stub...
Flash params set to 0x0040
Writing 421888 @ 0x0... 421888 (100 %)
Wrote 421888 bytes at 0x0 in 36.5 seconds (92.6 kbit/s)...
Leaving...
this works:
NodeMCU custom build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: false
modules: node,file,gpio,wifi,net,tmr,uart,ws2812,cjson,rtctime,sntp
build built on: 2016-01-20 20:42
powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua
but if I then do:
% python esptool.py -p /dev/tty.wchusbserial1420 erase_flash
esptool.py v1.2-dev
Connecting...
Running Cesanta flasher stub...
Erasing flash (this may take a while)...
Erase took 8.8 seconds
% python esptool.py -p /dev/tty.wchusbserial1420 --baud 115200 write_flash 0x00000 nodemcu-master-11-modules-2016-10-24-18-20-12-float.bin
esptool.py v1.2-dev
Connecting...
Auto-detected Flash size: 32m
Running Cesanta flasher stub...
Flash params set to 0x0040
Writing 413696 @ 0x0... 413696 (100 %)
Wrote 413696 bytes at 0x0 in 35.7 seconds (92.6 kbit/s)...
Leaving...
I get gibberish and a flashing blue light on the chip. Is it something I'm doing wrong or did something change?