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
MicroZed Hardware Design Unable to run hello world on Microzed
  • 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 8 replies
  • Subscribers 357 subscribers
  • Views 800 views
  • Users 0 members are here
Related

Unable to run hello world on Microzed

Former Member
Former Member over 9 years ago

I'm following the tutorial 2 for MicroZed- Hello World Application section. I have set the jumper settings correctly, .elf file is also generated. But when I try to run it, I get this error:

Unexpected error while launching program: Error while running ps7_init method.No Elf file associated with target

 

 

I'm using Vivado 16.4 version.

I'm not able to figure out what is the problem. Please help!

 
 
 
 
  • Sign in to reply
  • Cancel
  • jafoste4
    0 jafoste4 over 9 years ago

    Hello Kin,

    First off, I would always suggest using the same Vivado version as the tutorial suggests. In this case the newest Tutorial 02 posted utilizes Vivado 2016.2. The reason I would typically suggest this is that Vivado changes from time to time and can cause the old tutorial to not work in newer tools. However, in your case I have actually completed the tutorial in Vivado 2016.4 sucesffully using the 2016.2 material. (This is more for future reference)

    Now to debug your issue. Did you program the btistream into your MicroZed before you tried to run the hello world application?(Blue FPGA LED Done LED turns on)

    Also which MicroZed do you have the 7010 or 7020?

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to jafoste4

    Hi Josh,

    Yes I did program the bit stream using the program FPGA option in SDK and the Blue LED Done LED did turn on.  I have MicroZed 7010. 

    I installed Vivado 2015.4 and was able to get the Hello World application up. I was thinking that it is a Vivado 16.4 issue but since you got it up and running, I don't know what is the problem in my case. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    I'm using a Windows 10 laptop. Are you also running it on a Windows 10 OS?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 9 years ago

    Hello Kin,

    This is my solution to the MicroZed 7010 using Vivado 2016.4. Extract the Zip file to C:\Avnet\MicroZed. Use SDK to open the workspace at C:\Avnet\MicroZed\Applications\MZ_Basic_System. Program the bitstream and run the application. Let me know if it works for you. 

    Here is the link to download it : https://avnet.egnyte.com/dl/qjag3QtRRi

    Is it does work, compare it to your own setup to determine what the issue is.

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    I'm not able to build the workspace when I extract as you said. Your Zipfile name is MZ_7010_Solution_04. So I created a folder in C:\Avnet\MicroZed where I extracted the contents of the zip file. But when I launch sdk and give the workspace as C:\Avnet\MicroZed\Applications\MZ_Basic_System, the sdk takes a long time to build and at the end of it, all the folders have a red cross mark on them. Also in the beginning when I open sdk and give this workspace I get this message: The original source from which the hardware specification for project 'hw_platform_0' is now diffewrent from the specification in the project..... and many more lines... In the end it asks if I want to continue. I said yes.

    I also tried to regenerate Hello World using the Vivado Project in you zip file but I get the same result as I do for my project. It says implementation is out of date. I did not regenerate the bit stream while trying. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    I'm not able to build the workspace when I extract as you said. Your Zipfile name is MZ_7010_Solution_04. So I created a folder in C:\Avnet\MicroZed where I extracted the contents of the zip file. But when I launch sdk and give the workspace as C:\Avnet\MicroZed\Applications\MZ_Basic_System, the sdk takes a long time to build and at the end of it, all the folders have a red cross mark on them. Also in the beginning when I open sdk and give this workspace I get this message: The original source from which the hardware specification for project 'hw_platform_0' is now diffewrent from the specification in the project..... and many more lines... In the end it asks if I want to continue. I said yes.

    I also tried to regenerate Hello World using the Vivado Project in you zip file but I get the same result as I do for my project. It says implementation is out of date. I did not regenerate the bit stream while trying. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 9 years ago

    Hi Kini3105,

    I am going to suggest that you revert back to Vivado 2016.2 and run through the tutorial using that Version.

    A detailed 2016.4 release will be available for download in about a months time if want any further support with this tutorial in 2016.4.

    My only other suggestion if you are dead set on using 2016.4 is for you to compare your hardware/sdk to the one I have made available to you.

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to jafoste4

    Hi Josh,

    I will use Vivado 16.2. Thank you.

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