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
  • 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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Ralph Yamamoto's Blog Pynq on Ultra96v2
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 10 Nov 2019 2:56 AM Date Created
  • Views 772 views
  • Likes 1 like
  • Comments 2 comments
  • ultra96-v2
  • pynq
Related
Recommended

Pynq on Ultra96v2

ralphjy
ralphjy
10 Nov 2019

I guess I'm easily distracted.  I've been struggling a bit trying to formulate a plan to accomplish my project for Path II Programmable and in my searching I saw that a new V2.5 Pynq image for the Ultra96v2 was just released:  https://www.element14.com/community/message/283699/l/pynq-v25-for-ultra96-released#283699 .  Since I've used Pynq on the Pynq-Z2: PYNQ-Z2 Dev Board: Python Productivity for ZynqRegistered - Review , I decided that it might be a nice diversion to try it out on the Ultra96v2.

 

I downloaded the image and loaded it on a new micro SD card and booted up.  I think there's something about the Ultra96 WiFi AP implementation that doesn't like me because I couldn't connect again but this time it didn't even look like an AP was configured (I connected through the JTAG/UART port).  I was going to use the upstream USB3 port to connect to the Jupyter notebook via Ethernet over USB but remembered that I had a TrendNet USB3 to Ethernet dongle that I had not tried out.

 

image

 

The dongle worked great and connected immediately.  I was able to log into the Jupyter notebook and used the wifi.ipynb notebook to also connect to my WiFi router.

image

 

Adam Taylor had done a post on Microzed Chronicles about Pynq on the Ultra96  https://www.hackster.io/news/microzed-chronicles-ultra96-and-pynq-da3b22cc982  and I followed along to get the Pynq Computer Vision examples from the Xilinx Github repository https://github.com/Xilinx/PYNQ-ComputerVision .  You can see it loaded in the Home directory below (pynqOpenCv).

 

image

image

 

I decided just to run through the Intro examples for now.  All the examples require a webcam as an input video source so I attached a Logitech C525 to the remaining USB3 port on the Ultra96.

 

image

Here's the frame capture:

image

After running filter2D:

image

After running dilate:

image

Running both filter2D and dilate and profiling:

image

Profiled results:

image

For these examples the OpenCv functions are running in SW.  Being able to run interactively should help me figure out how to implement some of the OpenCV functions that I'll need for my PIIP project.  That's my hope anyway......

  • Sign in to reply
  • AYri
    AYri 4 months ago

    I'm currently working on a project that involves implementing an AI model on the DPU of the Ultra96v2. I'm using pyxir_dpu after quantizing the model and generating the .xmodel file with Vitis AI 2.5. However, I'm encountering an issue I can't solve: no matter how many times I re-quantize the model, I have the same problem, and attempting to reshape the input format crashes the kernel. Do you have any suggestions?image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • aspork42
    aspork42 over 6 years ago

    Nice job. I'm doing a side project currently with OpenCV (on a RaspberryPi) so this might be a fun tie-in to play with.

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