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
Ultrazed Hardware Design Vitis - How to do I fix this boot / load 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 19 replies
  • Subscribers 323 subscribers
  • Views 3309 views
  • Users 0 members are here
Related

Vitis - How to do I fix this boot / load error ?

efreeman
efreeman 10 months ago

10:43:39 ERROR : timeout: target has not halted

10:43:39 ERROR : [Ljava.lang.StackTraceElement;@2df24288

10:43:39 ERROR : Failed to initialize the hardware Failed to detect FSBL exit status using symbol: XFsbl_Exit Retry by changing the symbol or set environment variable VITIS_FSBL_EXIT_TIMEOUT to change the wait timeout

  • Sign in to reply
  • Cancel

Top Replies

  • efreeman
    efreeman 9 months ago in reply to iksevas +1
    The out of box design works. Unlikely there are any hardware problems. To use the Vitis debugger what value do I set the mode pins on the SW2 dip switch? I think the JTAG mode is "1111".
  • bidrohini
    0 bidrohini 10 months ago

    timeout: target has not halted means that the debugging session couldn't halt the processor, which can happen if the processor hasn't exited the FSBL. Increasing the wait timeout may help if the processor is taking too long to finish this stage.

    Regarding the other errors, Vitis looks for the XFsbl_Exit symbol to determine if the FSBL has finished, and it might not be finding it. Ensure that the FSBL project is configured correctly and that XFsbl_Exit is accessible. Set the environment variable VITIS_FSBL_EXIT_TIMEOUT to increase the wait timeout. You can set this in your terminal or Vitis environment settings, e.g., export VITIS_FSBL_EXIT_TIMEOUT=60000 (60 seconds).



    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • efreeman
    0 efreeman 10 months ago in reply to bidrohini

    export VITIS_FSBL_EXIT_TIMEOUT=60000 did not fix the problem. I tried VItis 2024.1 and 2023.2 and get the same results. I am using the Avnet UltraZed-EV board. When I create the platform I selected the zcu102 hardware design. There is a zed selection but not an ultrazed. Will the zcu102 hardware design work with the UltraZed-EV board ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iksevas
    0 iksevas 10 months ago in reply to efreeman

    There are BSPs on this shared site that you can try: 

    Engineering & Technology - Documentation - public_release - All Documents

    Also here on Avnet GITHUB:

    Avnet · GitHub

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • efreeman
    0 efreeman 10 months ago in reply to iksevas

    Are there simple exact instructions on how to create and debug a "Hello World" application on the UltraZed-EV board using Window 11 ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iksevas
    0 iksevas 10 months ago in reply to efreeman

    MicroZed Chronicles has examples of this:

    https://adaptivesupport.amd.com/s/article/747681?language=en_US

    https://adaptivesupport.amd.com/s/article/749406?language=en_US

    You can simply target the UltraZed-EV Board Definition Files for this.that are built into Vivado 2022 and on.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • efreeman
    0 efreeman 10 months ago in reply to iksevas

    Thank you for the information but I still cannot get a simple "Hello World" application to work on the UltraZed-EV board using Window 11 and Vitis 2024.1 or 2023.2 ? The main link does not work and there is no clue how to use the other information. Is it possible for me to create a new thread and provide a link to the screen shots that show what I have done ? It should be a very simple process.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iksevas
    0 iksevas 10 months ago in reply to efreeman

    It is a relatively easy process. Here is the hardware generation process for Vivado.

    1) Create a new RTL project.

    2) Select the UltraZed-EV / EV Carrier Card Board (It is part of the Xilinx Board Store)

    3) Create a block design and add the MPSoC IP.

    4) Run Block Automation to Apply the BOARD PRESET.

    5) Connect the FPD_ACLK ports to the PL_CLK0 ports - this is not automated.

    6) Generate the BLOCK DESIGN from IP Integrator

    7) When BLOCK DESIGN GENERATION is complete, generate the TOP LEVEL file and let Vivado AUTO MANAGE it. This is done by selecting the BD (block design) from the SOURCE window and right clicking on CREATE HDL WRAPPER.

    8) From here you should be able to select GENERATE BITSREAM from the PROGRAM and DEBUG section of the FLOW NAVIGATOR.

    At this point you have a valid HARDWARE DESIGN that you can export to VITIS (SDK).

    I assume you were successful into getting to this point?

    I will follow with the Vitis Flow shortly.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iksevas
    0 iksevas 10 months ago in reply to iksevas

    The Vitis Flow 2024.1: 

    1) From Vivado - Export Hardware from the FILE MENU (EXPORT -> EXPORT HARDWARE). I typically always include the BITSTREAM. This generates the HDF/XSA which is a file used by Vitis.

    2) You could use the Vivado tool to launch the VITIS IDE at this point., It's in the TOOLS MENU (LAUNCH VITIS IDE).

    3) Create or point to a WORKSPACE for this project.

    4) Create a PLATFORM COMPONENT using the XSA file generated by Vivado.- Target STANDALONE OS. This creates the BSP for use with the applications.

    5) Create an APPLICATION COMPONENT - for this you can naviage the platform to the DRIVERS section and find the PSU_UART_0 driver. From within that DRIVER window all the way to the right is IMPORT EXAMPLES. You should be able to generate the HELLO WORLD example there.

    6) BUILD both the PLATFORM and the HELLO WORLD APPLICATION.  You shouldn't see any PROBLEMS for either.

    7) At this point you should be ready to target the HARDWARE. You will need to have the UART USB port connected to a PC with a terminal on it. The terminal should be set to the appropriate COM port with the appropriate settings: 115200. There are two COM ports associated with the EV Carrier Card. You will need to determine the proper one.

    8) Don't forget your JTAG cable.

    8) Power on the SOM/Carrier Card and from within Vitis you should be able to select RUN (RUN on HARDWARE) and get the HELLO WORLD to program over JTAG to the MPSoC.

    9) You should see HELLO WORLD on the TERMINAL.

    10) Next would be to build a BOOT IMAGE that you can program to an SD card. In 2024.1 Vitis you select CREATE BOOT IMAGE.The only think you need to do here is specify a path for the OUTPUTs and then select CREATE IMAGE.

    11) This generates a BOOT.BIN. You can drop this file on an SD card. 

    12) Power of the SOM/Carrier Card - Change the boot mode settings to SD Card Mode. 

    13) Install the SD card in the SD card cage. 

    14) Power on the SOM/Carrier Card.

    15) You should see HELLO WORLD in the TERMINAL.

    That's Hello World on almost any MPSoC platform.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • efreeman
    0 efreeman 10 months ago in reply to iksevas

    The Vivado/Vitis instructions look good. The instructions helped me create the correct *.xsa file. I needed to refresh the board catalog/repository and select vendor avnet.com. Then the UltraZed-EV / EV Carrier Card board showed up and I clicked on the download button. I am using the
    Vitis/Vivado 2023.2 versions.

    I am still getting the same Vitis FSBLTimeout error. The platform and "Hello World" components build successfully. The Putty Terminal connects
    correctly to the board. When I run the "Hello World" program the Putty window displays "Zynq MP First Stage" then the timeout error occurs. I set the IP Address and export VITIS_FSBL_EXIT_TIMEOUT=60000 in the Putty window. Is there something else I can check to fix the Vitis FSBL Timeout Error ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iksevas
    0 iksevas 10 months ago in reply to efreeman

    image

    I was just able to recreate this on a UltraZed-EV/EV Carrier Card without issue. It is 2024,1 but the same process should work for the other versions of the tools in a similar manner except maybe some differences in Classic Vitis for older tools where you can generate the examples from the application creation menu.

    I used the FSBL provided in the project (ie - I didn't manually create an FSBL application).I followed the instructions I provided. I didn't need to do anything special to get to hello world.

    I'm not sure why you are getting stuck with an FSBL Timeout Error.

    • 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