Coredump error idf v5.1.1

User avatar
urbanze
Posts: 302
Joined: Sat Jun 10, 2017 9:55 pm
Location: Brazil

Coredump error idf v5.1.1

Postby urbanze » Wed Jan 22, 2025 12:06 am

Hello guys! Someone can help me to understand this error? When some crash occurs and coredump will save this dump, this save crashs CPU again and never works.

Im using IDF v5.1.1 and flash crypto enabled (release mode with pre-generated key). I already tested coredump partition with encrypted flag or not. Nothing changes.


Code: Select all

Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400d88e8: 1c62a21b 1d1d62a2 000000f0
0x400d88e8: esp_core_dump_flash_write_prepare at /home/ze/esp/v5.1.1/esp-idf/components/espcoredump/src/core_dump_flash.c:230 (discriminator 1)

Core  0 register dump:
PC      : 0x400d88ee  PS      : 0x00060734  A0      : 0x800d974b  A1      : 0x3ffe1d10  
0x400d88ee: esp_core_dump_flash_write_prepare at /home/ze/esp/v5.1.1/esp-idf/components/espcoredump/src/core_dump_flash.c:234

A2      : 0x00000000  A3      : 0x3ffb5d20  A4      : 0x3ffb56fc  A5      : 0x3ffb5740  
A6      : 0x00005a7c  A7      : 0x00000000  A8      : 0x800d88d7  A9      : 0x3ffe1cc0  
A10     : 0x00000000  A11     : 0x00335000  A12     : 0x00006000  A13     : 0x40084a50  
0x40084a50: flash_end_flush_cache at /home/ze/esp/v5.1.1/esp-idf/components/spi_flash/esp_flash_api.c:225

A14     : 0x3ffb3b78  A15     : 0x00000001  SAR     : 0x00000000  EXCCAUSE: 0x00000000  
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  
0x4000c2e0: memcpy in ROM
0x4000c2f6: memcpy in ROM



Backtrace: 0x400d88eb:0x3ffe1d10 0x400d9748:0x3ffe1d30 0x400d86f8:0x3ffe1d60 0x400d8ce8:0x3ffe1d80 0x400d4266:0x3ffe1da0 0x400d47c2:0x3ffe1e20 0x40081e4b:0x3ffe1e70 0x40082eb4:0x3ffe1e90 0x40081dca:0x3ffe1f50 0x4008af3d:0x3ffe1f70 0x40090d15:0x3ffe1f90 0x4008b2e5:0x3ffe20b0 0x400dfc65:0x3ffe20f0 0x400da7b7:0x3ffe2130 0x4008da15:0x3ffe2560
0x400d88eb: esp_core_dump_flash_write_prepare at /home/ze/esp/v5.1.1/esp-idf/components/espcoredump/src/core_dump_flash.c:230 (discriminator 1)
0x400d9748: esp_core_dump_write_elf at /home/ze/esp/v5.1.1/esp-idf/components/espcoredump/src/core_dump_elf.c:586
0x400d86f8: esp_core_dump_write at /home/ze/esp/v5.1.1/esp-idf/components/espcoredump/src/core_dump_common.c:157
0x400d8ce8: esp_core_dump_to_flash at /home/ze/esp/v5.1.1/esp-idf/components/espcoredump/src/core_dump_flash.c:333
0x400d4266: esp_panic_handler at /home/ze/esp/v5.1.1/esp-idf/components/esp_system/panic.c:362
0x400d47c2: panic_handler at /home/ze/esp/v5.1.1/esp-idf/components/esp_system/port/panic_handler.c:190
0x40081e4b: xt_unhandled_exception at /home/ze/esp/v5.1.1/esp-idf/components/esp_system/port/panic_handler.c:225
0x40082eb4: _xt_handle_exc at /home/ze/esp/v5.1.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:805
0x40081dca: panic_abort at /home/ze/esp/v5.1.1/esp-idf/components/esp_system/panic.c:452
0x4008af3d: esp_system_abort at /home/ze/esp/v5.1.1/esp-idf/components/esp_system/port/esp_system_chip.c:84
0x40090d15: __assert_func at /home/ze/esp/v5.1.1/esp-idf/components/newlib/assert.c:81
0x4008b2e5: xQueueGenericSend at /home/ze/esp/v5.1.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:873 (discriminator 2)
0x400dfc65: Sensor::read() at /home/ze/tecnoevo/SunHub/components/sensor/sensor.cpp:326
0x400da7b7: task_sensors(void*) at /home/ze/tecnoevo/SunHub/main/main.cpp:426
0x4008da15: vPortTaskWrapper at /home/ze/esp/v5.1.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162





ELF file SHA256: 76ac9ad7ed58ad89

Re-entered core dump! Exception happened during core dump!
Rebooting in  5 seconds...
Rebooting...

Who is online

Users browsing this forum: No registered users and 82 guests