mamunsyuhada / OtaEsp32

Midified from https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/tree/master/examples/Arduino_GSM_OTA
1 stars 1 forks source link

ESP32 Large File OTA fail #1

Open mightChamp opened 3 years ago

mightChamp commented 3 years ago

Hello,

We are using your code for OTA, smaller file size as your example, works , but Our code size is about 998368 bytes, after 10-30% fail . Sometime at 90% OTA Fail.

OTA Fail Reason :

NO ERROR FATAL Timeout Please help us solve this problem.

Thank You

mamunsyuhada commented 3 years ago

i think you can change 10000L to a longer path : in line109``` in main.cpp

example: in this code : if (millis() - timeout > 10000L) to : if (millis() - timeout > 50000L)

@mightChamp