Why would SPIFFS not work on my feather, what is error 261?
mcu: [ID:5323] Adafruit ESP32-S3 Feather with STEMMA QT / Qwiic (8MB Flash No PSRAM)
(bought May 2022)
platformio.ini:
[env:adafruit_feather_esp32s3_nopsram]
platform = espressif32
board = adafruit_feather_esp32s3_nopsram
framework = arduino
Sketch:
#include <Arduino.h>
#include <SPIFFS.h>
void setup()
{
delay(1500);
Serial.begin(115200);
Serial.setDebugOutput(true);
Serial.println("Begin");
if (SPIFFS.begin(true)) {
Serial.println("SPIFFS mounted");
} else {
Serial.println("Failed to mount SPIFFS");
while(1);
}
}
void loop() {}
Terminal output:
Begin
[ 2216][E][SPIFFS.cpp:89] begin(): Mounting SPIFFS failed! Error: 261
Failed to mount SPIFFS
Why would SPIFFS not work on my feather, what is error 261?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- sdo
- Posts: 25
- Joined: Thu Apr 10, 2014 11:31 pm
- barshatriplee
- Posts: 200
- Joined: Wed Mar 22, 2023 10:11 am
Re: Why would SPIFFS not work on my feather, what is error 261?
Here is a thread about the SPIFFS: mount failed error. You can check this:
https://github.com/espressif/arduino-esp32/issues/638
https://github.com/espressif/arduino-esp32/issues/638
- sdo
- Posts: 25
- Joined: Thu Apr 10, 2014 11:31 pm
Re: Why would SPIFFS not work on my feather, what is error 261?
I am already using SPIFFS.begin(true) as suggested in that thread (that is where I got the idea in the first place).
But my error 261 is a different error number.
Also I get no debugging evidence that it ever tries to format SPIFFS at all.
Did I miss any other tips in there?
But my error 261 is a different error number.
Also I get no debugging evidence that it ever tries to format SPIFFS at all.
Did I miss any other tips in there?
Please be positive and constructive with your questions and comments.