ESP32 Reset loop after using reset pin
Posted: Fri Dec 02, 2022 11:38 pm
Hi all,
I am getting into a reset loop after using the reset pin on the ESP32. For some reason this was not happening on an old prototype and and it does not get into this state if my device is plugged into USB. Here is a error dump:
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400d9adc: f01d3a33 02502202 22a23333
Core 1 register dump:
PC : 0x400d9ae3 PS : 0x00060930 A0 : 0x4219d89e A1 : 0x3ffb1f30
A2 : 0x3ffc0328 A3 : 0x00000000 A4 : 0x00000010 A5 : 0x00000200
A6 : 0x00050723 A7 : 0x3ffb8058 A8 : 0x800d9ac2 A9 : 0x3ffb1f10
A10 : 0x0000004b A11 : 0x3adbc402 A12 : 0x0000155a A13 : 0x00003640
A14 : 0x20040902 A15 : 0x3ffb8058 SAR : 0x0000000a EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x40002390 LEND : 0x4000239f LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400d9ae3:0x3ffb1f30 0x4219d89b:0x3ffb1f50 0x400d4ca2:0x3ffb1f70 0x400d1dc8:0x3ffb1f90 0x400dc71d:0x3ffb1fb0 0x40086d4e:0x3ffb1fd0
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400f55fb PS : 0x00060f33 A0 : 0x800f561a A1 : 0x3ffbc530
A2 : 0x00000001 A3 : 0x40083c38 A4 : 0x00060120 A5 : 0x3ffbbd70
A6 : 0x3ffc0d00 A7 : 0x3ffc0d04 A8 : 0x800f55ea A9 : 0x3ffbc510
A10 : 0x800f55ea A11 : 0x3ffbc53f A12 : 0x00000001 A13 : 0x00000001
A14 : 0x00060f20 A15 : 0x00000000 SAR : 0x00000000 EXCCAUSE: 0x0000001d
EXCVADDR: 0x800f55ee LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400f55fb:0x3ffbc530 0x400f5617:0x3ffbc560 0x400f6105:0x3ffbc580 0x40088239:0x3ffbc5a0 0x40086d4e:0x3ffbc5c0
I am getting into a reset loop after using the reset pin on the ESP32. For some reason this was not happening on an old prototype and and it does not get into this state if my device is plugged into USB. Here is a error dump:
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400d9adc: f01d3a33 02502202 22a23333
Core 1 register dump:
PC : 0x400d9ae3 PS : 0x00060930 A0 : 0x4219d89e A1 : 0x3ffb1f30
A2 : 0x3ffc0328 A3 : 0x00000000 A4 : 0x00000010 A5 : 0x00000200
A6 : 0x00050723 A7 : 0x3ffb8058 A8 : 0x800d9ac2 A9 : 0x3ffb1f10
A10 : 0x0000004b A11 : 0x3adbc402 A12 : 0x0000155a A13 : 0x00003640
A14 : 0x20040902 A15 : 0x3ffb8058 SAR : 0x0000000a EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x40002390 LEND : 0x4000239f LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400d9ae3:0x3ffb1f30 0x4219d89b:0x3ffb1f50 0x400d4ca2:0x3ffb1f70 0x400d1dc8:0x3ffb1f90 0x400dc71d:0x3ffb1fb0 0x40086d4e:0x3ffb1fd0
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400f55fb PS : 0x00060f33 A0 : 0x800f561a A1 : 0x3ffbc530
A2 : 0x00000001 A3 : 0x40083c38 A4 : 0x00060120 A5 : 0x3ffbbd70
A6 : 0x3ffc0d00 A7 : 0x3ffc0d04 A8 : 0x800f55ea A9 : 0x3ffbc510
A10 : 0x800f55ea A11 : 0x3ffbc53f A12 : 0x00000001 A13 : 0x00000001
A14 : 0x00060f20 A15 : 0x00000000 SAR : 0x00000000 EXCCAUSE: 0x0000001d
EXCVADDR: 0x800f55ee LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400f55fb:0x3ffbc530 0x400f5617:0x3ffbc560 0x400f6105:0x3ffbc580 0x40088239:0x3ffbc5a0 0x40086d4e:0x3ffbc5c0