/hal_espressif-3.6.0/components/esp_system/port/arch/xtensa/ |
D | debug_helpers.c | 44 static void IRAM_ATTR print_entry(uint32_t pc, uint32_t sp, bool panic) in print_entry() argument 46 if (panic) { in print_entry() 56 static void IRAM_ATTR print_str(const char* str, bool panic) in print_str() argument 58 if (panic) { in print_str() 65 …IRAM_ATTR esp_backtrace_print_from_frame(int depth, const esp_backtrace_frame_t* frame, bool panic) in esp_backtrace_print_from_frame() argument 76 print_str("\r\n\r\nBacktrace:", panic); in esp_backtrace_print_from_frame() 77 print_entry(esp_cpu_process_stack_pc(stk_frame.pc), stk_frame.sp, panic); in esp_backtrace_print_from_frame() 90 print_entry(esp_cpu_process_stack_pc(stk_frame.pc), stk_frame.sp, panic); in esp_backtrace_print_from_frame() 91 print_str(" ", panic); in esp_backtrace_print_from_frame() 97 print_str(" |<-CORRUPTED", panic); in esp_backtrace_print_from_frame() [all …]
|
/hal_espressif-3.6.0/components/esp_system/ |
D | task_wdt.c | 66 bool panic; //Flag to trigger panic when TWDT times out member 172 if (twdt_config->panic){ //Trigger Panic if configured to do so in task_wdt_isr() 201 esp_err_t esp_task_wdt_init(uint32_t timeout, bool panic) in esp_task_wdt_init() argument 211 twdt_config->panic = panic; in esp_task_wdt_init() 229 twdt_config->panic = panic; in esp_task_wdt_init()
|
D | Kconfig | 8 If FreeRTOS detects unexpected behaviour or an unhandled exception, the panic handler is 9 invoked. Configure the panic handler's action here. 29 bool "GDBStub on panic" 123 …If enabled, the permission control module watches all the memory access and fires the panic handler 372 … interrupt handler did not return. It will try to invoke the panic handler first and failing that 401 bool "Invoke panic handler on Task Watchdog timeout" 406 trigger the panic handler when it times out. This can also be configured 463 bool "Place panic handler code in IRAM" 466 … If this option is disabled (default), the panic handler code is placed in flash not IRAM. 467 This means that if ESP-IDF crashes while flash cache is disabled, the panic handler will [all …]
|
D | linker.lf | 5 panic (noflash)
|
D | CMakeLists.txt | 18 "panic.c"
|
/hal_espressif-3.6.0/docs/zh_CN/api-guides/tools/ |
D | idf-monitor.rst | 84 ESP-IDF 应用程序发生 crash 和 panic 事件时,将产生如下的寄存器转储和回溯:: 120 ESP-IDF 应用程序发生 crash 和 panic 事件时,将产生如下的寄存器转储和回溯:: 156 0x40386488: panic_abort at /home/marius/esp-idf_2/components/esp_system/panic.c:367 172 …was called at PC 0x42067cd5 on core 0") at /home/marius/esp-idf_2/components/esp_system/panic.c:367 174 …was called at PC 0x42067cd5 on core 0") at /home/marius/esp-idf_2/components/esp_system/panic.c:367 193 默认情况下,如果 ESP-IDF 应用程序发生 crash 事件,panic 处理器将在串口上打印相关寄存器和堆栈转储(类似上述情况),然后重置开发板。 197 或者选择配置 panic 处理器以运行 GDBStub,GDBStub 工具可以与 GDB_ 项目调试器进行通信,允许读取内存、检查调用堆栈帧和变量等。GDBStub 虽然没有 JTAG 通用,但不… 199 如需在发生 panic 事件时启用 GDBStub,请运行 ``idf.py menuconfig`` 打开项目配置菜单,并将 :ref:`CONFIG_ESP_SYSTEM_PANIC` 选项设置… 201 在这种情况下,如果 panic 处理器被触发或应用程序突然中断 (Ctrl+C),只要 IDF 监视器监控到 GDBStub 已经加载,panic 处理器就会自动暂停串行监控并使用必要的参数运行 G…
|
/hal_espressif-3.6.0/tools/test_apps/system/panic/ |
D | README.md | 4 ## Example with configuration "panic" for target ESP32 7 cat sdkconfig.defaults sdkconfig.ci.panic > sdkconfig 24 … according to the configuration you built before. The above examples are for configuration "panic"*
|
D | sdkconfig.defaults | 11 # To panic on task WDT
|
D | CMakeLists.txt | 22 # Only enable UBSAN for a few components related to the panic test,
|
/hal_espressif-3.6.0/docs/en/api-guides/ |
D | fatal-errors.rst | 34 Every error cause listed in the `Overview`_ will be handled by the *panic handler*. 36 The panic handler will start by printing the cause of the error to the console. For CPU exceptions,… 40 Guru Meditation Error: Core 0 panic'ed (|ILLEGAL_INSTR_MSG|). Exception was unhandled. 46 Guru Meditation Error: Core 0 panic'ed (|CACHE_ERR_MSG|). Exception was unhandled. 50 Subsequent behavior of the panic handler can be set using :ref:`CONFIG_ESP_SYSTEM_PANIC` configurat… 72 The behavior of the panic handler is affected by two other configuration options. 74 …TARGET_CFG_PREFIX}_DEBUG_OCDAWARE` is enabled (which is the default), the panic handler will detec… 78 …ault), the panic handler code is placed in flash memory, not IRAM. This means that if ESP-IDF cras… 80 …If this option is enabled, the panic handler code (including required UART functions) is placed in… 82 The following diagram illustrates the panic handler behavior: [all …]
|
D | hlinterrupts.rst | 57 …file:`esp_system/port/soc/{IDF_TARGET_PATH_NAME}/highint_hdl.S` file; the panic handler interrupt … 64 …panic handler interrupt does call normal C code, this exception is allowed due to the fact that th…
|
D | core_dump_internals.rst | 6 …nformation about the CPU and memory state of a program at the moment when panic handler is entered…
|
/hal_espressif-3.6.0/docs/zh_CN/api-guides/ |
D | app_trace.rst | 52 …panic* (:ref:`CONFIG_APPTRACE_POSTMORTEM_FLUSH_THRESH`)。由于在 JTAG 上工作的性质,此选项是必选项。在该模式下,跟踪数据以 16 KB … 54 …ushing last trace data to host on panic* (:ref:`CONFIG_APPTRACE_ONPANIC_HOST_FLUSH_TMO`)。该选项仅在流模式下…
|
D | fatal-errors.rst | 37 Guru Meditation Error: Core 0 panic'ed (|ILLEGAL_INSTR_MSG|). Exception was unhandled. 43 Guru Meditation Error: Core 0 panic'ed (|CACHE_ERR_MSG|). Exception was unhandled. 82 blockdiag panic-handler { 280 …ch exception causes printed by the panic handler. Do not change the titles (insert spaces, reword,… 284 本节将对打印在 ``Guru Meditation Error: Core panic'ed`` 后面括号中的致错原因进行逐一解释。 477 0x4008b383: panic_abort at /path/to/esp-idf/components/esp_system/panic.c:367
|
/hal_espressif-3.6.0/components/app_trace/ |
D | Kconfig | 51 int "Timeout for flushing last trace data to host on panic" 56 Timeout for flushing last trace data to host in case of panic. In ms. 60 int "Threshold for flushing last trace data to host on panic" 65 Threshold for flushing last trace data to host on panic in post-mortem mode.
|
/hal_espressif-3.6.0/docs/en/api-reference/system/ |
D | wdts.rst | 23 The default action of the interrupt watchdog is to invoke the panic handler. causing a register dum… 25 disabled. Depending on the configuration of the panic handler, it can also blindly reset the CPU, w… 29 some reason cannot execute the NMI handler that invokes the panic handler (e.g. because IRAM is 30 overwritten by garbage), it will hard-reset the SOC. If the panic handler executes, it will display 31 the panic reason as "Interrupt wdt timeout on CPU0" or "Interrupt wdt timeout on CPU1" (as
|
/hal_espressif-3.6.0/docs/en/api-guides/tools/ |
D | idf-monitor.rst | 156 0x40386488: panic_abort at /home/marius/esp-idf_2/components/esp_system/panic.c:367 172 …was called at PC 0x42067cd5 on core 0") at /home/marius/esp-idf_2/components/esp_system/panic.c:367 174 …was called at PC 0x42067cd5 on core 0") at /home/marius/esp-idf_2/components/esp_system/panic.c:367 193 By default, if esp-idf crashes, the panic handler prints relevant registers and the stack dump (sim… 197 Optionally, the panic handler can be configured to run GDBStub, the tool which can communicate with… 199 …e GDBStub on panic, open the project configuration menu (``idf.py menuconfig``) and set :ref:`CONF… 201 In this case, if the panic handler or Ctrl+C command is triggered, as soon as IDF Monitor sees that…
|
/hal_espressif-3.6.0/tools/test_apps/system/monitor_ide_integration/ |
D | CMakeLists.txt | 4 project(panic) project
|
/hal_espressif-3.6.0/components/esp_system/include/ |
D | esp_task_wdt.h | 45 esp_err_t esp_task_wdt_init(uint32_t timeout, bool panic);
|
D | esp_debug_helpers.h | 107 …RAM_ATTR esp_backtrace_print_from_frame(int depth, const esp_backtrace_frame_t* frame, bool panic);
|
/hal_espressif-3.6.0/tools/ldgen/samples/ |
D | mappings.lf | 22 panic (noflash)
|
/hal_espressif-3.6.0/components/esp32c3/ |
D | Kconfig | 52 bool "Make exception and panic handlers JTAG/OCD aware" 56 The FreeRTOS panic and unhandled exception handers can detect a JTAG OCD debugger and
|
/hal_espressif-3.6.0/tools/ci/ |
D | mypy_ignore_list.txt | 259 tools/test_apps/system/panic/app_test.py 260 tools/test_apps/system/panic/panic_tests.py 261 tools/test_apps/system/panic/test_panic_util/test_panic_util.py
|
/hal_espressif-3.6.0/components/app_update/ |
D | Kconfig.projbuild | 46 if it needs to be printed by the panic handler code.
|
/hal_espressif-3.6.0/components/esp32h2/ |
D | Kconfig | 49 bool "Make exception and panic handlers JTAG/OCD aware" 53 The FreeRTOS panic and unhandled exception handers can detect a JTAG OCD debugger and
|