You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After first reading the characteristics by HomeKit, the heap_caps_get_free_size(MALLOC_CAP_8BIT) function returns negative values.
From this point on, any attempt to allocate memory in SPIRAM ends with a forbidden write error and an endless restart loop with a SPIRAM memory check error during initialization.
I (0) cpu_start: App cpu up.
I (645) spiram: SPI SRAM memory test OK
I (654) cpu_start: Pro cpu start user code
I (654) cpu_start: cpu freq: 160000000
I (654) cpu_start: Application information:
I (657) cpu_start: Project name: LuON_Base
I (662) cpu_start: App version: esp_homekit_release_3.0.r3-42-g
I (669) cpu_start: Compile time: Mar 24 2022 14:48:49
I (675) cpu_start: ELF file SHA256: 487eb8f14ae4596f...
I (681) cpu_start: ESP-IDF: v4.4-367-gc29343eb94
I (687) heap_init: Initializing. RAM available for dynamic allocation:
I (695) heap_init: At 3FCA0258 len 0003FDA8 (255 KiB): D/IRAM
I (701) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
I (708) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (714) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM
I (720) spiram: Adding pool of 2048K of external SPI memory to heap allocator
I (729) spi_flash: detected chip: generic
I (733) spi_flash: flash io: dio
I (737) sleep: Configure to isolate all GPIO pins in sleep state
I (744) sleep: Enable automatic switching of GPIO sleep configuration
I (751) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (766) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (00:00:00.115) Lu Main: Reset 0: 1, reset 1: 1
I (00:00:00.121) Lu Main: install WS2812 driver OK
I (00:00:00.126) Lu Main: HomeKit Configuration: task_stack_size = 4096
I (00:00:00.133) Lu Main: HomeKit Configuration: task_priority = 7
I (00:00:00.140) Lu Main: HomeKit Configuration: max_event_notif_chars = 8
I (00:00:00.148) Lu Main: HomeKit Configuration: unique_param = 1
I (00:00:00.154) Lu Main: HomeKit Configuration: recv_timeout = 10
I (00:00:00.161) Lu Main: HomeKit Configuration: send_timeout = 10
I (00:00:00.168) Lu Main: After change hap_cfg RAM: 2419150/2064384
I (00:00:00.198) Lu Main: After NVS init RAM: 2416966
After first HAP read/write:
I (15:18:31.751) Lu Main: Received WRITE from 88D49793-F21D-4C8A-8093-CD523EF7B102
I (15:19:43.340) Lu Main: After r/w HAP RAM: -840973488
ESP32 with SPI SRAM don't have this problem - works good witch 8 (4 visible) MB SPIRAM.
With master IDF (5.0) behaves exactly the same way (SPIRAM crashes).
After first reading the characteristics by HomeKit, the heap_caps_get_free_size(MALLOC_CAP_8BIT) function returns negative values.
From this point on, any attempt to allocate memory in SPIRAM ends with a forbidden write error and an endless restart loop with a SPIRAM memory check error during initialization.
After first HAP read/write:
When allocated memory:
After restart loop:
The text was updated successfully, but these errors were encountered: