Mesh-Lite: Mesh-Lite Core is in abnormal state

suestcxf
Posts: 2
Joined: Thu Apr 18, 2024 1:55 am

Mesh-Lite: Mesh-Lite Core is in abnormal state

Postby suestcxf » Thu Apr 18, 2024 2:21 am

测试mesh-lite例程no_router遇到以下错误 ,mesh底层返回ESP_MESH_LITE_EVENT_CORE_STATUS_FAIL状态
环境:ESP32-WROM
IDF:ESP-IDF v5.2.1


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:7168
load:0x40078000,len:15428
ho 0 tail 12 room 4
load:0x40080400,len:4
load:0x40080404,len:3684
entry 0x40080614
I (31) boot: ESP-IDF v5.2.1-dirty 2nd stage bootloader
I (31) boot: compile time Apr 17 2024 10:47:15
W (31) boot: Unicore bootloader
I (35) boot: chip revision: v1.0
I (39) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (49) 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 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (84) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=26850h (157776) map
I (159) esp_image: segment 1: paddr=00036878 vaddr=3ffb0000 size=031a8h ( 12712) load
I (163) esp_image: segment 2: paddr=00039a28 vaddr=40080000 size=065f0h ( 26096) load
I (175) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=978b0h (620720) map
I (387) esp_image: segment 4: paddr=000d78d8 vaddr=400865f0 size=0f0c8h ( 61640) load
I (422) boot: Loaded app from partition at offset 0x10000
I (423) boot: Disabling RNG early entropy source...
I (434) cpu_start: Unicore app
I (434) cpu_start: Single core mode
I (442) cpu_start: Pro cpu start user code
I (442) cpu_start: cpu freq: 160000000 Hz
I (443) cpu_start: Application information:
I (447) cpu_start: Project name: no_router
I (452) cpu_start: App version: v5.2.1-dirty
I (458) cpu_start: Compile time: Apr 17 2024 14:45:09
I (464) cpu_start: ELF file SHA256: c4d534a92...
I (469) cpu_start: ESP-IDF: v5.2.1-dirty
I (475) cpu_start: Min chip rev: v0.0
I (479) cpu_start: Max chip rev: v3.99
I (484) cpu_start: Chip rev: v1.0
I (489) heap_init: Initializing. RAM available for dynamic allocation:
I (496) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (502) heap_init: At 3FFB77C0 len 00028840 (162 KiB): DRAM
I (508) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (515) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (521) heap_init: At 400956B8 len 0000A948 (42 KiB): IRAM
I (527) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
I (535) spi_flash: detected chip: generic
I (538) spi_flash: flash io: dio
I (543) main_task: Started on CPU0
I (546) main_task: Calling app_main()
I (561) bridge_common: esp-iot-bridge version: 0.11.3
I (563) wifi:wifi driver task: 3ffbf0c0, prio:23, stack:6656, core=0
I (566) wifi:wifi firmware version: a9f5b59
I (567) wifi:wifi certification version: v7.0
I (570) wifi:config NVS flash: enabled
I (574) wifi:config nano formating: disabled
I (578) wifi:Init data frame dynamic rx buffer num: 32
I (583) wifi:Init static rx mgmt buffer num: 5
I (587) wifi:Init management short buffer num: 32
I (591) wifi:Init dynamic tx buffer num: 32
I (595) wifi:Init static rx buffer size: 1600
I (599) wifi:Init static rx buffer num: 10
I (603) wifi:Init dynamic rx buffer num: 32
I (608) wifi_init: tcpip mbox: 32
I (611) wifi_init: udp mbox: 6
I (614) wifi_init: tcp mbox: 6
I (618) wifi_init: tcp tx win: 5760
I (622) wifi_init: tcp rx win: 5760
I (626) wifi_init: tcp mss: 1440
I (630) wifi_init: WiFi IRAM OP enabled
I (635) wifi_init: WiFi RX IRAM OP enabled
I (640) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (709) wifi:mode : null
I (712) wifi:mode : softAP (3c:71:bf:1d:79:99)
I (713) wifi:Total power save buffer number: 16
I (714) wifi:Init max length of beacon: 752/752
I (716) wifi:Init max length of beacon: 752/752
I (723) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (730) bridge_common: [WIFI_AP_DEF ]
I (733) bridge_common: Set ip info:192.168.4.1
W (738) bridge_common: SoftAP IP network segment has changed, deauth all station
Add netif ap with a322e6bdad(commit id)
I (750) bridge_common: netif list add success
I (756) wifi:Disabled PMF config for SoftAP
I (760) wifi:Total power save buffer number: 16
I (766) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (772) bridge_common: [WIFI_AP_DEF ]Name Server1: 114.114.114.114
Add netif sta with a322e6bdad(commit id)
I (782) bridge_common: netif list add success
I (788) wifi:mode : sta (3c:71:bf:1d:79:98) + softAP (3c:71:bf:1d:79:99)
I (794) wifi:enable tsf
E (798) NVS: Failed to read IP info from NVS
I (801) wifi:Disabled PMF config for STA
I (805) bridge_wifi: [esp_bridge_wifi_set_config] sta ssid: password:
I (813) bridge_wifi: [esp_bridge_wifi_set_config] softap ssid: ESP_Bridge_1d7999 password: 12345678
I (1080) wifi:Total power save buffer number: 16
I (1086) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (1087) bridge_common: [WIFI_AP_DEF ]Name Server1: 114.114.114.114
I (1093) Mesh-Lite: esp-mesh-lite component version: 0.10.2
I (1099) ESPNOW: espnow [version: 1.0] init
I (1102) [vendor_ie]: Mesh-Lite commit id: 6bca946

