Open onkelfunny opened 9 years ago
I'm voting for a configurable BLOCKSIZE_FLASH
.
When using the Cactus Micro Rev2 (github), which uses an ATMEGA32U4 as USB-serial converter, I had esptool hard crash at the 'writing' stage with BLOCKSIZE_FLASH = 0x0400
. (Only solution was to physically unplug USB)
When changed to BLOCKSIZE_FLASH = 0x0100
uploading works perfectly (probably a little slower though).
This is the same change that @AprilBrother made to their version of the esptool.py
what do you think about higher BLOCKSIZE_FLASH? I my test i get this Upload times: BLOCKSIZE_FLASH = 0x0400 => Upload-Time: 27 Seconds BLOCKSIZE_FLASH = 0x0800 => Upload-Time: 25 Seconds BLOCKSIZE_FLASH = 0x1800 => Upload-Time: 22 Seconds