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 MicroZed Run .elf issue
  • 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 7 replies
  • Subscribers 356 subscribers
  • Views 927 views
  • Users 0 members are here
Related

MicroZed Run .elf issue

Former Member
Former Member over 9 years ago

I am currently building a system to run on the MicroZed 7020 board. My system consists of an FPGA design and a baremetal application. I've used Vivado 2014.4 but a week ago I decided to try the new Vivado 2016.1. I didn't realize at that time that I need 2016.1 compatible board definition files. I went through the hazzle of updating everything in my design and got the bitstream generated. After some time spent with the SDK and multiple tries to run my app I remembered the board definition files and noticed that there isn't ones for 2016.1. So I decided to go back and continue with my 2014.4 version. Now when running my system with the 2014.4 version I got this weird problem. When programming the FPGA and running my application for the first time after a power-cycle everything goes smoothly. When I want to relaunch the app it seems that the FPGA is reset even though I haven't specified the run configurations to reset the whole system. The launch is interrupted with the message

No Target with ID 64 in the System

Unexpected error while launching program.
java.lang.RuntimeException: Failed to download ELF file

Cannot access JTAG-DP: invalid ACK value (0x00, expected=0x02)
Error Address = 0x0017b000, Size = 0x00000004

at com.xilinx.sdk.targetmanager.internal.TM.downloadELF(TM.java:666)
at com.xilinx.sdk.debug.core.internal.AppRunner.run(AppRunner.java:129)
at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.runApplication(XilinxAppLaunchConfigurationDelegate.java:605


If I reprogram the FPGA and relaunch the app SDK thinks I have another session in progress and I need to relaunch SDK.

If I modify the run configurations so that SDK resets the whole system and programs the FPGA on every relaunch I have to relaunch twice as the first relaunch is always interrupted with the message "Unexpected error while launching program: Failed to download the bit file"

This is so impractical that I uninstalled 2016.1 and reinstalled 2014.4 hoping that it would fix the issue. No luck. Any ideas what trace did the 2016.1 leave on my computer/board?

BR,
Esa


  • Sign in to reply
  • Cancel
Parents
  • drozwood90
    0 drozwood90 over 9 years ago

    Hi there,

    I wanted to also post that this seems very similar to another post:
    http://zedboard.org/content/no-target-id-64-system

    Are you initializing the PS7 with ps7_init functions?  This could also cause your described symptoms.

    --Dan

    • 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 drozwood90

    Yes, the ps7_init.tcl is specified and ps7_init and ps7_post_config boxes are checked in the Target Setup -tab. Is it possible that the .tcl is generated incorrectly?

    -Esa

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

    Yes, the ps7_init.tcl is specified and ps7_init and ps7_post_config boxes are checked in the Target Setup -tab. Is it possible that the .tcl is generated incorrectly?

    -Esa

    • 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