完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在尝试让 espidf-http-request 示例正常工作,但它总是失败,DNS 查找失败 err=202。它实际上是一个 [url]platformio 示例但在其他方面看起来像是一个相当简单的 IDF 示例。我试过两个不同的 Wifi 接入点和两个不同的 ESP32 模块,一个是 Adafruit QTPY C3,另一个是 M5Stack Core2,总是出现相同的 DNS 错误。
关于问题可能是什么的任何提示? 这是完整的 UART 日志: 代码:全选 * Executing task: C:\\\\Users\\\\tornt\\\\.platformio\\\\penv\\\\Scripts\\\\platformio.exe device monitor --- Terminal on COM8 | 115200 8-N-1 --- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time --- More details at --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ␛[0;32mI (13) boot: ESP-IDF 5.0.1 2nd stage bootloader␛[0m ␛[0;32mI (13) boot: compile time 11:33:47␛[0m ␛[0;32mI (14) boot: chip revision: v3.0␛[0m ␛[0;32mI (15) boot.esp32: SPI Speed : 40MHz␛[0m ␛[0;32mI (20) boot.esp32: SPI Mode : DIO␛[0m ␛[0;32mI (25) boot.esp32: SPI Flash Size : 4MB␛[0m ␛[0;32mI (29) boot: Enabling RNG early entropy source...␛[0m ␛[0;32mI (35) boot: Partition Table:␛[0m ␛[0;32mI (38) boot: ## Label Usage Type ST Offset Length␛[0m ␛[0;32mI (45) boot: 0 nvs WiFi data 01 02 00009000 00006000␛[0m ␛[0;32mI (53) boot: 1 phy_init RF data 01 01 0000f000 00001000␛[0m ␛[0;32mI (60) boot: 2 factory factory app 00 00 00010000 00100000␛[0m ␛[0;32mI (68) boot: End of partition table␛[0m ␛[0;32mI (72) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1eae8h (125672) map␛[0m ␛[0;32mI (126) esp_image: segment 1: paddr=0002eb10 vaddr=3ffb0000 size=01508h ( 5384) load␛[0m ␛[0;32mI (128) esp_image: segment 2: paddr=00030020 vaddr=400d0020 size=7d72ch (513836) map␛[0m ␛[0;32mI (317) esp_image: segment 3: paddr=000ad754 vaddr=3ffb1508 size=01e5ch ( 7772) load␛[0m ␛[0;32mI (321) esp_image: segment 4: paddr=000af5b8 vaddr=40080000 size=14c20h ( 85024) load␛[0m ␛[0;32mI (368) boot: Loaded app from partition at offset 0x10000␛[0m ␛[0;32mI (368) boot: Disabling RNG early entropy source...␛[0m ␛[0;32mI (380) cpu_start: Pro cpu up.␛[0m ␛[0;32mI (380) cpu_start: Starting app cpu, entry point is 0x40081240␛[0m ␛[0;32mI (0) cpu_start: App cpu up.␛[0m ␛[0;32mI (396) cpu_start: Pro cpu start user code␛[0m ␛[0;32mI (397) cpu_start: cpu freq: 160000000 Hz␛[0m ␛[0;32mI (397) cpu_start: Application information:␛[0m ␛[0;32mI (401) cpu_start: Project name: http-request␛[0m ␛[0;32mI (407) cpu_start: App version: v6.0.1-11-g48c4226-dirty␛[0m ␛[0;32mI (413) cpu_start: Compile time: Mar 4 2023 11:33:21␛[0m ␛[0;32mI (419) cpu_start: ELF file SHA256: c95408b22e6b86a7...␛[0m ␛[0;32mI (425) cpu_start: ESP-IDF: 5.0.1␛[0m ␛[0;32mI (430) cpu_start: Min chip rev: v0.0␛[0m ␛[0;32mI (435) cpu_start: Max chip rev: v3.99 ␛[0m ␛[0;32mI (439) cpu_start: Chip rev: v3.0␛[0m ␛[0;32mI (444) heap_init: Initializing. RAM available for dynamic allocation:␛[0m ␛[0;32mI (452) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM␛[0m ␛[0;32mI (457) heap_init: At 3FFB7488 len 00028B78 (162 KiB): DRAM␛[0m ␛[0;32mI (464) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM␛[0m ␛[0;32mI (470) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m ␛[0;32mI (477) heap_init: At 40094C20 len 0000B3E0 (44 KiB): IRAM␛[0m ␛[0;32mI (484) spi_flash: detected chip: generic␛[0m ␛[0;32mI (487) spi_flash: flash io: dio␛[0m ␛[0;33mW (491) spi_flash: Detected size(16384k) larger than the size in the binary image header(4096k). Using the size in the binary image header.␛[0m ␛[0;32mI (506) cpu_start: Starting scheduler on PRO CPU.␛[0m ␛[0;32mI (0) cpu_start: Starting scheduler on APP CPU.␛[0m ␛[0;32mI (554) example_connect: Start example_connect.␛[0m I (564) wifi:wifi driver task: 3ffbefd8, prio:23, stack:6656, core=0 ␛[0;32mI (564) system_api: Base MAC address is not set␛[0m ␛[0;32mI (564) system_api: read default base MAC address from EFUSE␛[0m I (574) wifi:wifi firmware version: 17afb16 I (574) wifi:wifi certification version: v7.0 I (574) wifi:config NVS flash: enabled I (574) wifi:config nano formating: disabled I (584) wifi:Init data frame dynamic rx buffer num: 32 I (584) wifi:Init management frame dynamic rx buffer num: 32 I (594) wifi:Init management short buffer num: 32 I (594) wifi:Init dynamic tx buffer num: 32 I (604) wifi:Init static rx buffer size: 1600 I (604) wifi:Init static rx buffer num: 10 I (604) wifi:Init dynamic rx buffer num: 32 ␛[0;32mI (614) wifi_init: rx ba win: 6␛[0m ␛[0;32mI (614) wifi_init: tcpip mbox: 32␛[0m ␛[0;32mI (624) wifi_init: udp mbox: 6␛[0m ␛[0;32mI (624) wifi_init: tcp mbox: 6␛[0m ␛[0;32mI (624) wifi_init: tcp tx win: 5744␛[0m ␛[0;32mI (634) wifi_init: tcp rx win: 5744␛[0m ␛[0;32mI (634) wifi_init: tcp mss: 1440␛[0m ␛[0;32mI (644) wifi_init: WiFi IRAM OP enabled␛[0m ␛[0;32mI (644) wifi_init: WiFi RX IRAM OP enabled␛[0m ␛[0;32mI (654) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07␛[0m I (764) wifi:mode : sta (24:0a:c4:f8:7e:ec) I (764) wifi:enable tsf ␛[0;32mI (764) example_connect: Connecting to BT-P2CKZW...␛[0m ␛[0;32mI (764) example_connect: Waiting for IP(s)␛[0m I (3174) wifi:new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1 I (3864) wifi:state: init -> auth (b0) I (3864) wifi:state: auth -> assoc (0) I (3884) wifi:state: assoc -> run (10) I (3924) wifi:connected with BT-P2CKZW, aid = 19, channel 11, BW20, bssid = ac:84:c9:b7:8f:82 I (3924) wifi:security: WPA2-PSK, phy: bgn, rssi: -65 I (3924) wifi:pm start, type: 1 I (4014) wifi:AP\\\'s beacon interval = 102400 us, DTIM period = 3 I (5434) wifi: ␛[0;32mI (5554) example_connect: Got IPv6 event: Interface \\\"example_netif_sta\\\" address: fe80:0000:0000:0000:260a:c4ff:fef8:7eec, type: ESP_IP6_ADDR_IS_LINK_LOCAL␛[0m ␛[0;32mI (6424) esp_netif_handlers: example_netif_sta ip: 192.168.1.81, mask: 255.255.255.0, gw: 192.168.1.254␛[0m ␛[0;32mI (6424) example_connect: Got IPv4 event: Interface \\\"example_netif_sta\\\" address: 192.168.1.81␛[0m ␛[0;32mI (6434) example_common: Connected to example_netif_sta␛[0m ␛[0;32mI (6434) example_common: - IPv4 address: 192.168.1.81,␛[0m ␛[0;32mI (6444) example_common: - IPv6 address: fe80:0000:0000:0000:260a:c4ff:fef8:7eec, type: ESP_IP6_ADDR_IS_LINK_LOCAL␛[0m ␛[0;31mE (6484) example: DNS lookup failed err=202 res=0x0␛[0m ␛[0;31mE (7484) example: DNS lookup failed err=202 res=0x0␛[0m ␛[0;31mE (8484) example: DNS lookup failed err=202 res=0x0␛[0m |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1930个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36414 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
4782 浏览 1 评论
6099 浏览 1 评论
6807 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4243 浏览 0 评论
641浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
637浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
639浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
725浏览 2评论
833浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 13:06 , Processed in 1.200372 second(s), Total 77, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号