Supporting HID in u-boot for IMX6UL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Supporting HID in u-boot for IMX6UL

727 次查看
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

标签 (1)
0 项奖励
2 回复数

599 次查看
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 项奖励

599 次查看
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 项奖励