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
ZedBoard Hardware Design Basic Bare metal application not loading on Zedboard
  • 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 Verified Answer
  • Replies 6 replies
  • Subscribers 355 subscribers
  • Views 861 views
  • Users 0 members are here
Related

Basic Bare metal application not loading on Zedboard

Former Member
Former Member over 9 years ago

Hi,

I'm trying to get a basic led glowing project up using a bare metal application. After I downloading the bit stream and  the .elf file, I'm not seeing any change on the Zedboard. Even the uart terminal is blank, even though connection is there. The board jumpers are set to jtag mode! I'm sure there is a pretty simple reason as to what I'm not doing right! But I'm not able to put my finger on it! Can someone please explain! 

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

    Hello Kini3105,

    Do you have much experience with Zynq Development? If not I am going to suggest you go through our Zynq Hardware and Zynq Software Development Speedways. You can find them here :

     http://zedboard.org/support/trainings-and-videos

    As for the issue you are currently facing. Did you program your Zedboard? If you did that, did you right click on your application your trying to run and click Run As -->Launch On Hardware. This is all covered in the speedways I referenced above as well.

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

    As a matter of fact, I do have experience with Zynq development. And I tried dowloading teh same bit stream and .elf file on a different board and it works. But I'm trying to figure out what is wrong with this board. It seems that the program doesn't run completely when I dump the .elf file. This i sthe simple C code i'm running:

    //====================================================
    #include "xparameters.h"
    #include "xgpio.h"
     
    int main (void)
    {
    XGpio led;
     
     
    // AXI GPIO LEDs Initialization
    XGpio_Initialize(&led, XPAR_AXI_GPIO_0_DEVICE_ID);
     
    xil_printf("-- Start of the Program --\r\n");
     
    XGpio_DiscreteWrite(&led, 1, 0xff);
     
    xil_printf("-- End of the Program --\r\n");
     
     return 1;
    }
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 9 years ago

    Hello Kini3105,

    Have you tried running the Hello_World application and Peripheral test application templates on your ZedBoard? If those fail, you could possibly have an issue with your hardware design.

    --Josh 

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

    I finally was able to solve the problem. when we configure the Zynq processor, and select UART 1, the voltage across the bank should be made 1.8. This setting is mentioned in one of the tutorials in the link provided by you. Thank you very much. But I still do not understand why it was working on the other Zedboard and failing in this one. The behavior should have been same in both the Zedboards. 

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

    Hello Kini3105,

    I appreciate you providing your solution! Hopefully it will help others in the future. Perhaps you have two different revisions of ZedBoard? One rev D the other rev C?

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

    You are right! I just logged in to mention that one board is Rev C and the other is Rev D. You had already said that :) That was the key difference and probably it was because of that. 

    • 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