SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.45k stars 349 forks source link

SPIFFS problem with Json #2051

Open kwis2 opened 4 years ago

kwis2 commented 4 years ago

I have analysed program from #1971 and in my opinion it is SPIFFS, not Json problem with about 430 bytes written. with response I got

30 -> 30 31 -> 31 32 -> (null) 1388090 bytes written 427 1388895 file size 427 1389470 string size 427 1390865 JSON deserial err: Ok abcdefghijklmnopqrtsuvwxyz abcdefghijklmnopqrtsuvwxyz abcdefghijklmnopqrtsuvwxyz 0 -> 0 1 -> 1 2 -> 2 3 -> (null) 4 -> (null) ....... 30 -> (null) 31 -> (null) 32 -> (null) 33 -> (null) 1454869 bytes written 430 1455674 file size 430 1456248 string size 430 1457647 JSON deserial err: Ok abcdefghijklmnopqrtsuvwxyz abcdefghijklmnopqrtsuvwxyz abcdefghijklmnopqrtsuvwxyz 0 -> (null) 1 -> (null)

and after this it is not possible to write to SPIFFS

kmihaylov commented 4 years ago

@kwis2 did you still have issues with the latest build? May you get rid of JSON to confirm that the problem concerns SPIFFS?