Mesh ip_internal_network crash
Posted: 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:
What I am missing? Thanks!
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...