06-19-2012 02:50 AM
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.
Solved! Go to Solution.
06-19-2012 07:14 AM
06-22-2012 01:12 PM
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.
06-27-2012 01:04 AM
This was the error message it displayed before crashing.
ide_initialize_paths failed: Can't find the GUI Tcl library in the following directories:
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.