|
@@ -75,7 +75,7 @@ Flash Encryption Best Practices
|
|
|
|
|
|
|
|
Please refer to the :doc:`DS Peripheral Guide <../api-reference/peripherals/ds>` for detailed documentation.
|
|
Please refer to the :doc:`DS Peripheral Guide <../api-reference/peripherals/ds>` for detailed documentation.
|
|
|
|
|
|
|
|
-.. only:: SOC_MEMPROT_SUPPORTED
|
|
|
|
|
|
|
+.. only:: SOC_MEMPROT_SUPPORTED or SOC_CPU_IDRAM_SPLIT_USING_PMP
|
|
|
|
|
|
|
|
Memory Protection
|
|
Memory Protection
|
|
|
~~~~~~~~~~~~~~~~~
|
|
~~~~~~~~~~~~~~~~~
|
|
@@ -108,13 +108,13 @@ UART DL Mode
|
|
|
.. important::
|
|
.. important::
|
|
|
If UART Download mode is disabled then ``esptool`` can not work on the device.
|
|
If UART Download mode is disabled then ``esptool`` can not work on the device.
|
|
|
|
|
|
|
|
-.. only:: not esp32
|
|
|
|
|
|
|
+.. only:: SOC_SUPPORTS_SECURE_DL_MODE
|
|
|
|
|
|
|
|
In {IDF_TARGET_NAME}, Secure UART Download mode gets activated if any of the security features are enabled.
|
|
In {IDF_TARGET_NAME}, Secure UART Download mode gets activated if any of the security features are enabled.
|
|
|
|
|
|
|
|
* Secure UART Download mode can also be enabled by calling :cpp:func:`esp_efuse_enable_rom_secure_download_mode`.
|
|
* Secure UART Download mode can also be enabled by calling :cpp:func:`esp_efuse_enable_rom_secure_download_mode`.
|
|
|
* This mode does not allow any arbitrary code to execute if downloaded through the UART download mode.
|
|
* This mode does not allow any arbitrary code to execute if downloaded through the UART download mode.
|
|
|
- * It also limits the available commands in Download mode to basic flash read and write, plus a command to return a summary of currently enabled security features.
|
|
|
|
|
|
|
+ * It also limits the available commands in Download mode to update SPI config, changing baud rate, basic flash write and a command to return a summary of currently enabled security features (`get_security_info`).
|
|
|
* To disable Download Mode entirely select the :ref:`CONFIG_SECURE_UART_ROM_DL_MODE` to "Permanently disable ROM Download Mode (recommended)" or call :cpp:func:`esp_efuse_disable_rom_download_mode` at runtime.
|
|
* To disable Download Mode entirely select the :ref:`CONFIG_SECURE_UART_ROM_DL_MODE` to "Permanently disable ROM Download Mode (recommended)" or call :cpp:func:`esp_efuse_disable_rom_download_mode` at runtime.
|
|
|
|
|
|
|
|
.. important::
|
|
.. important::
|