Hi @ivankravets ,
I haven’t tested it with Arduino IDE, however I’ve replaced the Esp.cpp shared in the thread into the platformio core (there are a couple of differences, but really I haven’t seem the differences carefully and what they do. I only update a function signature from uint_32 to uint_64 to compile successfully).
Anyway after to replace the file, the result is the same, I can’t not write the file.
I’ve noticed (changing the Esp.cpp file or not) that If the file that I want to write exists, it’s removed when I try to write it and if I try to save it more than one time, the others files seem to be corrupted and then the ESP stop working properly and I have to upload again all the “data” files and the code… it’s weird.