Questions tagged [spiffs]

24 questions
3
votes
0 answers

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, but it only lists the first file and not the…
2
votes
2 answers

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 ESP32 with a simple sensor. It is to be used on…
pepr
  • 147
  • 5
2
votes
1 answer

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. I used timer1 to trigger sampling, but my problem…
A.R.S.D.
  • 41
  • 6
2
votes
1 answer

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 #include #include #include…
2
votes
2 answers

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 be 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 know where to store it to not over wear the memory…
harold
  • 121
  • 1
2
votes
2 answers

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 I'm running: #include #include…
2
votes
1 answer

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 flash location changes, but that's about it.…
RDragonrydr
  • 338
  • 4
  • 15
1
vote
2 answers

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, and can upload Sketches. I can also run the demo…
1
vote
1 answer

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 manually make number = 4567; then seven segment show…
1
vote
0 answers

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-Fi, it uploads files via IDE etc. Through…
aris99
  • 11
  • 1
1
vote
0 answers

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 from crashing i can only put the null character at…
user2105725
  • 153
  • 5
1
vote
2 answers

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 the current day of the week and time so as to fire…
BostonMacOSX
  • 131
  • 2
1
vote
1 answer

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 occurred: This chip is ESP32-S2 not ESP32. Wrong --chip…
1
vote
0 answers

How to download a large text file using HTTPS on an ESP32?

Trying to create an ESP32 access to a public Spple 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 of around 220 kB, when the total file should be 800 kB. If it's…
A. Coote
  • 21
  • 1
  • 3
0
votes
2 answers

ESP32 - error when using `LITTLEFS.h` after core updated to 2.0.4

After updating ESP32 to core version 2.0.4 (file in Arduino IDE preferences was replaced tohttps://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json to upgrade), I get the following…
guyd
  • 898
  • 1
  • 13
  • 39
1
2