Command: /home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python /home/pi/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyACM0 -b 115200 --toolchain-prefix riscv32-esp-elf- --target esp32c3 --revision 3 --decode-panic backtrace /home/pi/lighting-controller/esp32/build/spi_slave.elf /home/pi/lighting-controller/esp32/build/bootloader/bootloader.elf -m '/home/pi/.espressif/python_env/idf6.0_py3.11_env/bin/python' '/home/pi/esp/esp-idf/tools/idf.py' ESP-ROM:esp32c3-api1-20210207 Build:Feb 7 2021 rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x4004c632 SPIWP:0xee mode:DIO, clock div:1 load:0x3fcd5830,len:0x15c4 load:0x403cbf10,len:0xc6c load:0x403ce710,len:0x2fc4 entry 0x403cbf1a I (24) boot: ESP-IDF v6.0-dev-2594-g25c40d4563 2nd stage bootloader I (24) boot: compile time Sep 27 2025 18:54:29 I (25) boot: chip revision: v0.4 I (26) boot: efuse block revision: v1.3 I (30) boot.esp32c3: SPI Speed : 80MHz I (34) boot.esp32c3: SPI Mode : DIO I (37) boot.esp32c3: SPI Flash Size : 2MB I (41) boot: Enabling RNG early entropy source... I (45) boot: Partition Table: I (48) boot: ## Label Usage Type ST Offset Length I (54) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (61) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (67) boot: 2 factory factory app 00 00 00010000 00100000 I (74) boot: End of partition table I (77) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=18e28h (101928) map I (101) esp_image: segment 1: paddr=00028e50 vaddr=3fc92200 size=0303ch ( 12348) load I (103) esp_image: segment 2: paddr=0002be94 vaddr=40380000 size=04184h ( 16772) load I (108) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=8f758h (587608) map I (204) esp_image: segment 4: paddr=000bf780 vaddr=40384184 size=0df40h ( 57152) load I (214) esp_image: segment 5: paddr=000cd6c8 vaddr=50000000 size=00020h ( 32) load I (220) boot: Loaded app from partition at offset 0x10000 I (220) boot: Disabling RNG early entropy source... I (232) cpu_start: Unicore app I (240) cpu_start: GPIO 20 and 21 are used as console UART I/O pins I (240) cpu_start: Pro cpu start user code I (240) cpu_start: cpu freq: 160000000 Hz I (242) app_init: Application information: I (246) app_init: Project name: esp32_usb_cdc I (251) app_init: App version: 1 I (254) app_init: Compile time: Sep 27 2025 18:55:06 I (259) app_init: ELF file SHA256: 5761f5b98... I (263) app_init: ESP-IDF: v6.0-dev-2594-g25c40d4563 I (269) efuse_init: Min chip rev: v0.3 I (273) efuse_init: Max chip rev: v1.99  I (277) efuse_init: Chip rev: v0.4 I (280) heap_init: Initializing. RAM available for dynamic allocation: I (287) heap_init: At 3FC99580 len 00026A80 (154 KiB): RAM I (292) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM I (298) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM I (304) heap_init: At 50000020 len 00001FC8 (7 KiB): RTCRAM I (310) spi_flash: detected chip: generic I (313) spi_flash: flash io: dio W (316) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (329) sleep_gpio: Configure to isolate all GPIO pins in sleep state I (334) sleep_gpio: Enable automatic switching of GPIO sleep configuration I (341) main_task: Started on CPU0 I (341) main_task: Calling app_main() I (341) SPI_ESPNOW_BRIDGE: Starting ESP32-C3 SPI to ESP-NOW Bridge I (351) SPI_ESPNOW_BRIDGE: Initializing SPI slave on MOSI=10, MISO=9, SCLK=8, CS=7 I (361) SPI_ESPNOW_BRIDGE: SPI slave initialized successfully I (361) SPI_ESPNOW_BRIDGE: Initializing ESP-NOW I (371) pp: pp rom version: 9387209 I (371) net80211: net80211 rom version: 9387209 I (381) wifi:wifi driver task: 3fca1ee8, prio:23, stack:6656, core=0 I (381) wifi:wifi firmware version: bfadac0 I (381) wifi:wifi certification version: v7.0 I (391) wifi:config NVS flash: enabled I (391) wifi:config nano formatting: disabled I (391) wifi:Init data frame dynamic rx buffer num: 32 I (401) wifi:Init static rx mgmt buffer num: 5 I (401) wifi:Init management short buffer num: 32 I (411) wifi:Init dynamic tx buffer num: 32 I (411) wifi:Init static tx FG buffer num: 2 I (411) wifi:Init static rx buffer size: 1600 I (421) wifi:Init static rx buffer num: 10 I (421) wifi:Init dynamic rx buffer num: 32 I (431) wifi_init: rx ba win: 6 I (431) wifi_init: accept mbox: 6 I (431) wifi_init: tcpip mbox: 32 I (441) wifi_init: udp mbox: 6 I (441) wifi_init: tcp mbox: 6 I (441) wifi_init: tcp tx win: 5760 I (441) wifi_init: tcp rx win: 5760 I (451) wifi_init: tcp mss: 1440 I (451) wifi_init: WiFi IRAM OP enabled I (451) wifi_init: WiFi RX IRAM OP enabled I (461) phy_init: phy_version 1201,bae5dd99,Mar 3 2025,15:36:21 I (501) phy_init: Saving new calibration data due to checksum failure or outdated calibration data, mode(0) I (511) wifi:mode : sta (58:8c:81:a1:6d:20) I (511) wifi:enable tsf I (521) SPI_ESPNOW_BRIDGE: Self MAC: 58:8c:81:a1:6d:20 I (521) ESPNOW: espnow [version: 2.0] init I (521) SPI_ESPNOW_BRIDGE: ESP-NOW sender initialized successfully I (521) SPI_ESPNOW_BRIDGE: SPI bridge task started ESP32-C3 Status Update #0 - Free heap: 218184 bytes, Uptime: 225 ms ESP32-C3 SPI to ESP-NOW Bridge Starting... SPI Slave Pins: MOSI=10, MISO=9, SCLK=8, CS=7 ESP-NOW Sender Ready =============================================== I (551) SPI_ESPNOW_BRIDGE: Application started successfully ESP32-C3 SPI to ESP-NOW Bridge Running Waiting for JSON data from Raspberry Pi via SPI Forwarding received data via ESP-NOW ESP32-C3 Status Update #1 - Free heap: 218184 bytes, Uptime: 10222 ms ESP32-C3 Status Update #2 - Free heap: 218184 bytes, Uptime: 20222 ms ESP32-C3 Status Update #3 - Free heap: 218184 bytes, Uptime: 30222 ms ESP32-C3 Status Update #4 - Free heap: 218184 bytes, Uptime: 40222 ms ESP32-C3 Status Update #5 - Free heap: 218184 bytes, Uptime: 50222 ms ESP32-C3 Status Update #6 - Free heap: 218184 bytes, Uptime: 60222 ms ESP32-C3 Status Update #7 - Free heap: 218184 bytes, Uptime: 70222 ms ESP32-C3 Status Update #8 - Free heap: 218184 bytes, Uptime: 80222 ms ESP32-C3 Status Update #9 - Free heap: 218184 bytes, Uptime: 90222 ms ESP32-C3 Status Update #10 - Free heap: 218184 bytes, Uptime: 100222 ms ESP32-C3 Status Update #11 - Free heap: 218184 bytes, Uptime: 110222 ms ESP32-C3 Status Update #12 - Free heap: 218184 bytes, Uptime: 120222 ms ESP32-C3 Status Update #13 - Free heap: 218184 bytes, Uptime: 130222 ms ESP32-C3 Status Update #14 - Free heap: 218184 bytes, Uptime: 140222 ms ESP32-C3 Status Update #15 - Free heap: 218184 bytes, Uptime: 150222 ms ESP32-C3 Status Update #16 - Free heap: 218184 bytes, Uptime: 160222 ms ESP32-C3 Status Update #17 - Free heap: 218184 bytes, Uptime: 170222 ms ESP32-C3 Status Update #18 - Free heap: 218184 bytes, Uptime: 180222 ms ESP32-C3 Status Update #19 - Free heap: 218184 bytes, Uptime: 190222 ms ESP32-C3 Status Update #20 - Free heap: 218184 bytes, Uptime: 200222 ms ESP32-C3 Status Update #21 - Free heap: 218184 bytes, Uptime: 210222 ms ESP32-C3 Status Update #2