配置ble mesh保存节点信息时初始化partition失败

lqzero
Posts: 13
Joined: Mon Jul 22, 2019 2:22 am

配置ble mesh保存节点信息时初始化partition失败

Postby lqzero » Tue Oct 20, 2020 9:56 am

I (29) boot: ESP-IDF v4.3-dev-1523-gd9ecc46-dirty 2nd stage bootloader
I (29) boot: compile time 17:38:27
I (30) boot: chip revision: 1
I (34) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (41) boot.esp32: SPI Speed : 40MHz
I (45) boot.esp32: SPI Mode : DIO
I (50) boot.esp32: SPI Flash Size : 4MB
I (54) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (63) boot: ## Label Usage Type ST Offset Length
I (71) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (86) boot: 2 factory factory app 00 00 00010000 00100000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 1, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x2d3b8 (185272) map
I (184) esp_image: segment 1: paddr=0x0003d3e0 vaddr=0x3ffbdb60 size=0x02c38 ( 11320) load
I (189) esp_image: segment 2: paddr=0x00040020 vaddr=0x400d0020 size=0xa5ec0 (679616) map
0x400d0020: _stext at ??:?

I (449) esp_image: segment 3: paddr=0x000e5ee8 vaddr=0x3ffc0798 size=0x019c8 ( 6600) load
I (452) esp_image: segment 4: paddr=0x000e78b8 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _WindowOverflow4 at /home/ccc/esp32/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730

I (456) esp_image: segment 5: paddr=0x000e7cc0 vaddr=0x40080400 size=0x15214 ( 86548) load
I (515) boot: Loaded app from partition at offset 0x10000
I (515) boot: Disabling RNG early entropy source...
I (526) cpu_start: Pro cpu up.
I (526) cpu_start: Starting app cpu, entry point is 0x40081020
0x40081020: call_start_cpu1 at /home/ccc/esp32/esp-idf/components/esp_system/port/cpu_start.c:124

I (0) cpu_start: App cpu up.
I (543) cpu_start: Pro cpu start user code
I (543) cpu_start: cpu freq: 160000000
I (543) cpu_start: Application information:
I (547) cpu_start: Project name: onoff_server
I (553) cpu_start: App version: v4.3-dev-1523-gd9ecc46-dirty
I (560) cpu_start: Compile time: Oct 20 2020 17:38:36
I (566) cpu_start: ELF file SHA256: 2b83b5ebb165e77d...
I (572) cpu_start: ESP-IDF: v4.3-dev-1523-gd9ecc46-dirty
I (579) heap_init: Initializing. RAM available for dynamic allocation:
I (586) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (592) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (598) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (604) heap_init: At 3FFC93E8 len 00016C18 (91 KiB): DRAM
I (610) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (616) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (623) heap_init: At 40095614 len 0000A9EC (42 KiB): IRAM
I (630) spi_flash: detected chip: generic
I (634) spi_flash: flash io: dio
I (639) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (649) EXAMPLE: Initializing...
I (649) gpio: GPIO[0]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (659) gpio: GPIO[2]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (669) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (719) BTDM_INIT: BT controller compile version [b73c48e]
I (719) system_api: Base MAC address is not set
I (719) system_api: read default base MAC address from EFUSE
I (819) phy: phy_version: 4500, 0cd6843, Sep 17 2020, 15:37:07, 0, 0
E (1179) BLE_MESH: Failed to init mesh partition, name ble_mesh, err 261
I (1179) EXAMPLE: ESP_BLE_MESH_PROV_REGISTER_COMP_EVT, err_code 0
E (1179) BLE_MESH: Failed to set mesh/role data (err 4359)
I (1199) EXAMPLE: ESP_BLE_MESH_NODE_PROV_ENABLE_COMP_EVT, err_code 0
I (1199) EXAMPLE: BLE Mesh Node initialized

现在无法正常保存节点信息,请问该如何解决。
Attachments
20201020174752.png
mesh 配置信息
20201020174752.png (154.86 KiB) Viewed 166 times

esp_liu
Posts: 35
Joined: Wed Nov 28, 2018 4:12 am

