Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Visitor
parthasarathy
Posts: 9
Registered: ‎04-11-2011
0
Accepted Solution

Could not launch Software debugger

Hi all,

 

I could not start software debugger in Xilinx Platform Studio 12.2.

I have an XPS project with custom peripheral attached to Microblaze processor. When I launch Software debugger (Debug -> launch software debugger) it crashes immediately. I'm trying to debug a software application project to know the contents of memory and other registers. 

 

Kindly help me in this regard.

dsp
Visitor
dsp
Posts: 18
Registered: ‎06-15-2012
0

Re: Could not launch Software debugger

I don't know the answer you need, but I will be interested in it when it comes, because I am having the same problem is Platform Studio 14.1. Debugging from the XMD console works OK for me, but not the software debugger. I am trying to debug on a MicroBlaze hardware platform.
dsp
dsp
Visitor
dsp
Posts: 18
Registered: ‎06-15-2012
0

Re: Could not launch Software debugger

Dear parthasarathy,

 

 Here is what I am seeing currently (I have made SOME progress):

 

  • I am running a Spartan SP605 card
  • The hardware platform is a Microblaze with some additional cores added by engineers at my company
  • I load the hardware platform using the Xilinx Tools→Program FPGA command. Often requires 2 or 3 tries
  • We have been selecting the microblaze bootloop for the software configuration in the above step
  • Define a Debug Configuration for the top level project using the Run→Debug Configurations... command
  • Check the check box on the Remote Debug tab and deselect the check boxes on the Common tab
  • connect a terminal window at the right baud rate
  • Enter "connect mb mdm" at the XMD command line
  • Run the new configuration using the Run→Debug command. May require a retry
  • Program runs and output is seen in the terminal window.
  • I am seeing undependable behavior of breakpoints. I may be able to step by c instruction, but if the code reaches an arbitrary breakpoint, its location may never be reported. Lower level debugging using XMD has been working OK for me, however.

I hope this helps a little.

dsp
Regular Visitor
parthasarathy
Posts: 9
Registered: ‎04-11-2011
0

Re: Could not launch Software debugger

Hi dsp

 

This was the error message it displayed before crashing.

 

ide_initialize_paths failed: Can't find the GUI Tcl library in the following directories:

C:/Xilinx/12.2/ISE_DS/EDK/usr/share/redhat/gui
C:/Xilinx/12.2/ISE_DS/EDK/share/redhat/gui
C:/Xilinx/12.2/ISE_DS/share/redhat/gui
C:/Xilinx/12.2/ISE_DS/EDK/insight-gdb/microblaze/nt64/libgui/library

 

To get it right, I copied 'share' folder in location C:\Xilinx\12.2\ISE_DS\EDK\insight-gdb\microblaze\nt64 

to C:\Xilinx\12.2\ISE_DS\EDK and it works good now.

 

Hope you get the software debugger working by doing the same.