Skip to content

Need help updating firmware via Firebase storage #597

Closed Answered by mobizt
vanquang297 asked this question in Q&A
Discussion options

You must be logged in to vote

As I previously replied

You should have at least 20k free memory to perform the OTA download because of the SSL Client required 16k buffer memory to handle full frame SSL data for large payload download especially in case OTA which the memory will be reserved as much as this amount.

For ESP8266, you should stop doing everything that consumed memory and your device free Heap should be more than 18-20k before calling the OTA functions.

You have no choices in this limited memory device (ESP8266), you have to completely stop using stream by closing the session to release the memory before using OTA download.

You should call stream.clear() and remove its callback to terminate it.

https://git…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by vanquang297
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@vanquang297
Comment options

@vanquang297
Comment options

Comment options

You must be logged in to vote
1 reply
@mobizt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants