You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\ | /
- RT - Thread Operating System
/ | \ 3.1.3 build Apr 21 2023
2006 - 2019 Copyright by rt-thread team
Start usb host task...
ms[I/USB] Dev connect
h >[I/USB] Dev USB_SPEED_FULL
[I/USB] Dev connect
[I/USB] New full-speed device on Hub 1, Port 1 connected
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
[W/USB] Setup Timeout and retry
......
[E/USB] Failed to get device descriptor,errorcode:-116
[E/USB] Port 1 enumerate fail
用官方EVT板试了一下。FS下的host demo出现:
但是运行官方的HOST_KM例程是可以成功枚举hub以及下级的鼠标的(鼠标插拔事件都正常)。
至于HS也会有bug,g_hub_intbuf[CONFIG_USBHOST_MAX_EXTHUBS + 1][1]需要改为g_hub_intbuf[CONFIG_USBHOST_MAX_EXTHUBS + 1][CONFIG_USB_ALIGN_SIZE],不然hub使用的buf指针不对齐,出现IN DMA错误。不过HS可以成功枚举hub,但是hub接的鼠标又没有检测出来。
The text was updated successfully, but these errors were encountered: