ESP8266 Developer Zone The Official ESP8266 Forum 2016-03-21T23:54:41+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=1928 2016-03-21T23:54:41+08:00 2016-03-21T23:54:41+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1928&p=6182#p6182 <![CDATA[New flasher: flash 512K fw in 5 seconds]]> 512K in 5 seconds? Yes, we can do that.

TL;DR: Grab a modified esptool, use the new --flash_baud option to write_flash with higher rate and get flashing.

Code:

$ 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

Read the blog post for details.

Statistics: Posted by rojer — Mon Mar 21, 2016 11:54 pm


]]>