I am having issues with my code and wanted to do some debugging, when I tell the esp32 to generate the core dump it first gives me this error at the beginning:
Code: Select all
E (202) esp_core_dump: Failed to mmap core dump data (260)!
Code: Select all
python $IDF_PATH/components/espcoredump/espcoredump.py info_corefile -t b64 -c coredump.dat ~/esp/wifi_manager/build/app-template.elf
I tried to get a generic app-template.elf from an online source and this is the core dump that I get
Code: Select all
==================== CURRENT THREAD STACK =====================
#-1 0x4000c3ee in ?? ()
Backtrace stopped: Cannot access memory at address 0x4000c3ee
======================== THREADS INFO =========================
Id Target Id Frame
15 process 14 0x4008e901 in ?? ()
14 process 13 0x4008e901 in ?? ()
13 process 12 0x4008e901 in ?? ()
12 process 11 0x40090d39 in ?? ()
11 process 10 0x4008e901 in ?? ()
10 process 9 0x4008e901 in ?? ()
9 process 8 0x4008e901 in ?? ()
8 process 7 0x4009083c in ?? ()
7 process 6 0x4008e901 in ?? ()
6 process 5 0x4008f95a in ?? ()
5 process 4 0x4008f95a in ?? ()
4 process 3 0x4013feda in ?? ()
3 process 2 0x4013feda in ?? ()
2 process 1 0x4008bd94 in ?? ()
* 1 <main task> 0x4000c3ee in ?? ()
======================= ALL MEMORY REGIONS ========================
Name Address Size Attrs
.rtc.text 0x400c0000 0x0 RW
.iram0.vectors 0x40080000 0x400 R XA
.iram0.text 0x40080400 0x83f0 R XA
.dram0.data 0x3ffb0000 0x12ec RW A
.flash.rodata 0x3f400010 0x2efc RW A
.flash.text 0x400d0018 0xdf48 R XA
.coredump.tasks.data 0x3ffc4a0c 0x164 RW
.coredump.tasks.data 0x3ffc4440 0x5c4 RW
.coredump.tasks.data 0x3ffc3260 0x164 RW
.coredump.tasks.data 0x3ffc2f30 0x328 RW
.coredump.tasks.data 0x3ffbbb4c 0x164 RW
.coredump.tasks.data 0x3ffbb9a0 0x1a4 RW
.coredump.tasks.data 0x3ffbc0b8 0x164 RW
.coredump.tasks.data 0x3ffbbf10 0x1a0 RW
.coredump.tasks.data 0x3ffcc290 0x164 RW
.coredump.tasks.data 0x3ffcc000 0x288 RW
.coredump.tasks.data 0x3ffcd3fc 0x164 RW
.coredump.tasks.data 0x3ffcd250 0x1a4 RW
.coredump.tasks.data 0x3ffc05cc 0x164 RW
.coredump.tasks.data 0x3ffc03c0 0x204 RW
.coredump.tasks.data 0x3ffbcb18 0x164 RW
.coredump.tasks.data 0x3ffbc970 0x1a0 RW
.coredump.tasks.data 0x3ffb9fb8 0x164 RW
.coredump.tasks.data 0x3ffbd750 0x22c RW
.coredump.tasks.data 0x3ffc2058 0x164 RW
.coredump.tasks.data 0x3ffc1e80 0x1d0 RW
.coredump.tasks.data 0x3ffb9c44 0x164 RW
.coredump.tasks.data 0x3ffb9a90 0x1ac RW
.coredump.tasks.data 0x3ffbe988 0x164 RW
.coredump.tasks.data 0x3ffbe6b0 0x2d0 RW
.coredump.tasks.data 0x3ffafca8 0x164 RW
.coredump.tasks.data 0x3ffafb00 0x1a0 RW
.coredump.tasks.data 0x3ffcf568 0x164 RW
.coredump.tasks.data 0x3ffcf270 0x2f0 RW
.coredump.tasks.data 0x3ffb9684 0x164 RW
.coredump.tasks.data 0x3ffb94d0 0x1ac RW
===================== ESP32 CORE DUMP END =====================
===============================================================
Thanks in advance!