Open updesh31 opened 2 years ago
In Library/UsbHostLib/inc/config.h, enable all debug message and post the UART messages.
msh />start enumnation pipe transform remain size,: 8 pipe transform remain size,: 0 1 == USBH_PID_DATA, nil buf-0 rt_usb_set_address pipe transform remain size,: 0 1 == USBH_PID_DATA, nil buf-0 get device descriptor length 18 pipe transform remain size,: 18 get full device descriptor failed port 2 status 0x0
Replied RT-Thread/rt-thread#6216.
How can I use HID host for it?
At present, N9H30 USB Host library supports mass storage device only. Try N9H30_nonOS example https://github.com/OpenNuvoton/N9H30_NonOS/tree/master/SampleCode/USBH_HID
Currently I am using HMI-N9H30 dev board with N9H30K41 MPU with RT-Thread V4.1.0. All peripherals working ok. In USB HOST mode MSC is working Ok but when I am going to attach a keyboard always getting an error: msh />EHCI port2 status change: 0x1403 EHCI port 2 - port reset failed! OHCI port2 status change: 0x10301 OHCI connect device. get full device descriptor failed