Hi,
While attempting to initiate the server in the 'Lock' example, I faced repeated system resets before the server startup.
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7172
load:0x40078000,len:15532
load:0x40080400,len:4
load:0x40080404,len:3904
entry 0x40080640
I (29) boot: ESP-IDF v5.3-dev-1194-g5d8fb281e7 2nd stage bootloader
I (29) boot: compile time Dec 31 2023 05:21:12
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v1.0
I (39) boot.esp32: SPI Speed : 40MHz
I (43) boot.esp32: SPI Mode : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00005000
I (76) boot: 1 phy_init RF data 01 01 0000e000 00001000
I (84) boot: 2 homekit Unknown data 01 60 0000f000 00001000
I (91) boot: 3 factory factory app 00 00 00010000 00100000
I (99) boot: End of partition table
I (103) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=302e0h (197344) map
I (179) esp_image: segment 1: paddr=00040308 vaddr=3ffb0000 size=044a0h ( 17568) load
I (186) esp_image: segment 2: paddr=000447b0 vaddr=40080000 size=0b868h ( 47208) load
I (205) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=af874h (718964) map
I (451) esp_image: segment 4: paddr=000ff89c vaddr=4008b868 size=0b588h ( 46472) load
I (481) boot: Loaded app from partition at offset 0x10000
I (481) boot: Disabling RNG early entropy source...
I (493) cpu_start: Multicore app
I (501) cpu_start: Pro cpu start user code
I (502) cpu_start: cpu freq: 160000000 Hz
I (502) cpu_start: Application information:
I (505) cpu_start: Project name: main
I (509) cpu_start: App version: be6fc7e
I (514) cpu_start: Compile time: Dec 31 2023 05:21:08
I (520) cpu_start: ELF file SHA256: e23529ca2...
I (526) cpu_start: ESP-IDF: v5.3-dev-1194-g5d8fb281e7
I (532) cpu_start: Min chip rev: v0.0
I (537) cpu_start: Max chip rev: v3.99
I (542) cpu_start: Chip rev: v1.0
I (547) heap_init: Initializing. RAM available for dynamic allocation:
I (554) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (560) heap_init: At 3FFB8EB0 len 00027150 (156 KiB): DRAM
I (566) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (572) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (579) heap_init: At 40096DF0 len 00009210 (36 KiB): IRAM
I (587) spi_flash: detected chip: generic
I (590) spi_flash: flash io: dio
I (595) main_task: Started on CPU0
I (605) main_task: Calling app_main()
I (635) wifi:wifi driver task: 3ffc16b4, prio:23, stack:6656, core=0
I (635) wifi:wifi firmware version: 2b2c983
I (635) wifi:wifi certification version: v7.0
I (635) wifi:config NVS flash: enabled
I (635) wifi:config nano formating: disabled
I (645) wifi:Init data frame dynamic rx buffer num: 32
I (645) wifi:Init static rx mgmt buffer num: 5
I (655) wifi:Init management short buffer num: 32
I (655) wifi:Init dynamic tx buffer num: 32
I (655) wifi:Init static rx buffer size: 1600
I (665) wifi:Init static rx buffer num: 10
I (665) wifi:Init dynamic rx buffer num: 32
I (675) wifi_init: rx ba win: 6
I (675) wifi_init: tcpip mbox: 32
I (675) wifi_init: udp mbox: 6
I (685) wifi_init: tcp mbox: 6
I (685) wifi_init: tcp tx win: 5760
I (685) wifi_init: tcp rx win: 5760
I (695) wifi_init: tcp mss: 1440
I (695) wifi_init: WiFi IRAM OP enabled
I (705) wifi_init: WiFi RX IRAM OP enabled
I (705) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (795) wifi:mode : sta (c4:4f:33:0a:73:e1)
I (795) wifi:enable tsf
I (795) main_task: Returned from app_main()
I (795) WIFI_EVENT: STA start
I (925) wifi:new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1
I (935) wifi:state: init -> auth (b0)
I (1905) wifi:state: auth -> init (600)
I (1915) wifi:new:<2,0>, old:<2,0>, ap:<255,255>, sta:<2,0>, prof:1
I (1915) WIFI_EVENT: STA start
I (4325) WIFI_EVENT: STA start
I (4335) wifi:new:<2,0>, old:<2,0>, ap:<255,255>, sta:<2,0>, prof:1
I (4335) wifi:state: init -> auth (b0)
I (6015) wifi:state: auth -> assoc (0)
I (6035) wifi:state: assoc -> run (10)
I (6185) wifi:connected with HDP, aid = 2, channel 2, BW20, bssid = 28:87:ba:2b:04:d0
I (6185) wifi:security: WPA3-SAE, phy: bgn, rssi: -74
I (6185) wifi:pm start, type: 1
I (6195) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (6215) wifi:idx:0 (ifx:0, 28:87:ba:2b:04:d0), tid:0, ssn:3, winSize:64
I (6255) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (7205) esp_netif_handlers: sta ip: 192.168.0.127, mask: 255.255.255.0, gw: 192.168.0.1
I (7205) IP_EVENT: WiFI ready
HomeKit: Starting server
Hi, While attempting to initiate the server in the 'Lock' example, I faced repeated system resets before the server startup.