-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Description
I have a binary that is around 1.2 MB. Flashing it with either the default, or with 460800
baud takes around 6 minutes.
Connecting...
WARN setting baud rate higher than 115200 can cause issues.
[00:00:07] ######################################## 16/16 segment 0x1000
[00:00:00] ######################################## 1/1 segment 0x8000
[00:06:01] ######################################## 742/742 segment 0x30000
--speed
does not affect download time, but it breaks or unbreaks monitor output, so the setting is effective.
Downloading the same binary using idf.py
takes around 25 seconds in total.
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00011fff...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00030000 to 0x00152fff...
Compressed 3072 bytes to 175...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (175 compressed) at 0x00008000 in 0.1 seconds (effective 265.0 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Writing at 0x00010000... (100 %)
Wrote 8192 bytes (31 compressed) at 0x00010000 in 0.1 seconds (effective 480.2 kbit/s)...
Hash of data verified.
Compressed 25136 bytes to 15446...
Writing at 0x00001000... (100 %)
Wrote 25136 bytes (15446 compressed) at 0x00001000 in 0.7 seconds (effective 277.0 kbit/s)...
Hash of data verified.
Compressed 1189280 bytes to 759190...
Writing at 0x00030000... (2 %)
Writing at 0x0003bd7a... (4 %)
Writing at 0x00046605... (6 %)
[...]
Writing at 0x0015059e... (100 %)
Wrote 1189280 bytes (759190 compressed) at 0x00030000 in 19.2 seconds (effective 496.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Done
Metadata
Metadata
Assignees
Labels
No labels