完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我专门买了 ESP32-S3-USB-OTG 开发板来使用 USB Host 功能,但我无法让它工作。它总是在“CLASS: Registering Client”之后停止
git checkout master git submodule update --init --recursive 我在 Master 分支 [69c95bf98306b58d2e8ebca3860dedc9241db68f] 上尝试了以下示例:
监视器的完整输出: 代码:全选 idf.py monitor -p $PORT Executing action: monitor Running idf_monitor in directory /Users/username/esp/esp-idf-latest/esp-idf/examples/peripherals/usb/host/usb_host_lib Executing "/Users/username/.espressif/python_env/idf5.0_py3.9_env/bin/python /Users/username/esp/esp-idf-latest/esp-idf/tools/idf_monitor.py -p /dev/cu.SLAB_USBtoUART -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 /Users/username/esp/esp-idf-latest/esp-idf/examples/peripherals/usb/host/usb_host_lib/build/usb_host_lib_example.elf -m '/Users/username/.espressif/python_env/idf5.0_py3.9_env/bin/python' '/Users/username/esp/esp-idf-latest/esp-idf/tools/idf.py'"... --- idf_monitor on /dev/cu.SLAB_USBtoUART 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:0x3fcd0110,len:0x18d0 load:0x403b6000,len:0xb70 load:0x403b9000,len:0x31b0 entry 0x403b6240 I (24) boot: ESP-IDF v5.0-dev-2326-g36b83fcb98 2nd stage bootloader I (25) boot: compile time 16:55:32 I (25) boot: chip revision: 0 I (28) boot.esp32s3: Boot SPI Speed : 80MHz I (33) boot.esp32s3: SPI Mode : DIO I (37) boot.esp32s3: SPI Flash Size : 2MB I (42) boot: Enabling RNG early entropy source... I (48) boot: Partition Table: I (51) boot: ## Label Usage Type ST Offset Length I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (66) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (73) boot: 2 factory factory app 00 00 00010000 00100000 I (81) boot: End of partition table I (85) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0a9d0h ( 43472) map I (101) esp_image: segment 1: paddr=0001a9f8 vaddr=3fc91370 size=02b78h ( 11128) load I (104) esp_image: segment 2: paddr=0001d578 vaddr=40374000 size=02aa0h ( 10912) load I (113) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=1ec00h (125952) map I (141) esp_image: segment 4: paddr=0003ec28 vaddr=40376aa0 size=0a8d0h ( 43216) load I (151) esp_image: segment 5: paddr=00049500 vaddr=50000000 size=00010h ( 16) load I (157) boot: Loaded app from partition at offset 0x10000 I (157) boot: Disabling RNG early entropy source... I (171) cpu_start: Pro cpu up. I (171) cpu_start: Starting app cpu, entry point is 0x4037513c 0x4037513c: call_start_cpu1 at /Users/username/esp/esp-idf-latest/esp-idf/components/esp_system/port/cpu_start.c:152 I (0) cpu_start: App cpu up. I (185) cpu_start: Pro cpu start user code I (186) cpu_start: cpu freq: 160000000 Hz I (186) cpu_start: Application information: I (189) cpu_start: Project name: usb_host_lib_example I (195) cpu_start: App version: v5.0-dev-2326-g36b83fcb98 I (201) cpu_start: Compile time: Apr 1 2022 16:55:21 I (207) cpu_start: ELF file SHA256: 13b49b0ab9ae4ab2... I (213) cpu_start: ESP-IDF: v5.0-dev-2326-g36b83fcb98 I (220) heap_init: Initializing. RAM available for dynamic allocation: I (227) heap_init: At 3FC948F0 len 0004B710 (301 KiB): D/IRAM I (233) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM I (240) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM I (246) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM I (253) spi_flash: detected chip: gd I (257) spi_flash: flash io: dio W (261) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (274) sleep: Configure to isolate all GPIO pins in sleep state I (281) sleep: Enable automatic switching of GPIO sleep configuration I (288) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (308) DAEMON: Installing USB Host Library I (338) CLASS: Registering Client |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1932个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36419 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
4849 浏览 1 评论
6106 浏览 1 评论
6816 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4247 浏览 0 评论
642浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
639浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
640浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
727浏览 2评论
842浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 12:19 , Processed in 1.081305 second(s), Total 75, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号