Mesh ip_internal_network crash

edulum
Posts: 3
Joined: Sat Apr 24, 2021 10:12 am

Mesh ip_internal_network crash

Postby edulum » Sat Apr 24, 2021 10:33 am

Hello,

I'm flashing Mesh IP Internal Networking example:

https://github.com/espressif/esp-idf/tr ... al_network

The only change that I make is changing my wifi settings (SSID and Password from SDK config in eclipse). I build and I flash.

This is my output:

Code: Select all

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_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:4
load:0x3fff0034,len:7012
load:0x40078000,len:13212
load:0x40080400,len:4568
entry 0x400806f4
I (28) boot: ESP-IDF v4.2 2nd stage bootloader
I (28) boot: compile time 12:06:05
I (29) boot: chip revision: 1
I (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (38) boot.esp32: SPI Speed      : 40MHz
I (43) boot.esp32: SPI Mode       : DIO
I (47) boot.esp32: SPI Flash Size : 2MB
I (52) boot: Enabling RNG early entropy source...
I (57) boot: Partition Table:
I (61) boot: ## Label            Usage          Type ST Offset   Length
I (68) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (76) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (83) boot:  2 factory          factory app      00 00 00010000 00100000
I (91) boot: End of partition table
I (95) boot_comm: chip revision: 1, min. application chip revision: 0
I (102) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x29524 (169252) map
I (175) esp_image: segment 1: paddr=0x0003954c vaddr=0x3ffb0000 size=0x0393c ( 14652) load
I (182) esp_image: segment 2: paddr=0x0003ce90 vaddr=0x40080000 size=0x00404 (  1028) load
I (183) esp_image: segment 3: paddr=0x0003d29c vaddr=0x40080404 size=0x02d7c ( 11644) load
I (196) esp_image: segment 4: paddr=0x00040020 vaddr=0x400d0020 size=0xbabf0 (764912) map
I (491) esp_image: segment 5: paddr=0x000fac18 vaddr=0x40083180 size=0x1243c ( 74812) load
I (536) boot: Loaded app from partition at offset 0x10000
I (536) boot: Disabling RNG early entropy source...
I (536) cpu_start: Pro cpu up.
I (540) cpu_start: Application information:
I (545) cpu_start: Project name:     ip_internal_network
I (551) cpu_start: App version:      1
I (555) cpu_start: Compile time:     Apr 24 2021 12:08:52
I (561) cpu_start: ELF file SHA256:  bcf960388a88b992...
I (567) cpu_start: ESP-IDF:          v4.2
I (572) cpu_start: Starting app cpu, entry point is 0x400818a8
I (0) cpu_start: App cpu up.
I (582) heap_init: Initializing. RAM available for dynamic allocation:
I (589) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (595) heap_init: At 3FFB9968 len 00026698 (153 KiB): DRAM
I (602) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (608) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (614) heap_init: At 400955BC len 0000AA44 (42 KiB): IRAM
I (621) cpu_start: Pro cpu start user code
I (639) spi_flash: detected chip: generic
I (640) spi_flash: flash io: dio
W (640) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (650) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (756) wifi:wifi driver task: 3ffc227c, prio:23, stack:6656, core=0
I (756) system_api: Base MAC address is not set
I (756) system_api: read default base MAC address from EFUSE
I (776) wifi:wifi firmware version: 1865b55
I (776) wifi:wifi certification version: v7.0
I (776) wifi:config NVS flash: enabled
I (776) wifi:config nano formating: disabled
I (786) wifi:Init data frame dynamic rx buffer num: 32
I (786) wifi:Init management frame dynamic rx buffer num: 32
I (796) wifi:Init management short buffer num: 32
I (796) wifi:Init dynamic tx buffer num: 32
I (806) wifi:Init static rx buffer size: 1600
I (806) wifi:Init static rx buffer num: 10
I (806) wifi:Init dynamic rx buffer num: 32
I (816) wifi_init: rx ba win: 6
I (816) wifi_init: tcpip mbox: 32
I (826) wifi_init: udp mbox: 6
I (826) wifi_init: tcp mbox: 6
I (826) wifi_init: tcp tx win: 5744
I (836) wifi_init: tcp rx win: 5744
I (836) wifi_init: tcp mss: 624
I (846) wifi_init: WiFi IRAM OP enabled
I (846) wifi_init: WiFi RX IRAM OP enabled
I (856) wifi:Set ps type: 0

I (946) phy: phy_version: 4500, 0cd6843, Sep 17 2020, 15:37:07, 0, 0
I (946) wifi:mode : sta (f0:08:d1:ea:e4:8c)
I (946) wifi:mode : sta (f0:08:d1:ea:e4:8c) + softAP (f0:08:d1:ea:e4:8d)
I (956) wifi:Total power save buffer number: 16
I (956) wifi:Init max length of beacon: 752/752
I (956) wifi:Init max length of beacon: 752/752
I (966) mesh: <nvs>read layer:1
I (966) mesh: <nvs>read assoc:0
I (976) wifi:Total power save buffer number: 16
I (1766) wifi:mode : sta (f0:08:d1:ea:e4:8c)
I (1766) mesh: <MESH_NWK_LOOK_FOR_NETWORK>need_scan:0x3, need_scan_router:0x0, look_for_nwk_count:1
I (1776) mesh_main: <MESH_EVENT_MESH_STARTED>ID:77:77:77:77:77:76
I (1776) mesh_main: mesh starts successfully, heap:186232, root not fixed

I (5676) mesh: [S3]myWifi_slw, cc:d4:a1:dd:68:06, channel:6, rssi:-42
I (5676) mesh: find router:[ssid_len:10]myWifi_slw, rssi:-42, f6:d4:a1:dd:68:06(encrypted), new channel:6, old channel:0
I (5686) mesh: [FIND][ch:0]AP:6, otherID:0, MAP:0, idle:0, candidate:0, root:0[f6:d4:a1:dd:68:06]router found
I (5696) mesh: [FIND:1]find a network, channel:6, cfg<channel:0, router:myWifi_slw, 00:00:00:00:00:00>

I (5706) mesh_main: <MESH_EVENT_FIND_NETWORK>new channel:6, router BSSID:00:00:00:00:00:00
I (5706) wifi:mode : sta (f0:08:d1:ea:e4:8c) + softAP (f0:08:d1:ea:e4:8d)
W (5726) wifi:<MESH AP>adjust channel:1, secondary channel offset:1(40U)
I (5726) wifi:Total power save buffer number: 16
W (5736) wifi:<MESH AP>adjust channel:6, secondary channel offset:1(40U)
I (5736) wifi:Total power save buffer number: 16
I (6046) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:1,i:1][f6:d4:a1:dd:68:06]router found<>
I (6046) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (6046) mesh: 1353, vote myself, router rssi:-34 > voted rc_rssi:-120
I (6056) mesh: [SCAN:1/10]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (6376) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (6376) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-38], mine:0, voter:0
I (6386) mesh: [SCAN:2/10]rc[128][f0:08:d1:ea:e4:8d,-38], self[f0:08:d1:ea:e4:8c,-38,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (6696) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (6696) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-38], mine:0, voter:0
I (6706) mesh: [SCAN:3/10]rc[128][f0:08:d1:ea:e4:8d,-38], self[f0:08:d1:ea:e4:8c,-38,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (7026) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (7026) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-36], mine:0, voter:0
I (7026) mesh: [SCAN:4/10]rc[128][f0:08:d1:ea:e4:8d,-36], self[f0:08:d1:ea:e4:8c,-36,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (7346) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (7346) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-35], mine:0, voter:0
I (7356) mesh: [SCAN:5/10]rc[128][f0:08:d1:ea:e4:8d,-35], self[f0:08:d1:ea:e4:8c,-35,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (7676) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (7676) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-40], mine:0, voter:0
I (7676) mesh: [SCAN:6/10]rc[128][f0:08:d1:ea:e4:8d,-40], self[f0:08:d1:ea:e4:8c,-40,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (7996) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (7996) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-39], mine:0, voter:0
I (8006) mesh: [SCAN:7/10]rc[128][f0:08:d1:ea:e4:8d,-39], self[f0:08:d1:ea:e4:8c,-39,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (8316) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (8326) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-37], mine:0, voter:0
I (8326) mesh: [SCAN:8/10]rc[128][f0:08:d1:ea:e4:8d,-37], self[f0:08:d1:ea:e4:8c,-37,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (8646) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (8646) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-39], mine:0, voter:0
I (8656) mesh: [SCAN:9/10]rc[128][f0:08:d1:ea:e4:8d,-39], self[f0:08:d1:ea:e4:8c,-39,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (8966) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (8966) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-38], mine:0, voter:0
I (8976) mesh: [SCAN:10/13+x+]rc[128][f0:08:d1:ea:e4:8d,-38], self[f0:08:d1:ea:e4:8c,-38,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (9296) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (9296) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-35], mine:0, voter:0
I (9306) mesh: [SCAN:11/13+x+]rc[128][f0:08:d1:ea:e4:8d,-35], self[f0:08:d1:ea:e4:8c,-35,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (9616) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (9616) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-38], mine:0, voter:0
I (9626) mesh: [SCAN:12/13+x+]rc[128][f0:08:d1:ea:e4:8d,-38], self[f0:08:d1:ea:e4:8c,-38,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (9946) mesh: [SCAN][ch:6]AP:3, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][f6:d4:a1:dd:68:06]router found<>
I (9946) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-37], mine:0, voter:0
I (9956) mesh: [SCAN:13/13+x+]rc[128][f0:08:d1:ea:e4:8d,-37], self[f0:08:d1:ea:e4:8c,-37,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (9976) mesh: <nvs>write layer:0
I (9976) mesh: [DONE]connect to router:myWifi_slw, channel:6, rssi:-37, f6:d4:a1:dd:68:06[layer:0, assoc:0], my_vote_num:1/voter_num:1, rc[f0:08:d1:ea:e4:8d/-37/1]
I (10106) wifi:new:<6,1>, old:<6,1>, ap:<6,1>, sta:<6,0>, prof:6
I (10106) wifi:state: init -> auth (b0)
I (10116) wifi:state: auth -> assoc (0)
I (10116) wifi:state: assoc -> run (10)
I (11136) wifi:connected with myWifi_slw, aid = 4, channel 6, BW20, bssid = cc:d4:a1:dd:68:06
I (11136) wifi:security: WPA2-PSK, phy: bgn, rssi: -36
I (11146) wifi:pm start, type: 0

I (11146) mesh: [scan]new scanning time:600ms, beacon interval:300ms
I (11156) mesh: <nvs>write layer:1
I (11156) mesh: <flush>upstream packets, connections(max):6, waiting:0, upQ:0
I (11156) mesh_main: <MESH_EVENT_PARENT_CONNECTED>layer:0-->1, parent:f6:d4:a1:dd:68:06<ROOT>, ID:77:77:77:77:77:76
I (11156) mesh: <flush>root
I (11166) mesh_netif: Already wifi station, no need to do anything
I (11176) wifi:I (11176) mesh: [TXQ]<max:32>up(0, be:0), down(0, be:0), mgmt:0, xon(req:0, rsp:0), bcast:0, wnd(0, parent:00:00:00:00:00:00)
AP's beacon interval = 102400 us, DTIM period = 3
I (11186) mesh: [RXQ]<max:32 = cfg:32 + extra:0>self:0, <max:32 = cfg:32 + extra:0>tods:0
I (11176) mesh_main: <MESH_EVENT_TODS_REACHABLE>state:0
I (11206) mesh_main: <MESH_EVENT_ROOT_ADDRESS>root address:f0:08:d1:ea:e4:8d
I (12746) esp_netif_handlers: sta ip: 192.168.1.122, mask: 255.255.255.0, gw: 192.168.1.1
I (12746) mesh_main: <IP_EVENT_STA_GOT_IP>IP:192.168.1.122
Guru Meditation Error: Core  1 panic'ed (InstrFetchProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x00000000  PS      : 0x00060a30  A0      : 0x800f6a42  A1      : 0x3ffbe950
A2      : 0x3ffbab24  A3      : 0x3ffbae6a  A4      : 0x0000002a  A5      : 0x3ffbae50
A6      : 0x3ffbdd54  A7      : 0x000000c0  A8      : 0x80186de4  A9      : 0x0000002a
A10     : 0x3ffbacc8  A11     : 0x3ffbae6a  A12     : 0x0000002a  A13     : 0x3ffbae50
A14     : 0x00000000  A15     : 0x40082800  SAR     : 0x00000010  EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff

Backtrace:0xfffffffd:0x3ffbe950 |<-CORRUPTED


ELF file SHA256: bcf960388a88b992

Rebooting...
What I am missing? Thanks!

edulum
Posts: 3
Joined: Sat Apr 24, 2021 10:12 am

Re: Mesh ip_internal_network crash

Postby edulum » Sun Apr 25, 2021 3:14 pm

Got some extra info.

If I add a log line to check what dns is taking in ip_event_handler (mesh_main.c)

Code: Select all

void ip_event_handler(void *arg, esp_event_base_t event_base,
                      int32_t event_id, void *event_data)
{
    ip_event_got_ip_t *event = (ip_event_got_ip_t *) event_data;
    ESP_LOGI(MESH_TAG, "<IP_EVENT_STA_GOT_IP>IP:" IPSTR, IP2STR(&event->ip_info.ip));
    s_current_ip.addr = event->ip_info.ip.addr;

#if !CONFIG_MESH_USE_GLOBAL_DNS_IP
    esp_netif_t *netif = event->esp_netif;
    esp_netif_dns_info_t dns;

    ESP_LOGI(MESH_TAG, "<IP_EVENT_STA_GOT_DNS>IP:" IPSTR, IP2STR(&dns.ip.u_addr.ip4));
    ESP_ERROR_CHECK(esp_netif_get_dns_info(netif, ESP_NETIF_DNS_MAIN, &dns));

    mesh_netif_start_root_ap(esp_mesh_is_root(), dns.ip.u_addr.ip4.addr);
#endif
    esp_mesh_comm_mqtt_task_start();
}
This is what i get:

Code: Select all

I (20186) mesh_main: <IP_EVENT_STA_GOT_DNS>IP:192.0.0.0
After that, crashes in: mesh_netif_start_root_ap(esp_mesh_is_root(), dns.ip.u_addr.ip4.addr);

My router is 192.168.1.1. My dns is 192.168.1.80... I don't know what Global DNS should I use. I've tried enabling Use global DNS IP without luck.

Full output:

Code: Select all

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:4
load:0x3fff0034,len:7016
load:0x40078000,len:13212
load:0x40080400,len:4568
entry 0x400806f4
I (29) boot: ESP-IDF v4.2-dirty 2nd stage bootloader
I (29) boot: compile time 16:34:57
I (29) boot: chip revision: 1
I (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (40) boot.esp32: SPI Speed      : 40MHz
I (44) boot.esp32: SPI Mode       : DIO
I (48) boot.esp32: SPI Flash Size : 2MB
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) boot_comm: chip revision: 1, min. application chip revision: 0
I (103) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x216d0 (136912) map
I (164) esp_image: segment 1: paddr=0x000316f8 vaddr=0x3ffb0000 size=0x038d0 ( 14544) load
I (170) esp_image: segment 2: paddr=0x00034fd0 vaddr=0x40080000 size=0x00404 (  1028) load
I (171) esp_image: segment 3: paddr=0x000353dc vaddr=0x40080404 size=0x0ac3c ( 44092) load
I (199) esp_image: segment 4: paddr=0x00040020 vaddr=0x400d0020 size=0x9e11c (647452) map
I (446) esp_image: segment 5: paddr=0x000de144 vaddr=0x4008b040 size=0x0a57c ( 42364) load
I (476) boot: Loaded app from partition at offset 0x10000
I (477) boot: Disabling RNG early entropy source...
I (477) cpu_start: Pro cpu up.
I (481) cpu_start: Application information:
I (485) cpu_start: Project name:     ip_internal_network
I (491) cpu_start: App version:      1
I (496) cpu_start: Compile time:     Apr 25 2021 16:52:24
I (502) cpu_start: ELF file SHA256:  e8e5a63bb3547e49...
I (508) cpu_start: ESP-IDF:          v4.2-dirty
I (513) cpu_start: Starting app cpu, entry point is 0x400818a8
I (505) cpu_start: App cpu up.
I (524) heap_init: Initializing. RAM available for dynamic allocation:
I (531) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (537) heap_init: At 3FFB96B8 len 00026948 (154 KiB): DRAM
I (543) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (549) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (556) heap_init: At 400955BC len 0000AA44 (42 KiB): IRAM
I (562) cpu_start: Pro cpu start user code
I (580) spi_flash: detected chip: generic
I (581) spi_flash: flash io: dio
W (581) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (591) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (697) wifi:wifi driver task: 3ffc1fcc, prio:23, stack:6656, core=0
I (697) system_api: Base MAC address is not set
I (697) system_api: read default base MAC address from EFUSE
I (717) wifi:wifi firmware version: 1865b55
I (717) wifi:wifi certification version: v7.0
I (717) wifi:config NVS flash: enabled
I (717) wifi:config nano formating: disabled
I (727) wifi:Init data frame dynamic rx buffer num: 32
I (727) wifi:Init management frame dynamic rx buffer num: 32
I (737) wifi:Init management short buffer num: 32
I (737) wifi:Init dynamic tx buffer num: 32
I (747) wifi:Init static rx buffer size: 1600
I (747) wifi:Init static rx buffer num: 10
I (757) wifi:Init dynamic rx buffer num: 32
I (757) wifi_init: rx ba win: 6
I (757) wifi_init: tcpip mbox: 32
I (767) wifi_init: udp mbox: 6
I (767) wifi_init: tcp mbox: 6
I (767) wifi_init: tcp tx win: 5744
I (777) wifi_init: tcp rx win: 5744
I (777) wifi_init: tcp mss: 624
I (787) wifi_init: WiFi IRAM OP enabled
I (787) wifi_init: WiFi RX IRAM OP enabled
I (797) wifi:Set ps type: 0

I (887) phy: phy_version: 4500, 0cd6843, Sep 17 2020, 15:37:07, 0, 0
I (897) wifi:mode : sta (f0:08:d1:ea:e4:8c) + softAP (f0:08:d1:ea:e4:8d)
I (897) wifi:Total power save buffer number: 16
I (897) wifi:Init max length of beacon: 752/752
I (897) wifi:Init max length of beacon: 752/752
I (907) mesh: <nvs>read layer:1
I (907) mesh: <nvs>read assoc:0
I (927) wifi:Total power save buffer number: 16
I (1707) wifi:mode : sta (f0:08:d1:ea:e4:8c)
I (1707) mesh: <MESH_NWK_LOOK_FOR_NETWORK>need_scan:0x3, need_scan_router:0x0, look_for_nwk_count:1
I (1707) mesh_main: <MESH_EVENT_MESH_STARTED>ID:77:77:77:77:77:76
I (1717) mesh_main: mesh starts successfully, heap:186904, root not fixed

I (5617) mesh: [S3]myWifi_slw, cc:d4:a1:dd:68:06, channel:11, rssi:-36
I (5617) mesh: find router:[ssid_len:10]myWifi_slw, rssi:-36, cc:d4:a1:dd:68:06(encrypted), new channel:11, old channel:0
I (5627) mesh: [FIND][ch:0]AP:3, otherID:0, MAP:0, idle:0, candidate:0, root:0[cc:d4:a1:dd:68:06]router found
I (5637) mesh: [FIND:1]find a network, channel:11, cfg<channel:0, router:myWifi_slw, 00:00:00:00:00:00>

I (5647) mesh_main: <MESH_EVENT_FIND_NETWORK>new channel:11, router BSSID:00:00:00:00:00:00
I (5647) wifi:mode : sta (f0:08:d1:ea:e4:8c) + softAP (f0:08:d1:ea:e4:8d)
W (5657) wifi:<MESH AP>adjust channel:1, secondary channel offset:1(40U)
I (5667) wifi:Total power save buffer number: 16
W (5677) wifi:<MESH AP>adjust channel:11, secondary channel offset:2(40D)
I (5677) wifi:Total power save buffer number: 16
I (5987) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:1,i:1][cc:d4:a1:dd:68:06]router found<>
I (5987) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (5987) mesh: 1353, vote myself, router rssi:-34 > voted rc_rssi:-120
I (5997) mesh: [SCAN:1/10]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (6317) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (6317) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (6317) mesh: [SCAN:2/10]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (6637) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (6637) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-35], mine:0, voter:0
I (6647) mesh: [SCAN:3/10]rc[128][f0:08:d1:ea:e4:8d,-35], self[f0:08:d1:ea:e4:8c,-35,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (6967) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (6967) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (6967) mesh: [SCAN:4/10]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (7287) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (7287) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (7297) mesh: [SCAN:5/10]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (7607) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (7617) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (7617) mesh: [SCAN:6/10]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (7937) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (7937) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-33], mine:0, voter:0
I (7947) mesh: [SCAN:7/10]rc[128][f0:08:d1:ea:e4:8d,-33], self[f0:08:d1:ea:e4:8c,-33,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (8257) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (8257) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-35], mine:0, voter:0
I (8267) mesh: [SCAN:8/10]rc[128][f0:08:d1:ea:e4:8d,-35], self[f0:08:d1:ea:e4:8c,-35,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (8587) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (8587) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (8587) mesh: [SCAN:9/10]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (8907) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (8907) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (8917) mesh: [SCAN:10/13+x+]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (9237) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (9237) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-33], mine:0, voter:0
I (9237) mesh: [SCAN:11/13+x+]rc[128][f0:08:d1:ea:e4:8d,-33], self[f0:08:d1:ea:e4:8c,-33,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (9557) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (9557) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-34], mine:0, voter:0
I (9567) mesh: [SCAN:12/13+x+]rc[128][f0:08:d1:ea:e4:8d,-34], self[f0:08:d1:ea:e4:8c,-34,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (9887) mesh: [SCAN][ch:11]AP:2, other(ID:0, RD:0), MAP:0, idle:0, candidate:1, root:0, topMAP:0[c:0,i:1][cc:d4:a1:dd:68:06]router found<>
I (9887) mesh: 1315[SCAN]init rc[f0:08:d1:ea:e4:8d,-33], mine:0, voter:0
I (9887) mesh: [SCAN:13/13+x+]rc[128][f0:08:d1:ea:e4:8d,-33], self[f0:08:d1:ea:e4:8c,-33,reason:0,votes:1,idle][mine:1,voter:1(1.00)percent:1.00][128,1,f0:08:d1:ea:e4:8d]

I (9907) mesh: <nvs>write layer:0
I (9907) mesh: [DONE]connect to router:myWifi_slw, channel:11, rssi:-33, cc:d4:a1:dd:68:06[layer:0, assoc:0], my_vote_num:1/voter_num:1, rc[f0:08:d1:ea:e4:8d/-33/1]
I (10047) wifi:new:<11,2>, old:<11,2>, ap:<11,2>, sta:<11,0>, prof:11
I (10047) wifi:state: init -> auth (b0)
I (11047) wifi:state: auth -> init (200)
I (11047) wifi:new:<11,0>, old:<11,2>, ap:<11,2>, sta:<11,0>, prof:11
I (11047) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:2
I (11047) mesh: [wifi]disconnected reason:2(auth expire), continuous:1/max:12, root, vote(,stopped)<><>
I (13387) mesh: [wifi]disconnected reason:205(), continuous:2/max:12, root, vote(,stopped)<><>
I (13397) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason:205
I (13517) wifi:new:<11,2>, old:<11,0>, ap:<11,2>, sta:<11,0>, prof:11
I (13517) wifi:state: init -> auth (b0)
I (13517) wifi:state: auth -> assoc (0)
I (13527) wifi:state: assoc -> run (10)
I (13537) wifi:connected with myWifi_slw, aid = 5, channel 11, BW20, bssid = cc:d4:a1:dd:68:06
I (13547) wifi:security: WPA2-PSK, phy: bgn, rssi: -34
I (13547) wifi:pm start, type: 0

I (13547) wifi:AP's beacon interval = 102400 us, DTIM period = 3
I (13557) mesh: [scan]new scanning time:600ms, beacon interval:300ms
I (13567) mesh: <nvs>write layer:1
I (13567) mesh: <flush>upstream packets, connections(max):6, waiting:0, upQ:0
I (13567) mesh_main: <MESH_EVENT_PARENT_CONNECTED>layer:0-->1, parent:cc:d4:a1:dd:68:06<ROOT>, ID:77:77:77:77:77:76
I (13567) mesh: <flush>root
I (13577) Edu: Is root: 1
I (13587) mesh: [TXQ]<max:32>up(0, be:0), down(0, be:0), mgmt:0, xon(req:0, rsp:0), bcast:0, wnd(0, parent:00:00:00:00:00:00)
I (13587) mesh_netif: Already wifi station, no need to do anything
I (13597) mesh: [RXQ]<max:32 = cfg:32 + extra:0>self:0, <max:32 = cfg:32 + extra:0>tods:0
I (13607) mesh_main: <MESH_EVENT_TODS_REACHABLE>state:0
I (13617) mesh_main: <MESH_EVENT_ROOT_ADDRESS>root address:f0:08:d1:ea:e4:8d
I (14687) esp_netif_handlers: sta ip: 192.168.1.122, mask: 255.255.255.0, gw: 192.168.1.1
I (14687) mesh_main: <IP_EVENT_STA_GOT_IP>IP:192.168.1.122
I (14687) mesh_main: <IP_EVENT_STA_GOT_DNS>IP:192.0.0.0
Guru Meditation Error: Core  1 panic'ed (InstrFetchProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x00000000  PS      : 0x00060630  A0      : 0x800f1522  A1      : 0x3ffbe6a0
A2      : 0x3ffba91c  A3      : 0x3ffbad2a  A4      : 0x0000002a  A5      : 0x3ffbad10
A6      : 0x3ffbdaa0  A7      : 0x000000c0  A8      : 0x8016ba38  A9      : 0x0000002a
A10     : 0x3ffba1b8  A11     : 0x3ffbad2a  A12     : 0x0000002a  A13     : 0x3ffbad10
A14     : 0x00000000  A15     : 0x40082800  SAR     : 0x00000010  EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff

Backtrace:0xfffffffd:0x3ffbe6a0 |<-CORRUPTED


ELF file SHA256: e8e5a63bb3547e49

Rebooting...

Who is online

Users browsing this forum: Google [Bot] and 107 guests