ESP32-WROOM-E3的HelloBug 开发板。编译烧录的master分支V4.2.2中的blufi例程。编译烧录成功,程序也正常运行,但只要我用官方espblufi配网软件配网就会导致板子重启,不知道什么问题。从log来看是queue.c中的configASSERT( pxQueue );这。
- I (910) phy: phy_version: 4182, f1ba940, Jun 4 2020, 19:40:07, 0, 0
- I (910) wifi:mode : sta (a8:03:2a:e6:d3:00)
- I (910) BTDM_INIT: BT controller compile version [c293075]
- I (1240) BLUFI_EXAMPLE: BD ADDR: a8:03:2a:e6:d3:02
- I (1240) BLUFI_EXAMPLE: BLUFI VERSION 0102
- I (1250) BLUFI_EXAMPLE: BLUFI init finish
- I (22150) BLUFI_EXAMPLE: BLUFI ble connect
-
- D:/ESP32/esp-idf-v4.2/components/freertos/queue.c:1447 (xQueueGenericReceive)- assert failed!
-
- abort() was called at PC 0x40090f2d on core 0
- 0x40090f2d: xQueueGenericReceive at D:/ESP32/esp-idf-v4.2/components/freertos/queue.c:1447 (discriminator 1)
-
-
- Backtrace:0x4008db27:0x3ffd7a60 0x4008e1c5:0x3ffd7a80 0x40094ea2:0x3ffd7aa0 0x40090f2d:0x3ffd7b10 0x400eef0d:0x3ffd7b50 0x400f9470:0x3ffd7b70 0x400f0a09:0x3ffd7b90 0x400f0890:0x3ffd7bd0 0x400f098e:0x3ffd7c00 0x400edeb6:0x3ffd7c20 0x400eefc0:0x3ffd7c40 0x4008e1cd:0x3ffd7c60
- 0x4008db27: panic_abort at D:/ESP32/esp-idf-v4.2/components/esp_system/panic.c:330
-
- 0x4008e1c5: esp_system_abort at D:/ESP32/esp-idf-v4.2/components/esp_system/system_api.c:106
-
- 0x40094ea2: abort at D:/ESP32/esp-idf-v4.2/components/newlib/abort.c:46
-
- 0x40090f2d: xQueueGenericReceive at D:/ESP32/esp-idf-v4.2/components/freertos/queue.c:1447 (discriminator 1)
-
- 0x400eef0d: osi_mutex_lock at D:/ESP32/esp-idf-v4.2/components/bt/common/osi/mutex.c:49
-
- 0x400f9470: btc_config_lock at D:/ESP32/esp-idf-v4.2/components/bt/host/bluedroid/btc/core/btc_config.c:333
-
- 0x400f0a09: btc_storage_remove_bonded_device at D:/ESP32/esp-idf-v4.2/components/bt/host/bluedroid/btc/core/btc_storage.c:158
-
- 0x400f0890: btc_dm_link_up_evt at D:/ESP32/esp-idf-v4.2/components/bt/host/bluedroid/btc/core/btc_dm.c:315
-
- 0x400f098e: btc_dm_sec_cb_handler at D:/ESP32/esp-idf-v4.2/components/bt/host/bluedroid/btc/core/btc_dm.c:702
-
- 0x400edeb6: btc_thread_handler at D:/ESP32/esp-idf-v4.2/components/bt/common/btc/core/btc_task.c:158
-
- 0x400eefc0: osi_thread_run at D:/ESP32/esp-idf-v4.2/components/bt/common/osi/thread.c:68
-
- 0x4008e1cd: vPortTaskWrapper at D:/ESP32/esp-idf-v4.2/components/freertos/xtensa/port.c:143
-
-
-
- ELF file SHA256: 1142e5d493fd9cf0
- Rebooting...
- ets Jul 29 2019 12:21:46
- 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:7084
- load:0x40078000,len:13696
- load:0x40080400,len:4000
- 0x40080400: _init at ??:?
- entry 0x40080688
- I (29) boot: ESP-IDF v4.2-dev-1995-g636b964c8 2nd stage bootloader
- I (29) boot: compile time 14:19:25
- I (29) boot: chip revision: 3
- I (34) boot_comm: chip revision: 3, 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 : 2MB
- 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: 3, min. application chip revision: 0
- I (104) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x24258 (148056) map
- I (170) esp_image: segment 1: paddr=0x00034280 vaddr=0x3ffbdb60 size=0x04098 ( 16536) load
- I (177) esp_image: segment 2: paddr=0x00038320 vaddr=0x40080000 size=0x00404 ( 1028) load
- 0x40080000: _WindowOverflow4 at D:/ESP32/esp-idf-v4.2/components/freertos/xtensa/xtensa_vectors.S:1730
- I (177) esp_image: segment 3: paddr=0x0003872c vaddr=0x40080404 size=0x078ec ( 30956) load
- I (199) esp_image: segment 4: paddr=0x00040020 vaddr=0x400d0020 size=0xa93c4 (693188) map
- 0x400d0020: _stext at ??:?
- I (463) esp_image: segment 5: paddr=0x000e93ec vaddr=0x40087cf0 size=0x15474 ( 87156) load
- 0x40087cf0: r_rwbt_isr at ??:?
- I (516) boot: Loaded app from partition at offset 0x10000
- I (517) boot: Disabling RNG early entropy source...
- I (517) cpu_start: Pro cpu up.
- I (521) cpu_start: Application information:
- I (525) cpu_start: Project name: blufi_demo
- I (531) cpu_start: App version: 1
- I (535) cpu_start: Compile time: Nov 1 2021 14:19:10
- I (541) cpu_start: ELF file SHA256: 1142e5d493fd9cf0...
- I (547) cpu_start: ESP-IDF: v4.2-dev-1995-g636b964c8
- I (554) cpu_start: Starting app cpu, entry point is 0x400818d8
- 0x400818d8: call_start_cpu1 at D:/ESP32/esp-idf-v4.2/components/esp32/cpu_start.c:282
- I (546) cpu_start: App cpu up.
- I (564) heap_init: Initializing. RAM available for dynamic allocation:
- I (571) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
- I (577) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
- I (583) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
- I (589) heap_init: At 3FFCC6C8 len 00013938 (78 KiB): DRAM
- I (596) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
- I (602) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
- I (608) heap_init: At 4009D164 len 00002E9C (11 KiB): IRAM
- I (614) cpu_start: Pro cpu start user code
- I (633) spi_flash: detected chip: generic
- I (634) spi_flash: flash io: dio
- W (634) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
- I (644) cpu_start: Starting scheduler on PRO CPU.
- I (0) cpu_start: Starting scheduler on APP CPU.
- I (750) wifi:wifi driver task: 3ffd124c, prio:23, stack:6656, core=0
- I (750) system_api: Base MAC address is not set
- I (750) system_api: read default base MAC address from EFUSE
- I (770) wifi:wifi firmware version: 9f3395e
- I (770) wifi:wifi certification version: v7.0
- I (770) wifi:config NVS flash: enabled
- I (770) wifi:config nano formating: disabled
- I (780) wifi:Init data frame dynamic rx buffer num: 32
- I (780) wifi:Init management frame dynamic rx buffer num: 32
- I (790) wifi:Init management short buffer num: 32
- I (790) wifi:Init dynamic tx buffer num: 32
- I (800) wifi:Init static rx buffer size: 1600
- I (800) wifi:Init static rx buffer num: 10
- I (810) wifi:Init dynamic rx buffer num: 32
- I (910) phy: phy_version: 4182, f1ba940, Jun 4 2020, 19:40:07, 0, 0
- I (910) wifi:mode : sta (a8:03:2a:e6:d3:00)
- I (920) BTDM_INIT: BT controller compile version [c293075]
- I (1240) BLUFI_EXAMPLE: BD ADDR: a8:03:2a:e6:d3:02
- I (1250) BLUFI_EXAMPLE: BLUFI VERSION 0102
- I (1250) BLUFI_EXAMPLE: BLUFI init finish
0
|
1个回答
|
|
|