Hi,
We're using imx_v2015.04_3.14.52_1.1.0_ga based u-boot.
We tried to build one utilizing the imx_udc driver, but encountered some random hang issue.
Is there sample code of HID driver in u-boot for imx6ul?
Regards,
Ethan
Hi Ethan
may be useful to check attached bare metal usb mouse example from
sdk (full sdk may be obtained creating service request), please refer to pdf
document Chapter 34 Configuring the USB Host Controller Driver
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for providing the example.
We found that the root cause is that we violated the usage of the USB controller, which is described in 54.4.5.1.1, IMX6UL RM:
Endpoint Capabilities/CharacteristicsThis DWord specifies static information about the endpoint, in other words, this information does not change over the lifetime of the endpoint. Device Controller software should not attempt to modify this information while the corresponding endpoint is enabled.
Regards,
Ethan