ESPLogger icon indicating copy to clipboard operation
ESPLogger copied to clipboard

PIFFS: mount failed, -10025 Error

Open sw-dev-code opened this issue 4 years ago • 3 comments

When I run the example code in platformiIO I'm getting the following error:

E (57) SPIFFS: mount failed, -10025
[E][SPIFFS.cpp:72] begin(): Mounting SPIFFS failed! Error: -1
[E][vfs_api.cpp:22] open(): File system is not mounted

How can I solve this issue? I've erased the flash before testing the example code.

sw-dev-code avatar Jun 11 '20 13:06 sw-dev-code

Hi, had you tried to run the ESP32 default examples about SPIFFS?

fabianoriccardi avatar Jun 11 '20 15:06 fabianoriccardi

@fabiuz7 Yes, the only thing that solved my issue is to set the if(!ESP_LOGGER_FLASH_FS.begin(true)){ in logger-spiffs.cpp. Is there some step that I'm missing before flashing the firmware?

sw-dev-code avatar Jun 18 '20 00:06 sw-dev-code

Hi, did you finally solved the issue?

fabianoriccardi avatar Mar 30 '21 23:03 fabianoriccardi