i.MX 8M Mini number of USB support in windowIot?

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

i.MX 8M Mini number of USB support in windowIot?

927 次查看
zhwang
Contributor I

We use i.MX 8M Mini processor to make SOC, imx8mm has 2x usb controllers, but only one set is enabled in the IOT BSP you provided, I found it in "W21H2-1-4-1 BSP Source Files". I added Usb2 in "W21H2-1-4-1 BSP Source Files" file "MX8M_MINI_EVK.dsc" as follows:

# 
# USB
# 
giMX8TokenSpaceGuid.PcdUsb1EhciBaseAddress|0x32E40100
+ giMX8TokenSpaceGuid.PcdUsb2EhciBaseAddress|0x32E50100


Compiling and debugging, the error occurs in EhciReg.c where it initializes USB2, causing the system to fail to boot.

Has anyone tested usb1 and usb2 in windowIot? How should I enable usb2 in i.MX 8M Mini in iot?

0 项奖励
回复
2 回复数

827 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

As far as I know, in the linux BSP, only the USB1 can used for serial download mode.

Here what function do you need for the USB2, device mode or host mode?

0 项奖励
回复

819 次查看
zhwang
Contributor I

Thank you for your reply.

I am using usb2 in host mode to connect keyboard/mouse/usb storage. Using imx8mm_evk's BSP under Windows Iot only usb1 works, usb2 doesn't work. But i.MX 8M Mini processor should work with both ehci controllers, how should I add usb2 to imx8mm_evk's IOT BSP?

0 项奖励
回复