Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEFLATE_ERROR on compressed flash download (ESF-92) #83

Open
CMAICEpower opened this issue Nov 20, 2023 · 1 comment
Open

DEFLATE_ERROR on compressed flash download (ESF-92) #83

CMAICEpower opened this issue Nov 20, 2023 · 1 comment
Labels
Type: Feature Request Feature Request for esp-serial-flasher

Comments

@CMAICEpower
Copy link

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?

@github-actions github-actions bot changed the title DEFLATE_ERROR on compressed flash download DEFLATE_ERROR on compressed flash download (ESF-92) Nov 20, 2023
@DNedic
Copy link
Collaborator

DNedic commented Nov 21, 2023

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.

@DNedic DNedic added the Type: Feature Request Feature Request for esp-serial-flasher label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Request Feature Request for esp-serial-flasher
Projects
None yet
Development

No branches or pull requests

3 participants