element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design Ultra96V2 - testing USB/LAN/DP peripherals
  • 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
  • Replies 3 replies
  • Subscribers 331 subscribers
  • Views 893 views
  • Users 0 members are here
Related

Ultra96V2 - testing USB/LAN/DP peripherals

kevinwangsolutions
kevinwangsolutions over 4 years ago

Hello all,

 

I tested UART,SD and memory using Standalone mode (PS only) in Vivado and Vitis under Windows 10. I am wondering if have the same simple way to test USB,LAN and display port. Thanks.

  • Sign in to reply
  • Cancel

Top Replies

  • bhfletcher
    bhfletcher over 4 years ago +1
    When you say Standalone mode, I think you are referring to operating in bare metal mode. Note that you can run bare metal with PS-only or combo PS/PL hardware platforms. I was a little confused stating…
Parents
  • bhfletcher
    bhfletcher over 4 years ago

    When you say Standalone mode, I think you are referring to operating in bare metal mode. Note that you can run bare metal with PS-only or combo PS/PL hardware platforms. I was a little confused stating Standalone and PS-only since those are independent things -- PS-only refers to the hardware platform while Standalone / bare metal refers to the Software Platform.

     

    If you are only concerned about a PS-only hardware platform, then you could still run Petalinux and do lots of things with USB, Ethernet, and DisplayPort. I expect that's not what you were asking, but reply back if it was.

     

    If you want to test the PS peripherals for USB, Ethernet, and DisplayPort using Standalone / bare metal, then I think the question makes a lot more sense. I haven't done any of these personally, but there are some interesting results if you use the keywords "xilinx" and "bare metal" and then the peripheral you want. That directed me to this page, which seemed to have a lot of good stuff.

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841745/Baremetal+Drivers+and+Libraries

     

    Ethernet:

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842012/Standalone+Ethernet+Driver

     

    USB:

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842047/Zynq+Ultrascale+MPSoc+Standalone+USB+device+driver

     

    DisplayPort:

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842318/ZynqMP+Standalone+DisplayPort+Driver

     

    Are these helpful? Please let us know how it goes!

    Bryan

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • kevinwangsolutions
    kevinwangsolutions over 4 years ago in reply to bhfletcher

    I believe this is what I need. But how can I do it in Vitis? Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bhfletcher
    bhfletcher over 4 years ago in reply to kevinwangsolutions

    Here's another good one to look at for Ethernet --

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842366/Standalone+LWIP+library

     

    Your Vitis installation has both built-in generated examples and other examples buried deep in the Vitis install (and also on GitHub).

     

    Built-in Generated Examples

    Take a look at https://www.hackster.io/BryanF/ultra96-v2-vitis-2020-2-hello-world-from-arm-a53-2d952a . Instead of picking Hello World, you could pick an LwIP example for the Ethernet. I don't see any built-in examples for USB or DisplayPort, although there might be something in the Peripherals Test.

     

    Examples Deep Within Vitis (and also on GitHub)

    If you browse deep within your Vitis install, you will find copies of the drivers AND EXAMPLES! Those examples will almost certainly need to be modified, but it at least gives you a starting point. Here's where I find them in my Linux installation: /tools/Xilinx/Vitis/2020.2/data/embeddedsw/XilinxProcessorIPLib/drivers/

     

    For example, for that Standalone Ethernet Driver, if you go to the GitHub page, you will see that the driver is named "emacps." You also find a link to GitHub: https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/emacps

     

    That GitHub link gives you the driver but notice there is also an Examples folder

    https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/emacps/examples

     

    This same thing is found in your Vitis installation. I found it here:

    /tools/Xilinx/Vitis/2020.2/data/embeddedsw/XilinxProcessorIPLib/drivers/emacps_v3_12/examples/

     

    Pick one of those examples and start from there.

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • bhfletcher
    bhfletcher over 4 years ago in reply to kevinwangsolutions

    Here's another good one to look at for Ethernet --

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842366/Standalone+LWIP+library

     

    Your Vitis installation has both built-in generated examples and other examples buried deep in the Vitis install (and also on GitHub).

     

    Built-in Generated Examples

    Take a look at https://www.hackster.io/BryanF/ultra96-v2-vitis-2020-2-hello-world-from-arm-a53-2d952a . Instead of picking Hello World, you could pick an LwIP example for the Ethernet. I don't see any built-in examples for USB or DisplayPort, although there might be something in the Peripherals Test.

     

    Examples Deep Within Vitis (and also on GitHub)

    If you browse deep within your Vitis install, you will find copies of the drivers AND EXAMPLES! Those examples will almost certainly need to be modified, but it at least gives you a starting point. Here's where I find them in my Linux installation: /tools/Xilinx/Vitis/2020.2/data/embeddedsw/XilinxProcessorIPLib/drivers/

     

    For example, for that Standalone Ethernet Driver, if you go to the GitHub page, you will see that the driver is named "emacps." You also find a link to GitHub: https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/emacps

     

    That GitHub link gives you the driver but notice there is also an Examples folder

    https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/emacps/examples

     

    This same thing is found in your Vitis installation. I found it here:

    /tools/Xilinx/Vitis/2020.2/data/embeddedsw/XilinxProcessorIPLib/drivers/emacps_v3_12/examples/

     

    Pick one of those examples and start from there.

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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 © 2025 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