Questions tagged [spiffs]

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.

67 questions
1
vote
1 answer

SPIFFS Upload Failed Error Code -10010 While uploading files to ESP8266

I have an ESP8266, WEMOS D1 Mini to be exact , im using a Arduino IDE and the plugin to upload a data to the ESP8266 heres the error messages : [SPIFFS] data : C:\WASP-master\data [SPIFFS] size : 3048 [SPIFFS] page : 256 [SPIFFS] block :…
Anton Moe
  • 11
  • 2
1
vote
1 answer

SPIFFS save return key into string

When reading a .txt file line by line with SPIFFS on my ESP32 it saves the return keys also, is there a way to prevent this? Function for reading: String line_one, line_two; void readfiles() { char buffer[64]; int i = 0; File file0 =…
Daniel
  • 11
  • 3
1
vote
1 answer

ESP8266[NodeMCU] LittleFS Library Problem

I'm working on Arduino IDE to implement LittleFS file system.However I get the error message as "src\LITTLEFS.cpp:17:21: fatal error: vfs_api.h: No such file or directory #include "vfs_api.h" when I try to compile my program. Code : #include…
1
vote
1 answer

FatFs on ESP32 with esp-idf can't create file with *.json extension

I want to switch from SPIFFS to FAT on my Esp32 projects due to encryption. In my example project I have this. esp_vfs_spiffs_conf_t conf = { .base_path = "/spiffs", .partition_label = NULL, .max_files = 5, // This decides the maximum number…
SolvedForHome
  • 152
  • 1
  • 15
1
vote
1 answer

NodeMCU sketch data(SPIFFS) upload suddenly fails

Suddenly, sketch data upload(SPIFFS) fails over serial although the sketch itself can be uploaded normally. No settings in the Arduino IDE Tools have been changed and the serial port is the same. Here is the output from the attempt(not much…
Martin
  • 29
  • 7
1
vote
0 answers

ESP32 library conflicts, EEPROM, SPIFFS and IR

Using an Adafruit HAZZAH ESP32, I discovered (the hard way) the well-known conflict between the EEPROM.h and IRremote.h libraries. Causes a memory conflict and a reboot. I tried moving over to using SPIFFS.h and got it working without the IRremote.h…
1
vote
1 answer

How to save bitmap using OV7670 ESP32 and SPIFFS?

I am doing a wifi camera project using the OV7670 and ESP32 bundles: https://github.com/bitluni/ESP32CameraI2S. How can I save the bitmap using SPIFFS in File? Part of the code: void Get_photo (AsyncWebServerRequest * request) {    camera->…
Michael S
  • 21
  • 3
1
vote
0 answers

ESP8266 SPIFFS textfile read returns weird characters

I'm trying to store some hex color palettes in the ESP8266's SPIFFS but when I try to retrieve them I get some weird chars. The code and the log output are below: Code (ino file): #include "FS.h" //…
ClemRz
  • 126
  • 1
  • 11
1
vote
2 answers

Watchdog Timeout on SPIFFS.begin or SPIFFS.format

I'm using an ESP-12E NodeMCU board from amazon with the Arduino IDE. It's been working without any problems but now I'm trying to use SPIFFS to store data and I'm getting a Watchdog Timeout after 8 seconds when I call either SPIFFS.begin or…
SeattleStephens
  • 587
  • 8
  • 20
1
vote
1 answer

Firmware download into ESP8266 with esptool

I am using ESP8266 Arduino with SPIFFS to store configuration settings. This command is used for flashing the binary firmware.bin into ESP8266 for Arduino. esptool.exe -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf firmware.bin This command is…
guagay_wk
  • 26,337
  • 54
  • 186
  • 295
0
votes
0 answers

how can my ESP32 be programmed with a .bin file on its SPIFFS

I have an idea to download the .bin file from a server and save in the SPIFFS and upload the file on my ESP32. My problem has two parts as I am not much experienced in working with ESP32. First, how to store the .bin file I've downloaded in the…
0
votes
0 answers

SPIFFS File Uploaded But Not Saved - ESP32

Some background info: Flash Size: 4 MB SPIFFS Flash: 1.5MB Uploaded SPIFF .bin size: 1.3MB I use MKSPIFFS to generate the .bin file using the following: -b 4096 -s 0x13D620 -p 256 i.e. 4096 block, 1.3mb, 256 page I have been able to fetch a SPIFFS…
jtmcsav
  • 1
  • 1
0
votes
0 answers

ESP32 keeps rebooting when I try to save the current timr in SPIFFS

I am trying to save the current time & date into SPIFFS from a web page hosted on ESP32 but for some reason, the ESP32 reboots when the button is pressed. JavaScript: …
Svet GEoff
  • 85
  • 6
0
votes
1 answer

Nanoframework ESP32 SPIFFS or LITTLEFS support with nanoff?

is there a solution to format esp32 esp 32 flash memory with SPIFFS or LITTLEFS and upload files in this partition with nanoff . I try to use the sample webserver to read local file in flash storage, but i cant find a way to upload my files in…
0
votes
0 answers

I could not read memory data from ESP8266 Flash memory

I write a Arduino program in WeMos D1 board and try to write and read the data to SPIFFS flash memory. I can write to flash but i can not read the data from Flash. Below is the write method program: void writeToFlash(char ssid[], char pwd[]) { …
Yao Chang
  • 31
  • 4