New flasher: flash 512K fw in 5 seconds

Posts: 12
Joined: Mon Jun 15, 2015 5:51 pm

New flasher: flash 512K fw in 5 seconds

Postby rojer » Mon Mar 21, 2016 11:54 pm

Annoyed by long flashing times? We were, so we wrote an alternative, much faster flasher.
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: Select all

$ time ./ --port /dev/ttyUSB0 write_flash --flash_baud=4000000 0 test.img
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)...

real    0m5.286s

Read the blog post for details.

Who is online

Users browsing this forum: No registered users and 1 guest