SPIFFS when Flash encryption is enabled
Posted: Tue Mar 28, 2023 6:17 am
I currently am having a problem when trying to use SPIFFS.
I want to use SPIFFS for storing some settings, and logs for a project.
The partition data is generated on a host computer and then flashed.
It works correctly when not using Flash encryption.
The partition for the SPIFFS is not encrypted!!
Only want to use the Flash encryption for the application code.
the controller can't even format the partition.
i am using idf version ESP-IDF v4.3.2 and a ESP32-U4WDH (revision 3)
my biggest question is: is this even possible?
and what is going wrong
I want to use SPIFFS for storing some settings, and logs for a project.
The partition data is generated on a host computer and then flashed.
It works correctly when not using Flash encryption.
The partition for the SPIFFS is not encrypted!!
Only want to use the Flash encryption for the application code.
the controller can't even format the partition.
Code: Select all
I (1016) Storage: Initializing SPIFFS data partition
W (1022) SPIFFS: mount failed, -10025. formatting...
E (2496) SPIFFS: mount failed, -10025
E (2496) Storage: Failed to mount or format filesystem
my biggest question is: is this even possible?
and what is going wrong