Why would SPIFFS not work on my feather, what is error 261?

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
sdo
 
Posts: 25
Joined: Thu Apr 10, 2014 11:31 pm

Why would SPIFFS not work on my feather, what is error 261?

Post by sdo »

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

User avatar
barshatriplee
 
Posts: 200
Joined: Wed Mar 22, 2023 10:11 am

Re: Why would SPIFFS not work on my feather, what is error 261?

Post by barshatriplee »

Here is a thread about the SPIFFS: mount failed error. You can check this:

https://github.com/espressif/arduino-esp32/issues/638

User avatar
sdo
 
Posts: 25
Joined: Thu Apr 10, 2014 11:31 pm

Re: Why would SPIFFS not work on my feather, what is error 261?

Post by sdo »

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?

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”