关于ESP32S3使用smartconfig官方例程配网失败的问题

lozenyin
Posts: 2
Joined: Wed Nov 27, 2024 9:35 am

关于ESP32S3使用smartconfig官方例程配网失败的问题

Postby lozenyin » Wed Nov 27, 2024 9:49 am

本人使用ESP-IDF v5.3.0框架中的smartconfig例子,编译烧写到ESP32S3模组中。发现无法使用esptouch工具进行配网。启动日志如下:

Code: Select all

PS H:\locke_codes\smart_config> & set IDF_PATH='C:\Users\admin\esp\v5.3\esp-idf'
PS H:\locke_codes\smart_config> & 'C:\Espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe' 'C:\Users\admin\esp\v5.3\esp-idf\tools\idf_monitor.py' -p COM16 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 'h:\locke_codes\smart_config\build\smart_config.elf'
--- WARNING: GDB cannot open serial ports accessed as COMx03-4a81-ade4-fd38f0898b29
--- Using \\.\COM16 instead...
--- esp-idf-monitor 1.4.0 on \\.\COM16 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x178c
load:0x403c8700,len:0x4
load:0x403c8704,len:0xcb8
load:0x403cb700,len:0x2db0
entry 0x403c8914
I (27) boot: ESP-IDF v5.3 2nd stage bootloader
I (27) boot: compile time Nov 27 2024 17:14:00
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.2 
I (34) boot.esp32s3: Boot SPI Speed : 80MHz      
I (38) boot.esp32s3: SPI Mode       : DIO        
I (43) boot.esp32s3: SPI Flash Size : 2MB        
I (48) boot: Enabling RNG early entropy source...
I (53) boot: Partition Table:
I (57) boot: ## Label            Usage          Type ST Offset   Length
I (64) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (71) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (79) boot:  2 factory          factory app      00 00 00010000 00100000
I (86) boot: End of partition table
I (91) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=21c98h (138392) map
I (124) esp_image: segment 1: paddr=00031cc0 vaddr=3fc99100 size=048f4h ( 18676) load
I (128) esp_image: segment 2: paddr=000365bc vaddr=40374000 size=09a5ch ( 39516) load
I (138) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=8c0fch (573692) map
I (242) esp_image: segment 4: paddr=000cc124 vaddr=4037da5c size=0b66ch ( 46700) load
I (261) boot: Loaded app from partition at offset 0x10000
I (261) boot: Disabling RNG early entropy source...      
I (273) cpu_start: Multicore app
I (282) cpu_start: Pro cpu start user code
I (282) cpu_start: cpu freq: 160000000 Hz 
I (282) app_init: Application information:
I (285) app_init: Project name:     smart_config        
I (290) app_init: App version:      1
I (295) app_init: Compile time:     Nov 27 2024 17:10:53
I (301) app_init: ELF file SHA256:  bf66af64a...
I (306) app_init: ESP-IDF:          v5.3    
I (311) efuse_init: Min chip rev:     v0.0  
I (315) efuse_init: Max chip rev:     v0.99 
I (320) efuse_init: Chip rev:         v0.2  
I (325) heap_init: Initializing. RAM available for dynamic allocation:
I (332) heap_init: At 3FCA17E0 len 00047F30 (287 KiB): RAM
I (338) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (345) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM 
I (351) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (358) spi_flash: detected chip: gd
I (361) spi_flash: flash io: dio
W (365) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (379) sleep: Configure to isolate all GPIO pins in sleep state     
I (385) sleep: Enable automatic switching of GPIO sleep configuration
I (393) main_task: Started on CPU0
I (413) main_task: Calling app_main()
I (423) pp: pp rom version: e7ae62f
I (423) net80211: net80211 rom version: e7ae62f
I (433) wifi:wifi driver task: 3fcab9f4, prio:23, stack:6656, core=0
I (433) wifi:wifi firmware version: 0caa81945
I (433) wifi:wifi certification version: v7.0
I (433) wifi:config NVS flash: enabled
I (443) wifi:config nano formating: disabled
I (443) wifi:Init data frame dynamic rx buffer num: 32
I (453) wifi:Init static rx mgmt buffer num: 5
I (453) wifi:Init management short buffer num: 32
I (453) wifi:Init dynamic tx buffer num: 32
I (463) wifi:Init static tx FG buffer num: 2
I (463) wifi:Init static rx buffer size: 1600
I (473) wifi:Init static rx buffer num: 10
I (473) wifi:Init dynamic rx buffer num: 32
I (473) wifi_init: rx ba win: 6
I (483) wifi_init: accept mbox: 6
I (483) wifi_init: tcpip mbox: 32
I (493) wifi_init: udp mbox: 6
I (493) wifi_init: tcp mbox: 6
I (493) wifi_init: tcp tx win: 5760
I (503) wifi_init: tcp rx win: 5760
I (503) wifi_init: tcp mss: 1440
I (513) wifi_init: WiFi IRAM OP enabled
I (513) wifi_init: WiFi RX IRAM OP enabled
I (523) phy_init: phy_version 680,a6008b2,Jun  4 2024,16:41:10
I (563) wifi:mode : sta (e4:b0:63:b3:f8:8c)
I (563) wifi:enable tsf
I (563) main_task: Returned from app_main()
I (613) smartconfig: SC version: V3.0.1
I (5433) wifi:ic_enable_sniffer
I (5433) smartconfig: Start to find channel...
I (5433) smartconfig_example: Scan done
这种情况是什么问题导致的?我更换了2.4g的WIFI测试也是不行,配网失败,串口没有任何打印……

Luxni_
Posts: 35
Joined: Mon Aug 16, 2021 6:20 am

Re: 关于ESP32S3使用smartconfig官方例程配网失败的问题

Postby Luxni_ » Sat Nov 30, 2024 1:56 am

如果可以的话,尝试使用esp32c6测试一下,我刚才测试没有问题。

Who is online

Users browsing this forum: No registered users and 19 guests