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
MiniZed Hardware Design MiniZed - Vitis/Vivado 2020.1
  • 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 13 replies
  • Subscribers 327 subscribers
  • Views 2809 views
  • Users 0 members are here
  • minized
Related

MiniZed - Vitis/Vivado 2020.1

bigguiness
bigguiness over 4 years ago

Hello all,

 

Is there any updated tutorials on how to get started with the MiniZed using the latest tools from Xilinx?

 

All I have found is old information and it's a real pain trying to figure out how this all works...

 

Thanks

  • Sign in to reply
  • Cancel

Top Replies

  • narrucmot
    narrucmot over 4 years ago in reply to bigguiness +1
    Avnet has hardware, software, and training courses for the MiniZed board. Though targeted to a recent version of the Xilinx tools, they may be very helpful for you to learn what you are trying to do: Technical…
  • bigguiness
    bigguiness over 4 years ago in reply to bhfletcher +1
    Hello Bryan, I gave up trying to get a stable Ubuntu VM running. I purchased a NUC and just installed Ubuntu on it. I now have Ubuntu 18.04.4 installed and the Xilinx 2020.2 tools. With that setup I have…
Parents
  • bigguiness
    bigguiness over 4 years ago

    Hello again,

     

    Not sure if this is a dead forum or people just don't want to help.... :-(

     

    I have been able to get a basic "hello world" example working with Vivado/Vitis 2010.1.

     

    I have had to bail with trying to get it working in Linux. The tools don't seem very stable in Ubuntu. They will work for a while then things start going bonkers. I'll have to figure that out later when I start trying to figure out Petalinux. For now I am running Vivado/Vitis in Windows 10 (not my preference but its at least working).

     

    I'm now trying to figure out the GPIO stuff with a standalone system.

     

    I added the AXI interconnect and AXI GPIO blocks to control the PL_LED_R and PL_LED_G outputs and read the PL_SW input to the Vivado design. I have created a Vitis project and can toggle the LEDs and read the switch. (Major pain trying to find the information on the web to do this.)

     

    Now I'm trying to also control the PS_LED_R and PS_LED_G outputs and read the PS_PB input. (Again major pain trying to find the necessary info...)

     

    I can read the input but have not been able to control the outputs. I'm not sure what I am missing.

     

    In the Vivado design, so the PS MIO pins need to be made external and connected? I didn't do that with the PS_PB input and can read it with not problems. But the two outputs never change.

     

    Right now I have this in the Vitis code:

     

         XGpioPs mio;

        XGpioPs_Config *cfg = XGpioPs_LookupConfig(XPAR_GPIO_0_DEVICE_ID);

        XGpioPs_CfgInitialize(&mio, cfg, cfg->BaseAddr);

        XGpioPs_SetDirectionPin(&mio, 0, 1);          // PS_PB (MIO0) is an input

        XGpioPs_SetDirectionPin(&mio, 52, 0);           // PS_LED_R (MIO52) is an output

        XGpioPs_SetDirectionPin(&mio, 53, 0);          // PS_LED_G (MIO53) is an output

        XGpioPs_SetOutputEnablePin(&mio, 52, 1);

        XGpioPs_SetOutputEnablePin(&mio, 53, 1);

     

    This this reads the input:

     

         XGpioPs_ReadPin(&mio, 0);

     

    And, I think, this should set the outputs:

     

         XGpioPs_WritePin(&mio, 52, 0);     // set PS_LED_R low (LED off)

         XGpioPs_WritePin(&mio, 52, 1);     // set PS_LED_R high (LED on)

     

    Am I missing something?

     

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • narrucmot
    narrucmot over 4 years ago in reply to bigguiness

    Avnet has hardware, software, and training courses for the MiniZed board.  Though targeted to a recent version of the Xilinx tools, they may be very helpful for you to learn what you are trying to do:

    Technical Training Courses

     

    You may also want to take a look at the latest PetaLinux 2020.1 BSP for the MiniZed.  In this BSP the bi-color LED is tied to the microphone (any sensing of audio input changes the LED to red).

    http://avnet.me/zedsupport then navigate to 2020.1 -> BSP

     

    The Xilinx Vivado, Vitis, and PetaLinux tools run well on Ubuntu, but are finicky about the exact version being  used.  It is important to match the Xilinx tools to a known good, supported version of the host OS (Ubuntu).  It is best to download and install a supported Ubuntu version and stay on that version (do not let Ubuntu update/upgrade).  More information about supported Ubuntu versions for the 2020.1 Xilinx tools is in Xilinx UG973:

    https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug973-vivado-release-notes-install-license.pdf

    image

    Also, Avnet publishes a VirtualBox VM Install Guide to aid users in their Ubuntu setup to run the Xilinx tools:

    http://avnet.me/vm_install

     

    --Tom

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • narrucmot
    narrucmot over 4 years ago in reply to bigguiness

    Avnet has hardware, software, and training courses for the MiniZed board.  Though targeted to a recent version of the Xilinx tools, they may be very helpful for you to learn what you are trying to do:

    Technical Training Courses

     

    You may also want to take a look at the latest PetaLinux 2020.1 BSP for the MiniZed.  In this BSP the bi-color LED is tied to the microphone (any sensing of audio input changes the LED to red).

    http://avnet.me/zedsupport then navigate to 2020.1 -> BSP

     

    The Xilinx Vivado, Vitis, and PetaLinux tools run well on Ubuntu, but are finicky about the exact version being  used.  It is important to match the Xilinx tools to a known good, supported version of the host OS (Ubuntu).  It is best to download and install a supported Ubuntu version and stay on that version (do not let Ubuntu update/upgrade).  More information about supported Ubuntu versions for the 2020.1 Xilinx tools is in Xilinx UG973:

    https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug973-vivado-release-notes-install-license.pdf

    image

    Also, Avnet publishes a VirtualBox VM Install Guide to aid users in their Ubuntu setup to run the Xilinx tools:

    http://avnet.me/vm_install

     

    --Tom

    • Cancel
    • Vote Up +1 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