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