Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
mabateman
 
Posts: 28
Joined: Thu Jan 21, 2016 4:47 pm

Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by mabateman »

Need some help here just can't get SPIFFS to mount on this board.

Using Arduino 1.8.19 with esp core 2.0.5

I have selected a SPIFFS partition scheme tried several, I have run the SPIFFS test sketch and it will not mount. I have tried SPIFFS.format(); then run the test sketch again still nothing.

I have just got it working fine on a Unexpected maker ESP32-S3 feather and an Adafruit ESP32-S2 feather so what is the problem with this board? :(

User avatar
mabateman
 
Posts: 28
Joined: Thu Jan 21, 2016 4:47 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by mabateman »

Adafruit Support, do you have anything on this?

If possible can you pick up this board out of your stock and try running the SPIFFS_Test example??

I really need to know if this is a faulty board or if something is not working with the config in Arduino IDE.


Thanks in advance!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by adafruit_support_mike »

There's a known bug in the ESP32-S3 firmware that interferes with SPIFFS:

https://github.com/espressif/arduino-esp32/issues/6614

User avatar
mabateman
 
Posts: 28
Joined: Thu Jan 21, 2016 4:47 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by mabateman »

Hi Mike,

I have it working fine on 2 Unexpected Maker ESP32-S3 Feathers same Arduino Version, Same Core, same test sketch!

Reading through that bug from back in April it states at the end it was fixed in core 2.0.4 I am running 2.0.5

Given it is working on other S3 dev boards are we sure the Adafruit boards definition for this board has the correct parameters?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by adafruit_support_mike »

I'll check with the folks who manage the core.

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by adafruit2 »

mab, please post a screenshot of the tools menu so we see the exact settings you've got going on!

User avatar
mabateman
 
Posts: 28
Joined: Thu Jan 21, 2016 4:47 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by mabateman »

Yes of course,

The only thing I am selecting different from default is selecting a partition scheme with SPIFFS included.
Screenshot 2022-11-04 at 13.40.30.png
Screenshot 2022-11-04 at 13.40.30.png (129.92 KiB) Viewed 1175 times

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by adafruit2 »

ok we probably have some error in the parition table... will look to see whats different.

in the meantime, could you try selecting the Espressif S3 Generic Dev board (don't have IDE on this computer so can't give the exact name) and select 4 MB flash SPIFFS does it work then?

User avatar
mabateman
 
Posts: 28
Joined: Thu Jan 21, 2016 4:47 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by mabateman »

Flashing the SPIFFS_test as ESP32S3 Dev Module with the default SPIFSS partition option gives the following error in the serial output...


22:21:24.411 -> E (3059) SPIFFS: mount failed, -10025

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by adafruit2 »

ok - this sorta makes me wonder if its an IDE issue with the 4MB mapping. its almost certainly not hardware because the SPI flash is what your code is running from.
last question, ifyou use the Umaker Feather and select the same 4MB flash SPIFFS 'generic ESP32S3 dev board' does it work then?

User avatar
mabateman
 
Posts: 28
Joined: Thu Jan 21, 2016 4:47 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by mabateman »

adafruit2 wrote: Fri Nov 04, 2022 9:18 pm ok - this sorta makes me wonder if its an IDE issue with the 4MB mapping. its almost certainly not hardware because the SPI flash is what your code is running from.
last question, ifyou use the Umaker Feather and select the same 4MB flash SPIFFS 'generic ESP32S3 dev board' does it work then?
If I select board "ESP32S3 Dev Module" and flash the test sketch to the UM feather S3 the sketch won't even run so I don't think the UM is compatible with "ESP32S3 Dev Module" the UM is 16MB flash anyway so different profile.

SPIFFS works fine on the UM Feather S3 with its own board profile.

SPIFFS works fine on the Ada Feather S2 with its own board profile.

I can't see why it would be the IDE?

I see mention of another person unable to use SPIFFS on the Ada Feather S3. Has anyone else just picked up an Ada S3 board and tried it?

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by adafruit2 »

the reason it could be the IDE is that the ESP32-S3 board definition from Espressif is for the 'module' not the 'feather' so its not the feather definition. and the flash memory is built into the chip itself so it cant be miswired. we'll have an engineer try this out some time this week.

User avatar
hathach
 
Posts: 1270
Joined: Tue Apr 23, 2013 1:02 am

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by hathach »

Hi, we are able to narrow this down to an obsolete present of partitions.csv (only leftover for this feather esp32s3). We will make an PR to fix this, meanwhile please manually remove this file arduino-esp32/variants/adafruit_feather_esp32s3/partitions.csv and reload your IDE. The new partition scheme will take affect.

link to variant in github repo
https://github.com/espressif/arduino-es ... er_esp32s3

PS: we made PR to espressif repo, hopefully It could make into the next release https://github.com/espressif/arduino-esp32/pull/7438

User avatar
mabateman
 
Posts: 28
Joined: Thu Jan 21, 2016 4:47 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by mabateman »

Yes that worked, thanks!

User avatar
spiff72
 
Posts: 13
Joined: Tue Sep 29, 2015 10:08 pm

Re: Feather ESP32-S3 4Flash 2PSRAM. SPIFFS will not mount.

Post by spiff72 »

Is this definitely not common with the ESP32S2? I have been struggling with getting SPIFFS to work on my Feather S2 TFT:
viewtopic.php?p=950504#p950504

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”