Hello
I use a V5.1 Release Path of the ESP-IDF
I put only the Core1 the Wifi handler only, my application runnning on the Core 0. Sometimes work flawlessly 1+ times and when this happens random error can cause.
I see this error:
Starting web server
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400ff6fc: d1880a3d 00000000 20008800
0x400ff6fc: hostap_input at ??:?
Core 1 register dump:
PC : 0x400ff700 PS : 0x00060730 A0 : 0x800fd82e A1 : 0x3ffc1bd0
0x400ff700: hostap_input at ??:?
A2 : 0x00000040 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00000018
A6 : 0x00000000 A7 : 0x3ffc3684 A8 : 0x3ffce72c A9 : 0x3ffc1b90
A10 : 0x00000000 A11 : 0x3ffc3684 A12 : 0x0000001c A13 : 0x00000018
A14 : 0x00000000 A15 : 0x3ffc3684 SAR : 0x00000001 EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000
Backtrace: 0x400ff6fd:0x3ffc1bd0 0x400fd82b:0x3ffc1c30 0x40095299:0x3ffc1c50 0x40092ff0:0x3ffc1c70 0x4008ae21:0x3ffc1ca0
0x400ff6fd: hostap_input at ??:?
0x400fd82b: ap_rx_cb at ??:?
0x40095299: ppRxPkt at ??:?
0x40092ff0: ppTask at ??:?
0x4008ae21: vPortTaskWrapper at /home/zilizii/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162
I run the code on my own hardware. I cannot attach any JTAG ....
Where I made a mistake? Is there any advice?
Code can be seens here:
https://github.com/zilizii/RTC_MS/tree/Logic
Strange error
Strange error
Trial - Error scenario for learning ESP32
Re: Strange error
right after the full restart :
pins: 001
SPIFF Init donl->tm_mday, l->tm_mon, l->tm_wday20 10 1
DLS : 1 stored DLS : 1
Wake Up by Timer : 0
app_main starting
Connect to RTC_MS
Starting web server
Guru Meditation Error: Core 0 panic'ed (InstructionFetchError). Exception was unhandled.
Core 0 register dump:
PC : 0x3ffb3d90 PS : 0x00060031 A0 : 0x8008b41e A1 : 0x3ffbc240
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00060923
A6 : 0xb33fffff A7 : 0xb33fffff A8 : 0x80081f84 A9 : 0x3ffb3ce0
A10 : 0x00000003 A11 : 0x00060923 A12 : 0x00060920 A13 : 0x3ffbcba4
A14 : 0x3ffbcba4 A15 : 0xb33fffff SAR : 0x00000000 EXCCAUSE: 0x00000002
EXCVADDR: 0x3ffb3d90 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x3ffb3d8d:0x3ffbc240 |<-CORRUPTED
Core 1 register dump:
PC : 0x0000fd64 PS : 0x00000b45 A0 : 0x00000f85 A1 : 0x6603e800
A2 : 0xa2860240 A3 : 0xefc0f600 A4 : 0x26e05026 A5 : 0x0110e510
A6 : 0xffd11220 A7 : 0x0240c112 A8 : 0xd1000461 A9 : 0x03e60049
A10 : 0xb1002109 A11 : 0x00110903 A12 : 0x310903d1 A13 : 0xc249c100
A14 : 0x61d20f61 A15 : 0x089f4510 SAR : 0x0203e800 EXCCAUSE: 0xee001461
EXCVADDR: 0x15610203 LBEG : 0x00f71e01 LEND : 0x313813e6 LCOUNT : 0x3849c130
Backtrace: 0x0000fd61:0x6603e800 |<-CORRUPTED
ELF file SHA256: 0dbb904c
Rebooting...
pins: 000
SPIFF Init donl->tm_mday, l->tm_mon, l->tm_wday20 10 1
DLS : 1 stored DLS : 1
Wake Up by Timer : 0
app_main starting
How I can made it corrupt ????
pins: 001
SPIFF Init donl->tm_mday, l->tm_mon, l->tm_wday20 10 1
DLS : 1 stored DLS : 1
Wake Up by Timer : 0
app_main starting
Connect to RTC_MS
Starting web server
Guru Meditation Error: Core 0 panic'ed (InstructionFetchError). Exception was unhandled.
Core 0 register dump:
PC : 0x3ffb3d90 PS : 0x00060031 A0 : 0x8008b41e A1 : 0x3ffbc240
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00060923
A6 : 0xb33fffff A7 : 0xb33fffff A8 : 0x80081f84 A9 : 0x3ffb3ce0
A10 : 0x00000003 A11 : 0x00060923 A12 : 0x00060920 A13 : 0x3ffbcba4
A14 : 0x3ffbcba4 A15 : 0xb33fffff SAR : 0x00000000 EXCCAUSE: 0x00000002
EXCVADDR: 0x3ffb3d90 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x3ffb3d8d:0x3ffbc240 |<-CORRUPTED
Core 1 register dump:
PC : 0x0000fd64 PS : 0x00000b45 A0 : 0x00000f85 A1 : 0x6603e800
A2 : 0xa2860240 A3 : 0xefc0f600 A4 : 0x26e05026 A5 : 0x0110e510
A6 : 0xffd11220 A7 : 0x0240c112 A8 : 0xd1000461 A9 : 0x03e60049
A10 : 0xb1002109 A11 : 0x00110903 A12 : 0x310903d1 A13 : 0xc249c100
A14 : 0x61d20f61 A15 : 0x089f4510 SAR : 0x0203e800 EXCCAUSE: 0xee001461
EXCVADDR: 0x15610203 LBEG : 0x00f71e01 LEND : 0x313813e6 LCOUNT : 0x3849c130
Backtrace: 0x0000fd61:0x6603e800 |<-CORRUPTED
ELF file SHA256: 0dbb904c
Rebooting...
pins: 000
SPIFF Init donl->tm_mday, l->tm_mon, l->tm_wday20 10 1
DLS : 1 stored DLS : 1
Wake Up by Timer : 0
app_main starting
How I can made it corrupt ????
Trial - Error scenario for learning ESP32
Re: Strange error
Hello
I changed to the Wifi task back to CORE 0, I used battery instead of a small DC-DC converter to supply I got the following:
pins: 001
l->tm_mday, l->tm_mon, l->tm_wday19 9 4
DLS : 1 stored DLS : 1
Wake Up by Timer : 0
app_main starting
Guru Meditation Error: Core 0 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x170000e0 PS : 0x00060b30 A0 : 0x80132b37 A1 : 0x3ffc4670
A2 : 0x3ffb556c A3 : 0x00001800 A4 : 0x3ffae884 A5 : 0x00000000
A6 : 0x81d40687 A7 : 0x00000000 A8 : 0x801327e1 A9 : 0x3ffc4650
A10 : 0x3ffbe404 A11 : 0xffffffff A12 : 0x00000036 A13 : 0x3ffd40f4
A14 : 0x3ffb46cc A15 : 0x3ffb26a4 SAR : 0x0000001c EXCCAUSE: 0x00000014
EXCVADDR: 0x170000e0 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
Backtrace: 0x170000dd:0x3ffc4670 0x40132b34:0x3ffc4690 0x40123379:0x3ffc46b0 0x401233de:0x3ffc46d0 0x40123047:0x3ffc46f0 0x40123091:0x3ffc4710 0x4013595a:0x3ffc4730 0x40191965:0x3ffc4750 0x40199dbd:0x3ffc4770 0x400fd59d:0x3ffc4790 0x400ff6c6:0x3ffc47b0 0x400fd72b:0x3ffc4810 0x40095299:0x3ffc4830 0x40092ff0:0x3ffc4850 0x4008ae21:0x3ffc4880
0x40132b34: sys_arch_protect at /home/zilizii/esp/esp-idf/components/lwip/port/freertos/sys_arch.c:470
0x40123379: do_memp_malloc_pool at /home/zilizii/esp/esp-idf/components/lwip/lwip/src/core/memp.c:255
0x401233de: memp_malloc at /home/zilizii/esp/esp-idf/components/lwip/lwip/src/core/memp.c:350 (discriminator 2)
0x40123047: tcpip_inpkt at /home/zilizii/esp/esp-idf/components/lwip/lwip/src/api/tcpip.c:254 (discriminator 2)
0x40123091: tcpip_input at /home/zilizii/esp/esp-idf/components/lwip/lwip/src/api/tcpip.c:287
0x4013595a: wlanif_input at /home/zilizii/esp/esp-idf/components/esp_netif/lwip/netif/wlanif.c:160
0x40191965: esp_netif_receive at /home/zilizii/esp/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:1224
0x40199dbd: wifi_ap_receive at /home/zilizii/esp/esp-idf/components/esp_wifi/src/wifi_netif.c:45
0x400fd59d: hostap_deliver_data at ??:?
0x400ff6c6: hostap_input at ??:?
0x400fd72b: ap_rx_cb at ??:?
0x40095299: ppRxPkt at ??:?
0x40092ff0: ppTask at ??:?
0x4008ae21: vPortTaskWrapper at /home/zilizii/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162
Any help pls???
I could cause similars in the CORE 1 if I move the Wifi from th SDKconfig to the CORE1 ....
Is this my fault or feature of APSTA or? I tried the last 2 weeks tons of setp of the sdkconfig, adding more stack , removing unnecessary components --> no change I still casn kill it around AP connection time or the httpd server connection / html file download + WS connection time randomly.....
I changed to the Wifi task back to CORE 0, I used battery instead of a small DC-DC converter to supply I got the following:
pins: 001
l->tm_mday, l->tm_mon, l->tm_wday19 9 4
DLS : 1 stored DLS : 1
Wake Up by Timer : 0
app_main starting
Guru Meditation Error: Core 0 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x170000e0 PS : 0x00060b30 A0 : 0x80132b37 A1 : 0x3ffc4670
A2 : 0x3ffb556c A3 : 0x00001800 A4 : 0x3ffae884 A5 : 0x00000000
A6 : 0x81d40687 A7 : 0x00000000 A8 : 0x801327e1 A9 : 0x3ffc4650
A10 : 0x3ffbe404 A11 : 0xffffffff A12 : 0x00000036 A13 : 0x3ffd40f4
A14 : 0x3ffb46cc A15 : 0x3ffb26a4 SAR : 0x0000001c EXCCAUSE: 0x00000014
EXCVADDR: 0x170000e0 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
Backtrace: 0x170000dd:0x3ffc4670 0x40132b34:0x3ffc4690 0x40123379:0x3ffc46b0 0x401233de:0x3ffc46d0 0x40123047:0x3ffc46f0 0x40123091:0x3ffc4710 0x4013595a:0x3ffc4730 0x40191965:0x3ffc4750 0x40199dbd:0x3ffc4770 0x400fd59d:0x3ffc4790 0x400ff6c6:0x3ffc47b0 0x400fd72b:0x3ffc4810 0x40095299:0x3ffc4830 0x40092ff0:0x3ffc4850 0x4008ae21:0x3ffc4880
0x40132b34: sys_arch_protect at /home/zilizii/esp/esp-idf/components/lwip/port/freertos/sys_arch.c:470
0x40123379: do_memp_malloc_pool at /home/zilizii/esp/esp-idf/components/lwip/lwip/src/core/memp.c:255
0x401233de: memp_malloc at /home/zilizii/esp/esp-idf/components/lwip/lwip/src/core/memp.c:350 (discriminator 2)
0x40123047: tcpip_inpkt at /home/zilizii/esp/esp-idf/components/lwip/lwip/src/api/tcpip.c:254 (discriminator 2)
0x40123091: tcpip_input at /home/zilizii/esp/esp-idf/components/lwip/lwip/src/api/tcpip.c:287
0x4013595a: wlanif_input at /home/zilizii/esp/esp-idf/components/esp_netif/lwip/netif/wlanif.c:160
0x40191965: esp_netif_receive at /home/zilizii/esp/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:1224
0x40199dbd: wifi_ap_receive at /home/zilizii/esp/esp-idf/components/esp_wifi/src/wifi_netif.c:45
0x400fd59d: hostap_deliver_data at ??:?
0x400ff6c6: hostap_input at ??:?
0x400fd72b: ap_rx_cb at ??:?
0x40095299: ppRxPkt at ??:?
0x40092ff0: ppTask at ??:?
0x4008ae21: vPortTaskWrapper at /home/zilizii/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162
Any help pls???
I could cause similars in the CORE 1 if I move the Wifi from th SDKconfig to the CORE1 ....
Is this my fault or feature of APSTA or? I tried the last 2 weeks tons of setp of the sdkconfig, adding more stack , removing unnecessary components --> no change I still casn kill it around AP connection time or the httpd server connection / html file download + WS connection time randomly.....
Trial - Error scenario for learning ESP32
Who is online
Users browsing this forum: cdollar, Google [Bot], Majestic-12 [Bot] and 72 guests