we have a bigger project where a lot of code was added in a separate branch. This branch works fine until its merged into the main branch. The code does not have any obvious flaws, which could explain the error below.
I am a bit confused what needs to happen, that a crash triggers directly where cpu_start: Pro cpu start user code should be printed. Maybe somebody can help me there. Thanks.
Code: Select all
entry 0x403c9994
W (27) boot.esp32s3: eFuse virtual mode is enabled. If Secure boot or Flash encryption is enabled then it does not provide any security. FOR TESTING ONLY!
I (44) boot: ESP-IDF v5.0.1-1-g6c39d4de9e-dirty 2nd stage bootloader
I (44) boot: compile time 17:20:47
I (44) boot: chip revision: v0.1
I (47) qio_mode: Enabling default flash chip QIO
I (53) boot.esp32s3: Boot SPI Speed : 80MHz
I (58) boot.esp32s3: SPI Mode : QIO
I (62) boot.esp32s3: SPI Flash Size : 16MB
I (67) boot: Enabling RNG early entropy source...
I (73) boot: Partition Table:
I (76) boot: ## Label Usage Type ST Offset Length
I (83) boot: 0 otadata OTA data 01 00 0000d000 00002000
I (91) boot: 1 reserved WiFi data 01 02 0000f000 00001000
I (98) boot: 2 ota_0 OTA app 00 10 00010000 00300000
I (106) boot: 3 ota_1 OTA app 00 11 00310000 00300000
I (113) boot: 4 prod Unknown data 01 ff 00710000 00001000
I (121) boot: 5 reserved1 Unknown data 01 ff 00711000 00002000
I (128) boot: 6 safeNVrb0 Unknown data 01 ff 00713000 00010000
I (136) boot: 7 safeNVrb1 Unknown data 01 ff 00723000 00010000
I (143) boot: 8 safeNVrb2 Unknown data 01 ff 00733000 00010000
I (151) boot: 9 config WiFi data 01 02 00743000 00046000
I (159) boot: 10 shared WiFi data 01 02 00789000 00003000
I (166) boot: 11 appl WiFi data 01 02 0078c000 00004000
I (174) boot: 12 nvs_key NVS keys 01 04 00790000 00001000
W (181) efuse: Loading virtual efuse blocks from flash
EFUSE_BLKx:
0) 0x08001000 0x00000010 0x0000d1f5 0x00000800 0x80000000 0x00000000
1) 0xfac1ae04 0x0000f412 0x00000000 0x02040000 0x14183ad0 0x7006c818
2) 0xceb57472 0xa32474b0 0xfdb5be9d 0x496793a0 0x916b75f1 0xefdaaebb 0xa6c0a8a9 0x4078f8b0
3) 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
4) 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
5) 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
6) 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
7) 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
8) 0xd4fb0c9b 0x98f13ef0 0x3cf17473 0x5ff4032b 0x2b67c16b 0xcf05809d 0xb113f091 0x76807ec9
9) 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
10) 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
I (273) boot: 13 efuse_em efuse 01 05 00791000 00002000
I (281) boot: 14 coredump Unknown data 01 03 00793000 00040000
I (289) boot: 15 log Unknown data 01 ff 007d3000 00040000
I (296) boot: 16 fifo Unknown data 01 ff 00813000 00100000
I (304) boot: 17 diagtool2 Unknown data 01 82 00913000 006ed000
I (311) boot: End of partition table
I (316) SSBL: Selected boot partition: 0
[SSBL] Custom bootloader message defined in the KConfig file.
I (325) SSBL: calculated CRC: 0x02B928F2
I (330) SSBL: reprFlCrc: 0x02B928F2
I (335) SSBL: pReprogFlag addr: 0x50000010
I (339) SSBL: magicNum: 0xAA5555AA
I (344) SSBL: reprogFlag: 0xBABACECA
I (348) SSBL: resetReasonFlag: 0xFFFFFFFF
I (352) SSBL: The CRC of Reprogramming flag structure valid!
I (359) SSBL: Factory flag is set!
I (363) SSBL: Reset Reprogramming flag
I (367) SSBL: calculated CRC: 0x02B928F2
I (372) SSBL: reprFlCrc: 0x02B928F2
I (377) SSBL: pReprogFlag addr: 0x50000010
I (381) SSBL: magicNum: 0xAA5555AA
I (385) SSBL: reprogFlag: 0xBABACECA
I (390) SSBL: resetReasonFlag: 0xFFFFFFFF
I (394) SSBL: Loading Image -1 (-1: factory | 0/1: main app)
I (401) esp_image: segment 0: paddr=00010020 vaddr=3c1a0020 size=88cb4h (560308) map
I (495) esp_image: segment 1: paddr=00098cdc vaddr=3fc9f500 size=0733ch ( 29500) load
I (500) esp_image: segment 2: paddr=000a0020 vaddr=42000020 size=19fd08h (1703176) map
I (760) esp_image: segment 3: paddr=0023fd30 vaddr=3fca683c size=00b78h ( 2936) load
I (761) esp_image: segment 4: paddr=002408b0 vaddr=40374000 size=1b4b8h (111800) load
I (787) esp_image: segment 5: paddr=0025bd70 vaddr=600fe000 size=0003ch ( 60) load
I (799) boot: Loaded app from partition at offset 0x10000
I (800) boot: Disabling RNG early entropy source...
I (811) esp_psram: Found 2MB PSRAM device
I (812) esp_psram: Speed: 80MHz
I (812) cpu_start: Pro cpu up.
I (812) cpu_start: Starting app cpu, entry point is 0x40375a0c
0x40375a0c: call_start_cpu1 at C:/Espressif/frameworks/esp-idf-v5.0.1/components/esp_system/port/cpu_start.c:142
I (786) cpu_start: App cpu up.
I (1049) esp_psram: SPI SRAM memory test OK
Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x00000000 PS : 0x00060034 A0 : 0x80375fd8 A1 : 0x3fcecc70
A2 : 0x3fcecce0 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00000001
A6 : 0x00000001 A7 : 0x00000000 A8 : 0x820047e4 A9 : 0x3fcecc50
A10 : 0x00000000 A11 : 0x00000000 A12 : 0x42005060 A13 : 0x3fcecfa0
0x42005060: esp_panic_handler_reconfigure_wdts at C:/Espressif/frameworks/esp-idf-v5.0.1/components/esp_system/panic.c:182
A14 : 0x00000001 A15 : 0x3fca1458 SAR : 0x00000007 EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x400570e8 LEND : 0x400570f3 LCOUNT : 0xffffffff
Backtrace: 0xfffffffd:0x3fcecc70 0x40375fd5:0x3fceccc0 0x403779e4:0x3fcecce0 0x3ffffffd:0x3fcecda0 |<-CORRUPTED
0x40375fd5: xt_unhandled_exception at C:/Espressif/frameworks/esp-idf-v5.0.1/components/esp_system/port/panic_handler.c:223
0x403779e4: _xt_user_exc at C:/Espressif/frameworks/esp-idf-v5.0.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:709