Hello.
Maybe anyone could help me. I am studying ESP Matter, followed the manual described here https://docs.espressif.com/projects/esp ... oping.html. After flashing the device, I encountered a problem: the monitor log does not display the Qr-code and Node Id. For this reason, I cannot connect to the device from app. I use ESP32_Devkitc_v4. I studied the entire configuration menu, but did not find anything that would respond to the Qr-code output.
Here I will give the output in the console after running ESP32:
ivan@Ubunut-22:~/workspace/esp-matter/examples/light_switch$ idf.py flash monitor
…
Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory /home/ivan/workspace/esp-matter/examples/light_switch
Executing "/home/ivan/.espressif/python_env/idf5.2_py3.10_env/bin/python /home/ivan/workspace/esp-idf/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 /home/ivan/workspace/esp-matter/examples/light_switch/build/light_switch.elf -m '/home/ivan/.espressif/python_env/idf5.2_py3.10_env/bin/python' '/home/ivan/workspace/esp-idf/tools/idf.py'"...
--- esp-idf-monitor 1.5.0 on /dev/ttyUSB0 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
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:7172
load:0x40078000,len:15540
load:0x40080400,len:4
--- 0x40080400: _init at ??:?
ho 8 tail 4 room 4
load:0x40080404,len:3904
entry 0x40080640
I (31) boot: ESP-IDF v5.2.1 2nd stage bootloader
I (31) boot: compile time Sep 30 2024 14:20:32
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v1.0
I (39) boot.esp32: SPI Speed : 40MHz
I (43) boot.esp32: SPI Mode : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (52) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (61) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 esp_secure_cert unknown 3f 06 0000d000 00002000
I (76) boot: 1 nvs WiFi data 01 02 00010000 0000c000
I (84) boot: 2 nvs_keys NVS keys 01 04 0001c000 00001000
I (91) boot: 3 otadata OTA data 01 00 0001d000 00002000
I (98) boot: 4 phy_init RF data 01 01 0001f000 00001000
I (106) boot: 5 ota_0 OTA app 00 10 00020000 001e0000
I (113) boot: 6 ota_1 OTA app 00 11 00200000 001e0000
I (121) boot: 7 fctry WiFi data 01 02 003e0000 00006000
I (129) boot: End of partition table
I (133) boot: No factory image, trying OTA 0
I (138) esp_image: segment 0: paddr=00020020 vaddr=3f400020 size=3c530h (247088) map
I (231) esp_image: segment 1: paddr=0005c558 vaddr=3ff80000 size=00004h ( 4) load
I (231) esp_image: segment 2: paddr=0005c564 vaddr=3ffbdb60 size=03ab4h ( 15028) load
I (242) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=112abch (1125052) map
I (631) esp_image: segment 4: paddr=00172ae4 vaddr=3ffc1614 size=022ach ( 8876) load
I (634) esp_image: segment 5: paddr=00174d98 vaddr=40080000 size=1f4f4h (128244) load
I (703) boot: Loaded app from partition at offset 0x20000
I (742) boot: Set actual ota_seq=1 in otadata[0]
I (742) boot: Disabling RNG early entropy source...
I (753) cpu_start: Multicore app
I (762) cpu_start: Pro cpu start user code
I (762) cpu_start: cpu freq: 160000000 Hz
I (762) cpu_start: Application information:
I (765) cpu_start: Project name: light_switch
I (770) cpu_start: App version: 1.0
I (775) cpu_start: Compile time: Sep 30 2024 14:34:09
I (781) cpu_start: ELF file SHA256: 592da9fb3...
I (786) cpu_start: ESP-IDF: v5.2.1
I (791) cpu_start: Min chip rev: v0.0
I (796) cpu_start: Max chip rev: v3.99
I (801) cpu_start: Chip rev: v1.0
I (806) heap_init: Initializing. RAM available for dynamic allocation:
I (813) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (819) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (825) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (831) heap_init: At 3FFD72C8 len 00008D38 (35 KiB): DRAM
I (837) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (844) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (850) heap_init: At 4009F4F4 len 00000B0C (2 KiB): IRAM
I (858) spi_flash: detected chip: generic
I (861) spi_flash: flash io: dio
W (866) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (877) coexist: coex firmware version: 77cd7f8
I (881) main_task: Started on CPU0
I (891) main_task: Calling app_main()
I (911) button: IoT Button Version: 3.3.1
I (911) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (911) button: IoT Button Version: 3.3.1
I (921) gpio: GPIO[2]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (941) app_main: Switch created with endpoint_id 1
I (961) wifi:wifi driver task: 3ffde728, prio:23, stack:6656, core=0
I (971) wifi:wifi firmware version: a9f5b59
I (971) wifi:wifi certification version: v7.0
I (971) wifi:config NVS flash: enabled
I (971) wifi:config nano formating: disabled
I (971) wifi:Init data frame dynamic rx buffer num: 32
I (981) wifi:Init static rx mgmt buffer num: 5
I (981) wifi:Init management short buffer num: 32
I (991) wifi:Init dynamic tx buffer num: 32
I (991) wifi:Init static rx buffer size: 1600
I (991) wifi:Init static rx buffer num: 10
I (1001) wifi:Init dynamic rx buffer num: 32
I (1001) wifi_init: rx ba win: 6
I (1011) wifi_init: tcpip mbox: 32
I (1011) wifi_init: udp mbox: 6
I (1011) wifi_init: tcp mbox: 6
I (1021) wifi_init: tcp tx win: 5760
I (1021) wifi_init: tcp rx win: 5760
I (1031) wifi_init: tcp mss: 1440
I (1031) wifi_init: WiFi IRAM OP enabled
I (1031) wifi_init: WiFi RX IRAM OP enabled
I (1051) chip[DL]: NVS set: chip-counters/reboot-count = 1 (0x1)
I (1051) chip[DL]: NVS set: chip-counters/total-hours = 0 (0x0)
I (1061) chip[DL]: NVS set: chip-config/unique-id = "7262047F69EEBBA9"
I (1061) chip[DL]: Real time clock set to 946684800 (0100/00/01 00:00:00 UTC)
I (1071) BTDM_INIT: BT controller compile version [0f0c5a2]
I (1081) BTDM_INIT: Bluetooth MAC: 30:ae:a4:dd:8f:5e
I (1081) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
W (1091) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
I (1451) NimBLE: Failed to restore IRKs from store; status=8
I (1451) CHIP[DL]: BLE host-controller synced
E (1961) chip[DL]: Long dispatch time: 887 ms, for event type 2
I (1961) chip[DL]: Starting ESP WiFi layer
I (1961) wifi:mode : sta (30:ae:a4:dd:8f:5c)
I (1961) wifi:enable tsf
W (1961) wifi:Haven't to connect to a suitable AP now!
I (1971) chip[DL]: Done driving station state, nothing else to do...
I (1971) chip[DL]: Posting ESPSystemEvent: Wifi Event with eventId : 40
W (1981) wifi:Haven't to connect to a suitable AP now!
I (1991) chip[DL]: Done driving station state, nothing else to do...
I (1991) chip[DL]: Posting ESPSystemEvent: Wifi Event with eventId : 2I (1991) chip[SVR]:
Initializing subscription resumption storage...
I (2011) chip[SVR]: Server initializing...
I (2011) chip[TS]: Last Known Good Time: [unknown]
I (2021) chip[TS]: Setting Last Known Good Time to firmware build time 2023-10-14T01:16:48
I (2031) chip[DMG]: AccessControl: initializing
I (2031) chip[DMG]: Examples::AccessControlDelegate::Init
I (2041) chip[DMG]: AccessControl: setting
I (2041) chip[DMG]: DefaultAclStorage: initializing
I (2051) chip[DMG]: DefaultAclStorage: 0 entries loaded
I (2061) chip[SVR]: WARNING: mTestEventTriggerDelegate is null
I (2071) chip[ZCL]: Using ZAP configuration...
I (2071) esp_matter_cluster: Cluster plugin init common callback
I (2081) chip[DMG]: AccessControlCluster: initializing
I (2081) chip[ZCL]: 0x3f409618 ep 0 clus 0x0000_0030 attr 0x0000_0000 not supported
I (2091) chip[ZCL]: Initiating Admin Commissioning cluster.
I (2101) chip[DIS]: Updating services using commissioning mode 1
I (2101) chip[DIS]: CHIP minimal mDNS started advertising.
I (2111) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1 cp=0
I (2121) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 2128F6B261D03D44.
I (2131) chip[DIS]: mDNS service published: _matterc._udp
I (2141) chip[IN]: CASE Server enabling CASE session setups
I (2141) chip[SVR]: Joining Multicast groups
I (2151) chip[SVR]: Server Listening...
I (2151) esp_matter_core: Dynamic endpoint 0 added
I (2161) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000003's Attribute 0x00000001 is 0 **********
I (2171) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000004's Attribute 0x00000000 is 128 **********
I (2181) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000004's Attribute 0x0000FFFC is 1 **********
I (2191) esp_matter_core: Dynamic endpoint 1 added
I (2201) chip[DL]: WIFI_EVENT_STA_START
I (2201) esp_matter_core: Cannot find minimum unused endpoint_id, try to find in the previous namespace
W (2201) wifi:Haven't to connect to a suitable AP now!
I (2221) esp_matter_core: Failed to open node namespace
I (2221) chip[DL]: Done driving station state, nothing else to do...
dure initiated: advertise;
I (2241) NimBLE: disc_mode=2
I (2241) NimBLE: adv_channel_map=0 own_addr_type=1 adv_filter_policy=0 adv_itvl_min=40 adv_itvl_max=40
I (2261) NimBLE:
I (2271) chip[DL]: CHIPoBLE advertising started
I (2271) app_main: Commissioning window opened
> I (2771) main_task: Returned from app_main()
I (32101) chip[DL]: bleAdv Timeout : Start slow advertisement
I (32101) chip[DL]: Configuring CHIPoBLE advertising (interval 500 ms, connectable)
I (32101) chip[DL]: Device already advertising, stop active advertisement and restart
I (32111) NimBLE: GAP procedure initiated: stop advertising.
I (32131) NimBLE: GAP procedure initiated: advertise;
I (32131) NimBLE: disc_mode=2
I (32131) NimBLE: adv_channel_map=0 own_addr_type=1 adv_filter_policy=0 adv_itvl_min=800 adv_itvl_max=800
I (32141) NimBLE:
Thank you for your time.
ESP Matter, esp32 doesn't display Qr-code and Node Id
-
- Posts: 2
- Joined: Mon Sep 30, 2024 12:06 pm
Who is online
Users browsing this forum: No registered users and 75 guests