I am having trouble with the coredump to flash, it works when I do dump over uART.
My partition table is the following (I use ESP-WROOM-32 with 16MB external flash, but I could not get it to work with my other clean 4MB ESP-WROOM-32 either):
Code: Select all
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x400000,
app1, app, ota_1, 0x410000,0x400000,
eeprom, data, 0x99, 0x810000,0x1000,
spiffs, data, spiffs, 0x811000,0x7DF600,
coredump, data, coredump, 0xFF0600, 0xFA00,
Code: Select all
Guru Meditation Error: Core 0 panic'ed (LoadProhibited)
. Exception was unhandled.
Register dump:
PC : 0x400014e8 PS : 0x00060930 A0 : 0x80001459 A1 : 0x3ffcf630
A2 : 0xfffffffe A3 : 0xfffffffc A4 : 0x000000ff A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x8008531e A9 : 0x3ffcf600
A10 : 0x3ffce4d4 A11 : 0x00000006 A12 : 0x3ffae720 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000019 EXCCAUSE: 0x0000001c
EXCVADDR: 0xfffffffc LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
Backtrace: 0x400014e8:0x3ffcf630 0x40001456:0x3ffcf640 0x40001445:0x3ffcf660 0x4012baf5:0x3ffcf680 0x401303ae:0x3ffcf6b0 0x401305c3:0x3ffcf6e0
[0;31mE (10531) esp_core_dump: Failed to erase flash (258)![0m
[0;31mE (10536) esp_core_dump: Failed to prepare core dump (258)![0m
Rebooting...