element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design Usb Ethernet gadget on Ultra96-v2 board not working properly on 2024.1 prebuild image
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 363 subscribers
  • Views 330 views
  • Users 0 members are here
  • ultra96-v2
  • usb3
  • petalinux
  • dwc3
Related

Usb Ethernet gadget on Ultra96-v2 board not working properly on 2024.1 prebuild image

DominicT
DominicT 5 months ago

Hello,


 I am trying to get the USB ethernet gadget working on an Ultra96-v2 board from Avnet.

After not succeeding with my own image I tried to use the 2024.1 prebuild image provided by avnet.

The gadget is configured using the provided script which does the configuration via configfs.

This seems to work, the usb0 ethernet adapter is available and I can assign an IP etc.

But on the host PC (Ubuntu) the usb device is not enumerated a first. After approx. 30 minutes it suddenly enumerates, but only using USB2.1 and not 3.0 as configured.

I then used the debugfs interface of DWC3 driver to get more information. The link_state hangs at RX.Detect while the device is not enumerating.

Has anybody else encountered that problem as well? What could be the problem?

Any help is highly appreciated - I'm hanging on that issue for a couple of weeks already...


Best Regards,

Dominic

  • Sign in to reply
  • Cancel

Top Replies

  • Tutasalina
    Tutasalina 5 months ago +1
    The RX.Detect hang on DWC3 usually indicates the host isn’t seeing proper SuperSpeed pairs, so the link never exits detection. Ultra96-V2 is known to fall back to USB2 when signal quality or cable integrity…
Parents
  • olivia_49
    0 olivia_49 2 months ago

    This doesn’t appear to be a configfs issue. If DWC3 is sitting in RX.Detect Then it suddenly appears as USB2 after a long delay, which usually indicates that USB 3.0 link training is failing; most of the time, it’s due to PHY configuration, cable quality, or signal integrity. I’d start by checking the device tree PHY settings and swapping in a known good USB 3.0 cable and port. https://github.com/torvalds/linux Related USB hardware project on PCBWay, it will be very helpful. https://pcbway.com/project/shareproject/I_made_a_Nano_USB_HUB_daafa782.html

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • olivia_49
    0 olivia_49 2 months ago

    This doesn’t appear to be a configfs issue. If DWC3 is sitting in RX.Detect Then it suddenly appears as USB2 after a long delay, which usually indicates that USB 3.0 link training is failing; most of the time, it’s due to PHY configuration, cable quality, or signal integrity. I’d start by checking the device tree PHY settings and swapping in a known good USB 3.0 cable and port. https://github.com/torvalds/linux Related USB hardware project on PCBWay, it will be very helpful. https://pcbway.com/project/shareproject/I_made_a_Nano_USB_HUB_daafa782.html

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube