Page 1 of 1

Internal filesystem with flash encryption

Posted: Tue May 31, 2022 2:00 am
by MauroDiam
Hi, I've been able to implement flash encryption on esp32 with micropython firmware. The interpreter is working really well. I've also implemented my scripts as frozen modules with the micropython firmware. But now I'm having troubles with the internal filesystem. I've tried to create files using

Code: Select all

open()
from the frozen modules and from the REPL but I'm getting the error ENODEV. I guess this is because the filesystem is implemented in the flash memory, which is now encrypted. Am I right? How can I make the internal filesystem work with flash encryption?
I'm considering using an external flash (sd card) to workaround this problem, but it would be greate to be able to use the internal filesystem.