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
Ultra96 Hardware Design Ultra96 V2 hangs at psu_init (vivado 2018.2)
  • 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
  • +1 person also asked this people also asked this
  • Replies 6 replies
  • Subscribers 335 subscribers
  • Views 2470 views
  • Users 0 members are here
Related

Ultra96 V2 hangs at psu_init (vivado 2018.2)

chris744
chris744 over 6 years ago

hi all,

 

i have just received a new ultra96 V2 board and i'm trying to do something

really simple. Just create a zynq block design and run the helloworld application.

i'm using vivado 2018.2. I have installed the Avnet Board Definition Files (BDF) :

 

ultra96v2 1.0

 

i have created a block design, inserted a zynq ultrascale+ ip, run block automation.

this is the first test i run when i get a new board.

 

but when i run the helloworld application, it hangs at :

image

 

any idea ?

 

ALEXANDRE Christophe

  • Sign in to reply
  • Cancel

Top Replies

  • chris744
    chris744 over 6 years ago in reply to bhfletcher +1
    hi all, i'm using the JTAG/UART Pod to access the USB-UART terminal. i have changed STDIN/OUT to uart1. after some test, i have to : 1) reset entire system, 2) download the bistream to PL, then the psu_init…
  • tomc1394
    0 tomc1394 over 6 years ago

    I have had the same problem. After some troubleshooting I found that the psu_init.tcl was hanging in the DDR configuration where it was trying to get information from the board. Someone from Avnet told me that they only saw that when the hardware configuration wasn't right, so I tried re-installing the board definition files. After that, I was able to get past the error. However, I never did get Hello World to come out the serial port. In my attempt to figure that out, I ended up creating a new project from the start and then it had the same problem with psu_init. I just re-installed the bdf files again and it seems to be loading correctly. Still nothing on the comm port, but at least I can get back to tracking that down. All I can say is "Good luck." If you find some success please post it back here.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bhfletcher
    0 bhfletcher over 6 years ago

    The ultra96v2 1.0 BDF is the correct one. The psu_init should not hang. Are you downloading the bitstream to the PL first? Have you changed STDIN/OUT to uart1? Are you using the JTAG/UART Pod to access the USB-UART terminal?

    Bryan

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • gtaylormb
    0 gtaylormb over 6 years ago in reply to bhfletcher

    I've been getting the same issue since I've had my board, psu_init hangs basically every other time. When it hangs I have to kill it and restart the debug and then it will succeed. I've found a way around it by selecting system reset and program FPGA in the Debug configuration. I'm also seeing some other weird behavior:

     

    I get the following warning when building the bare metal BSP:

    translation_table.S:145:2: warning: #warning "There's no DDR_1 in the HW design. MMU translation table marks 32 GB DDR address space as undefined" [-Wcpp]

    #warning "There's no DDR_1 in the HW design. MMU translation table marks 32 GB DDR address space as undefined"

      ^~~~~~~

     

    My application is also hanging if I add too much code (before it even hits the code I've added). I figured this was a stack/heap constraint but I've increased both sizes in lscript.ld from 0x2000 to 0x80000 and I'm still getting the hang.

     

    I believe these issues may all be related to DDR configuration, possibly in the board design files?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gtaylormb
    0 gtaylormb over 6 years ago in reply to gtaylormb

    gtaylormb  wrote:

    My application is also hanging if I add too much code (before it even hits the code I've added). I figured this was a stack/heap constraint but I've increased both sizes in lscript.ld from 0x2000 to 0x80000 and I'm still getting the hang.

    Eh this was my own dumb fault, turns out this isn't an issue. But it's hard to see since breakpoints don't seem to work. Once the code is launched the debugger goes off on it's own. I'm using Centos 7.6 and Vivado 2019.1.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bendaoudi
    0 bendaoudi over 6 years ago in reply to tomc1394

    Try to change the sTD in/out interface in the BSP to ps uart 1 instead of uart 0.

    Open system.mss, --> click Modify this BSP's Settings --> Overview -> Standalone --> change stdin and stdout to psu_uart_1 instead of psu_uart_0, click OK and give a try image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • chris744
    0 chris744 over 6 years ago in reply to bhfletcher

    hi all,

     

    i'm using the JTAG/UART Pod to access the USB-UART terminal.

    i have changed STDIN/OUT to uart1.

     

    after some test, i have to :

     

    1) reset entire system,

    2) download the bistream to PL,

     

    then the psu_init runs correctly and the message displays in the terminal.

     

    you have to set this way if you want to run the application program as much as you want without powering off/on..

     

    image

     

    ALEXANDRE Christophe

    • Cancel
    • Vote Up +1 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