You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I met some issues when try to download then write a file on the SPIFFS file system.
In my project the file is stored with the same size but its content is altered. Therefore I wrote a small sketch to help you analyzing the issue but the sketch ends up with a truncated file that is also an abnormal file.
The sketch downloads a file (on one of my public server), computes it its CRC32 then saves it on the SPIFFS file system.
When reading back the file and computing the CRC32 I get a different result, moreover in the case of the scketch the file size is not equals to the number of byte downloaded.
Hi,
I met some issues when try to download then write a file on the SPIFFS file system.
In my project the file is stored with the same size but its content is altered. Therefore I wrote a small sketch to help you analyzing the issue but the sketch ends up with a truncated file that is also an abnormal file.
The sketch downloads a file (on one of my public server), computes it its CRC32 then saves it on the SPIFFS file system.
When reading back the file and computing the CRC32 I get a different result, moreover in the case of the scketch the file size is not equals to the number of byte downloaded.
The sketch is available on http://37.59.92.209/cms/images/mytrain/private/SPIFFSWriteError.ino
The downloaded file : http://37.59.92.209/cms/images/mytrain/private/steelseries-min.js (size=228467,CRC=0x6e3cc165 - polynim 0xEDB88320)
The logs of the serial dump when running the sketch : http://37.59.92.209/cms/images/mytrain/private/logs.txt
I would like to know what's wrong in my scketch.
Thanks you.
PS: Moreover from time to time I got the following exception:
: 3ffec4b0 end: 3ffec7c0 offset: 01b0
3ffec790: 00000000 00000000 00000000 3ffec7ec
3ffec7a0: 3fffdc20 00000000 3ffec7e4 4020185f
3ffec7b0: 00000000 00000000 3ffeb7a0 40100398
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
The text was updated successfully, but these errors were encountered: