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 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 Configure PL from PS
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 303 subscribers
  • Views 346 views
  • Users 0 members are here
Related

Configure PL from PS

Former Member
Former Member over 10 years ago

Hello,

I try to configure the PL from PS. Therefor I use the xdevcfg_polled_example.c from the xdevcfg documentation (just clicking in the .mss file).
The problem is, that it always hangs when polling the done flag in line 280.
I have no ide why.
I have used the .bin file from Vivado output and one generated by promgen (they are slightly different), but both did not work.
When first configurating the FPGA with JTAG and then reconfigurating with the example program, it does not hang and the logic is configured the right way. But that actually is not what I'm tryin to achieve.
Interestingly I found out, that when letting the debugger run free in that loop for some time, a reset occurs (just as if a buffer overflow occurs).


Can somebody help?


Best regards,
Yaro

P.S. I use Vivado 2014.2

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

    There are a couple of posts on the Xilinx Community forum that might be helpful:

     

    http://forums.xilinx.com/t5/Zynq-All-Programmable-SoC/Full-PL-configuration-using-PCAP/m-p/392335/highlight/true#M828

     

    http://forums.xilinx.com/t5/Embedded-Processor-System-Design/Zynq-PL-configuration-interfaces/m-p/317951/highlight/true#M8070

     

    As the second one suggests you might want to look at XAPP1159.

     

    -Gary

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

    If I am understanding right, you're trying to achieve a dynamic runtime full reconfiguration, is it so ?
    If yes, you would better check the FSBL code for inspiration, the imagemover.c, and the imagemover.h in particular would be of great help.
    Regards,

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

    Hey guys,

    I got it to work.
    The problem was to generate the right .bin file.
    With the promgen command "promgen -b -w -p bin -data_width 32 -u 0 bitfile.bit -o bitfile.bin" found here "http://forums.xilinx.com/t5/Embedded-Processor-System-Design/How-to-use-PCAP-to-config-the-PL-in-zynq/td-p/280230" I was able to configure the PL with the standard example.

    Best regards,
    Yaro

    • 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