Page 1 of 1

Is it possible to disable "erase_flash" function?

Posted: Wed Feb 16, 2022 5:26 pm
by ysba90
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

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

Posted: Wed Feb 16, 2022 7:12 pm
by WiFive
Yes you can disable download mode in efuse so no programming functions over uart work.