Internal filesystem with flash encryption

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
MauroDiam
Posts: 7
Joined: Thu Jul 23, 2020 1:38 pm

Internal filesystem with flash encryption

Post by MauroDiam » Tue May 31, 2022 2:00 am

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.

Post Reply