Page 1 of 1

encryption and write protection on flash

Posted: Thu Jun 20, 2019 1:37 am
by nzh912
Hi, may i know about is it the firmware i flashed into the external flash memory are in write protected. The flash chip normally is connected externally with the esp8266/esp32 chips. And i wonder is there any prevention i can do to prevent others people from reading my program?? How to make encryption to the source code when i flashed in into the flash memory?

and also, beside using the flash download tools provided by espressif, is it possible to use flash programmer to flash in the firmware into flash memory?

Re: encryption and write protection on flash

Posted: Thu Jun 20, 2019 4:45 am
by WiFive
https://docs.espressif.com/projects/esp ... ption.html

Flash chip can be programmed directly. Some flash chips have hardware write protection mechanisms but they are not directly supported in esp-idf.