Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless restart after several days of running (IDFGH-5968) #7656

Open
achao1104 opened this issue Oct 7, 2021 · 29 comments
Open

Endless restart after several days of running (IDFGH-5968) #7656

achao1104 opened this issue Oct 7, 2021 · 29 comments
Assignees
Labels
Status: In Progress Work is in progress

Comments

@achao1104
Copy link

hello,

we used esp32s2 and sdk v4.3 release. It runs smoothly for a couple of days, and then enter "endless restart" (the log repeated quickly), if we pull down en pin for a while, it turns to normal again.

�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x082c5e2d A15 : 0x9b485e2d SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: dc492b645f2a042d

�[0;31mE (638) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026ee6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x19cc
load:0x4004c000,len:0xc80
load:0x40050000,len:0x2d3c
entry 0x4004c214
�[0;32mI (24) boot: ESP-IDF v4.3-dirty 2nd stage bootloader�[0m
�[0;32mI (24) boot: compile time 11:06:41�[0m
�[0;32mI (24) boot: chip revision: 0�[0m
�[0;32mI (26) qio_mode: Enabling default flash chip QIO�[0m
�[0;32mI (32) boot.esp32s2: SPI Speed : 80MHz�[0m
�[0;32mI (37) boot.esp32s2: SPI Mode : QIO�[0m
�[0;32mI (41) boot.esp32s2: SPI Flash Size : 4MB�[0m
�[0;32mI (46) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (51) boot: Partition Table:�[0m
�[0;32mI (55) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (62) boot: 0 nvs WiFi data 01 02 00009000 00005000�[0m
�[0;32mI (70) boot: 1 otadata OTA data 01 00 0000e000 00002000�[0m
�[0;32mI (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000�[0m
�[0;32mI (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000�[0m
�[0;32mI (92) boot: 4 storage Unknown data 01 82 00210000 001e0000�[0m
�[0;32mI (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000�[0m
�[0;32mI (107) boot: End of partition table�[0m
�[0;32mI (111) esp_image: segment 0: paddr=00110020 vaddr=3f000020 size=25230h (152112) map�[0m
�[0;32mI (148) esp_image: segment 1: paddr=00135258 vaddr=3ffcd4c0 size=05758h ( 22360) load�[0m
�[0;32mI (153) esp_image: segment 2: paddr=0013a9b8 vaddr=40024000 size=05660h ( 22112) load�[0m
�[0;32mI (159) esp_image: segment 3: paddr=00140020 vaddr=40080020 size=8f694h (587412) map�[0m
�[0;32mI (273) esp_image: segment 4: paddr=001cf6bc vaddr=40029660 size=13e60h ( 81504) load�[0m
�[0;32mI (292) esp_image: segment 5: paddr=001e3524 vaddr=50000000 size=00010h ( 16) load�[0m
�[0;32mI (306) boot: Loaded app from partition at offset 0x110000�[0m
�[0;32mI (306) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (318) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (318) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (324) spiram: Found 16MBit SPI RAM device�[0m
�[0;32mI (329) spiram: SPI RAM mode: sram 80m�[0m
�[0;32mI (333) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (340) cpu_start: Pro cpu up.�[0m
�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x1ffb0144 A15 : 0x9d950144 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: dc492b645f2a042d

�[0;31mE (638) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026ee6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x19cc
load:0x4004c000,len:0xc80
load:0x40050000,len:0x2d3c
entry 0x4004c214
�[0;32mI (24) boot: ESP-IDF v4.3-dirty 2nd stage bootloader�[0m
�[0;32mI (24) boot: compile time 11:06:41�[0m
�[0;32mI (24) boot: chip revision: 0�[0m
�[0;32mI (26) qio_mode: Enabling default flash chip QIO�[0m
�[0;32mI (32) boot.esp32s2: SPI Speed : 80MHz�[0m
�[0;32mI (37) boot.esp32s2: SPI Mode : QIO�[0m
�[0;32mI (41) boot.esp32s2: SPI Flash Size : 4MB�[0m
�[0;32mI (46) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (51) boot: Partition Table:�[0m
�[0;32mI (55) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (62) boot: 0 nvs WiFi data 01 02 00009000 00005000�[0m
�[0;32mI (70) boot: 1 otadata OTA data 01 00 0000e000 00002000�[0m
�[0;32mI (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000�[0m
�[0;32mI (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000�[0m
�[0;32mI (92) boot: 4 storage Unknown data 01 82 00210000 001e0000�[0m
�[0;32mI (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000�[0m
�[0;32mI (107) boot: End of partition table�[0m
�[0;32mI (111) esp_image: segment 0: paddr=00110020 vaddr=3f000020 size=25230h (152112) map�[0m
�[0;32mI (148) esp_image: segment 1: paddr=00135258 vaddr=3ffcd4c0 size=05758h ( 22360) load�[0m
�[0;32mI (153) esp_image: segment 2: paddr=0013a9b8 vaddr=40024000 size=05660h ( 22112) load�[0m
�[0;32mI (159) esp_image: segment 3: paddr=00140020 vaddr=40080020 size=8f694h (587412) map�[0m
�[0;32mI (273) esp_image: segment 4: paddr=001cf6bc vaddr=40029660 size=13e60h ( 81504) load�[0m
�[0;32mI (292) esp_image: segment 5: paddr=001e3524 vaddr=50000000 size=00010h ( 16) load�[0m
�[0;32mI (306) boot: Loaded app from partition at offset 0x110000�[0m
�[0;32mI (306) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (318) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (318) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (324) spiram: Found 16MBit SPI RAM device�[0m
�[0;32mI (329) spiram: SPI RAM mode: sram 80m�[0m
�[0;32mI (333) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (340) cpu_start: Pro cpu up.�[0m
�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x1583553c A15 : 0x9c9f553c SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: dc492b645f2a042d

�[0;31mE (638) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026ee6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x19cc
load:0x4004c000,len:0xc80
load:0x40050000,len:0x2d3c
entry 0x4004c214
�[0;32mI (24) boot: ESP-IDF v4.3-dirty 2nd stage bootloader�[0m
�[0;32mI (24) boot: compile time 11:06:41�[0m
�[0;32mI (24) boot: chip revision: 0�[0m
�[0;32mI (26) qio_mode: Enabling default flash chip QIO�[0m
�[0;32mI (32) boot.esp32s2: SPI Speed : 80MHz�[0m
�[0;32mI (37) boot.esp32s2: SPI Mode : QIO�[0m
�[0;32mI (41) boot.esp32s2: SPI Flash Size : 4MB�[0m
�[0;32mI (46) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (51) boot: Partition Table:�[0m
�[0;32mI (55) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (62) boot: 0 nvs WiFi data 01 02 00009000 00005000�[0m
�[0;32mI (70) boot: 1 otadata OTA data 01 00 0000e000 00002000�[0m
�[0;32mI (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000�[0m
�[0;32mI (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000�[0m
�[0;32mI (92) boot: 4 storage Unknown data 01 82 00210000 001e0000�[0m
�[0;32mI (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000�[0m
�[0;32mI (107) boot: End of partition table�[0m
�[0;32mI (111) esp_image: segment 0: paddr=00110020 vaddr=3f000020 size=25230h (152112) map�[0m
�[0;32mI (148) esp_image: segment 1: paddr=00135258 vaddr=3ffcd4c0 size=05758h ( 22360) load�[0m
�[0;32mI (153) esp_image: segment 2: paddr=0013a9b8 vaddr=40024000 size=05660h ( 22112) load�[0m
�[0;32mI (159) esp_image: segment 3: paddr=00140020 vaddr=40080020 size=8f694h (587412) map�[0m
�[0;32mI (273) esp_image: segment 4: paddr=001cf6bc vaddr=40029660 size=13e60h ( 81504) load�[0m
�[0;32mI (292) esp_image: segment 5: paddr=001e3524 vaddr=50000000 size=00010h ( 16) load�[0m
�[0;32mI (306) boot: Loaded app from partition at offset 0x110000�[0m
�[0;32mI (306) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (318) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (318) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (324) spiram: Found 16MBit SPI RAM device�[0m
�[0;32mI (329) spiram: SPI RAM mode: sram 80m�[0m
�[0;32mI (333) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (340) cpu_start: Pro cpu up.�[0m
�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x0c51a670 A15 : 0x9bc8a670 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: dc492b645f2a042d

�[0;31mE (638) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026ee6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x19cc
load:0x4004c000,len:0xc80
load:0x40050000,len:0x2d3c
entry 0x4004c214
�[0;32mI (24) boot: ESP-IDF v4.3-dirty 2nd stage bootloader�[0m
�[0;32mI (24) boot: compile time 11:06:41�[0m
�[0;32mI (24) boot: chip revision: 0�[0m
�[0;32mI (26) qio_mode: Enabling default flash chip QIO�[0m
�[0;32mI (32) boot.esp32s2: SPI Speed : 80MHz�[0m
�[0;32mI (37) boot.esp32s2: SPI Mode : QIO�[0m
�[0;32mI (41) boot.esp32s2: SPI Flash Size : 4MB�[0m
�[0;32mI (46) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (51) boot: Partition Table:�[0m
�[0;32mI (55) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (62) boot: 0 nvs WiFi data 01 02 00009000 00005000�[0m
�[0;32mI (70) boot: 1 otadata OTA data 01 00 0000e000 00002000�[0m
�[0;32mI (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000�[0m
�[0;32mI (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000�[0m
�[0;32mI (92) boot: 4 storage Unknown data 01 82 00210000 001e0000�[0m
�[0;32mI (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000�[0m
�[0;32mI (107) boot: End of partition table�[0m
�[0;32mI (111) esp_image: segment 0: paddr=00110020 vaddr=3f000020 size=25230h (152112) map�[0m
�[0;32mI (148) esp_image: segment 1: paddr=00135258 vaddr=3ffcd4c0 size=05758h ( 22360) load�[0m
�[0;32mI (153) esp_image: segment 2: paddr=0013a9b8 vaddr=40024000 size=05660h ( 22112) load�[0m
�[0;32mI (159) esp_image: segment 3: paddr=00140020 vaddr=40080020 size=8f694h (587412) map�[0m
�[0;32mI (273) esp_image: segment 4: paddr=001cf6bc vaddr=40029660 size=13e60h ( 81504) load�[0m
�[0;32mI (292) esp_image: segment 5: paddr=001e3524 vaddr=50000000 size=00010h ( 16) load�[0m
�[0;32mI (306) boot: Loaded app from partition at offset 0x110000�[0m
�[0;32mI (306) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (318) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (318) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (324) spiram: Found 16MBit SPI RAM device�[0m
�[0;32mI (329) spiram: SPI RAM mode: sram 80m�[0m
�[0;32mI (333) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (340) cpu_start: Pro cpu up.�[0m
�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x0ae1caab A15 : 0x9baecaab SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: dc492b645f2a042d

�[0;31mE (638) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026ee6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x19cc
load:0x4004c000,len:0xc80
load:0x40050000,len:0x2d3c
entry 0x4004c214
�[0;32mI (24) boot: ESP-IDF v4.3-dirty 2nd stage bootloader�[0m
�[0;32mI (24) boot: compile time 11:06:41�[0m
�[0;32mI (24) boot: chip revision: 0�[0m
�[0;32mI (26) qio_mode: Enabling default flash chip QIO�[0m
�[0;32mI (32) boot.esp32s2: SPI Speed : 80MHz�[0m
�[0;32mI (37) boot.esp32s2: SPI Mode : QIO�[0m
�[0;32mI (41) boot.esp32s2: SPI Flash Size : 4MB�[0m
�[0;32mI (46) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (51) boot: Partition Table:�[0m
�[0;32mI (55) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (62) boot: 0 nvs WiFi data 01 02 00009000 00005000�[0m
�[0;32mI (70) boot: 1 otadata OTA data 01 00 0000e000 00002000�[0m
�[0;32mI (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000�[0m
�[0;32mI (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000�[0m
�[0;32mI (92) boot: 4 storage Unknown data 01 82 00210000 001e0000�[0m
�[0;32mI (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000�[0m
�[0;32mI (107) boot: End of partition table�[0m
�[0;32mI (111) esp_image: segment 0: paddr=00110020 vaddr=3f000020 size=25230h (152112) map�[0m
�[0;32mI (148) esp_image: segment 1: paddr=00135258 vaddr=3ffcd4c0 size=05758h ( 22360) load�[0m
�[0;32mI (153) esp_image: segment 2: paddr=0013a9b8 vaddr=40024000 size=05660h ( 22112) load�[0m
�[0;32mI (159) esp_image: segment 3: paddr=00140020 vaddr=40080020 size=8f694h (587412) map�[0m
�[0;32mI (273) esp_image: segment 4: paddr=001cf6bc vaddr=40029660 size=13e60h ( 81504) load�[0m
�[0;32mI (292) esp_image: segment 5: paddr=001e3524 vaddr=50000000 size=00010h ( 16) load�[0m
�[0;32mI (306) boot: Loaded app from partition at offset 0x110000�[0m
�[0;32mI (306) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (318) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (318) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (324) spiram: Found 16MBit SPI RAM device�[0m
�[0;32mI (329) spiram: SPI RAM mode: sram 80m�[0m
�[0;32mI (333) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (340) cpu_start: Pro cpu up.�[0m
�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x0e29ca44 A15 : 0x9c07ca44 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: dc492b645f2a042d

�[0;31mE (638) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026ee6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x19cc
load:0x4004c000,len:0xc80
load:0x40050000,len:0x2d3c
entry 0x4004c214
�[0;32mI (24) boot: ESP-IDF v4.3-dirty 2nd stage bootloader�[0m
�[0;32mI (24) boot: compile time 11:06:41�[0m
�[0;32mI (24) boot: chip revision: 0�[0m
�[0;32mI (26) qio_mode: Enabling default flash chip QIO�[0m
�[0;32mI (32) boot.esp32s2: SPI Speed : 80MHz�[0m
�[0;32mI (37) boot.esp32s2: SPI Mode : QIO�[0m
�[0;32mI (41) boot.esp32s2: SPI Flash Size : 4MB�[0m
�[0;32mI (46) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (51) boot: Partition Table:�[0m
�[0;32mI (55) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (62) boot: 0 nvs WiFi data 01 02 00009000 00005000�[0m
�[0;32mI (70) boot: 1 otadata OTA data 01 00 0000e000 00002000�[0m
�[0;32mI (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000�[0m
�[0;32mI (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000�[0m
�[0;32mI (92) boot: 4 storage Unknown data 01 82 00210000 001e0000�[0m
�[0;32mI (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000�[0m
�[0;32mI (107) boot: End of partition table�[0m
�[0;32mI (111) esp_image: segment 0: paddr=00110020 vaddr=3f000020 size=25230h (152112) map�[0m
�[0;32mI (148) esp_image: segment 1: paddr=00135258 vaddr=3ffcd4c0 size=05758h ( 22360) load�[0m
�[0;32mI (153) esp_image: segment 2: paddr=0013a9b8 vaddr=40024000 size=05660h ( 22112) load�[0m
�[0;32mI (159) esp_image: segment 3: paddr=00140020 vaddr=40080020 size=8f694h (587412) map�[0m
�[0;32mI (273) esp_image: segment 4: paddr=001cf6bc vaddr=40029660 size=13e60h ( 81504) load�[0m
�[0;32mI (292) esp_image: segment 5: paddr=001e3524 vaddr=50000000 size=00010h ( 16) load�[0m
�[0;32mI (306) boot: Loaded app from partition at offset 0x110000�[0m
�[0;32mI (306) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (318) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (318) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (324) spiram: Found 16MBit SPI RAM device�[0m
�[0;32mI (329) spiram: SPI RAM mode: sram 80m�[0m
�[0;32mI (333) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (340) cpu_start: Pro cpu up.�[0m
�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x18e87b98 A15 : 0x9d167b98 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: dc492b645f2a042d

�[0;31mE (638) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026ee6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x19cc
load:0x4004c000,len:0xc80
load:0x40050000,len:0x2d3c
entry 0x4004c214
�[0;32mI (24) boot: ESP-IDF v4.3-dirty 2nd stage bootloader�[0m
�[0;32mI (24) boot: compile time 11:06:41�[0m
�[0;32mI (24) boot: chip revision: 0�[0m
�[0;32mI (26) qio_mode: Enabling default flash chip QIO�[0m
�[0;32mI (32) boot.esp32s2: SPI Speed : 80MHz�[0m
�[0;32mI (37) boot.esp32s2: SPI Mode : QIO�[0m
�[0;32mI (41) boot.esp32s2: SPI Flash Size : 4MB�[0m
�[0;32mI (46) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (51) boot: Partition Table:�[0m
�[0;32mI (55) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (62) boot: 0 nvs WiFi data 01 02 00009000 00005000�[0m
�[0;32mI (70) boot: 1 otadata OTA data 01 00 0000e000 00002000�[0m
�[0;32mI (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000�[0m
�[0;32mI (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000�[0m
�[0;32mI (92) boot: 4 storage Unknown data 01 82 00210000 001e0000�[0m
�[0;32mI (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000�[0m
�[0;32mI (107) boot: End of partition table�[0m
�[0;32mI (111) esp_image: segment 0: paddr=00110020 vaddr=3f000020 size=25230h (152112) map�[0m
�[0;32mI (148) esp_image: segment 1: paddr=00135258 vaddr=3ffcd4c0 size=05758h ( 22360) load�[0m
�[0;32mI (153) esp_image: segment 2: paddr=0013a9b8 vaddr=40024000 size=05660h ( 22112) load�[0m
�[0;32mI (159) esp_image: segment 3: paddr=00140020 vaddr=40080020 size=8f694h (587412) map�[0m
�[0;32mI (273) esp_image: segment 4: paddr=001cf6bc vaddr=40029660 size=13e60h ( 81504) load�[0m
�[0;32mI (292) esp_image: segment 5: paddr=001e3524 vaddr=50000000 size=00010h ( 16) load�[0m
�[0;32mI (306) boot: Loaded app from partition at offset 0x110000�[0m
�[0;32mI (306) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (318) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (318) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (324) spiram: Found 16MBit SPI RAM device�[0m
�[0;32mI (329) spiram: SPI RAM mode: sram 80m�[0m
�[0;32mI (333) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (340) cpu_start: Pro cpu up.�[0m
�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x1665773c A15 : 0x9ce2773c SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: dc492b645f2a042d

�[0;31mE (638) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026ee6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x19cc
load:0x4004c000,len:0xc80
load:0x40050000,len:0x2d3c
entry 0x4004c214
�[0;32mI (24) boot: ESP-IDF v4.3-dirty 2nd stage bootloader�[0m
�[0;32mI (24) boot: compile time 11:06:41�[0m
�[0;32mI (24) boot: chip revision: 0�[0m
�[0;32mI (26) qio_mode: Enabling default flash chip QIO�[0m
�[0;32mI (32) boot.esp32s2: SPI Speed : 80MHz�[0m
�[0;32mI (37) boot.esp32s2: SPI Mode : QIO�[0m
�[0;32mI (41) boot.esp32s2: SPI Flash Size : 4MB�[0m
�[0;32mI (46) boot: Enabling RNG early entropy source...�[0m
�[0;32mI (51) boot: Partition Table:�[0m
�[0;32mI (55) boot: ## Label Usage Type ST Offset Length�[0m
�[0;32mI (62) boot: 0 nvs WiFi data 01 02 00009000 00005000�[0m
�[0;32mI (70) boot: 1 otadata OTA data 01 00 0000e000 00002000�[0m
�[0;32mI (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000�[0m
�[0;32mI (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000�[0m
�[0;32mI (92) boot: 4 storage Unknown data 01 82 00210000 001e0000�[0m
�[0;32mI (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000�[0m
�[0;32mI (107) boot: End of partition table�[0m
�[0;32mI (111) esp_image: segment 0: paddr=00110020 vaddr=3f000020 size=25230h (152112) map�[0m
�[0;32mI (148) esp_image: segment 1: paddr=00135258 vaddr=3ffcd4c0 size=05758h ( 22360) load�[0m
�[0;32mI (153) esp_image: segment 2: paddr=0013a9b8 vaddr=40024000 size=05660h ( 22112) load�[0m
�[0;32mI (159) esp_image: segment 3: paddr=00140020 vaddr=40080020 size=8f694h (587412) map�[0m
�[0;32mI (273) esp_image: segment 4: paddr=001cf6bc vaddr=40029660 size=13e60h ( 81504) load�[0m
�[0;32mI (292) esp_image: segment 5: paddr=001e3524 vaddr=50000000 size=00010h ( 16) load�[0m
�[0;32mI (306) boot: Loaded app from partition at offset 0x110000�[0m
�[0;32mI (306) boot: Disabling RNG early entropy source...�[0m
�[0;32mI (318) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (318) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte�[0m
�[0;32mI (324) spiram: Found 16MBit SPI RAM device�[0m
�[0;32mI (329) spiram: SPI RAM mode: sram 80m�[0m
�[0;32mI (333) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (340) cpu_start: Pro cpu up.�[0m
�[0;32mI (562) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d48d PS : 0x00060d34 A0 : 0x800a47ad A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x12e2e6b8 A15 : 0x9f54e6b8 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x400259bc

Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

@espressif-bot espressif-bot added the Status: Opened Issue is new label Oct 7, 2021
@github-actions github-actions bot changed the title Endless restart after several days of running Endless restart after several days of running (IDFGH-5968) Oct 7, 2021
@gadget-man
Copy link

I've noticed a similar issue. It's only happening on IDF 4.x, but devices seem to get stuck in a never-ending boot loop until you do a power down and restart. This is particularly tricky in my case as they are battery powered devices with no manual power-off. I'm using Wrover with PSRAM, and in my case the issue always seems to happen just as the device attempts to go into deep sleep. Note I use mongoose-os so the log is slightly different:

[Jul 11 20:58:10.362] pn_sleep.c:40 idle
[Jul 11 20:58:10.366] pn_sleep.c:56 Entering Deep Sleep
[Jul 11 20:58:10.371] Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
[Jul 11 20:58:10.378]
[Jul 11 20:58:10.378] Core 0 register dump:
[Jul 11 20:58:10.380] PC : 0x40126456 PS : 0x00060133 A0 : 0x8011bb0d A1 : 0x3ffda870
[Jul 11 20:58:10.388] A2 : 0x3ffdacc4 A3 : 0x00000008 A4 : 0x3f402aea A5 : 0x3ffdabb0
[Jul 11 20:58:10.396] A6 : 0x3ffdab90 A7 : 0x00000004 A8 : 0x80126456 A9 : 0x3ffda850
[Jul 11 20:58:10.404] A10 : 0x0000fff0 A11 : 0x00000004 A12 : 0x3ffb0e90 A13 : 0x00000001
[Jul 11 20:58:10.411] A14 : 0x00ff0000 A15 : 0xff000000 SAR : 0x00000019 EXCCAUSE: 0x0000001c
[Jul 11 20:58:10.419] EXCVADDR: 0x0000fff0 LBEG : 0x4008a135 LEND : 0x4008a145 LCOUNT : 0xffffffff
[Jul 11 20:58:10.427]
[Jul 11 20:58:10.427] Backtrace:0x40126453 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 |<-CONTINUES
[Jul 11 20:58:10.524]
[Jul 11 20:58:10.524]
[Jul 11 20:58:10.524] ELF file SHA256: c47d9bc8a9532185
[Jul 11 20:58:10.527]
[Jul 11 20:58:10.528]
[Jul 11 20:58:10.528] --- BEGIN CORE DUMP ---
[Jul 11 20:58:10.530] mos: catching core dump
[Jul 11 20:58:10.541] mos: core dump aborted
[Jul 11 20:58:10.541]
[Jul 11 20:58:10.541] Core 0 register dump:
[Jul 11 20:58:10.544] PC : 0x4011da89 PS : 0x00060433 A0 : 0x8012995c A1 : 0x3ffda1f0
[Jul 11 20:58:10.551] A2 : 0x3ffdacc4 A3 : 0x3ffda200 A4 : 0x3f402f41 A5 : 0x3ffda660
[Jul 11 20:58:10.559] A6 : 0x3ffda640 A7 : 0x00000004 A8 : 0x8011da89 A9 : 0x3ffda1d0
[Jul 11 20:58:10.567] A10 : 0x0000fff0 A11 : 0x00060e23 A12 : 0x00060e23 A13 : 0x3ffda810
[Jul 11 20:58:10.575] A14 : 0x3ffdac5c A15 : 0x00000000 SAR : 0x0000000a EXCCAUSE: 0x0000001c
[Jul 11 20:58:10.582] EXCVADDR: 0x0000fff0 LBEG : 0x400d3d48 LEND : 0x400d3d5c LCOUNT : 0x00000005
[Jul 11 20:58:10.590]
[Jul 11 20:58:10.590] Backtrace:0x4011da86 0x40129959 0x4012999f 0x400d3c29 0x400d3d07 0x40082d3b 0x4008b1e9 0x4008b2e5 0x4008b605 0x400d5fb1 0x40082df2 0x40126453 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 0x400845d5 0x401264dd 0x4011bb0a 0x400832e5 0x400833de 0x400921fd 0x4008e17f 0x4008e424 0x40084462 0x40084493 |<-CONTINUES
[Jul 11 20:58:10.687]
[Jul 11 20:58:10.687]
[Jul 11 20:58:10.688] ELF file SHA256: c47d9bc8a9532185
[Jul 11 20:58:10.691]
[Jul 11 20:58:10.691] Re-entered core dump! Exception happened during core dump!
[Jul 11 20:58:10.696] Rebooting...
[Jul 11 20:58:10.698] ets Jul 29 2019 12:21:46
[Jul 11 20:58:10.700]
[Jul 11 20:58:10.700] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[Jul 11 20:58:10.705] configsip: 0, SPIWP:0xee
[Jul 11 20:58:10.707] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[Jul 11 20:58:10.714] mode:DIO, clock div:1
[Jul 11 20:58:10.716] load:0x3fff0018,len:4
[Jul 11 20:58:10.718] load:0x3fff001c,len:6776
[Jul 11 20:58:10.720] load:0x40078000,len:10708
[Jul 11 20:58:10.722] load:0x40080400,len:6512
[Jul 11 20:58:10.724] entry 0x40080714
[Jul 11 20:58:10.726] �[0;32mI (63) boot: Chip Revision: 3�[0m
[Jul 11 20:58:10.730] �[0;32mI (65) boot_comm: chip revision: 3, min. bootloader chip revision: 0�[0m
[Jul 11 20:58:10.738] �[0;32mI (39) boot: ESP-IDF v3.3-r5 2nd stage bootloader�[0m
[Jul 11 20:58:10.744] �[0;32mI (40) boot: compile time 13:05:40�[0m
[Jul 11 20:58:10.748] �[0;32mI (40) boot: Enabling RNG early entropy source...�[0m
[Jul 11 20:58:10.753] �[0;32mI (44) qio_mode: Enabling default flash chip QIO�[0m
[Jul 11 20:58:10.759] �[0;32mI (50) boot: SPI Speed : 80MHz�[0m
[Jul 11 20:58:10.763] �[0;32mI (54) boot: SPI Mode : QIO�[0m
[Jul 11 20:58:10.767] �[0;32mI (58) boot: SPI Flash Size : 16MB�[0m
[Jul 11 20:58:10.771] �[0;32mI (62) boot: Partition Table:�[0m
[Jul 11 20:58:10.775] �[0;32mI (66) boot: ## Label Usage Type ST Offset Length Flags�[0m
[Jul 11 20:58:10.783] �[0;32mI (74) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000�[0m
[Jul 11 20:58:10.791] �[0;32mI (82) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000�[0m
[Jul 11 20:58:10.799] �[0;32mI (90) boot: 2 app_0 OTA app 00 10 00010000 00180000 00000000�[0m
[Jul 11 20:58:10.807] �[0;32mI (98) boot: 3 fs_0 FS 01 82 00190000 00060000 00000000�[0m
[Jul 11 20:58:10.816] �[0;32mI (107) boot: 4 app_1 OTA app 00 11 001f0000 00180000 00000000�[0m
[Jul 11 20:58:10.824] �[0;32mI (115) boot: 5 fs_1 FS 01 82 00370000 00060000 00000000�[0m
[Jul 11 20:58:10.832] �[0;32mI (123) boot: End of partition table�[0m
[Jul 11 20:58:10.836] �[0;32mI (128) boot: OTA data 0: seq 0x000000b0, st 0x11, CRC 0x28351741, valid? 1�[0m
[Jul 11 20:58:10.844] �[0;32mI (135) boot: OTA data 1: seq 0x000000af, st 0x10, CRC 0x6f58a274, valid? 1�[0m
[Jul 11 20:58:10.852] �[0;32mI (143) boot_comm: chip revision: 3, min. application chip revision: 0�[0m
[Jul 11 20:58:10.859] �[0;32mI (150) esp_image: segment 0: paddr=0x001f0020 vaddr=0x3f400020 size=0x2ec00 (191488) map�[0m
[Jul 11 20:58:10.907] �[0;32mI (210) esp_image: segment 1: paddr=0x0021ec28 vaddr=0x3ffb0000 size=0x013f0 ( 5104) load�[0m
[Jul 11 20:58:10.916] �[0;32mI (211) esp_image: segment 2: paddr=0x00220020 vaddr=0x400d0020 size=0xcfdc4 (851396) map�[0m
[Jul 11 20:58:11.138] �[0;32mI (441) esp_image: segment 3: paddr=0x002efdec vaddr=0x3ffb13f0 size=0x021f4 ( 8692) load�[0m
[Jul 11 20:58:11.147] �[0;32mI (444) esp_image: segment 4: paddr=0x002f1fe8 vaddr=0x40080000 size=0x00400 ( 1024) load�[0m
[Jul 11 20:58:11.156] �[0;32mI (448) esp_image: segment 5: paddr=0x002f23f0 vaddr=0x40080400 size=0x1a890 (108688) load�[0m
[Jul 11 20:58:11.188] �[0;32mI (491) esp_image: segment 6: paddr=0x0030cc88 vaddr=0x400c0000 size=0x00038 ( 56) load�[0m
[Jul 11 20:58:11.197] �[0;32mI (491) esp_image: segment 7: paddr=0x0030ccc8 vaddr=0x50000000 size=0x00010 ( 16) load�[0m
[Jul 11 20:58:11.211] �[0;32mI (514) boot: Loaded app from partition at offset 0x1f0000�[0m
[Jul 11 20:58:11.218] �[0;32mI (514) boot: Disabling RNG early entropy source...�[0m
[Jul 11 20:58:11.223] �[0;32mI (514) psram: This chip is ESP32-D0WD�[0m
[Jul 11 20:58:11.228] �[0;32mI (519) spiram: Found 64MBit SPI RAM device�[0m
[Jul 11 20:58:11.232] �[0;32mI (523) spiram: SPI RAM mode: flash 80m sram 80m�[0m
[Jul 11 20:58:11.238] �[0;32mI (529) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
[Jul 11 20:58:11.245] �[0;32mI (536) cpu_start: Pro cpu up.�[0m
[Jul 11 20:58:11.248] �[0;32mI (540) cpu_start: Application information:�[0m
[Jul 11 20:58:11.253] �[0;32mI (544) cpu_start: Project name: iParcelBox_firmware�[0m
[Jul 11 20:58:11.259] �[0;32mI (550) cpu_start: App version: 2.19.1-36-gb66ffe4f-dirty�[0m
[Jul 11 20:58:11.266] �[0;32mI (557) cpu_start: Compile time: Jul 5 2021 20:22:47�[0m
[Jul 11 20:58:11.272] �[0;32mI (563) cpu_start: ELF file SHA256: c47d9bc8a9532185...�[0m
[Jul 11 20:58:11.278] �[0;32mI (569) cpu_start: ESP-IDF: 4.2-r1-dbg2�[0m
[Jul 11 20:58:11.283] �[0;32mI (574) cpu_start: Single core mode�[0m
[Jul 11 20:58:11.777] �[0;32mI (1079) spiram: SPI SRAM memory test OK�[0m
[Jul 11 20:58:11.782] �[0;32mI (1080) heap_init: Initializing. RAM available for dynamic allocation:�[0m
[Jul 11 20:58:11.789] �[0;32mI (1080) heap_init: At 3FF80038 len 00001FC8 (7 KiB): RTCRAM�[0m
[Jul 11 20:58:11.795] �[0;32mI (1086) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM�[0m
[Jul 11 20:58:11.801] �[0;32mI (1093) heap_init: At 3FFBC848 len 000237B8 (141 KiB): DRAM�[0m
[Jul 11 20:58:11.808] �[0;32mI (1099) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM�[0m
[Jul 11 20:58:11.814] �[0;32mI (1105) heap_init: At 40078000 len 00008000 (32 KiB): IRAM�[0m
[Jul 11 20:58:11.821] �[0;32mI (1112) heap_init: At 4009AC90 len 00005370 (20 KiB): IRAM�[0m
[Jul 11 20:58:11.827] �[0;32mI (1118) cpu_start: Pro cpu start user code�[0m
[Jul 11 20:58:11.832] �[0;32mI (1123) spiram: Adding pool of 4096K of external SPI memory to heap allocator�[0m
[Jul 11 20:58:11.841] �[0;32mI (1143) spi_flash: detected chip: gd�[0m
[Jul 11 20:58:11.846] �[0;32mI (1143) spi_flash: flash io: qio�[0m
[Jul 11 20:58:11.850] �[0;32mI (1143) cpu_start: Starting scheduler on PRO CPU.�[0m
[Jul 11 20:58:11.856] �[0;32mI (1147) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations�[0m
[Jul 11 20:58:11.864] 0 b 0x3ffae6f8 h 0x3ffae7d4
[Jul 11 20:58:11.867] 0 b 0x3ffae7d4 h 0x3ffae7dc
[Jul 11 20:58:11.869] 0 b 0x3ffae7dc h 0x3ffae804
[Jul 11 20:58:11.872] 0 b 0x3ffae804 h 0x3ffae8c4
[Jul 11 20:58:11.875] 0 b 0x3ffae8c4 h 0x3ffaea74
[Jul 11 20:58:11.877] 0 b 0x3ffaea74 h 0x3ffafa78
[Jul 11 20:58:11.880] 0 b 0x3ffafa78 h 0x3ffafbe0
[Jul 11 20:58:11.883] 0 b 0x3ffafbe0 h 0x3ffafbec
[Jul 11 20:58:11.885] 0 b 0x3ffafbec h 0x3ffafbfc
[Jul 11 20:58:11.888] 0 b 0x3ffafbfc h 0x3ffafc0c
[Jul 11 20:58:11.891] 0 b 0x3ffafc0c h 0x3ffafc6c
[Jul 11 20:58:11.894] 0 b 0x3ffafc6c h 0x3ffafccc
[Jul 11 20:58:11.896] 0 b 0x3ffafccc h 0x3ffafcdc
[Jul 11 20:58:11.899] 0 b 0x3ffafcdc h 0x3ffafcec
[Jul 11 20:58:11.902] 0 b 0x3ffafcec h 0x3ffafd04
[Jul 11 20:58:11.904] 0 b 0x3ffafd04 h 0x3ffafd14
[Jul 11 20:58:11.907] 0 b 0x3ffafd14 h 0x3ffafd24
[Jul 11 20:58:11.910] 0 b 0x3ffafd24 h 0x3ffafd31
[Jul 11 20:58:11.912] 0 b 0x3ffafd30 h 0x3ffafd40
[Jul 11 20:58:11.915] 0 b 0x3ffafd40 h 0x3ffafdc4
[Jul 11 20:58:11.918] 0 b 0x3ffafdc4 h 0x3ffafde8
[Jul 11 20:58:11.920] 0 b 0x3ffafde8 h 0x3ffaff50
[Jul 11 20:58:11.923] 0 b 0x3ffaff50 h 0x3ffafff9
[Jul 11 20:58:11.926] 1 b 0x3ffbc860 h 0x3ffbd864
[Jul 11 20:58:11.928] 1 b 0x3ffbd864 h 0x3ffbde68
[Jul 11 20:58:11.931] 1 b 0x3ffbde68 h 0x3ffbdfd0
[Jul 11 20:58:11.934] 1 b 0x3ffbdfd0 h 0x3ffbe0d0
[Jul 11 20:58:11.936] 1 b 0x3ffbe0d0 h 0x3ffbf0d4
[Jul 11 20:58:11.939] 1 b 0x3ffbf0d4 h 0x3ffbf23c
[Jul 11 20:58:11.942] 1 b 0x3ffbf23c h 0x3ffdfff9
[Jul 11 20:58:11.944] 2 b 0x3ffe0458 h 0x3ffffff9
[Jul 11 20:58:11.947]
[Jul 11 20:58:11.947]
[Jul 11 20:58:11.947] mgos_freertos.c:155 iParcelBox_firmware 2.0.237-ESPIDF4 (20210705-203144/ga2614cc-2.0-EDF4-dirty)
[Jul 11 20:58:11.956] mgos_freertos.c:157 Mongoose OS 202107052031 (20210705-203144/2.19.1-36-gb66ffe4f-master-dirty)
[Jul 11 20:58:11.965] 3 b 0x3ffbf258 h 0x3ffc7235
[Jul 11 20:58:11.968] 4 b 0x3f800018 h 0x3f80002c
[Jul 11 20:58:11.970] 4 b 0x3f80002c h 0x3f800040
[Jul 11 20:58:11.973] 4 b 0x3f800040 h 0x3f800054
[Jul 11 20:58:11.976] 4 b 0x3f800054 h 0x3f800068
[Jul 11 20:58:11.978] 4 b 0x3f800068 h 0x3f80007c
[Jul 11 20:58:11.981] 4 b 0x3f80007c h 0x3f800090
[Jul 11 20:58:11.984] 4 b 0x3f800090 h 0x3f8000a4
[Jul 11 20:58:11.986] 4 b 0x3f8000a4 h 0x3f8000b0
[Jul 11 20:58:11.989] 4 b 0x3f8000b0 h 0x3fbffff5
[Jul 11 20:58:11.992] Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
[Jul 11 20:58:11.999]
[Jul 11 20:58:11.999] Core 0 register dump:
[Jul 11 20:58:12.001] PC : 0x4008f1ac PS : 0x00060b30 A0 : 0x800d29b1 A1 : 0x3ffb8370
[Jul 11 20:58:12.009] A2 : 0x3ff80038 A3 : 0x3ffb8390 A4 : 0x00000000 A5 : 0x3ffb3c1c
[Jul 11 20:58:12.017] A6 : 0xfffffffc A7 : 0x00000001 A8 : 0x8008f1a8 A9 : 0x3ffb8350
[Jul 11 20:58:12.024] A10 : 0x00000000 A11 : 0x00000000 A12 : 0x0000001c A13 : 0x3ffb83ac
[Jul 11 20:58:12.032] A14 : 0x3ffae9a4 A15 : 0x00000001 SAR : 0x00000018 EXCCAUSE: 0x0000001c
[Jul 11 20:58:12.040] EXCVADDR: 0x00000000 LBEG : 0x400899ee LEND : 0x400899f9 LCOUNT : 0x00000000
[Jul 11 20:58:12.048]
[Jul 11 20:58:12.048] Backtrace:0x4008f1a9 0x400d29ae 0x400d6249 0x400d9c85 0x400840d0
[Jul 11 20:58:12.054]
[Jul 11 20:58:12.054]
[Jul 11 20:58:12.054] ELF file SHA256: c47d9bc8a9532185
[Jul 11 20:58:12.057]
[Jul 11 20:58:12.057]
[Jul 11 20:58:12.057] --- BEGIN CORE DUMP ---
[Jul 11 20:58:12.059] mos: catching core dump
[Jul 11 20:58:14.894] .............
[Jul 11 20:58:51.631] ---- END CORE DUMP ----
[Jul 11 20:58:51.637] mos: wrote to /Users/PaulNeedler/Documents/iParcelBox/3-Firmware/core-iParcelBox_firmware-esp32-20210711-205851.293989238 (458777 bytes)
[Jul 11 20:58:51.637] mos: analyzing core dump
[Jul 11 20:58:51.631] mos: --fw-elf-file is not set and could not be guessed
[Jul 11 20:58:51.631] Rebooting...
[Jul 11 20:58:51.641] ets Jul 29 2019 12:21:46
[Jul 11 20:58:51.641]
[Jul 11 20:58:51.641] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[Jul 11 20:58:51.641] configsip: 0, SPIWP:0xee
[Jul 11 20:58:51.643] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[Jul 11 20:58:51.649] mode:DIO, clock div:1
[Jul 11 20:58:51.651] load:0x3fff0018,len:4
[Jul 11 20:58:51.653] load:0x3fff001c,len:6776
[Jul 11 20:58:51.655] load:0x40078000,len:10708
[Jul 11 20:58:51.658] load:0x40080400,len:6512
[Jul 11 20:58:51.660] entry 0x40080714
[Jul 11 20:58:51.661] �[0;32mI (63) boot: Chip Revision: 3�[0m
[Jul 11 20:58:51.665] �[0;32mI (65) boot_comm: chip revision: 3, min. bootloader chip revision: 0�[0m
[Jul 11 20:58:51.673] �[0;32mI (39) boot: ESP-IDF v3.3-r5 2nd stage bootloader�[0m
[Jul 11 20:58:51.679] �[0;32mI (40) boot: compile time 13:05:40�[0m
[Jul 11 20:58:51.683] �[0;32mI (40) boot: Enabling RNG early entropy source...�[0m
[Jul 11 20:58:51.689] �[0;32mI (44) qio_mode: Enabling default flash chip QIO�[0m
[Jul 11 20:58:51.694] �[0;32mI (50) boot: SPI Speed : 80MHz�[0m
[Jul 11 20:58:51.698] �[0;32mI (54) boot: SPI Mode : QIO�[0m
[Jul 11 20:58:51.702] �[0;32mI (58) boot: SPI Flash Size : 16MB�[0m
[Jul 11 20:58:51.706] �[0;32mI (62) boot: Partition Table:�[0m
[Jul 11 20:58:51.710] �[0;32mI (66) boot: ## Label Usage Type ST Offset Length Flags�[0m
[Jul 11 20:58:51.718] �[0;32mI (74) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000�[0m
[Jul 11 20:58:51.726] �[0;32mI (82) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000�[0m
[Jul 11 20:58:51.734] �[0;32mI (90) boot: 2 app_0 OTA app 00 10 00010000 00180000 00000000�[0m
[Jul 11 20:58:51.743] �[0;32mI (98) boot: 3 fs_0 FS 01 82 00190000 00060000 00000000�[0m
[Jul 11 20:58:51.751] �[0;32mI (107) boot: 4 app_1 OTA app 00 11 001f0000 00180000 00000000�[0m
[Jul 11 20:58:51.759] �[0;32mI (115) boot: 5 fs_1 FS 01 82 00370000 00060000 00000000�[0m
[Jul 11 20:58:51.768] �[0;32mI (123) boot: End of partition table�[0m
[Jul 11 20:58:51.772] �[0;32mI (128) boot: OTA data 0: seq 0x000000b0, st 0x11, CRC 0x28351741, valid? 1�[0m
[Jul 11 20:58:51.779] �[0;32mI (135) boot: OTA data 1: seq 0x000000af, st 0x10, CRC 0x6f58a274, valid? 1�[0m
[Jul 11 20:58:51.787] �[0;32mI (143) boot_comm: chip revision: 3, min. application chip revision: 0�[0m
[Jul 11 20:58:51.794] �[0;32mI (150) esp_image: segment 0: paddr=0x001f0020 vaddr=0x3f400020 size=0x2ec00 (191488) map�[0m
[Jul 11 20:58:51.842] �[0;32mI (210) esp_image: segment 1: paddr=0x0021ec28 vaddr=0x3ffb0000 size=0x013f0 ( 5104) load�[0m
[Jul 11 20:58:51.852] �[0;32mI (211) esp_image: segment 2: paddr=0x00220020 vaddr=0x400d0020 size=0xcfdc4 (851396) map�[0m
[Jul 11 20:58:52.073] �[0;32mI (441) esp_image: segment 3: paddr=0x002efdec vaddr=0x3ffb13f0 size=0x021f4 ( 8692) load�[0m
[Jul 11 20:58:52.083] �[0;32mI (444) esp_image: segment 4: paddr=0x002f1fe8 vaddr=0x40080000 size=0x00400 ( 1024) load�[0m
[Jul 11 20:58:52.092] �[0;32mI (448) esp_image: segment 5: paddr=0x002f23f0 vaddr=0x40080400 size=0x1a890 (108688) load�[0m
[Jul 11 20:58:52.123] �[0;32mI (491) esp_image: segment 6: paddr=0x0030cc88 vaddr=0x400c0000 size=0x00038 ( 56) load�[0m
[Jul 11 20:58:52.133] �[0;32mI (491) esp_image: segment 7: paddr=0x0030ccc8 vaddr=0x50000000 size=0x00010 ( 16) load�[0m
[Jul 11 20:58:52.146] �[0;32mI (514) boot: Loaded app from partition at offset 0x1f0000�[0m
[Jul 11 20:58:52.153] �[0;32mI (514) boot: Disabling RNG early entropy source...�[0m
[Jul 11 20:58:52.159] �[0;32mI (514) psram: This chip is ESP32-D0WD�[0m
[Jul 11 20:58:52.163] �[0;32mI (519) spiram: Found 64MBit SPI RAM device�[0m
[Jul 11 20:58:52.168] �[0;32mI (523) spiram: SPI RAM mode: flash 80m sram 80m�[0m
[Jul 11 20:58:52.173] �[0;32mI (529) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
[Jul 11 20:58:52.180] �[0;32mI (536) cpu_start: Pro cpu up.�[0m
[Jul 11 20:58:52.184] �[0;32mI (540) cpu_start: Application information:�[0m
[Jul 11 20:58:52.189] �[0;32mI (544) cpu_start: Project name: iParcelBox_firmware�[0m
[Jul 11 20:58:52.195] �[0;32mI (550) cpu_start: App version: 2.19.1-36-gb66ffe4f-dirty�[0m
[Jul 11 20:58:52.201] �[0;32mI (557) cpu_start: Compile time: Jul 5 2021 20:22:47�[0m
[Jul 11 20:58:52.207] �[0;32mI (563) cpu_start: ELF file SHA256: c47d9bc8a9532185...�[0m
[Jul 11 20:58:52.213] �[0;32mI (569) cpu_start: ESP-IDF: 4.2-r1-dbg2�[0m
[Jul 11 20:58:52.219] �[0;32mI (574) cpu_start: Single core mode�[0m
[Jul 11 20:58:52.712] �[0;32mI (1079) spiram: SPI SRAM memory test OK�[0m
[Jul 11 20:58:52.717] �[0;32mI (1080) heap_init: Initializing. RAM available for dynamic allocation:�[0m
[Jul 11 20:58:52.724] �[0;32mI (1080) heap_init: At 3FF80038 len 00001FC8 (7 KiB): RTCRAM�[0m
[Jul 11 20:58:52.731] �[0;32mI (1086) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM�[0m
[Jul 11 20:58:52.737] �[0;32mI (1093) heap_init: At 3FFBC848 len 000237B8 (141 KiB): DRAM�[0m
[Jul 11 20:58:52.743] �[0;32mI (1099) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM�[0m
[Jul 11 20:58:52.750] �[0;32mI (1105) heap_init: At 40078000 len 00008000 (32 KiB): IRAM�[0m
[Jul 11 20:58:52.756] �[0;32mI (1112) heap_init: At 4009AC90 len 00005370 (20 KiB): IRAM�[0m
[Jul 11 20:58:52.762] �[0;32mI (1118) cpu_start: Pro cpu start user code�[0m
[Jul 11 20:58:52.767] �[0;32mI (1123) spiram: Adding pool of 4096K of external SPI memory to heap allocator�[0m
[Jul 11 20:58:52.777] �[0;32mI (1143) spi_flash: detected chip: gd�[0m
[Jul 11 20:58:52.782] �[0;32mI (1143) spi_flash: flash io: qio�[0m
[Jul 11 20:58:52.786] �[0;32mI (1143) cpu_start: Starting scheduler on PRO CPU.�[0m
[Jul 11 20:58:52.791] �[0;32mI (1147) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations�[0m
[Jul 11 20:58:52.800] 0 b 0x3ffae6f8 h 0x3ffae7d4
[Jul 11 20:58:52.802] 0 b 0x3ffae7d4 h 0x3ffae7dc
[Jul 11 20:58:52.805] 0 b 0x3ffae7dc h 0x3ffae804
[Jul 11 20:58:52.808] 0 b 0x3ffae804 h 0x3ffae8c4
[Jul 11 20:58:52.810] 0 b 0x3ffae8c4 h 0x3ffaea74
[Jul 11 20:58:52.813] 0 b 0x3ffaea74 h 0x3ffafa78
[Jul 11 20:58:52.816] 0 b 0x3ffafa78 h 0x3ffafbe0
[Jul 11 20:58:52.818] 0 b 0x3ffafbe0 h 0x3ffafbec
[Jul 11 20:58:52.821] 0 b 0x3ffafbec h 0x3ffafbfc
[Jul 11 20:58:52.824] 0 b 0x3ffafbfc h 0x3ffafc0c
[Jul 11 20:58:52.826] 0 b 0x3ffafc0c h 0x3ffafc6c
[Jul 11 20:58:52.829] 0 b 0x3ffafc6c h 0x3ffafccc
[Jul 11 20:58:52.832] 0 b 0x3ffafccc h 0x3ffafcdc
[Jul 11 20:58:52.834] 0 b 0x3ffafcdc h 0x3ffafcec
[Jul 11 20:58:52.837] 0 b 0x3ffafcec h 0x3ffafd04
[Jul 11 20:58:52.840] 0 b 0x3ffafd04 h 0x3ffafd14
[Jul 11 20:58:52.842] 0 b 0x3ffafd14 h 0x3ffafd24
[Jul 11 20:58:52.845] 0 b 0x3ffafd24 h 0x3ffafd31
[Jul 11 20:58:52.848] 0 b 0x3ffafd30 h 0x3ffafd40
[Jul 11 20:58:52.850] 0 b 0x3ffafd40 h 0x3ffafdc4
[Jul 11 20:58:52.853] 0 b 0x3ffafdc4 h 0x3ffafde8
[Jul 11 20:58:52.856] 0 b 0x3ffafde8 h 0x3ffaff50
[Jul 11 20:58:52.858] 0 b 0x3ffaff50 h 0x3ffafff9
[Jul 11 20:58:52.861] 1 b 0x3ffbc860 h 0x3ffbd864
[Jul 11 20:58:52.864] 1 b 0x3ffbd864 h 0x3ffbde68
[Jul 11 20:58:52.866] 1 b 0x3ffbde68 h 0x3ffbdfd0
[Jul 11 20:58:52.869] 1 b 0x3ffbdfd0 h 0x3ffbe0d0
[Jul 11 20:58:52.872] 1 b 0x3ffbe0d0 h 0x3ffbf0d4
[Jul 11 20:58:52.874] 1 b 0x3ffbf0d4 h 0x3ffbf23c
[Jul 11 20:58:52.877] 1 b 0x3ffbf23c h 0x3ffdfff9
[Jul 11 20:58:52.880] 2 b 0x3ffe0458 h 0x3ffffff9
[Jul 11 20:58:52.882]
[Jul 11 20:58:52.883]
[Jul 11 20:58:52.883] mgos_freertos.c:155 iParcelBox_firmware 2.0.237-ESPIDF4 (20210705-203144/ga2614cc-2.0-EDF4-dirty)
[Jul 11 20:58:52.892] mgos_freertos.c:157 Mongoose OS 202107052031 (20210705-203144/2.19.1-36-gb66ffe4f-master-dirty)
[Jul 11 20:58:52.900] 3 b 0x3ffbf258 h 0x3ffc7235
[Jul 11 20:58:52.903] 4 b 0x3f800018 h 0x3f80002c
[Jul 11 20:58:52.906] 4 b 0x3f80002c h 0x3f800040
[Jul 11 20:58:52.908] 4 b 0x3f800040 h 0x3f800054
[Jul 11 20:58:52.911] 4 b 0x3f800054 h 0x3f800068
[Jul 11 20:58:52.914] 4 b 0x3f800068 h 0x3f80007c
[Jul 11 20:58:52.916] 4 b 0x3f80007c h 0x3f800090
[Jul 11 20:58:52.919] 4 b 0x3f800090 h 0x3f8000a4
[Jul 11 20:58:52.922] 4 b 0x3f8000a4 h 0x3f8000b0
[Jul 11 20:58:52.924] 4 b 0x3f8000b0 h 0x3fbffff5
[Jul 11 20:58:52.927] Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
[Jul 11 20:58:52.934]
[Jul 11 20:58:52.934] Core 0 register dump:
[Jul 11 20:58:52.937] PC : 0x4008f1ac PS : 0x00060b30 A0 : 0x800d29b1 A1 : 0x3ffb8370
[Jul 11 20:58:52.944] A2 : 0x3ff80038 A3 : 0x3ffb8390 A4 : 0x00000000 A5 : 0x3ffb3c1c
[Jul 11 20:58:52.952] A6 : 0xfffffffc A7 : 0x00000001 A8 : 0x8008f1a8 A9 : 0x3ffb8350
[Jul 11 20:58:52.960] A10 : 0x00000000 A11 : 0x00000000 A12 : 0x0000001c A13 : 0x3ffb83ac
[Jul 11 20:58:52.968] A14 : 0x3ffae9a4 A15 : 0x00000001 SAR : 0x00000018 EXCCAUSE: 0x0000001c
[Jul 11 20:58:52.975] EXCVADDR: 0x00000000 LBEG : 0x400899ee LEND : 0x400899f9 LCOUNT : 0x00000000
[Jul 11 20:58:52.983]
[Jul 11 20:58:52.983] Backtrace:0x4008f1a9 0x400d29ae 0x400d6249 0x400d9c85 0x400840d0
[Jul 11 20:58:52.989]
[Jul 11 20:58:52.989]
[Jul 11 20:58:52.989] ELF file SHA256: c47d9bc8a9532185
[Jul 11 20:58:52.992]
[Jul 11 20:58:52.993]
[Jul 11 20:58:52.993] --- BEGIN CORE DUMP ---
[Jul 11 20:58:52.995] mos: catching core dump
[Jul 11 20:58:55.829] .............
[Jul 11 20:59:32.567] ---- END CORE DUMP ----

@0xjakob
Copy link
Contributor

0xjakob commented Oct 8, 2021

@achao1104 @gadget-man Is it possible to decipher the backtrace, e.g. using xtensa-esp32s2-elf-addr2line?

Something you can try is using coredump or the built-in gdb, either one enabled via menuconfig, so that the device state can be examined after a crash.

@achao1104
Copy link
Author

it enters a dead loop as the log states.

@0xjakob
Copy link
Contributor

0xjakob commented Oct 8, 2021

@achao1104 That's what I've seen. Now it would be nice to see where in the code it does that, i.e., what the Backtrace:0x4003d48a:0x3fffe280 0x400a47aa:0x3fffe290 0x4008a015:0x3fffe2b0 0x4008a5d2:0x3fffe2d0 0x40025985:0x3fffe310 0x40050fb1:0x3fffe330 0x40051419:0x3fffe370 0x4004c265:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710 translates to in terms of source code locations in IDF.

@gadget-man
Copy link

I will try and capture a core dump and run analysis to find the backtrace

@gadget-man
Copy link

OK so I've caught a crash and the associated core dump. Here's the crash serial output:
[Oct 8 19:28:15.886]
[Oct 8 19:28:15.886]
[Oct 8 19:28:15.886] --- BEGIN CORE DUMP ---
[Oct 8 19:28:15.888] mos: catching core dump
[Oct 8 19:28:18.720] .............
[Oct 8 19:28:55.457] ---- END CORE DUMP ----
[Oct 8 19:28:55.461] mos: wrote to /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware/core-iParcelBox_firmware-esp32-20211008-192855.057458569 (458742 bytes)
[Oct 8 19:28:55.461] mos: analyzing core dump
Core dump by iParcelBox_firmware/esp32 2.0.247 20211007-144005
Using ELF file at: /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware/build/objs/iParcelBox_firmware.elf
Using Docker image: docker.io/mgos/esp32-build:4.2-r1
Running docker run --rm -v /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware/build/objs/iParcelBox_firmware.elf:/fw.elf -v /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware/core-iParcelBox_firmware-esp32-20211008-192855.057458569:/core -v /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware:/Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware docker.io/mgos/esp32-build:4.2-r1 bash -c /usr/local/bin/serve_core.py --rom=/opt/Espressif/rom/rom.bin --rom_addr=0x40000000 --xtensa_addr_fixup=true /fw.elf /core & $MGOS_TARGET_GDB /fw.elf -ex 'target remote 127.0.0.1:1234' -ex 'set confirm off' -ex bt -ex quit
fork/exec /usr/local/bin/com.docker.cli: bad file descriptor
[Oct 8 19:28:55.457] mos: exit status 1
[Oct 8 19:28:55.457] Rebooting...
[Oct 8 19:28:55.562] ets Jul 29 2019 12:21:46
[Oct 8 19:28:55.562]
[Oct 8 19:28:55.562] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[Oct 8 19:28:55.562] configsip: 0, SPIWP:0xee
[Oct 8 19:28:55.562] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[Oct 8 19:28:55.562] mode:DIO, clock div:1
[Oct 8 19:28:55.562] load:0x3fff0018,len:4
[Oct 8 19:28:55.562] load:0x3fff001c,len:6776
[Oct 8 19:28:55.562] load:0x40078000,len:10708
[Oct 8 19:28:55.562] load:0x40080400,len:6512
[Oct 8 19:28:55.562] entry 0x40080714
[Oct 8 19:28:55.562] �[0;32mI (63) boot: Chip Revision: 3�[0m
[Oct 8 19:28:55.562] �[0;32mI (65) boot_comm: chip revision: 3, min. bootloader chip revision: 0�[0m
[Oct 8 19:28:55.562] �[0;32mI (39) boot: ESP-IDF v3.3-r5 2nd stage bootloader�[0m
[Oct 8 19:28:55.562] �[0;32mI (40) boot: compile time 13:05:40�[0m
[Oct 8 19:28:55.562] �[0;32mI (40) boot: Enabling RNG early entropy source...�[0m
[Oct 8 19:28:55.562] �[0;32mI (44) qio_mode: Enabling default flash chip QIO�[0m
[Oct 8 19:28:55.562] �[0;32mI (50) boot: SPI Speed : 80MHz�[0m
[Oct 8 19:28:55.562] �[0;32mI (54) boot: SPI Mode : QIO�[0m
[Oct 8 19:28:55.562] �[0;32mI (58) boot: SPI Flash Size : 16MB�[0m
[Oct 8 19:28:55.562] �[0;32mI (62) boot: Partition Table:�[0m
[Oct 8 19:28:55.562] �[0;32mI (66) boot: ## Label Usage Type ST Offset Length Flags�[0m
[Oct 8 19:28:55.562] �[0;32mI (74) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000�[0m
[Oct 8 19:28:55.562] �[0;32mI (82) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000�[0m
[Oct 8 19:28:55.562] �[0;32mI (90) boot: 2 app_0 OTA app 00 10 00010000 00180000 00000000�[0m
[Oct 8 19:28:55.569] �[0;32mI (98) boot: 3 fs_0 FS 01 82 00190000 00060000 00000000�[0m
[Oct 8 19:28:55.577] �[0;32mI (107) boot: 4 app_1 OTA app 00 11 001f0000 00180000 00000000�[0m
[Oct 8 19:28:55.585] �[0;32mI (115) boot: 5 fs_1 FS 01 82 00370000 00060000 00000000�[0m
[Oct 8 19:28:55.594] �[0;32mI (123) boot: End of partition table�[0m
[Oct 8 19:28:55.598] �[0;32mI (128) boot: OTA data 0: seq 0x000000e2, st 0x11, CRC 0x78cccf19, valid? 1�[0m
[Oct 8 19:28:55.606] �[0;32mI (135) boot: OTA data 1: seq 0x000000e3, st 0x10, CRC 0x88a337ae, valid? 1�[0m
[Oct 8 19:28:55.613] �[0;32mI (143) boot_comm: chip revision: 3, min. application chip revision: 0�[0m
[Oct 8 19:28:55.620] �[0;32mI (150) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x2e3b4 (189364) map�[0m
[Oct 8 19:28:55.668] �[0;32mI (209) esp_image: segment 1: paddr=0x0003e3dc vaddr=0x3ffb0000 size=0x01c3c ( 7228) load�[0m
[Oct 8 19:28:55.677] �[0;32mI (211) esp_image: segment 2: paddr=0x00040020 vaddr=0x400d0020 size=0xce2e8 (844520) map�[0m
[Oct 8 19:28:55.897] �[0;32mI (438) esp_image: segment 3: paddr=0x0010e310 vaddr=0x3ffb1c3c size=0x0199c ( 6556) load�[0m
[Oct 8 19:28:55.907] �[0;32mI (441) esp_image: segment 4: paddr=0x0010fcb4 vaddr=0x40080000 size=0x00400 ( 1024) load�[0m
[Oct 8 19:28:55.916] �[0;32mI (446) esp_image: segment 5: paddr=0x001100bc vaddr=0x40080400 size=0x1a80c (108556) load�[0m
[Oct 8 19:28:55.947] �[0;32mI (488) esp_image: segment 6: paddr=0x0012a8d0 vaddr=0x400c0000 size=0x00038 ( 56) load�[0m
[Oct 8 19:28:55.956] �[0;32mI (489) esp_image: segment 7: paddr=0x0012a910 vaddr=0x50000000 size=0x00010 ( 16) load�[0m
[Oct 8 19:28:55.970] �[0;32mI (511) boot: Loaded app from partition at offset 0x10000�[0m
[Oct 8 19:28:55.976] �[0;32mI (511) boot: Disabling RNG early entropy source...�[0m
[Oct 8 19:28:55.982] �[0;32mI (512) psram: This chip is ESP32-D0WD�[0m
[Oct 8 19:28:55.986] �[0;32mI (516) spiram: Found 64MBit SPI RAM device�[0m
[Oct 8 19:28:55.991] �[0;32mI (521) spiram: SPI RAM mode: flash 80m sram 80m�[0m
[Oct 8 19:28:55.997] �[0;32mI (526) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
[Oct 8 19:28:56.004] �[0;32mI (533) cpu_start: Pro cpu up.�[0m
[Oct 8 19:28:56.007] �[0;32mI (537) cpu_start: Application information:�[0m
[Oct 8 19:28:56.012] �[0;32mI (542) cpu_start: Project name: iParcelBox_firmware�[0m
[Oct 8 19:28:56.018] �[0;32mI (548) cpu_start: App version: 2.19.1�[0m
[Oct 8 19:28:56.023] �[0;32mI (553) cpu_start: Compile time: Oct 7 2021 14:38:54�[0m
[Oct 8 19:28:56.029] �[0;32mI (559) cpu_start: ELF file SHA256: 4bcf1d6ed8153a9e...�[0m
[Oct 8 19:28:56.035] �[0;32mI (565) cpu_start: ESP-IDF: 4.2-r1�[0m
[Oct 8 19:28:56.040] �[0;32mI (570) cpu_start: Single core mode�[0m
[Oct 8 19:28:56.533] �[0;32mI (1075) spiram: SPI SRAM memory test OK�[0m
[Oct 8 19:28:56.539] �[0;32mI (1075) heap_init: Initializing. RAM available for dynamic allocation:�[0m
[Oct 8 19:28:56.546] �[0;32mI (1075) heap_init: At 3FF80038 len 00001FC8 (7 KiB): RTCRAM�[0m
[Oct 8 19:28:56.552] �[0;32mI (1082) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM�[0m
[Oct 8 19:28:56.558] �[0;32mI (1088) heap_init: At 3FFBC7F8 len 00023808 (142 KiB): DRAM�[0m
[Oct 8 19:28:56.565] �[0;32mI (1094) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM�[0m
[Oct 8 19:28:56.571] �[0;32mI (1101) heap_init: At 40078000 len 00008000 (32 KiB): IRAM�[0m
[Oct 8 19:28:56.577] �[0;32mI (1107) heap_init: At 4009AC0C len 000053F4 (20 KiB): IRAM�[0m
[Oct 8 19:28:56.584] �[0;32mI (1113) cpu_start: Pro cpu start user code�[0m
[Oct 8 19:28:56.589] �[0;32mI (1118) spiram: Adding pool of 4096K of external SPI memory to heap allocator�[0m
[Oct 8 19:28:56.598] �[0;32mI (1138) spi_flash: detected chip: gd�[0m
[Oct 8 19:28:56.603] �[0;32mI (1138) spi_flash: flash io: qio�[0m
[Oct 8 19:28:56.607] �[0;32mI (1138) cpu_start: Starting scheduler on PRO CPU.�[0m
[Oct 8 19:28:56.612] �[0;32mI (1142) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations�[0m
[Oct 8 19:28:56.621]
[Oct 8 19:28:56.621]
[Oct 8 19:28:56.621] mgos_freertos.c:155 iParcelBox_firmware 2.0.247 (20211007-144005)
[Oct 8 19:28:56.627] mgos_freertos.c:157 Mongoose OS 2.19.1 (20211007-144005/2.19.1-gd52032f)
[Oct 8 19:28:56.634] Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
[Oct 8 19:28:56.641]
[Oct 8 19:28:56.642] Core 0 register dump:
[Oct 8 19:28:56.644] PC : 0x4008f158 PS : 0x00060730 A0 : 0x800d29b1 A1 : 0x3ffb8350
[Oct 8 19:28:56.651] A2 : 0x3ff80038 A3 : 0x3ffb8370 A4 : 0x00000000 A5 : 0xfffffffc
[Oct 8 19:28:56.659] A6 : 0x3ffae9a4 A7 : 0x00000001 A8 : 0x8008f154 A9 : 0x3ffb8330
[Oct 8 19:28:56.667] A10 : 0x00000000 A11 : 0x00000000 A12 : 0x0000001c A13 : 0x3ffb838c
[Oct 8 19:28:56.675] A14 : 0x3ffae9a4 A15 : 0x00000001 SAR : 0x00000008 EXCCAUSE: 0x0000001c
[Oct 8 19:28:56.682] EXCVADDR: 0x00000000 LBEG : 0x400899ea LEND : 0x400899f5 LCOUNT : 0x00000000
[Oct 8 19:28:56.690]
[Oct 8 19:28:56.690] Backtrace:0x4008f155 0x400d29ae 0x400d6101 0x400d9a25 0x400840cc
[Oct 8 19:28:56.696]
[Oct 8 19:28:56.696]
[Oct 8 19:28:56.696] ELF file SHA256: 4bcf1d6ed8153a9e
[Oct 8 19:28:56.699]
[Oct 8 19:28:56.700]
[Oct 8 19:28:56.700] --- BEGIN CORE DUMP ---
[Oct 8 19:28:56.702] mos: catching core dump
[Oct 8 19:28:59.533] .............
[Oct 8 19:29:36.271] ---- END CORE DUMP ----
[Oct 8 19:29:36.275] mos: wrote to /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware/core-iParcelBox_firmware-esp32-20211008-192936.906721620 (458742 bytes)
[Oct 8 19:29:36.275] mos: analyzing core dump
Core dump by iParcelBox_firmware/esp32 2.0.247 20211007-144005
Using ELF file at: /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware/build/objs/iParcelBox_firmware.elf
Using Docker image: docker.io/mgos/esp32-build:4.2-r1
Running docker run --rm -v /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware/build/objs/iParcelBox_firmware.elf:/fw.elf -v /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware/core-iParcelBox_firmware-esp32-20211008-192936.906721620:/core -v /Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware:/Users/PaulNeedler/Documents/iParcelBox/3-FIRMWARE/iParcelBox_firmware docker.io/mgos/esp32-build:4.2-r1 bash -c /usr/local/bin/serve_core.py --rom=/opt/Espressif/rom/rom.bin --rom_addr=0x40000000 --xtensa_addr_fixup=true /fw.elf /core & $MGOS_TARGET_GDB /fw.elf -ex 'target remote 127.0.0.1:1234' -ex 'set confirm off' -ex bt -ex quit
fork/exec /usr/local/bin/com.docker.cli: bad file descriptor
[Oct 8 19:29:36.271] mos: exit status 1
[Oct 8 19:29:36.271] Rebooting...
[Oct 8 19:29:36.383] ets Jul 29 2019 12:21:46
[Oct 8 19:29:36.383]
[Oct 8 19:29:36.383] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[Oct 8 19:29:36.383] configsip: 0, SPIWP:0xee
[Oct 8 19:29:36.383] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[Oct 8 19:29:36.383] mode:DIO, clock div:1
[Oct 8 19:29:36.383] load:0x3fff0018,len:4
[Oct 8 19:29:36.383] load:0x3fff001c,len:6776
[Oct 8 19:29:36.383] load:0x40078000,len:10708
[Oct 8 19:29:36.383] load:0x40080400,len:6512
[Oct 8 19:29:36.383] entry 0x40080714
[Oct 8 19:29:36.383] �[0;32mI (63) boot: Chip Revision: 3�[0m
[Oct 8 19:29:36.383] �[0;32mI (65) boot_comm: chip revision: 3, min. bootloader chip revision: 0�[0m
[Oct 8 19:29:36.383] �[0;32mI (39) boot: ESP-IDF v3.3-r5 2nd stage bootloader�[0m
[Oct 8 19:29:36.383] �[0;32mI (40) boot: compile time 13:05:40�[0m
[Oct 8 19:29:36.383] �[0;32mI (40) boot: Enabling RNG early entropy source...�[0m
[Oct 8 19:29:36.383] �[0;32mI (44) qio_mode: Enabling default flash chip QIO�[0m
[Oct 8 19:29:36.383] �[0;32mI (50) boot: SPI Speed : 80MHz�[0m
[Oct 8 19:29:36.383] �[0;32mI (54) boot: SPI Mode : QIO�[0m
[Oct 8 19:29:36.383] �[0;32mI (58) boot: SPI Flash Size : 16MB�[0m
[Oct 8 19:29:36.383] �[0;32mI (62) boot: Partition Table:�[0m
[Oct 8 19:29:36.383] �[0;32mI (66) boot: ## Label Usage Type ST Offset Length Flags�[0m
[Oct 8 19:29:36.383] �[0;32mI (74) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000�[0m
[Oct 8 19:29:36.383] �[0;32mI (82) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000�[0m
[Oct 8 19:29:36.383] �[0;32mI (90) boot: 2 app_0 OTA app 00 10 00010000 00180000 00000000�[0m
[Oct 8 19:29:36.383] �[0;32mI (98) boot: 3 fs_0 FS 01 82 00190000 00060000 00000000�[0m
[Oct 8 19:29:36.391] �[0;32mI (107) boot: 4 app_1 OTA app 00 11 001f0000 00180000 00000000�[0m
[Oct 8 19:29:36.399] �[0;32mI (115) boot: 5 fs_1 FS 01 82 00370000 00060000 00000000�[0m
[Oct 8 19:29:36.407] �[0;32mI (123) boot: End of partition table�[0m
[Oct 8 19:29:36.412] �[0;32mI (128) boot: OTA data 0: seq 0x000000e2, st 0x11, CRC 0x78cccf19, valid? 1�[0m
[Oct 8 19:29:36.419] �[0;32mI (135) boot: OTA data 1: seq 0x000000e3, st 0x10, CRC 0x88a337ae, valid? 1�[0m
[Oct 8 19:29:36.427] �[0;32mI (143) boot_comm: chip revision: 3, min. application chip revision: 0�[0m
[Oct 8 19:29:36.434] �[0;32mI (150) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x2e3b4 (189364) map�[0m
[Oct 8 19:29:36.481] �[0;32mI (209) esp_image: segment 1: paddr=0x0003e3dc vaddr=0x3ffb0000 size=0x01c3c ( 7228) load�[0m
[Oct 8 19:29:36.491] �[0;32mI (211) esp_image: segment 2: paddr=0x00040020 vaddr=0x400d0020 size=0xce2e8 (844520) map�[0m
[Oct 8 19:29:36.710] �[0;32mI (438) esp_image: segment 3: paddr=0x0010e310 vaddr=0x3ffb1c3c size=0x0199c ( 6556) load�[0m
[Oct 8 19:29:36.720] �[0;32mI (441) esp_image: segment 4: paddr=0x0010fcb4 vaddr=0x40080000 size=0x00400 ( 1024) load�[0m
[Oct 8 19:29:36.729] �[0;32mI (446) esp_image: segment 5: paddr=0x001100bc vaddr=0x40080400 size=0x1a80c (108556) load�[0m
[Oct 8 19:29:36.760] �[0;32mI (488) esp_image: segment 6: paddr=0x0012a8d0 vaddr=0x400c0000 size=0x00038 ( 56) load�[0m
[Oct 8 19:29:36.770] �[0;32mI (489) esp_image: segment 7: paddr=0x0012a910 vaddr=0x50000000 size=0x00010 ( 16) load�[0m
[Oct 8 19:29:36.783] �[0;32mI (511) boot: Loaded app from partition at offset 0x10000�[0m
[Oct 8 19:29:36.790] �[0;32mI (511) boot: Disabling RNG early entropy source...�[0m
[Oct 8 19:29:36.796] �[0;32mI (512) psram: This chip is ESP32-D0WD�[0m
[Oct 8 19:29:36.800] �[0;32mI (516) spiram: Found 64MBit SPI RAM device�[0m
[Oct 8 19:29:36.805] �[0;32mI (521) spiram: SPI RAM mode: flash 80m sram 80m�[0m
[Oct 8 19:29:36.810] �[0;32mI (526) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
[Oct 8 19:29:36.817] �[0;32mI (533) cpu_start: Pro cpu up.�[0m
[Oct 8 19:29:36.821] �[0;32mI (537) cpu_start: Application information:�[0m
[Oct 8 19:29:36.826] �[0;32mI (542) cpu_start: Project name: iParcelBox_firmware�[0m
[Oct 8 19:29:36.832] �[0;32mI (548) cpu_start: App version: 2.19.1�[0m
[Oct 8 19:29:36.837] �[0;32mI (553) cpu_start: Compile time: Oct 7 2021 14:38:54�[0m
[Oct 8 19:29:36.843] �[0;32mI (559) cpu_start: ELF file SHA256: 4bcf1d6ed8153a9e...�[0m
[Oct 8 19:29:36.849] �[0;32mI (565) cpu_start: ESP-IDF: 4.2-r1�[0m
[Oct 8 19:29:36.854] �[0;32mI (570) cpu_start: Single core mode�[0m
[Oct 8 19:29:37.347] �[0;32mI (1075) spiram: SPI SRAM memory test OK�[0m
[Oct 8 19:29:37.352] �[0;32mI (1075) heap_init: Initializing. RAM available for dynamic allocation:�[0m
[Oct 8 19:29:37.359] �[0;32mI (1075) heap_init: At 3FF80038 len 00001FC8 (7 KiB): RTCRAM�[0m
[Oct 8 19:29:37.366] �[0;32mI (1082) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM�[0m
[Oct 8 19:29:37.372] �[0;32mI (1088) heap_init: At 3FFBC7F8 len 00023808 (142 KiB): DRAM�[0m
[Oct 8 19:29:37.378] �[0;32mI (1094) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM�[0m
[Oct 8 19:29:37.385] �[0;32mI (1101) heap_init: At 40078000 len 00008000 (32 KiB): IRAM�[0m
[Oct 8 19:29:37.391] �[0;32mI (1107) heap_init: At 4009AC0C len 000053F4 (20 KiB): IRAM�[0m
[Oct 8 19:29:37.397] �[0;32mI (1113) cpu_start: Pro cpu start user code�[0m
[Oct 8 19:29:37.402] �[0;32mI (1118) spiram: Adding pool of 4096K of external SPI memory to heap allocator�[0m
[Oct 8 19:29:37.411] �[0;32mI (1138) spi_flash: detected chip: gd�[0m
[Oct 8 19:29:37.417] �[0;32mI (1138) spi_flash: flash io: qio�[0m
[Oct 8 19:29:37.421] �[0;32mI (1138) cpu_start: Starting scheduler on PRO CPU.�[0m
[Oct 8 19:29:37.426] �[0;32mI (1142) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations�[0m
[Oct 8 19:29:37.435]
[Oct 8 19:29:37.435]
[Oct 8 19:29:37.435] mgos_freertos.c:155 iParcelBox_firmware 2.0.247 (20211007-144005)
[Oct 8 19:29:37.441] mgos_freertos.c:157 Mongoose OS 2.19.1 (20211007-144005/2.19.1-gd52032f)
[Oct 8 19:29:37.448] Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
[Oct 8 19:29:37.455]
[Oct 8 19:29:37.455] Core 0 register dump:
[Oct 8 19:29:37.457] PC : 0x4008f158 PS : 0x00060730 A0 : 0x800d29b1 A1 : 0x3ffb8350
[Oct 8 19:29:37.465] A2 : 0x3ff80038 A3 : 0x3ffb8370 A4 : 0x00000000 A5 : 0xfffffffc
[Oct 8 19:29:37.473] A6 : 0x3ffae9a4 A7 : 0x00000001 A8 : 0x8008f154 A9 : 0x3ffb8330
[Oct 8 19:29:37.481] A10 : 0x00000000 A11 : 0x00000000 A12 : 0x0000001c A13 : 0x3ffb838c
[Oct 8 19:29:37.488] A14 : 0x3ffae9a4 A15 : 0x00000001 SAR : 0x00000008 EXCCAUSE: 0x0000001c
[Oct 8 19:29:37.496] EXCVADDR: 0x00000000 LBEG : 0x400899ea LEND : 0x400899f5 LCOUNT : 0x00000000
[Oct 8 19:29:37.504]
[Oct 8 19:29:37.504] Backtrace:0x4008f155 0x400d29ae 0x400d6101 0x400d9a25 0x400840cc
[Oct 8 19:29:37.510]
[Oct 8 19:29:37.510]
[Oct 8 19:29:37.510] ELF file SHA256: 4bcf1d6ed8153a9e
[Oct 8 19:29:37.513]
[Oct 8 19:29:37.513]
[Oct 8 19:29:37.513] --- BEGIN CORE DUMP ---
[Oct 8 19:29:37.515] mos: catching core dump
[Oct 8 19:29:40.347] ...........

@gadget-man
Copy link

Here's what the core dump shows:
Core dump by iParcelBox_firmware/esp32 2.0.247 20211007-144005
Using ELF file at: /Users/PaulNeedler/Documents/iParcelBox/3-Firmware/iParcelBox_firmware/build/objs/iParcelBox_firmware.elf
Using Docker image: docker.io/mgos/esp32-build:4.2-r1
Running docker run --rm -i --tty=true -v /Users/PaulNeedler/Documents/iParcelBox/3-Firmware/iParcelBox_firmware/build/objs/iParcelBox_firmware.elf:/fw.elf -v /Users/PaulNeedler/Documents/iParcelBox/3-Firmware/iParcelBox_firmware/core-iParcelBox_firmware-esp32-20211008-193057.420086182:/core -v /Users/PaulNeedler/Documents/iParcelBox/3-Firmware/iParcelBox_firmware:/Users/PaulNeedler/Documents/iParcelBox/3-Firmware/iParcelBox_firmware docker.io/mgos/esp32-build:4.2-r1 bash -c /usr/local/bin/serve_core.py --rom=/opt/Espressif/rom/rom.bin --rom_addr=0x40000000 --xtensa_addr_fixup=true /fw.elf /core & $MGOS_TARGET_GDB /fw.elf -ex 'target remote 127.0.0.1:1234' -ex 'set confirm off' -ex bt
Unable to find image 'mgos/esp32-build:4.2-r1' locally
4.2-r1: Pulling from mgos/esp32-build
35c102085707: Pull complete
251f5509d51d: Pull complete
8e829fe70a46: Pull complete
6001e1789921: Pull complete
6369aa549000: Pull complete
c2364282aac9: Pull complete
0c27615264fc: Pull complete
ad3b4552b144: Pull complete
ca278db297a8: Pull complete
607e71a9215d: Pull complete
f46dac7d5092: Pull complete
f85856a6b5d4: Pull complete
c8cd78ebe055: Pull complete
5ec0ea2cd94f: Pull complete
64e876348090: Pull complete
5cd219b42dca: Pull complete
c0668a2c39af: Pull complete
b3b4a723e6ad: Pull complete
Digest: sha256:66e3c273adb1f509cffc830b2ff68f06ec6137f8ce7b9a29c3081a1c47c8751c
Status: Downloaded newer image for mgos/esp32-build:4.2-r1
GNU gdb (crosstool-NG esp-2020r3) 8.1.0.20180627-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-build_pc-linux-gnu --target=xtensa-esp32-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /fw.elf...Waiting for gdb on 1234
done.
Remote debugging using 127.0.0.1:1234
Found core at 23 - 458769
Mapping DRAM: 335872 @ 0x3ffae000
Mapping /opt/Espressif/rom/rom.bin at 0x40000000
Mapping /fw.elf .rtc.text: 58 @ 0x400c0000
Mapping /fw.elf .rtc.dummy: 58 @ 0x3ff80000
Mapping /fw.elf .rtc.force_fast: 2 @ 0x3ff8003a
Mapping /fw.elf .rtc.data: 16 @ 0x50000000
Mapping /fw.elf .iram0.vectors: 1024 @ 0x40080000
Mapping /fw.elf .iram0.text: 109774 @ 0x40080400
Mapping /fw.elf .dram0.data: 14144 @ 0x3ffb0000
Mapping /fw.elf .dram0.bss: 42600 @ 0x3ffb3740
Mapping /fw.elf .flash.rodata: 199400 @ 0x3f400020
Mapping /fw.elf .flash.text: 848951 @ 0x400d0018
Dump contains FreeRTOS task info
Loaded core dump from last snippet in /core
_xt_coproc_restorecs () at /opt/Espressif/esp-idf/components/freertos/xtensa_context.S:577
577 /opt/Espressif/esp-idf/components/freertos/xtensa_context.S: No such file or directory.
#0 _xt_coproc_restorecs () at /opt/Espressif/esp-idf/components/freertos/xtensa_context.S:577
#1 0x400d29b1 in psram_get_size () at /opt/Espressif/esp-idf/components/esp32/spiram_psram.c:782
#2 0x400d6104 in _svfprintf_r (data=, fp=, fmt0=, ap=...) at ../../../.././newlib/libc/stdio/vfprintf.c:1536
#3 0x400d9a28 in _vfiprintf_r (data=, fp=, fmt0=, ap=...) at ../../../.././newlib/libc/stdio/vfprintf.c:1544
#4 0x400840cf in pthread_mutex_lock_internal (mux=, tmo=0) at /opt/Espressif/esp-idf/components/pthread/pthread.c:622

@achao1104
Copy link
Author

it is idf's issue, not related to business code. you might notice the device doesn't finish rebooting and then enter rebooint again.
you may notice " esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead"
also I tried to get a dump from flash, but it is unrelated to the endless rebooting issue.
�[0;32mI (570) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003e035 PS : 0x00060d34 A0 : 0x800a4e55 A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x6226a905 A15 : 0xa46ae905 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025a9c

Backtrace:0x4003e032:0x3fffe280 0x400a4e52:0x3fffe290 0x40089fb1:0x3fffe2b0 0x4008a56e:0x3fffe2d0 0x40025a65:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c269:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: 4141155a9fe42a90

�[0;31mE (646) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026fc6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a90
load:0x4004c000,len:0xc84

@achao1104
Copy link
Author

Hello,

part a blew is normal reboot log, part b is an endless loop reboot log. it looks a "Guru Meditation Error: Core 0 panic'ed (Cache error). " error occurs when calling "cpu_start: Pro cpu start user code", and then there is a flash crc error in "esp_core_dump_to_flash()", since it is in the early of rebooting, I didn't find a way to translate the backtrace to codes.
but from the flash crc error, I guess it might be due to flash is not loaded correctly.
idf version: v4.3 release, esp32s2 with core dump configed.

PART A
I (329) spiram: Found 16MBit SPI RAM device
I (334) spiram: SPI RAM mode: sram 80m
I (338) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (345) cpu_start: Pro cpu up.
I (567) s���ff����*��SRAM memory test OK
I (577) cpu_start: Pro cpu start user code
I (577) cpu_start: cpu freq: 240000000
PART B
�[0;32mI (340) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m
�[0;32mI (347) cpu_start: Pro cpu up.�[0m
�[0;32mI (570) spiram: SPI SRAM memory test OK�[0m
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003e035 PS : 0x00060d34 A0 : 0x800a4e55 A1 : 0x3fffe280
A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x5f24fb99 A15 : 0xa4363b99 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025a9c

Backtrace:0x4003e032:0x3fffe280 0x400a4e52:0x3fffe290 0x40089fb1:0x3fffe2b0 0x4008a56e:0x3fffe2d0 0x40025a65:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c269:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: 4141155a9fe42a90

�[0;31mE (646) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0�[0m
Rebooting...
ESP-ROM:esp32s2-rc4-20191025

@achao1104
Copy link
Author

I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x06e87325 A15 : 0x06e87325 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x06f728b2 A15 : 0x06f728b2 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x07010b32 A15 : 0x07010b32 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x070ab7b1 A15 : 0x070ab7b1 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x0713e3ba A15 : 0x0713e3ba SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x071cdc23 A15 : 0x071cdc23 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x0726f690 A15 : 0x0726f690 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x072fc30d A15 : 0x072fc30d SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x073a54fa A15 : 0x073a54fa SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x0745252a A15 : 0x0745252a SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x074d88a1 A15 : 0x074d88a1 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x0758a724 A15 : 0x0758a724 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

ELF file SHA256: bcf67e20724cb6a2

E (623) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027046
0x40027046: esp_restart_noos at D:/project/esp32/idf-v4.3.1/components/esp32s2/system_api_esp32s2.c:109 (discriminator 1)

SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a60
load:0x4004c000,len:0xca0
load:0x40050000,len:0x2e6c
entry 0x4004c21c
I (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (24) boot: compile time 17:21:29
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s2: SPI Speed : 80MHz
I (37) boot.esp32s2: SPI Mode : QIO
I (41) boot.esp32s2: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (70) boot: 1 otadata OTA data 01 00 0000e000 00002000
I (77) boot: 2 ota_0 OTA app 00 10 00010000 00100000
I (85) boot: 3 ota_1 OTA app 00 11 00110000 00100000
I (92) boot: 4 storage Unknown data 01 82 00210000 001e0000
I (100) boot: 5 coredump Unknown data 01 03 003f0000 00010000
I (107) boot: End of partition table
I (112) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=22c00h (142336) map
I (145) esp_image: segment 1: paddr=00032c28 vaddr=3ffcd890 size=05738h ( 22328) load
I (149) esp_image: segment 2: paddr=00038368 vaddr=40024000 size=07cb0h ( 31920) load
I (157) esp_image: segment 3: paddr=00040020 vaddr=40080020 size=896c8h (562888) map
I (255) esp_image: segment 4: paddr=000c96f0 vaddr=4002bcb0 size=11be0h ( 72672) load
I (272) esp_image: segment 5: paddr=000db2d8 vaddr=40070000 size=0002ch ( 44) load
I (272) esp_image: segment 6: paddr=000db30c vaddr=50000000 size=0001ch ( 28) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
I (302) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (303) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte
I (308) spiram: Found 16MBit SPI RAM device
I (313) spiram: SPI RAM mode: sram 80m
I (317) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (325) cpu_start: Pro cpu up.
I (547) spiram: SPI SRAM memory test OK
Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:
PC : 0x4003d85d PS : 0x00060d34 A0 : 0x800a56e1 A1 : 0x3fffe280
0x4003d85d: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:164

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x0000000f
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fffe240
A10 : 0x00fdffff A11 : 0x6000e000 A12 : 0x00000000 A13 : 0x50000000
A14 : 0x0763aec1 A15 : 0x0763aec1 SAR : 0x00000007 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000000 LCOUNT : 0x40025ad8
0x40025ad8: xt_highint4 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/soc/esp32s2/dport_panic_highint_hdl.S:58

Backtrace:0x4003d85a:0x3fffe280 0x400a56de:0x3fffe290 0x40089fc9:0x3fffe2b0 0x4008a5ba:0x3fffe2d0 0x40025aa1:0x3fffe310 0x40051055:0x3fffe330 0x40051541:0x3fffe370 0x4004c271:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710
0x4003d85a: xt_ints_on at D:/project/esp32/idf-v4.3.1/components/xtensa/xtensa_intr_asm.S:163

0x400a56de: intr_cntrl_ll_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/esp32s2/include/hal/interrupt_controller_ll.h:33
(inlined by) interrupt_controller_hal_enable_interrupts at D:/project/esp32/idf-v4.3.1/components/hal/include/hal/interrupt_controller_hal.h:125
(inlined by) esp_intr_enable_source at D:/project/esp32/idf-v4.3.1/components/esp_system/intr_alloc.c:833

0x40089fc9: esp_memprot_intr_init at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:147

0x4008a5ba: esp_memprot_set_prot at D:/project/esp32/idf-v4.3.1/components/esp32s2/memprot.c:691

0x40025aa1: call_start_cpu0 at D:/project/esp32/idf-v4.3.1/components/esp_system/port/cpu_start.c:477

@achao1104
Copy link
Author

hello, we have upgraded to v4.3.1, and running for a couple of days, it is reproduced again, please do help, thanks.
And it looks in v4.3.1 the backtrace is translated as above. It enters "looply restart", and after reboot, it never reach the application codes, and just reboot again. If you need elf file, we can provide, thanks.

@pacucha42
Copy link
Collaborator

Could you try disabling the Memory protection feature in the IDF config? Not saying it's the cause but it could avoid periodic rebooting before we figure out the root issue.
Run idf.py menuconfig and navigate to Component config > ESP System Settings > Memory protection, then disable the feature and recompile. Let us know about the results, please.
Thanks

@achao1104
Copy link
Author

I will do, thanks.

@achao1104
Copy link
Author

Hello,

After disabling the memory protection, we may occasionally(we find a way to reproduce quickly) go into below error,though it looks due to applicaiton codes, I think it is not related to app codes. And if we enable the memory protection back, it will looply reboot. To reproduce, when it is just started, we send lora signal to the loral master module which is connected to esp32s2 with spi interface, and then it could be reproduced, thus, we guess it might be due to current is a little bit big in starting step, thus the memory is corrupted? Just a guess.
Hopefully, it could help on root cause finding, also, if you have some test codes, we can help to test.

I (16349) lorautil: lora running normal
I (16859) ppposutil: 13-3686400
Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.

Core 0 register dump:
PC : 0x7111646d PS : 0x00070930 A0 : 0x00000000 A1 : 0x3ffded90
A2 : 0x3ffd562c A3 : 0xffffffff A4 : 0x00000001 A5 : 0x3ffbc550
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x3ffd3c14 A9 : 0x4009659c
0x4009659c: SX1276SetRx at D:\project\esp32\project\solardevice\build/../main/driver/lora/sx1276.c:973

A10 : 0x00000000 A11 : 0x00000000 A12 : 0xf111646d A13 : 0x3ffded60
A14 : 0x3ffd5660 A15 : 0x4008f780 SAR : 0x00000008 EXCCAUSE: 0x00000000
0x4008f780: OnRxDone at D:\project\esp32\project\solardevice\build/../main/lorautil.c:198

EXCVADDR: 0x00000000 LBEG : 0xf111646d LEND : 0x3ffded60 LCOUNT : 0x40027015
0x40027015: _xt_user_exc at D:/project/esp32/idf-v4.3.1/components/freertos/port/xtensa/xtensa_vectors.S:627

Backtrace:0x7111646a:0x3ffded90 |<-CORRUPTED

ELF file SHA256: 0e3fc7964c6c37a7

@pacucha42
Copy link
Collaborator

Hi @achao1104,
thanks for the report. I'm not sure whether overvoltage could cause the same memory corruption repeatedly... I'll check our code for anything possibly causing the issue - if nothing is found, I'll ask you for more tests. Thank you

@gadget-man
Copy link

gadget-man commented Oct 27, 2021 via email

@achao1104
Copy link
Author

Hello

Do you have any progress?

Thanks
Peter

@gadget-man
Copy link

Is there any update on this? I'm seeing it crashing VERY regularly when trying to go into deep sleep (and then getting stuck in a reboot loop until power is removed):

My sleep code is as follows:
rtc_gpio_isolate(GPIO_NUM_12); esp_sleep_disable_wakeup_source(ESP_SLEEP_WAKEUP_ALL); esp_sleep_enable_timer_wakeup((uint64_t)seconds * 1000000); //365*24*60*60*1000000); ESP_ERROR_CHECK(esp_sleep_enable_ext0_wakeup(mgos_sys_config_get_board_lid_pin(),mgos_sys_config_get_board_lid_active_high())); ESP_ERROR_CHECK(esp_sleep_enable_ext1_wakeup(BUTTON_PIN_BITMASK, ESP_EXT1_WAKEUP_ALL_LOW)); // GPIO Pin 13 for button LOG(LL_INFO, ("Pre-Sleep settings updated")); esp_deep_sleep_start();

And the log output:
[Nov 5 12:20:29.922] pn_sleep.c:58 Entering Deep Sleep [Nov 5 12:20:29.926] pn_sleep.c:66 Pre-Sleep settings updated [Nov 5 12:20:29.931] /opt/Espressif/esp-idf/components/freertos/tasks.c:3095 (xTaskRemoveFromEventList)- assert failed! [Nov 5 12:20:29.940] [Nov 5 12:20:29.940] abort() was called at PC 0x4008c430 on core 0 [Nov 5 12:20:29.944] [Nov 5 12:20:29.944] Backtrace:0x4008b005 |<-CORRUPTED [Nov 5 12:20:29.947] [Nov 5 12:20:29.947] [Nov 5 12:20:29.948] ELF file SHA256: 4bcf1d6ed8153a9e [Nov 5 12:20:29.951] [Nov 5 12:20:29.951] [Nov 5 12:20:29.951] --- BEGIN CORE DUMP --- [Nov 5 12:20:29.953] mos: catching core dump [Nov 5 12:20:29.973] mos: core dump aborted [Nov 5 12:20:29.973] [Nov 5 12:20:29.973] Backtrace:0x4008deb7 |<-CORRUPTED [Nov 5 12:20:29.976] [Nov 5 12:20:29.976] [Nov 5 12:20:29.976] ELF file SHA256: 4bcf1d6ed8153a9e [Nov 5 12:20:29.979] [Nov 5 12:20:29.979] Re-entered core dump! Exception happened during core dump! [Nov 5 12:20:29.984] Rebooting... [Nov 5 12:20:29.986] ets Jul 29 2019 12:21:46 [Nov 5 12:20:29.988] [Nov 5 12:20:29.989] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [Nov 5 12:20:29.993] configsip: 0, SPIWP:0xee [Nov 5 12:20:29.996] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [Nov 5 12:20:30.002] mode:DIO, clock div:1 [Nov 5 12:20:30.004] load:0x3fff0018,len:4 [Nov 5 12:20:30.006] load:0x3fff001c,len:6776 [Nov 5 12:20:30.008] load:0x40078000,len:10708 [Nov 5 12:20:30.011] load:0x40080400,len:6512 [Nov 5 12:20:30.013] entry 0x40080714 [Nov 5 12:20:30.014] �[0;32mI (63) boot: Chip Revision: 3�[0m [Nov 5 12:20:30.018] �[0;32mI (65) boot_comm: chip revision: 3, min. bootloader chip revision: 0�[0m [Nov 5 12:20:30.026] �[0;32mI (39) boot: ESP-IDF v3.3-r5 2nd stage bootloader�[0m [Nov 5 12:20:30.032] �[0;32mI (40) boot: compile time 13:05:40�[0m [Nov 5 12:20:30.036] �[0;32mI (40) boot: Enabling RNG early entropy source...�[0m [Nov 5 12:20:30.042] �[0;32mI (44) qio_mode: Enabling default flash chip QIO�[0m [Nov 5 12:20:30.047] �[0;32mI (50) boot: SPI Speed : 80MHz�[0m [Nov 5 12:20:30.051] �[0;32mI (54) boot: SPI Mode : QIO�[0m [Nov 5 12:20:30.055] �[0;32mI (58) boot: SPI Flash Size : 16MB�[0m [Nov 5 12:20:30.059] �[0;32mI (62) boot: Partition Table:�[0m [Nov 5 12:20:30.063] �[0;32mI (66) boot: ## Label Usage Type ST Offset Length Flags�[0m [Nov 5 12:20:30.071] �[0;32mI (74) boot: 0 nvs WiFi data 01 02 00009000 00004000 00000000�[0m [Nov 5 12:20:30.079] �[0;32mI (82) boot: 1 otadata OTA data 01 00 0000d000 00002000 00000000�[0m [Nov 5 12:20:30.087] �[0;32mI (90) boot: 2 app_0 OTA app 00 10 00010000 00180000 00000000�[0m [Nov 5 12:20:30.096] �[0;32mI (98) boot: 3 fs_0 FS 01 82 00190000 00060000 00000000�[0m [Nov 5 12:20:30.104] �[0;32mI (107) boot: 4 app_1 OTA app 00 11 001f0000 00180000 00000000�[0m [Nov 5 12:20:30.112] �[0;32mI (115) boot: 5 fs_1 FS 01 82 00370000 00060000 00000000�[0m [Nov 5 12:20:30.121] �[0;32mI (123) boot: End of partition table�[0m [Nov 5 12:20:30.125] �[0;32mI (128) boot: OTA data 0: seq 0x000000e2, st 0x11, CRC 0x78cccf19, valid? 1�[0m [Nov 5 12:20:30.133] �[0;32mI (135) boot: OTA data 1: seq 0x000000e3, st 0x10, CRC 0x88a337ae, valid? 1�[0m [Nov 5 12:20:30.140] �[0;32mI (143) boot_comm: chip revision: 3, min. application chip revision: 0�[0m [Nov 5 12:20:30.147] �[0;32mI (150) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x2e3b4 (189364) map�[0m [Nov 5 12:20:30.195] �[0;32mI (209) esp_image: segment 1: paddr=0x0003e3dc vaddr=0x3ffb0000 size=0x01c3c ( 7228) load�[0m [Nov 5 12:20:30.204] �[0;32mI (211) esp_image: segment 2: paddr=0x00040020 vaddr=0x400d0020 size=0xce2e8 (844520) map�[0m [Nov 5 12:20:30.424] �[0;32mI (438) esp_image: segment 3: paddr=0x0010e310 vaddr=0x3ffb1c3c size=0x0199c ( 6556) load�[0m [Nov 5 12:20:30.434] �[0;32mI (441) esp_image: segment 4: paddr=0x0010fcb4 vaddr=0x40080000 size=0x00400 ( 1024) load�[0m [Nov 5 12:20:30.442] �[0;32mI (446) esp_image: segment 5: paddr=0x001100bc vaddr=0x40080400 size=0x1a80c (108556) load�[0m [Nov 5 12:20:30.474] �[0;32mI (488) esp_image: segment 6: paddr=0x0012a8d0 vaddr=0x400c0000 size=0x00038 ( 56) load�[0m [Nov 5 12:20:30.483] �[0;32mI (489) esp_image: segment 7: paddr=0x0012a910 vaddr=0x50000000 size=0x00010 ( 16) load�[0m [Nov 5 12:20:30.497] �[0;32mI (511) boot: Loaded app from partition at offset 0x10000�[0m [Nov 5 12:20:30.503] �[0;32mI (511) boot: Disabling RNG early entropy source...�[0m [Nov 5 12:20:30.509] �[0;32mI (512) psram: This chip is ESP32-D0WD�[0m [Nov 5 12:20:30.513] �[0;32mI (516) spiram: Found 64MBit SPI RAM device�[0m [Nov 5 12:20:30.518] �[0;32mI (521) spiram: SPI RAM mode: flash 80m sram 80m�[0m [Nov 5 12:20:30.524] �[0;32mI (526) spiram: PSRAM initialized, cache is in normal (1-core) mode.�[0m [Nov 5 12:20:30.531] �[0;32mI (533) cpu_start: Pro cpu up.�[0m [Nov 5 12:20:30.534] �[0;32mI (537) cpu_start: Application information:�[0m [Nov 5 12:20:30.539] �[0;32mI (542) cpu_start: Project name: iParcelBox_firmware�[0m [Nov 5 12:20:30.545] �[0;32mI (548) cpu_start: App version: 2.19.1�[0m [Nov 5 12:20:30.550] �[0;32mI (553) cpu_start: Compile time: Oct 7 2021 14:38:54�[0m [Nov 5 12:20:30.556] �[0;32mI (559) cpu_start: ELF file SHA256: 4bcf1d6ed8153a9e...�[0m [Nov 5 12:20:30.562] �[0;32mI (565) cpu_start: ESP-IDF: 4.2-r1�[0m [Nov 5 12:20:30.567] �[0;32mI (570) cpu_start: Single core mode�[0m [Nov 5 12:20:31.060] �[0;32mI (1075) spiram: SPI SRAM memory test OK�[0m [Nov 5 12:20:31.065] �[0;32mI (1075) heap_init: Initializing. RAM available for dynamic allocation:�[0m [Nov 5 12:20:31.073] �[0;32mI (1075) heap_init: At 3FF80038 len 00001FC8 (7 KiB): RTCRAM�[0m [Nov 5 12:20:31.079] �[0;32mI (1082) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM�[0m [Nov 5 12:20:31.085] �[0;32mI (1088) heap_init: At 3FFBC7F8 len 00023808 (142 KiB): DRAM�[0m [Nov 5 12:20:31.092] �[0;32mI (1094) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM�[0m [Nov 5 12:20:31.098] �[0;32mI (1101) heap_init: At 40078000 len 00008000 (32 KiB): IRAM�[0m [Nov 5 12:20:31.104] �[0;32mI (1107) heap_init: At 4009AC0C len 000053F4 (20 KiB): IRAM�[0m [Nov 5 12:20:31.111] �[0;32mI (1113) cpu_start: Pro cpu start user code�[0m [Nov 5 12:20:31.115] �[0;32mI (1118) spiram: Adding pool of 4096K of external SPI memory to heap allocator�[0m [Nov 5 12:20:31.125] �[0;32mI (1138) spi_flash: detected chip: gd�[0m [Nov 5 12:20:31.130] �[0;32mI (1138) spi_flash: flash io: qio�[0m [Nov 5 12:20:31.134] �[0;32mI (1139) cpu_start: Starting scheduler on PRO CPU.�[0m [Nov 5 12:20:31.139] �[0;32mI (1142) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations�[0m [Nov 5 12:20:31.148] [Nov 5 12:20:31.148] [Nov 5 12:20:31.148] mgos_freertos.c:155 iParcelBox_firmware 2.0.247 (20211007-144005) [Nov 5 12:20:31.154] mgos_freertos.c:157 Mongoose OS 2.19.1 (20211007-144005/2.19.1-gd52032f) [Nov 5 12:20:31.161] Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. [Nov 5 12:20:31.168] [Nov 5 12:20:31.169] Core 0 register dump: [Nov 5 12:20:31.171] PC : 0x4008f158 PS : 0x00060730 A0 : 0x800d29b1 A1 : 0x3ffb8350 [Nov 5 12:20:31.178] A2 : 0x3ff80038 A3 : 0x3ffb8370 A4 : 0x00000000 A5 : 0xfffffffc [Nov 5 12:20:31.186] A6 : 0x3ffae9a4 A7 : 0x00000001 A8 : 0x8008f154 A9 : 0x3ffb8330 [Nov 5 12:20:31.194] A10 : 0x00000000 A11 : 0x00000000 A12 : 0x0000001c A13 : 0x3ffb838c [Nov 5 12:20:31.202] A14 : 0x3ffae9a4 A15 : 0x00000001 SAR : 0x00000008 EXCCAUSE: 0x0000001c [Nov 5 12:20:31.209] EXCVADDR: 0x00000000 LBEG : 0x400899ea LEND : 0x400899f5 LCOUNT : 0x00000000 [Nov 5 12:20:31.217] [Nov 5 12:20:31.217] Backtrace:0x4008f155 0x400d29ae 0x400d6101 0x400d9a25 0x400840cc [Nov 5 12:20:31.223] [Nov 5 12:20:31.223] [Nov 5 12:20:31.223] ELF file SHA256: 4bcf1d6ed8153a9e [Nov 5 12:20:31.226] [Nov 5 12:20:31.227] [Nov 5 12:20:31.227] --- BEGIN CORE DUMP --- [Nov 5 12:20:31.229]

@pacucha42
Copy link
Collaborator

No results yet, sorry. @gadget-man @achao1104 - would you mind sharing your ELF files? Thank you

@gadget-man
Copy link

No results yet, sorry. @gadget-man @achao1104 - would you mind sharing your ELF files? Thank you

No problem - how can I do this securely with you?

@pacucha42
Copy link
Collaborator

No results yet, sorry. @gadget-man @achao1104 - would you mind sharing your ELF files? Thank you

No problem - how can I do this securely with you?

Thanks! I'll contact you directly on sales@iparcelbox.com - the email you published in your profile. Does that work for you?

@gadget-man
Copy link

No results yet, sorry. @gadget-man @achao1104 - would you mind sharing your ELF files? Thank you

No problem - how can I do this securely with you?

Thanks! I'll contact you directly on sales@iparcelbox.com - the email you published in your profile. Does that work for you?

Yes, fine thanks.

@achao1104
Copy link
Author

Hello,

Do you have any updates? As you suggested, we have disabled "the Memory protection feature in the IDF config", it won't run into a loop, but occasionally crashed, here is a log crashed recently.

==================== THREAD 1 (TCB: 0x3ffe3958, name: 'wifi') =====================
#0 0x4002eae1 in panic_abort (details=0x3ffcd920 "abort() was called at PC 0x40027357 on core 0") at D:/project/esp32/idf-v4.3.1/components/esp_system/panic.c:379
#1 0x4002f25c in esp_system_abort (details=0x3ffcd920 "abort() was called at PC 0x40027357 on core 0") at D:/project/esp32/idf-v4.3.1/components/esp_system/system_api.c:112
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

@achao1104
Copy link
Author

any updates?

@0xjakob 0xjakob removed their assignment Jan 5, 2022
@0xjakob 0xjakob assigned pacucha42 and unassigned 0xjakob Jan 5, 2022
@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Jan 11, 2022
@AxelLin
Copy link
Contributor

AxelLin commented Feb 13, 2022

No results yet, sorry. @gadget-man @achao1104 - would you mind sharing your ELF files? Thank you

No problem - how can I do this securely with you?

Thanks! I'll contact you directly on sales@iparcelbox.com - the email you published in your profile. Does that work for you?

@pacucha42
Do you have any finding? Or any additional information required?

@AxelLin
Copy link
Contributor

AxelLin commented Mar 18, 2022

@pacucha42 @0xjakob
There is no response for this issue for several months. How is the status?

@HariPrasadNagarajan
Copy link

Hi all,

We are currently working in ESP32S2 with esp-idf v4.3. We are also facing this endless reboot issue after running for few hours(12 hours to 1 day). But we are observing this error randomly, so we are trying to reproduce the error but couldn't reproduce manually. We also observed another error Memory protection fault which triggered the panic reboot at first before going to the endless reboot. Then on the sequential run we observed that device goes to the endless reboot state . I have attached the error log. ,

**[0;32mI (2896947) MESSAGE: Successfully data send

[0m

Guru Meditation Error: Core 0 panic'ed (Memory protection fault).

abort() was called at PC 0x40026fcb on core 0

Backtrace:0x4002e393:0x3fffa8b0 0x4002ec65:0x3fffa8d0 0x40036226:0x3fffa8f0 0x40026fcb:0x3fffa960 0x40027119:0x3fffa990 0x400271a6:0x3fffa9b0 0x40118cfe:0x3fffa9e0 0x4011bd31:0x3fffacf0 0x401277f9:0x3fffad20 0x40034e7d:0x3fffad50 0x400262dc:0x3fffada0 0x4002e7b9:0x3fffadc0 0x4002e405:0x3fffadf0 0x4002ebf5:0x3fffae70 0x4002ec41:0x3fffaec0 0x40025706:0x3fffaee0 0x00040022:0x3fffaf70 |<-CORRUPTED

ELF file SHA256: 263fdb992f3333ff

Rebooting...

ESP-ROM:esp32s2-rc4-20191025

Build:Oct 25 2019

rst:0xc (RTC_SW_CPU_RST),boot:0xb (SPI_FAST_FLASH_BOOT)

Saved PC:0x40026948

SPIWP:0xee

mode:DIO, clock div:1

load:0x3ffe6100,len:0x1920

load:0x4004c000,len:0xa04

load:0x40050000,len:0x2bec

entry 0x4004c1f4

[0;32mI (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader [0m

[0;32mI (24) boot: compile time 10:31:05 [0m

[0;32mI (24) boot: chip revision: 0 [0m

[0;32mI (27) boot.esp32s2: SPI Speed : 80MHz [0m

[0;32mI (31) boot.esp32s2: SPI Mode : DIO [0m

[0;32mI (36) boot.esp32s2: SPI Flash Size : 4MB [0m

[0;32mI (41) boot: Enabling RNG early entropy source... [0m

[0;32mI (46) boot: Partition Table: [0m

[0;32mI (50) boot: ## Label Usage Type ST Offset Length [0m

[0;32mI (57) boot: 0 nvs WiFi data 01 02 00009000 00040000 [0m

[0;32mI (65) boot: 1 otadata OTA data 01 00 00049000 00002000 [0m

[0;32mI (72) boot: 2 phy_init RF data 01 01 0004b000 00001000 [0m

[0;32mI (80) boot: 3 ota_0 OTA app 00 10 00050000 00180000 [0m

[0;32mI (87) boot: 4 ota_1 OTA app 00 11 001d0000 00180000 [0m

[0;32mI (94) boot: End of partition table [0m

[0;32mI (99) esp_image: segment 0: paddr=00050020 vaddr=3f000020 size=274ech (161004) map [0m

[0;32mI (139) esp_image: segment 1: paddr=00077514 vaddr=3ffcafc0 size=05210h ( 21008) load [0m

[0;32mI (144) esp_image: segment 2: paddr=0007c72c vaddr=40024000 size=038ech ( 14572) load [0m

[0;32mI (149) esp_image: segment 3: paddr=00080020 vaddr=40080020 size=a77f4h (686068) map [0m

[0;32mI (290) esp_image: segment 4: paddr=0012781c vaddr=400278ec size=136c8h ( 79560) load [0m

[0;32mI (310) esp_image: segment 5: paddr=0013aeec vaddr=50000000 size=00010h ( 16) load [0m

[0;32mI (322) boot: Loaded app from partition at offset 0x50000 [0m

[0;32mI (322) boot: Disabling RNG early entropy source... [0m

[0;32mI (334) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte [0m

[0;32mI (334) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte [0m

[0;32mI (340) spiram: Found 16MBit SPI RAM device [0m

[0;32mI (344) spiram: SPI RAM mode: sram 40m [0m

[0;32mI (349) spiram: PSRAM initialized, cache is in normal (1-core) mode. [0m

[0;32mI (356) cpu_start: Pro cpu up. [0m

[0;32mI (770) spiram: SPI SRAM memory test OK [0m

Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:

PC : 0x4003af81 PS : 0x00060d34 A0 : 0x800a8ad5 A1 : 0x3fffe280

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x00000004

A6 : 0x000000c0 A7 : 0x00000000 A8 : 0x3ffffd70 A9 : 0x3fffe240

A10 : 0x00fdffff A11 : 0x00000030 A12 : 0x00000000 A13 : 0x50000008

A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000007 EXCCAUSE: 0x00000007

EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000008 LCOUNT : 0x400256d4

Backtrace:0x4003af7e:0x3fffe280 0x400a8ad2:0x3fffe290 0x400889e3:0x3fffe2b0 0x40089196:0x3fffe2d0 0x4002569d:0x3fffe310 0x40050e51:0x3fffe330 0x400512b9:0x3fffe370 0x4004c245:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: 263fdb992f3333ff

Rebooting...

ESP-ROM:esp32s2-rc4-20191025

Build:Oct 25 2019

rst:0xc (RTC_SW_CPU_RST),boot:0xb (SPI_FAST_FLASH_BOOT)

Saved PC:0x40026948

SPIWP:0xee

mode:DIO, clock div:1

load:0x3ffe6100,len:0x1920

load:0x4004c000,len:0xa04

load:0x40050000,len:0x2bec

entry 0x4004c1f4

[0;32mI (24) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader [0m

[0;32mI (24) boot: compile time 10:31:05 [0m

[0;32mI (24) boot: chip revision: 0 [0m

[0;32mI (27) boot.esp32s2: SPI Speed : 80MHz [0m

[0;32mI (31) boot.esp32s2: SPI Mode : DIO [0m

[0;32mI (36) boot.esp32s2: SPI Flash Size : 4MB [0m

[0;32mI (41) boot: Enabling RNG early entropy source... [0m

[0;32mI (46) boot: Partition Table: [0m

[0;32mI (50) boot: ## Label Usage Type ST Offset Length [0m

[0;32mI (57) boot: 0 nvs WiFi data 01 02 00009000 00040000 [0m

[0;32mI (65) boot: 1 otadata OTA data 01 00 00049000 00002000 [0m

[0;32mI (72) boot: 2 phy_init RF data 01 01 0004b000 00001000 [0m

[0;32mI (80) boot: 3 ota_0 OTA app 00 10 00050000 00180000 [0m

[0;32mI (87) boot: 4 ota_1 OTA app 00 11 001d0000 00180000 [0m

[0;32mI (94) boot: End of partition table [0m

[0;32mI (99) esp_image: segment 0: paddr=00050020 vaddr=3f000020 size=274ech (161004) map [0m

[0;32mI (139) esp_image: segment 1: paddr=00077514 vaddr=3ffcafc0 size=05210h ( 21008) load [0m

[0;32mI (144) esp_image: segment 2: paddr=0007c72c vaddr=40024000 size=038ech ( 14572) load [0m

[0;32mI (149) esp_image: segment 3: paddr=00080020 vaddr=40080020 size=a77f4h (686068) map [0m

[0;32mI (290) esp_image: segment 4: paddr=0012781c vaddr=400278ec size=136c8h ( 79560) load [0m

[0;32mI (310) esp_image: segment 5: paddr=0013aeec vaddr=50000000 size=00010h ( 16) load [0m

[0;32mI (322) boot: Loaded app from partition at offset 0x50000 [0m

[0;32mI (322) boot: Disabling RNG early entropy source... [0m

[0;32mI (334) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte [0m

[0;32mI (334) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte [0m

[0;32mI (340) spiram: Found 16MBit SPI RAM device [0m

[0;32mI (344) spiram: SPI RAM mode: sram 40m [0m

[0;32mI (349) spiram: PSRAM initialized, cache is in normal (1-core) mode. [0m

[0;32mI (356) cpu_start: Pro cpu up. [0m

[0;32mI (770) spiram: SPI SRAM memory test OK [0m

Guru Meditation Error: Core 0 panic'ed (Cache error).

Core 0 register dump:

PC : 0x4003af81 PS : 0x00060d34 A0 : 0x800a8ad5 A1 : 0x3fffe280

A2 : 0x02000000 A3 : 0x00000000 A4 : 0x02000000 A5 : 0x00000004

A6 : 0x000000c0 A7 : 0x00000000 A8 : 0x3ffffd70 A9 : 0x3fffe240

A10 : 0x00fdffff A11 : 0x00000030 A12 : 0x00000000 A13 : 0x50000008

A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000007 EXCCAUSE: 0x00000007

EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x50000008 LCOUNT : 0x400256d4

Backtrace:0x4003af7e:0x3fffe280 0x400a8ad2:0x3fffe290 0x400889e3:0x3fffe2b0 0x40089196:0x3fffe2d0 0x4002569d:0x3fffe310 0x40050e51:0x3fffe330 0x400512b9:0x3fffe370 0x4004c245:0x3fffe4a0 0x40011371:0x3fffe560 0x4000f788:0x3fffe6f0 0x400072a5:0x3fffe710

ELF file SHA256: 263fdb992f3333ff

Rebooting...**

Questions

  1. We are trying to find the root cause of this error, any inputs on where to get started.
  2. Is Memory protection fault and cache error panic are related?
  3. Should we need to disable Memory protection in menuconfig?
  4. Is this error is from ESP-idf v4.3?
  5. If we change the ESP-idf version, will it solve the issue?
  6. Is there anyways to reproduce this error? What are the possible places should I need to visits to debug this error?

Thanks in advance.

@gadget-man
Copy link

Could a workaround for this be to enable RTC Watchdog Timer before going into deep sleep - if it gets stuck in a boot loop, the RWDT would then fire and force a full reboot?

@AxelLin
Copy link
Contributor

AxelLin commented May 3, 2023

@achao1104 @gadget-man
Do you still hit this issue with recent esp-idf releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress Work is in progress
Projects
None yet
Development

No branches or pull requests

8 participants