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
  • 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
Avnet Boards General Unexpected error while launching program: Error while running ps7_init method:
  • 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 1 reply
  • Subscribers 353 subscribers
  • Views 450 views
  • Users 0 members are here
Related

Unexpected error while launching program: Error while running ps7_init method:

zedhed
zedhed over 12 years ago

Hi all,

 

We have seen some problems come up during the course of SpeedWay trainings while using SDK in some of the labs.  This post applies not only to SpeedWay labs, but could be something that you run into with other Reference Designs you come across.  This issue arises when someone else creates a PlanAhead project in a local folder on their development PCs and that project is not copied into the same local path on your own development PC.

 

For the most part, our lab documents will provide instructions to place the PlanAhead project into a specific folder.  By following these instructions, you will see the best results and this error should not come up:

 

Fullscreen 0083.contentimage_121847.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

 

Fullscreen 8400.contentimage_121848.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

 

However, what if you get a project from a colleague and you do not end up placing it in the same local path as they did?  I will use the Zynq Intro SpeedWay Lab6 solution for the SpeedWay LED_Controller PlanAhead project as an example of this issue and how to work around it.  In this example, the LED_Controller Lab6 solution archive gets extracted to the C:\ folder (yes, I am not following the lab instructions for the purpose of illustrating this example) such that the path does not match the directions in the SpeedWay lab documents.

 

I launch SDK and specify the SDK workspace as the C:\LED_Controller\LED_Controller.sdk\SDK\SDK_Export folder.

 

Fullscreen 2630.contentimage_121849.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

 

If the Hardware Specification Change Warning dialog is reached, I answer Yes to synchronize the workspace.

 

Fullscreen 8103.contentimage_121850.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

 

Once synchronization is complete and the workspace is rebuilt, the device initialization properties must be updated.  I open the software project Debug/Run configuration by right clicking on the LED_Dimmer project and selecting the Run As-->Run Configurations… item.  Then select the LED_Dimmer Debug ELF configuration item on the left and then clicking on the Device Initialization tab at the right.  There is an absolute path shown in the Path to initialization TCL file field that is stale and must be updated to the correct path.  For my example, it should be changed to the C:\LED_Controller\LED_Controller.sdk\SDK\SDK_Export\system_hw_platform\ps7_init.tcl file because that is where I put the extracted solution project.

 

Fullscreen 2234.contentimage_121851.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

 

If this stale TCL file path does not get updated, when the LED_Dimmer application gets launched by SDK it cannot fint the ps7_init.tcl file because it is searching in that stale path which does not exist.  As a result, the launch fails with the following error messages:

 

Fullscreen 6431.contentimage_121852.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

 

Another thing that I run into is related to the case where workspace synchronization is not performed.  As a result there is an absolute path to the PL bitstream that also needs to be updated.  I open the Xilinx Tools-->Program FPGA dialog and use the Browse button to update the path to the system.bit bitstream now located in the C:\LED_Controller\LED_Controller.sdk\SDK\SDK_Export\system_hw_platform\ folder.

 

Fullscreen 1157.contentimage_121853.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

 

Anyways, some of this may be obvious to those who have been using Eclipse or the Xilinx tools for many years.  To some others, this could really trip them up when they go to grab a PlanAhead project from a colleague or download one from a community website.  Something to keep in mind in case you happen to run into this "Unexpected error while launching program: Error while running ps7_init method:" error.

 

Regards,

 

-Kevin

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

    thanks Kevin !! Nice notice

    • 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