Open CMAICEpower opened 10 months ago
Hello @CMAICEpower , we currently do not support compressed flash download in esp-serial-flasher
. We will explore this idea in the future and will keep this issue open as a feature request.
In the meantime, feel free to take a look at this documentation page on the serial protocol and the esptool source code if you want to either create a quick proof of concept or contribute to the project.
Hi, I am attempting to flash an Esp32 via compressed flash download. I have got it working with the normal flash download, however when attempting to use the compressed flash download I get the following error: "DEFLATE_ERROR".
I can't seem to find any detailed documentation on how to use the compressed flash download other than it functioning the same as Ram download & Flash download, and the data being compressed using gzip deflate algorithm.
As of now, I have attempted to flash the esp32 with gzip compressed binaries as well as uncompressed binaries, and changing the commands to use FLASH_DELF_BEGIN, FLASH_DELF_DATA & FLASH_DELF_END instead of the flash download equivalents. Either method results in the error "DEFLATE_ERROR".
Any suggestions on what I might be doing wrong?