Confuse about flash XIP and encryption
Posted: Tue Dec 28, 2021 8:23 pm
Hi all, I have few question about ESP32-C3 and ESP32-S2.
- The embedded flash 4MB (or higher) can execute code (XIP) ? As I know internal RAM and Flash are small. If we have 1.5MB of firmware, can it be located in extern flash and execute?
- There is QSPI or SPI flash connected to SPI0/SPI1, are they considered an embedded flash, beside internal flash?
- PSRAM can execute XIP?
- About flash encryption, if enabled, C3 decrypted and load into IRAM and execute, while S2 can decrypted in-place?
- Once enable flash encryption, flash still can XIP or only for read data?
- The embedded flash 4MB (or higher) can execute code (XIP) ? As I know internal RAM and Flash are small. If we have 1.5MB of firmware, can it be located in extern flash and execute?
- There is QSPI or SPI flash connected to SPI0/SPI1, are they considered an embedded flash, beside internal flash?
- PSRAM can execute XIP?
- About flash encryption, if enabled, C3 decrypted and load into IRAM and execute, while S2 can decrypted in-place?
- Once enable flash encryption, flash still can XIP or only for read data?