Supporting HID in u-boot for IMX6UL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Supporting HID in u-boot for IMX6UL

681 Views
ethanyang
Contributor II

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

Labels (1)
0 Kudos
2 Replies

553 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

553 Views
ethanyang
Contributor II

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

0 Kudos