EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1347 background imageLoading...
Page #1347 background image
Chapter 4. API Guides
• If the Core Dump feature is enabled, then the system state (task stacks and registers) will be dumped to either
Flash or UART, for later analysis.
• If CONFIG_ESP_PANIC_HANDLER_IRAM is disabled (disabled by default), the panic handler code is placed
in flash memory, not IRAM. This means that if ESP-IDF crashes while flash cache is disabled, the panic handler
will automatically re-enable flash cache before running GDB Stub or Core Dump. This adds some minor risk,
if the flash cache status is also corrupted during the crash.
If this option is enabled, the panic handler code (including required UART functions) is placed in IRAM, and
hence will decrease the usable memory space in SRAM. But this may be necessary to debug some complex
issues with crashes while flash cache is disabled (for example, when writing to SPI flash) or when flash cache
is corrupted when an exception is triggered.
The following diagram illustrates the panic handler behavior:
Fig. 19: Panic Handler Flowchart (click to enlarge)
Espressif Systems 1336
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish