Chat freely about anything...

User avatar
By t5b6_de
#81294 Hello everyone,

i'm using Version 2.5.0 of esp8266 Core in Arduino 1.8.9

I compiled a new Version of mkspiffs but same results.

This is my mkspiffs output:

Code: Select allDebug output enabled
/assets/js/jquery.js.gz
file size: 30212
/assets/js/main.js.gz
file size: 1062
/assets/js/materialize.js.gz
file size: 71631
/assets/js/modal.js.gz
file size: 1168
/assets/main.css.gz
file size: 75
/assets/materialize.css.gz
file size: 21387
/assets/micons.css.gz
file size: 278
/assets/micons.woff2.gz
file size: 60936
SPIFFS_write error(-10001): File system is full.

data left: 264
error adding file!

Error for adding content from assets!
/config/main.json
file size: 124
/index.html.gz
file size: 782
SPIFFS_write error(-10001): File system is full.

data left: 270
error adding file!


SPIFFS is 256b Page size, 4096 Byte Block Size, and 262144 Flash image Size. (1M / 256k SPIFFS in Compiler Option)
However, if i create a spiffs with very few files it seems to work, but i think the image is corrupt. If i look into the binary file, some file blocks are doubled, or files are extremly fragmented.

depend on file content, sometimes the ESP itself can not start spiffs because data is corrupted.

Workaround: creating FTP-Server on my ESP, uploading all files via filezilla works as expected.

i've added a zipfile with my files, mkspiffs image (mkspiffs.bin) and spiffs image created by the esp itself and read from flash with esptools (esp_spiffs.bin).

another tool spiffsimg can create a image, but can not be used on my esp.

I don't know why this isnt working.

I hope someone can help.
Attachments
File described in post.
(570.92 KiB) Downloaded 214 times