Hi,
I have been trying to download some relatively large files (~1MB) over HTTP via ESP32-WiFi or Ethernet. The same set of code and files seem work just fine over Ethernet, but I constantly loose data randomly over ESP32/WiFi. The following are the results of 3 attempts to download a file = 704KB:
2791: fota, tried to verify downloaded fw, length = 577816, calculatedCrc32 = C754732A, expectedCrc32 = A96F7467
2376: fota, tried to verify downloaded fw, length = 564676, calculatedCrc32 = 17AD1251, expectedCrc32 = A96F7467
3039: fota, tried to verify downloaded fw, length = 590956, calculatedCrc32 = DB4A6F2A, expectedCrc32 = A96F7467
The length of actually downloaded file varies from one attempt to another, but generally it is about 120KB shorter than expected file length, and of course the CRC32 doesn’t match expected value.
I am using the ESP32-driver from the following link:
Has anyone tried to use ESP32/WiFi module to transfer large files? Or the other WiFi module from Inventek that is installed on one of DISCO board from STM?
At this point, I am not sure if this is a problem in the driver, or I am not using it correct, or the limitation of ESP32 module itself. Please advise.
Thanks,
ZL