- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
We're using CYUSB3304 + i.MX8M-Plus + Ubuntu. Of course I know it is not necessary to use special drivers.
But, we have error messages during Linux startup.
It seems Linux detected CYUSB3304 but failed configuration.
Is there any check points?
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.70 (wig@wig-TN) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #1 SMP PREEMPT Thu Aug 26 17:37:19 CST 2021
:
[ 3.101915] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
:
[ 3.219038] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.227674] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 3.241825] ALSA device list:
[ 3.244807] #0: audio-hdmi
:
[ 3.342818] usb usb2-port1: config error
[ 3.491748] imx6q-pcie 33800000.pcie: Phy link never came up
[ 3.497442] imx6q-pcie 33800000.pcie: failed to initialize host
Connection:
CYUSB.US_D* - i.MX8MP.USB2_D*
CYUSB.US_TX* - i.MX8MP.USB2.RX*
CYUSB.US_RX* - i.MX8MP.USB2.TX*
CYUSB.VBUS - 10kR PU and PD
MODE* - 10K PU
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the mistake.
Resister value of RREF_USB2 was incorrect.
Ajeeth, I appreciate your quick response!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Infineon Developer Community!
If not confidential, can you share the schematics? I would like to check if there are any issues with the schematics.
Thanks
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
- Is it possible to get more detailed logs from Linux? I am looking for the logs between [3.101915] and [3.219038], [3.244807] and [3.342818]
- Is it possible to analyze USB signals between the host and hub with a USB analyzer?
- Did you follow Hardware design guidelines for your layout design?
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is an detailed dmesg.
(this is another logs. time frame is no same)
[ 3.267151] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
:
[ 3.281745] hub 1-0:1.0: hub_suspend
:
[ 3.452535] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[ 3.458054] usb usb2-port1: link state change
[ 3.462431] usb usb2-port1: config error
[ 3.466381] usb usb2-port1: do warm reset
:
[ 3.530354] usb usb2-port1: not warm reset yet, waiting 50ms
[ 3.592227] usb usb2-port1: not warm reset yet, waiting 200ms
[ 3.804258] usb usb2-port1: not warm reset yet, waiting 200ms
[ 4.016239] usb usb2-port1: not warm reset yet, waiting 200ms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you attach the complete logs(as an attachment) with zero skips?
Please answer my other question in my previous response.
Regards,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the update.
- Did the hub enumerate properly? Please attach the "lsusb -v" logs.
- I would like to know more about your application. Can you share the details like what are all the devices connected to DS ports? Also, share the complete schematics.
- Also, attach the dmesg logs for USB at debug level.
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
- Thanks for attaching the lsusb logs. It seems like the HX3 hub is not enumerated.
- Can you attach the complete schematics? I couldn't see the Upstream and Downstream ports in the schematics.
- Use this command to get USB logs at debug level.
~]# dmesg | grep -i usb
Please refer here to get different types of dmesg logs.
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the mistake.
Resister value of RREF_USB2 was incorrect.
Ajeeth, I appreciate your quick response!