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

Protected esp32 update #40

Closed
workpage2 opened this issue Oct 31, 2020 · 1 comment
Closed

Protected esp32 update #40

workpage2 opened this issue Oct 31, 2020 · 1 comment
Labels
question Further information is requested

Comments

@workpage2
Copy link

I have tested my program in development mode. Everything worked well. The update worked.
However, after encoding, esp32 refuses to update.
I coded according to this instruction: espressif/arduino-esp32#1387 I pre-encode the firmware file, of course. Any thoughts.

Fetching Bin: /fw.bin
Got 1177456 bytes from server
Got application/octet-stream payload.
contentLength : 1177456, isValidContentType : 1
Begin OTA. This may take 2 - 5 mins to complete. Things might be quite for a while.. 
Patience!
Written only : 0/1177456. Retry?
Error Occurred. Error #: 8
@WebDust21
Copy link

Pre-encode the firmware file?? Huh? Unless you're de-encoding the firmware file before feeding it into the update routine, that won't work.
See answer on the other thread. ESP32 update library uses instructions that specifically do not support encrypted ESP32 FLASH. Why, I have absolutely no idea.

@chrisjoyce911 chrisjoyce911 added the question Further information is requested label Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants