Hi,
I'm porting MQX4.2 to the i.MX6SX. I'm trying to make the USB v2 stack working.
When executing the usb_ehci_init() function in ehci_host.c, the cortex-M4 crashes when it tries to
write 0x10001000 in the USBC_UOG2_PORTSC1 register(@0x42184384).
Any idea why the M4 crashes?
Regards,
David Jaouen
Solved! Go to Solution.
Hi David
one can check if clock is enabled in CCM_CCGRn
registers and permissions from RDC side.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi David
one can check if clock is enabled in CCM_CCGRn
registers and permissions from RDC side.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for your answer. The USB PLL was not enabled so...
Regards,
David