Code: Select all
ets Jul 29 2019 12:21:46
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:6944
load:0x40078000,len:15500
load:0x40080400,len:3844
entry 0x4008064c
I (27) boot: ESP-IDF v5.0.1-dirty 2nd stage bootloader
I (27) boot: compile time 02:30:13
I (27) boot: chip revision: v3.0
I (31) boot.esp32: SPI Speed : 40MHz
I (36) boot.esp32: SPI Mode : DIO
I (40) boot.esp32: SPI Flash Size : 2MB
I (45) boot: Enabling RNG early entropy source...
I (50) boot: Partition Table:
I (54) boot: ## Label Usage Type ST Offset Length
I (61) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (68) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (76) boot: 2 factory factory app 00 00 00010000 00100000
I (83) boot: End of partition table
I (87) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1c80ch (116748) map
I (138) esp_image: segment 1: paddr=0002c834 vaddr=3ffb0000 size=03394h ( 13204) load
I (144) esp_image: segment 2: paddr=0002fbd0 vaddr=40080000 size=00448h ( 1096) load
I (144) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=67b84h (424836) map
I (306) esp_image: segment 4: paddr=00097bac vaddr=40080448 size=14cc0h ( 85184) load
I (352) boot: Loaded app from partition at offset 0x10000
I (352) boot: Disabling RNG early entropy source...
I (363) cpu_start: Pro cpu up.
I (363) cpu_start: Starting app cpu, entry point is 0x4008132c
I (0) cpu_start: App cpu up.
I (380) cpu_start: Pro cpu start user code
I (380) cpu_start: cpu freq: 160000000 Hz
I (380) cpu_start: Application information:
I (385) cpu_start: Project name: eth2ap
I (389) cpu_start: App version: 1
I (394) cpu_start: Compile time: Feb 26 2023 02:46:27
I (400) cpu_start: ELF file SHA256: 5a5c7cd2e6086fda...
I (406) cpu_start: ESP-IDF: v5.0.1-dirty
I (411) cpu_start: Min chip rev: v0.0
I (416) cpu_start: Max chip rev: v3.99
I (421) cpu_start: Chip rev: v3.0
I (426) heap_init: Initializing. RAM available for dynamic allocation:
I (433) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (439) heap_init: At 3FFB65D0 len 00029A30 (166 KiB): DRAM
I (445) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (451) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (458) heap_init: At 40095108 len 0000AEF8 (43 KiB): IRAM
I (466) spi_flash: detected chip: gd
I (468) spi_flash: flash io: dio
W (472) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (487) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (551) wifi:wifi driver task: 3ffbd8c8, prio:23, stack:6656, core=0
I (551) system_api: Base MAC address is not set
I (551) system_api: read default base MAC address from EFUSE
I (561) wifi:wifi firmware version: 17afb16
I (561) wifi:wifi certification version: v7.0
I (561) wifi:config NVS flash: enabled
I (561) wifi:config nano formating: disabled
I (571) wifi:Init data frame dynamic rx buffer num: 32
I (571) wifi:Init management frame dynamic rx buffer num: 32
I (581) wifi:Init management short buffer num: 32
I (581) wifi:Init dynamic tx buffer num: 32
I (591) wifi:Init static rx buffer size: 1600
I (591) wifi:Init static rx buffer num: 10
I (591) wifi:Init dynamic rx buffer num: 32
I (601) wifi_init: rx ba win: 6
I (601) wifi_init: tcpip mbox: 32
I (611) wifi_init: udp mbox: 6
I (611) wifi_init: tcp mbox: 6
I (611) wifi_init: tcp tx win: 5744
I (621) wifi_init: tcp rx win: 5744
I (621) wifi_init: tcp mss: 1440
I (631) wifi_init: WiFi IRAM OP enabled
I (631) wifi_init: WiFi RX IRAM OP enabled
I (3741) eth_example: Ethernet Started
I (3741) eth_example: Ethernet Link Up
I (3741) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (3841) wifi:mode : softAP (b4:8a:0a:62:cc:97)
I (3851) wifi:Total power save buffer number: 16
I (3851) wifi:Init max length of beacon: 752/752
I (3851) wifi:Init max length of beacon: 752/752
I (34291) wifi:new:<1,1>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (34301) wifi:station: 4e:c7:eb:d6:8d:79 join, AID=1, bgn, 40U
I (34431) eth_example: Wi-Fi AP got a station connected
I (34621) wifi:<ba-add>idx:2 (ifx:1, 4e:c7:eb:d6:8d:79), tid:0, ssn:2, winSize:64
I (35201) wifi:<ba-add>idx:3 (ifx:1, 4e:c7:eb:d6:8d:79), tid:6, ssn:2, winSize:64
I (52571) wifi:station: 4e:c7:eb:d6:8d:79 leave, AID = 1, bss_flags is 658531, bss:0x3ffb8028
I (52571) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (52571) wifi:<ba-del>idx
I (52571) wifi:<ba-del>idx
I (52571) eth_example: Wi-Fi AP got a station disconnected
I (54761) wifi:new:<1,1>, old:<1,0>, ap:<1,1>, sta:<255,255>, prof:1
I (54761) wifi:station: 4e:c7:eb:d6:8d:79 join, AID=1, bgn, 40U
I (54801) eth_example: Wi-Fi AP got a station connected
I (55071) wifi:<ba-add>idx:2 (ifx:1, 4e:c7:eb:d6:8d:79), tid:0, ssn:0, winSize:64
I (56661) wifi:<ba-add>idx:3 (ifx:1, 4e:c7:eb:d6:8d:79), tid:6, ssn:2, winSize:64
I (73101) wifi:station: 4e:c7:eb:d6:8d:79 leave, AID = 1, bss_flags is 658531, bss:0x3ffb8028
I (73101) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (73111) wifi:<ba-del>idx
I (73111) wifi:<ba-del>idx
I (73111) eth_example: Wi-Fi AP got a station disconnected
硬件原理图如下:
网络连接状态显示正常,对侧交换机端口状态正常,终端可以正常连接无线AP,但是无法获取IP地址。请问各位大佬可能是什么问题?