ESP_Eavo wrote: ↑Tue May 09, 2023 9:00 am
chenxinyuan wrote: ↑Fri Apr 28, 2023 9:14 am
虽然过去很久了,但还是想问解决了吗,因为我也遇到了同样的问题。。。。
请提供 idf 版本,芯片,用的什么示例,log 等基础信息。
这是我的日志信息,使用的esp32c3,wifi smartconfig示例,完全没有改动,配网始终失败
I (24) boot: ESP-IDF v5.4-dev-610-g003f3bb5dc 2nd stage bootloader
I (24) boot: compile time Jul 5 2024 10:41:02
I (25) boot: chip revision: v0.4
I (29) boot.esp32c3: SPI Speed : 80MHz
I (34) boot.esp32c3: SPI Mode : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (43) boot: Enabling RNG early entropy source...
I (49) boot: Partition Table:
I (52) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (67) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (74) boot: 2 factory factory app 00 00 00010000 00100000
I (82) boot: End of partition table
I (86) esp_image: segment 0: paddr=00010020 vaddr=3c0a0020 size=20edch (134876) map
I (116) esp_image: segment 1: paddr=00030f04 vaddr=3fc92a00 size=02d00h ( 11520) load
I (118) esp_image: segment 2: paddr=00033c0c vaddr=40380000 size=0c40ch ( 50188) load
I (131) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=9b540h (636224) map
I (233) esp_image: segment 4: paddr=000db568 vaddr=4038c40c size=064d0h ( 25808) load
I (244) boot: Loaded app from partition at offset 0x10000
I (244) boot: Disabling RNG early entropy source...
W (244) boot: after mapping text, starting from paddr=0x00040000 and vaddr=0x42000000, 0xa0000 bytes are mapped
I (266) cpu_start: Unicore app
I (275) cpu_start: Pro cpu start user code
I (275) cpu_start: cpu freq: 160000000 Hz
I (275) app_init: Application information:
I (278) app_init: Project name: LDG_TCP_Server2
I (283) app_init: App version: 1
I (288) app_init: Compile time: Jul 5 2024 10:40:43
I (294) app_init: ELF file SHA256: 972ab38d4...
I (299) app_init: ESP-IDF: v5.4-dev-610-g003f3bb5dc
I (305) efuse_init: Min chip rev: v0.3
I (310) efuse_init: Max chip rev: v1.99
I (315) efuse_init: Chip rev: v0.4
I (320) heap_init: Initializing. RAM available for dynamic allocation:
I (327) heap_init: At 3FC99B10 len 000264F0 (153 KiB): RAM
I (333) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM
I (340) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM
I (347) heap_init: At 50000200 len 00001DE8 (7 KiB): RTCRAM
I (354) spi_flash: detected chip: gd
I (358) spi_flash: flash io: dio
I (362) sleep: Configure to isolate all GPIO pins in sleep state
I (368) sleep: Enable automatic switching of GPIO sleep configuration
I (376) main_task: Started on CPU0
I (376) main_task: Calling app_main()
I (386) pp: pp rom version: 9387209
I (386) net80211: net80211 rom version: 9387209
I (396) wifi:wifi driver task: 3fca2500, prio:23, stack:6656, core=0
I (396) wifi:wifi firmware version: f9a71af
I (396) wifi:wifi certification version: v7.0
I (406) wifi:config NVS flash: enabled
I (406) wifi:config nano formating: disabled
I (406) wifi:Init data frame dynamic rx buffer num: 32
I (416) wifi:Init static rx mgmt buffer num: 5
I (416) wifi:Init management short buffer num: 32
I (426) wifi:Init dynamic tx buffer num: 32
I (426) wifi:Init static tx FG buffer num: 2
I (436) wifi:Init static rx buffer size: 1600
I (436) wifi:Init static rx buffer num: 10
I (436) wifi:Init dynamic rx buffer num: 32
I (446) wifi_init: rx ba win: 6
I (446) wifi_init: accept mbox: 6
I (456) wifi_init: tcpip mbox: 32
I (456) wifi_init: udp mbox: 6
I (456) wifi_init: tcp mbox: 6
I (466) wifi_init: tcp tx win: 5760
I (466) wifi_init: tcp rx win: 5760
I (466) wifi_init: tcp mss: 1440
I (476) wifi_init: WiFi IRAM OP enabled
I (476) wifi_init: WiFi RX IRAM OP enabled
I (486) phy_init: phy_version 1170,f4aea9b,Apr 30 2024,10:49:24
I (526) wifi:mode : sta (9c:9e:6e:09:7a:9c)
I (526) wifi:enable tsf
I (536) main_task: Returned from app_main()
I (586) smartconfig: SC version: V3.0.1
I (5406) wifi:ic_enable_sniffer
I (5406) smartconfig: Start to find channel...
I (5406) smartconfig_example: Scan done
I (10936) smartconfig: TYPE: ESPTOUCH
I (10936) smartconfig: T|AP MAC: 50:98:b8:72:07:ac
I (10936) smartconfig: Found channel on 1-1. Start to get ssid and password...
I (10936) smartconfig_example: Found channel
I (61936) wifi:ic_disable_sniffer
I (61936) smartconfig: smartconfig restart
I (61986) smartconfig: SC version: V3.0.1