乐鑫技术交流
直播中

王伟

7年用户 1489经验值
私信 关注
[问答]

ESP32S3R8 WIFI就是连接不上的原因?

ESP32S3R8芯片+GD25Q32CSIG(4M flash) wifi天线用IPEX外置天线!用例程的scan可以扫描到附近的WIFI。用例程softap搜不到创建的wifi,没有打印错误信息。用例程station也连接不上路由器,初始化都没有错误,但是就是连不上。

station 打印信息如下

Executing action: monitor

Running idf_monitor in directory d:esp-idfespressifframeworksesp-idf-v4.4workspacestation

Executing "D:esp-idfEspressifpython_envidf4.4_py3.8_envScriptspython.exe D:/esp-idf/Espressif/frameworks/esp-idf-v4.4/tools/idf_monitor.py -p .COM17 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --print_filter  d:esp-idfespressifframeworksesp-idf-v4.4workspacestationuildstation.elf -m 'D:esp-idfEspressifpython_envidf4.4_py3.8_envScriptspython.exe' 'D:esp-idfEspressifframeworksesp-idf-v4.4        oolsidf.py'"...

?[0;33m--- idf_monitor on .COM17 115200 ---?[0m

--- 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:0x3fcd0108,len:0x1658

load:0x403b6000,len:0xb7c

load:0x403ba000,len:0x2f58

entry 0x403b6248

I (24) boot: ESP-IDF v4.4-dirty 2nd stage bootloader

I (25) boot: compile time 09:19:38

I (25) boot: chip revision: 0

I (27) boot.esp32s3: Boot SPI Speed : 80MHz

I (31) boot.esp32s3: SPI Mode       : DIO

I (36) boot.esp32s3: SPI Flash Size : 4MB

I (41) boot: Enabling RNG early entropy source...

I (46) boot: Partition Table:

I (50) boot: ## Label            Usage          Type ST Offset   Length

I (57) boot:  0 nvs              WiFi data        01 02 00009000 00006000

I (65) boot:  1 phy_init         RF data          01 01 0000f000 00001000

I (72) boot:  2 factory          factory app      00 00 00010000 00100000

I (80) boot: End of partition table

I (84) esp_image: segment 0: paddr=00010020 vaddr=3c070020 size=1342ch ( 78892) map

I (106) esp_image: segment 1: paddr=00023454 vaddr=3fc951d0 size=04434h ( 17460) load

I (110) esp_image: segment 2: paddr=00027890 vaddr=40374000 size=08788h ( 34696) load

I (120) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=68cf8h (429304) map

I (198) esp_image: segment 4: paddr=00098d20 vaddr=4037c788 size=08a48h ( 35400) load

I (206) esp_image: segment 5: paddr=000a1770 vaddr=50000000 size=00010h (    16) load

I (213) boot: Loaded app from partition at offset 0x10000

I (213) boot: Disabling RNG early entropy source...

I (226) opi psram: vendor id : 0x0d (AP)

I (226) opi psram: dev id    : 0x02 (generation 3)

I (227) opi psram: density   : 0x03 (64 Mbit)

I (230) opi psram: good-die  : 0x01 (Pass)

I (235) opi psram: Latency   : 0x01 (Fixed)

I (240) opi psram: VCC       : 0x01 (3V)

I (244) opi psram: SRF       : 0x01 (Fast Refresh)

I (250) opi psram: BurstType : 0x01 (Hybrid Wrap)

I (255) opi psram: BurstLen  : 0x01 (32 Byte)

I (260) opi psram: Readlatency  : 0x02 (10 cycles@Fixed)

I (266) opi psram: DriveStrength: 0x00 (1/1)

W (271) PSRAM: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.

I (282) spiram: Found 64MBit SPI RAM device

I (286) spiram: SPI RAM mode: sram 80m

I (291) spiram: PSRAM initialized, cache is in normal (1-core) mode.

I (298) cpu_start: Pro cpu up.

I (301) cpu_start: Starting app cpu, entry point is 0x403752fc

0x403752fc: call_start_cpu1 at D:/esp-idf/Espressif/frameworks/esp-idf-v4.4/components/esp_system/port/cpu_start.c:156



I (0) cpu_start: App cpu up.

I (728) spiram: SPI SRAM memory test OK

I (736) cpu_start: Pro cpu start user code

I (736) cpu_start: cpu freq: 160000000

I (736) cpu_start: Application information:

I (739) cpu_start: Project name:     station

I (744) cpu_start: App version:      v4.4-dirty

I (749) cpu_start: Compile time:     Oct  9 2022 09:17:54

I (755) cpu_start: ELF file SHA256:  3c268daeb45334e3...

I (761) cpu_start: ESP-IDF:          v4.4-dirty

I (766) heap_init: Initializing. RAM available for dynamic allocation:

I (774) heap_init: At 3FC9D098 len 00042F68 (267 KiB): D/IRAM

I (780) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM

I (787) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM

I (793) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM

I (799) spiram: Adding pool of 8192K of external SPI memory to heap allocator

I (808) spi_flash: detected chip: gd

I (811) spi_flash: flash io: dio

I (816) sleep: Configure to isolate all GPIO pins in sleep state

I (822) sleep: Enable automatic switching of GPIO sleep configuration

I (829) cpu_start: Starting scheduler on PRO CPU.

I (0) cpu_start: Starting scheduler on APP CPU.

I (840) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations

I (880) wifi station: ESP_WIFI_MODE_STA

Hello world3

I (880) pp: pp rom version: e7ae62f

I (880) net80211: net80211 rom version: e7ae62f

I (900) wifi:wifi driver task: 3fca24b4, prio:23, stack:6656, core=0

I (900) system_api: Base MAC address is not set

I (900) system_api: read default base MAC address from EFUSE

I (920) wifi:wifi firmware version: 7679c42

I (920) wifi:wifi certification version: v7.0

I (920) wifi:config NVS flash: enabled

I (920) wifi:config nano formating: disabled

I (920) wifi:Init data frame dynamic rx buffer num: 32

I (930) wifi:Init management frame dynamic rx buffer num: 32

I (930) wifi:Init management short buffer num: 32

I (940) wifi:Init static tx buffer num: 16

I (940) wifi:Init tx cache buffer num: 32

I (940) wifi:Init static tx FG buffer num: 2

I (950) wifi:Init static rx buffer size: 1600

I (950) wifi:Init static rx buffer num: 10

I (960) wifi:Init dynamic rx buffer num: 32

I (960) wifi_init: rx ba win: 6

I (960) wifi_init: tcpip mbox: 32

I (970) wifi_init: udp mbox: 6

I (970) wifi_init: tcp mbox: 6

I (980) wifi_init: tcp tx win: 5744

I (980) wifi_init: tcp rx win: 5744

I (980) wifi_init: tcp mss: 1440

I (990) wifi_init: WiFi IRAM OP enabled

I (990) wifi_init: WiFi RX IRAM OP enabled

I (1000) phy_init: phy_version 302,3ddfab3,Dec  3 2021,14:39:12

I (1050) wifi:mode : sta (68:b6:b3:24:75:78)

I (1050) wifi:enable tsf

I (1050) wifi station: wifi_init_sta finished.

I (1140) wifi<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:1

I (1140) wifi:state: init -> auth (b0)

I (2140) wifi:state: auth -> init (200)

I (2140) wifi<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:1

I (2140) wifi station: retry to connect to the AP

I (2140) wifi station: connect to the AP fail

I (2780) wifi<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1

I (2780) wifi:state: init -> auth (b0)

I (3780) wifi:state: auth -> init (200)

I (3790) wifi<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1

I (3790) wifi station: retry to connect to the AP

I (3790) wifi station: connect to the AP fail

I (5830) wifi station: retry to connect to the AP

I (5830) wifi station: connect to the AP fail

I (5850) wifi<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1

I (5850) wifi:state: init -> auth (b0)

I (6850) wifi:state: auth -> init (200)

I (6850) wifi<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1

I (6850) wifi station: retry to connect to the AP

I (6860) wifi station: connect to the AP fail

I (7070) wifi<1,1>, old:<6,0>, ap:<255,255>, sta:<1,1>, prof:1

I (7070) wifi:state: init -> auth (b0)

I (8070) wifi:state: auth -> init (200)

I (8070) wifi<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:1

I (8080) wifi station: retry to connect to the AP

I (8080) wifi station: connect to the AP fail

I (10120) wifi station: connect to the AP fail

I (10120) wifi station: Failed to connect to SSID:tianxing, password:23456789

更多回帖

发帖
×
20
完善资料,
赚取积分