2022 Developer Survey is open! Take survey.

Questions tagged [spiffs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
105 views

How to install the application + its configuration to many devices of the same kind? (ESP32)

Being the newbie in the Arduino area... Having more devices, how can I upload some configuration parameters after the code was uploaded? Is it possible? Situation: I have the simple application for ...
user avatar
  • 137
1 vote
1 answer
158 views

No SPIFFS data upload in Arduino IDE 2.0.0-rc3 (ESP32 & TTGO) - Ubuntu

I tried adding esp32fs.jar to /home/myname/Arduino/tools/ESP32FS/tool (and a few other places as it looked likely that the jar file wasn't loading). I've definitely got the correct board selected, ...
user avatar
0 votes
1 answer
96 views

Error saving SPIFFS on ESP8266 - only after 3rd entry

EDIT1 - This phenomena occurs only after reboot using button or ESP.reboot() I'll try to make my question more focused: I have library that saved log events to SPIFFS. From 3rd entry (in the ...
user avatar
  • 790
3 votes
0 answers
176 views

SPIFFS and LittleFS don't show all my files with readdir() and can't open() them

I created a simple sketch that just tries to list the files in SPIFFS. The SPIFFS filesystem was created with the version of mkspiffs that's part of the esp8266 package. The upload all seems to work, ...
user avatar
1 vote
1 answer
1k views

How to write & read from SPIFFS file as object data on ESP8266

I am trying write four digit number to SPIFFS file, and read that four digit from SPIFFS file and display on seven segment. The code, I am writing as below, I got "0" on each segment, but if ...
user avatar
1 vote
0 answers
443 views

ESP-32 Upload Files to SPIFFS via browser

I am using ESPAsyncWebServer Library in a ESP32 DevKit. I want to make a form in the browser in order to upload files in SPIFFS. I have to notice that the whole device works perfectly. I connect to Wi-...
user avatar
  • 11
1 vote
0 answers
289 views

Trying to improve speed of downloading files from server and writing to SPIFFS

update I have updated the code(second code segment) so that the null character is inserted into the array which solves the problem of writing past the end of the array. in order to stop the program ...
user avatar
1 vote
2 answers
69 views

Best Data model/Concept to Store Multi-Day Alarm for clock?

I'm writing a multiday day alarm program for a project. I'm not sure how I want to store the format of each of 10 alarms....I need to store it...in SPIFFS retrieve it(at boot) and then compare it to ...
user avatar
1 vote
1 answer
651 views

ESPTOOL not recognizing ESP32-S2 chip for SPIFFs transfer

I have a spiff file that uploads fine using a regular esp32, but when I try on the esp32-32, with a fresh installation, I get: esptool.py v3.0-dev Serial port COM3 Connecting.... A fatal error ...
user avatar
2 votes
1 answer
576 views

Any way to use DMA to transfer data to SD Card in ESP8266

I'm using ESP8266 at speed of 160 MHz to record ADC results into SD card, I need to do this at rate of 8 KHz. Means that i should save it on the SD Card or i'll run out of memory before 4 Sec passes. ...
user avatar
2 votes
1 answer
517 views

ESP32 AsyncWebServer SPIFFS problem loading page

I can load spiff docs, but I get a 404. Wireless works, IP addressing works and I can load other examples successfully. This simple image load ino is giving me fits! #include <WiFi.h> #include ...
user avatar
2 votes
2 answers
265 views

Where to store critical data in power outage situation on ESP8266

I want to store a counter that is always changing, but I want it to remain and being able to retrieve it on after a power loss. It's only one long number data, but as it is always changing, I don't ...
user avatar
  • 21
1 vote
0 answers
4k views

How to download a large text file using Https on an esp32

Trying to create an esp32 access to a public apple calendar, but after connecting to the server and saving to SPIFFS it fails at the same point each time. I end up with a file around 220KB, when the ...
user avatar
0 votes
1 answer
1k views

Convert Binary to char

I'm reading a text file saved on my ESP8266 device (using LittleFS). while (myFile.available()) { Serial.write(myFile.read()); } My goal is to save file content ( each line ) to a String /...
user avatar
  • 790
0 votes
1 answer
142 views

Store & retrieve parameters after sketch update

I have a Generic code for some IOT devices which vary in some parameters ( lets say it is only its MQTT name and subscriptions). Since I use OTA to update sketch, I'm looking for a way to A) write ...
user avatar
  • 790
0 votes
2 answers
150 views

writing mqtt payload to spiffs file

I'm trying to write the payload of a MQTT message into a file in the SPIFFS file system of my esp32 board. I've tried this: if(file.print((long)payload)) { Serial.println("File was written"); }...
user avatar
  • 1
2 votes
2 answers
775 views

Crash when serving static files width ESP8266WebServer

For the past two days, I've been trying to set up an ESP8266WebServer to serve my static web app files from SPIFFS. But as soon as I make a call to serveStatic, the ESP crashes. This is the exact code ...
user avatar
2 votes
1 answer
3k views

OTA-program SPIFFS on the ESP8266

Something I'd like information on is whether it is possible to upload a SPIFFS filesystem image to the ESP8266. In theory it might work: It can be uploaded over USB, and according to the logs the ...
user avatar
-1 votes
1 answer
78 views

How to respond dynamically by using File Containing Templates?

We are developing a Web Console and REST API for the NodeMCU V3 ESP8266, using ESPAsyncWebServer. We are facing some difficulties to serve dynamic pages using File Containing Templates! We're unable ...
user avatar
0 votes
2 answers
790 views

Reading from SPIFFS - What's the best way to deal with a string (or char) array with undefined length?

I've read that it's best to avoid using String in Arduino so I'm ready to use a char array if it's better. I'm reading the file names from an SD Card and my goal is to store them in an array and then ...
user avatar
0 votes
0 answers
310 views

SPIFFS image does not fit in flash (offset 108MB)

I'm trying to upload an empty SPIFFS image to my ESP32's flash memory via the ESP32 sketch data uploader but I'm getting the following error: [SPIFFS] data : /path/to/my/data [SPIFFS] start : ...
user avatar
  • 1,789