Problem uploading FFAT partition to ESP32 (solved)

I have a project that used to work for me, but that I now can't upload. I wonder if anyone has any advice?

The project uses a FFAT partition, and I have the files that will go to the FFAT files in my script's /data partition. Here's a screenshot of my settings in the Arduino IDE:

However when I select ESP32 Sketch Data Upload, I get the error:

"SPIFFS Error: partition size could not be found!"

Everything works fine if I change the partition type to SPIFFS (Tools -> Parititon Scheme -> Default 4mb with SPIFFS), but I can't get FFAT working.

After changing the partition type to FFAT (Tools -> Partition Scheme -> 4mb with FFAT) I upload my script, then do the sketch data upload, and every time I get that error.

Looking at my partition table for FFAT (ffat.csv) it looks like this:

# Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x5000,
otadata,  data, ota,     0xe000,  0x2000,
app0,     app,  ota_0,   0x10000, 0x200000,
app1,     app,  ota_1,   0x210000,0x200000,
ffat,     data, fat,     0x410000,0xBF0000,
# to create/use ffat, see https://github.com/marcmerlin/esp32_fatfsimage

I wonder if I'm forgetting some step I need to do before uploading a FFAT partition?

Any ideas by chance?

Oops, please disregard, the data upload tool only works with SPIFFS.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.