How to get a file from spiffs via upread to the computer?
Posted: Sun Aug 16, 2015 11:46 am
Hi,
we have learned to build a spiffs-image with mkspiffs, and to upload it to the flash of an ESP8266.
But what about the other way round?
Imagine we make something like a logger. Writing actual values to spiffs into a txt/csv-file. (BTW: what about the lifetime of the flash in that case??)
Is there a possibility to read the spiffs back and un-mkspiffs it again?
1.) For uploading I use the ESP8266Flasher from the NodeMCU Team. Unfortunately its only for flashing not for upread
2.) I do not see any possibility in mkspiffs to unpack.
Or would it be the better way to read it out byte by byte with the ESP an send it over Wifi/serial?
Any hints?
we have learned to build a spiffs-image with mkspiffs, and to upload it to the flash of an ESP8266.
But what about the other way round?
Imagine we make something like a logger. Writing actual values to spiffs into a txt/csv-file. (BTW: what about the lifetime of the flash in that case??)
Is there a possibility to read the spiffs back and un-mkspiffs it again?
1.) For uploading I use the ESP8266Flasher from the NodeMCU Team. Unfortunately its only for flashing not for upread
2.) I do not see any possibility in mkspiffs to unpack.
Or would it be the better way to read it out byte by byte with the ESP an send it over Wifi/serial?
Any hints?