Spiffs is a file system intended for SPI NOR flash devices on embedded targets. It is popularly used on ESP8266 and Arduino for storing configuration settings.
Questions tagged [spiffs]
67 questions
0
votes
1 answer
esp8266 1Mbyte (512kb spiffs) missing files
I have an issue with spiffs and arduino.
I'm using ESP07 with 1mbyte of spi flash memory. I'm using arduino IDE.
I have 16 files in my file system being sketched with the option "tools -> ESP8266 Sketch data upload". If i selected 256kbytes as…

Hamboy75
- 938
- 1
- 11
- 22
0
votes
1 answer
Esp32 Arduino SPIFFS Based Static Web Addresses Case Sensitive
I am trying to make a static webserver on an ESP32 via PlatformIO. I am using the built in "Upload Filesystem" task in PlatformIO to upload a www folder. I then use server.serveStatic("/", SPIFFS, "/www/"); to serve the pages. The issue is the url…

Kyle Berezin
- 597
- 4
- 20
0
votes
1 answer
How can SPIFFS file be downloaded using AsyncWebServer?
Below Arduino ESP32 code creates a list of files as URL's. I am converting WiFi client/server project to use the AsyncWebServer library. Need help extracting file name from URL and be able to detect filename to download in Async Web Server. …

William Lucid
- 23
- 2
- 6
0
votes
1 answer
How to know how much space is left in a spiffs partition on a ESP8266?
I need to know how many bytes are left in the SPIFFS partition on my ESP8266 and report it.
How do I get that info?
Thanks

FedeKrum
- 435
- 1
- 6
- 15
0
votes
1 answer
Read file into char array avoiding use of Arduino's String
I have a config.json file stored in the Flash SPIFFS memory of my ESP8266-based web server.
My intent is to read this file into a char array (char string[]), avoiding the use of Arduino's String, and send it to the client after an Ajax call.
The…

matbosco
- 3
- 1
- 4
0
votes
0 answers
Adafruit Huzzah32 esp32 4mb flash SPIFFS size
I have an Adafruit Huzzah32 dev board based on the esp32 wifi chip. It is an Arduino based dev board. Here is a link:
https://learn.adafruit.com/adafruit-huzzah32-esp32-feather
It has 4MB of onboard flash that is used for the sketch. The flash can…

user856232
- 1,073
- 2
- 14
- 40
0
votes
1 answer
Unable to use SPIFFS
I'm working with Arduino and an ESP32 board. I need to write some files in my ESP32.
but the problem is, SPIFFS doesn't work anymore. I don't know why... It worked till the day before yesterday.
But now when I use SPIFFS_Test from Arduino-Examples…

Milad
- 377
- 1
- 3
- 15
0
votes
0 answers
Unable to read content of a file after writing on ESP8266 ESP-01
I try to do some basic read/write file on SPIFFS on ESP8266 ESP-01. After writing a file, if I try to read it, it always returns 0 read bytes. The same code works well on NodeMCU 10 (ESP12E Module).
It is interesting, that I can upload files to…

sabs
- 1
0
votes
1 answer
ESP8266 OTA update with new wifi password
Hey all I have a C# program that allows me to upload the .BIN file to my ESP8266 (Wemos D1 mini) board and that does just fine at updating the .ino code if updates are needed.
However, I am wondering how I would go about doing that if my wifi…

StealthRT
- 10,108
- 40
- 183
- 342
0
votes
0 answers
read bmp from sd card faster
i am working on Cy8CKIT -050 cypress kit, flash chip W25Q128FV ,SD card, and TFT display https://www.buydisplay.com/default/lcd-5-ssd1963-tft-module-touch-screen-display-800x480-mcu-arduino
i have interfaced display, flash chip using SPIFFS and sd…

Devyani Parmar
- 1
- 3
0
votes
1 answer
How to load content stored in esp8266 SPIFFS into a server.send() generated page using Arduino IDE
I have an image stored in SPIFFS
When I launch the browser and put in the esp8266 IP address/images/image.jpg I can see the image. The image also shows in the index.html page in the root.
When I generate a page with
server.send(500, "text/html",…

Thomas Patrick
- 1
- 3
0
votes
1 answer
Only First Line of SPIFFS works on WiFi.begin() - ESP8266-12E
When I run the code below only one line will work. If I comment out the SSID write/read portion the password will work. It I comment out the password portion the SSID will work. But, if I leave both in the WiFi never connects. I hard coded both the…
0
votes
1 answer
ESP8266 SPIFFS copy content of file, delete & rename
I have a problem where I copy everything but the first line from file to another temporary file. Then I delete the original file and rename the temporary one to original. After every cycle I also append a line of data to the original file. The code…

zidarm
- 25
- 1
- 11
0
votes
1 answer
Can config file size >1024 bytes on ESP8266 Arduino?
I am using ESP8266 Arduino ConfigFile.ino as an example to store configuration settings on SPIFFS.
https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/ConfigFile/ConfigFile.ino
From this code segment, configFile cannot be >1024…

guagay_wk
- 26,337
- 54
- 186
- 295
0
votes
1 answer
SPIFSS code crashes after adding unrelated code
I am encountering a strange behavior. I am using ESP8266 arduino SPIFFS to store configuration settings. Here is the relevant part of mycode;
void loop()
{
handleUartRxOk();
}
void handleUartRxOk() {
String cmd;
char charBuff[3200];
…

guagay_wk
- 26,337
- 54
- 186
- 295