-
Notifications
You must be signed in to change notification settings - Fork 4
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
inflate failure - MZ_ERR: -3, inflate status: -2 #8
Comments
what's the size of Check how it's done in |
The size of the compressed file is 964kb and I don't really understand why it is missing
because I use |
pls give exact file size, you did not mentioned you used |
I did a test:
the exact size of the compressed file (firmware.bin.zz) is 977 Kb (1 001 263 bytes) |
this one is different |
yes it always fails at the same place with the same file (it changes depending on the browser)
yes with an uncompressed file everything is fine
indeed I tested on another card (same reference) it works well so I do not know where the problem comes from on the first card (it is perhaps maybe a corruption of the memory) |
oh, that was interesting, thanks for testing and confirmation! Will keep that case in mind for possible defective chips/boards. |
finally I found some differences and there's a difference, one that doesn't work is an ESP32-Ethernet-Kit V1.1 and the second is ESP32-Ethernet-Kit V1.2 which work.
This modification may indicate that ESP32-WROVER-B is maybe the source of the problem. |
BTW, thanks for the reference js code for compressing uploaded files on the fly. Think this could be useful example implementation. |
ok I'm going to open a PR for that with part of my code and I wanted to open another PR for another feature that allows to encrypt the firmware with a key to add a security layer (like esp32 FOTA) that I implemented on my side and that I think could be interesting. |
that would be great, thanks! |
or with my code :
The text was updated successfully, but these errors were encountered: