Clean build results in a bootloop
Building with esp-idf 5.5 (5.5.1 results in problem from #15).
After flashing, board starts bootlooping with the following:
Crashing in ESP-IDF task
Guru Meditation Error: Core 1 panic'ed (Instruction access fault). Exception was unhandled.
--- Stack dump detected
Core 1 register dump:
MEPC : 0x00000000 RA : 0x00000000 SP : 0x4ff278c0 GP : 0x4ff18580
TP : 0x4ff278e0 T0 : 0x4ff0f49a T1 : 0x4ff12398 T2 : 0xffffffff
--- 0x4ff0f49a: spinlock_release at /home/domi/firmware/components/esp_hw_support/include/spinlock.h:181
--- (inlined by) vPortExitCriticalMultiCore at /home/domi/firmware/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:550
--- 0x4ff12398: xTaskIncrementTickOtherCores at /home/domi/firmware/components/freertos/esp_additions/freertos_tasks_c_additions.h:125
S0/FP : 0x00000000 S1 : 0x00000000 A0 : 0x0000002b A1 : 0x00000000
A2 : 0x00000004 A3 : 0x00000000 A4 : 0x20800008 A5 : 0x00000000
A6 : 0x00000003 A7 : 0x4000c0de S2 : 0x00000000 S3 : 0x00000000
--- 0x4000c0de: usb_serial_jtag_write at /home/domi/esp-idf/components/esp_driver_usb_serial_jtag/src/usb_serial_jtag_vfs.c:184
S4 : 0x00000000 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x4ff24aef T4 : 0x00000001 T5 : 0x00000000 T6 : 0x00000001
MSTATUS : 0x00011880 MTVEC : 0x4ff00003 MCAUSE : 0x00000001 MTVAL : 0x00000000
--- 0x00011880: SDL_PQtoNits at :?
--- 0x4ff00003: _vector_table at ??:?
MHARTID : 0x00000001
Full log attached here: log.txt. Yes, I did idf.py fullclean
to make sure the directory was clean.
Any suggestions would be greatly appreciated.
Edited by Dominika