New flasher: flash 512K fw in 5 seconds
Posted: Mon Mar 21, 2016 9:29 am
I wrote a new, better flasher for ESP8266. With the right USB-to-serial adapter, you'll be able to flash 512K firmware in just over 5 seconds, reliably. Somewhat slower if your adapter doesn't support higher baud rates (but still much faster than before).
Grab a modified esptool and use the new --flash_baud option to write_flash with higher rate or use Flash ’n Chips and modify the rate in Settings -> Advanced. For the gory details, read the blog post.
Teaser:
Any questions? Feel free to ask here.
Grab a modified esptool and use the new --flash_baud option to write_flash with higher rate or use Flash ’n Chips and modify the rate in Settings -> Advanced. For the gory details, read the blog post.
Teaser:
Code: Select all
$ time ./esptool.py --port /dev/ttyUSB0 write_flash --flash_baud=4000000 0 test.img
Connecting...
Running Cesanta flasher...
Switching to 4000000 baud...
Writing 524288 @ 0x0... 524288 (100 %)
Wrote 524288 bytes at 0x00000000 in 4.8 seconds (882.3 kbit/s)...
Leaving...
real 0m5.286s
Any questions? Feel free to ask here.