Is it possible to disable "erase_flash" function?

ysba90
Posts: 4
Joined: Wed Nov 03, 2021 2:54 pm

Is it possible to disable "erase_flash" function?

Postby ysba90 » Wed Feb 16, 2022 5:26 pm

Hi,

Is it possible to disable "erase_flash" function?

I'm using an ESP32-C3 board in an application that stores some log files in a data partition within its flash. Aside using flash encryption to avoid user access to flash content and signed images to avoid loading improper firmware, I'd like to prevent someone to erase flash content to keep the log files.

Thank you,

Yuri

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Is it possible to disable "erase_flash" function?

Postby WiFive » Wed Feb 16, 2022 7:12 pm

Yes you can disable download mode in efuse so no programming functions over uart work.

Who is online

Users browsing this forum: ok-home and 118 guests