You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Failed assertions, via ``assert``, ``configASSERT`` and similar macros.
25
28
@@ -373,6 +376,20 @@ Indicates that interrupt watchdog timeout has occured. See :doc:`Watchdogs <../a
373
376
374
377
In some situations ESP-IDF will temporarily disable access to external SPI Flash and SPI RAM via caches. For example, this happens with spi_flash APIs are used to read/write/erase/mmap regions of SPI Flash. In these situations, tasks are suspended, and interrupt handlers not registered with ``ESP_INTR_FLAG_IRAM`` are disabled. Make sure that any interrupt handlers registered with this flag have all the code and data in IRAM/DRAM. Refer to the :ref:`SPI flash API documentation <iram-safe-interrupt-handlers>` for more details.
375
378
379
+
.. only:: CONFIG_ESP_SYSTEM_MEMPROT_FEATURE
380
+
381
+
Memory protection fault
382
+
^^^^^^^^^^^^^^^^^^^^^^^
383
+
384
+
{IDF_TARGET_NAME} Permission Control feature is used in ESP-IDF to prevent the following types of memory access:
385
+
386
+
* writing to instruction RAM after the program is loaded
387
+
* executing code from data RAM (areas used for heap and static .data and .bss)
388
+
389
+
Such operations are not necessary for most programs. Prohibiting such operations typically makes software vulnerabilities harder to exploit. Applications which rely on dynamic loading or self-modifying code may disable this protection using :ref:`CONFIG_ESP_SYSTEM_MEMPROT_FEATURE` Kconfig option.
390
+
391
+
When the fault occurs, the panic handler reports the address of the fault and the type of memory access that caused it.
Copy file name to clipboardExpand all lines: docs/en/api-reference/storage/spi_flash_concurrency.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ There are no such constraints and impacts for flash chips on other SPI buses tha
24
24
25
25
For differences between IRAM, DRAM, and flash cache, please refer to the :ref:`application memory layout <memory-layout>` documentation.
26
26
27
-
.. only: not CONFIG_FREERTOS_UNICORE
27
+
.. only::not CONFIG_FREERTOS_UNICORE
28
28
29
29
To avoid reading flash cache accidentally, when one CPU initiates a flash write or erase operation, the other CPU is put into a blocked state, and all non-IRAM-safe interrupts are disabled on all CPUs until the flash operation completes.
0 commit comments