Re: 配置ble mesh保存节点信息时初始化partition失败

Postby esp_liu » Wed Oct 21, 2020 5:13 am

lqzero wrote:
Tue Oct 20, 2020 9:56 am
I (29) boot: ESP-IDF v4.3-dev-1523-gd9ecc46-dirty 2nd stage bootloader
I (29) boot: compile time 17:38:27
I (30) boot: chip revision: 1
I (34) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (41) boot.esp32: SPI Speed : 40MHz
I (45) boot.esp32: SPI Mode : DIO
I (50) boot.esp32: SPI Flash Size : 4MB
I (54) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (63) boot: ## Label Usage Type ST Offset Length
I (71) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (86) boot: 2 factory factory app 00 00 00010000 00100000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 1, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x2d3b8 (185272) map
I (184) esp_image: segment 1: paddr=0x0003d3e0 vaddr=0x3ffbdb60 size=0x02c38 ( 11320) load
I (189) esp_image: segment 2: paddr=0x00040020 vaddr=0x400d0020 size=0xa5ec0 (679616) map
0x400d0020: _stext at ??:?

I (449) esp_image: segment 3: paddr=0x000e5ee8 vaddr=0x3ffc0798 size=0x019c8 ( 6600) load
I (452) esp_image: segment 4: paddr=0x000e78b8 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _WindowOverflow4 at /home/ccc/esp32/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730

I (456) esp_image: segment 5: paddr=0x000e7cc0 vaddr=0x40080400 size=0x15214 ( 86548) load
I (515) boot: Loaded app from partition at offset 0x10000
I (515) boot: Disabling RNG early entropy source...
I (526) cpu_start: Pro cpu up.
I (526) cpu_start: Starting app cpu, entry point is 0x40081020
0x40081020: call_start_cpu1 at /home/ccc/esp32/esp-idf/components/esp_system/port/cpu_start.c:124

I (0) cpu_start: App cpu up.
I (543) cpu_start: Pro cpu start user code
I (543) cpu_start: cpu freq: 160000000
I (543) cpu_start: Application information:
I (547) cpu_start: Project name: onoff_server
I (553) cpu_start: App version: v4.3-dev-1523-gd9ecc46-dirty
I (560) cpu_start: Compile time: Oct 20 2020 17:38:36
I (566) cpu_start: ELF file SHA256: 2b83b5ebb165e77d...
I (572) cpu_start: ESP-IDF: v4.3-dev-1523-gd9ecc46-dirty
I (579) heap_init: Initializing. RAM available for dynamic allocation:
I (586) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (592) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (598) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (604) heap_init: At 3FFC93E8 len 00016C18 (91 KiB): DRAM
I (610) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (616) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (623) heap_init: At 40095614 len 0000A9EC (42 KiB): IRAM
I (630) spi_flash: detected chip: generic
I (634) spi_flash: flash io: dio
I (639) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (649) EXAMPLE: Initializing...
I (649) gpio: GPIO[0]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (659) gpio: GPIO[2]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (669) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (719) BTDM_INIT: BT controller compile version [b73c48e]
I (719) system_api: Base MAC address is not set
I (719) system_api: read default base MAC address from EFUSE
I (819) phy: phy_version: 4500, 0cd6843, Sep 17 2020, 15:37:07, 0, 0
E (1179) BLE_MESH: Failed to init mesh partition, name ble_mesh, err 261
I (1179) EXAMPLE: ESP_BLE_MESH_PROV_REGISTER_COMP_EVT, err_code 0
E (1179) BLE_MESH: Failed to set mesh/role data (err 4359)
I (1199) EXAMPLE: ESP_BLE_MESH_NODE_PROV_ENABLE_COMP_EVT, err_code 0
I (1199) EXAMPLE: BLE Mesh Node initialized

现在无法正常保存节点信息,请问该如何解决。
Hi,

If the option "Use a specific NVS partition for BLE Mesh" is choosn, please make sure the partition.csv file
in the example has contained a specific partition named "ble_mesh".

Thanks.

Who is online

Users browsing this forum: No registered users and 6 guests