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
Software Application Development zedboard SDK load elf error
  • 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 3 replies
  • Subscribers 329 subscribers
  • Views 684 views
  • Users 0 members are here
Related

zedboard SDK load elf error

Former Member
Former Member over 9 years ago

zedboard hardware project use vivado 2014.4 embedded zedboard zynq evaluation and development kit design without any modification.Generate bitstream directly and program device successfully.
Then i lanuch SDK and use helloworld application without any modification.after i build it and run error occured:

problem occured window :
An internal error occurred during: "Launching New_configuration".
No Target with ID 64 in the System

SDK log:
21:37:04 INFOt: Processor reset is completed for ps7_cortexa9_0
21:37:07 ERRORt: Unexpected error while launching program.
java.lang.RuntimeException: Failed to download ELF file


    AP transaction error (DP CTRL_STAT=0xf0000021)
    Error Address = 0x00100000, Size = 0x00000004


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

at the beginning i used this process run helloworld application can read helloworld at serial port.but these days error occurred. who knows what is the problem?

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 9 years ago

    I'm not sure about this answer but you could check into it.

    I find it suspicious that the error address is 0x100000.  This is the beginning of the DDR memory.  You could be trying to write the program to 0x100000 and then run it from there too (overwriting something).  Try going into the linker script and running the program from the OCM RAM instead of the DDR.

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

    Hi Tianran,

    I suspect that running from OCM as ktuck suggested will probably work fine but you will run into other problems later on.

    Your reported details sound exactly like the PS7 configuration issue reported here:

    https://forums.xilinx.com/t5/Embedded-Processor-System-Design/No-Target-with-ID-64-in-the-System/td-p/473006

    Check your launch configuration and make certain that the ps7_init.tcl file is being used to initialize the processor before your application is run.  Otherwise, the DDR3 controller does not get initialized properly and you cannot write the Hello World application to the DDR3 memory (well actually you can, but when you read it back it is corrupted information at that point).

    Regards,

    -Kevin

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

    Hi Tianran

    I 've made a zynq board.I 'm your problems.Are you able to solve the problem.please help me.

     

    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 © 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