I (1109) [vendor_ie]: Mesh ID: 77
I (1114) [ESP_Mesh_Lite_Comm]: msg action add success
I (1120) [ESP_Mesh_Lite_Comm]: Bind Socket 54, port 6364
I (1125) [ESP_Mesh_Lite_Comm]: Bind Socket 55, port 6363
I (1131) [ESP_Mesh_Lite_Comm]: Bind Socket 56, port 6366
I (1137) [ESP_Mesh_Lite_Comm]: Bind Socket 57, port 6365
I (1143) [mesh-lite-espnow]: Start espnow task
I (1148) [ESP_Mesh_Lite_Comm]: msg action add success
I (1155) no_router: Root node
I (1158) Mesh-Lite: Mesh-Lite connecting
I (1162) main_task: Returned from app_main()
I (6817) wifi:new:<11,2>, old:<11,2>, ap:<11,2>, sta:<0,0>, prof:11
I (6818) wifi:station: 3c:71:bf:18:53:08 join, AID=1, bgn, 40D
I (6839) bridge_wifi: STA Connecting to the AP again...
I (6870) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2

I (21163) no_router: System information, channel: 11, layer: 1, self mac: 3c:71:bf:1d:79:98, parent bssid: 00:00:00:00:00:00, parent rssi: -120, free heap: 206560
I (21168) no_router: Child mac: 3c:71:bf:18:53:08
E (31115) [ESP_Mesh_Lite_Comm]: ESP_Mesh_Lite_Comm
E (31115) Mesh-Lite: Mesh-Lite Core is in abnormal state, preparing to reboot the device.

assert failed: esp_mesh_lite_event_ip_changed_handler esp_mesh_lite.c:222 (0)



Backtrace: 0x400812c2:0x3ffbc9c0 0x400887b5:0x3ffbc9e0 0x4008fa0d:0x3ffbca00 0x400d76df:0x3ffbcb20 0x40164719:0x3ffbcb40 0x40164242:0x3ffbcb70 0x4016431d:0x3ffbcbb0 0x4008960d:0x3ffbcbd0




ELF file SHA256: c4d534a92

Rebooting...

ESP_TianSW
Posts: 44
Joined: Wed Sep 23, 2020 12:19 pm

Re: Mesh-Lite: Mesh-Lite Core is in abnormal state

Postby ESP_TianSW » Thu Apr 18, 2024 11:38 am

https://github.com/espressif/esp-mesh-l ... 2054415679

https://github.com/espressif/esp-mesh-l ... ite.c#L222

您好,请先注释这行,这个事件上报对于某些场景还有些问题

suestcxf
Posts: 2
Joined: Thu Apr 18, 2024 1:55 am

Re: Mesh-Lite: Mesh-Lite Core is in abnormal state

Postby suestcxf » Thu Apr 18, 2024 12:54 pm

ok thanks!!!

Who is online

Users browsing this forum: No registered users and 10 guests