Hi to everyone,
I am quite stucked with a problem for several days and I would like to ask for some possible help.
I am trying to download a project to a Avnet Board on a Virtex 2 Pro xc2vp7 and debugging with XMD and GBD from EDK 6.3 through JTAG parallel cable IV. First of all I download my design (download.bit) with the download option from the tools menu of EDK. Ok After that finishes correctly I open XMD form a Xygwin shell and type 'connect ppc hw' to connect to the PowerPC core and everything seems to work correctly since I get the message:
xmd: starting gdb server for "ppc" target at TCP port 1234
I assume that this assures that the PowerPC degugger is listening at port
1234 for any GBD requests. But when I connect to 'localhost' to port '1234' with the software debugger I always recieve the same messages from the XMD console:Accepted a new GDB connection from 127.0.0.1 on port 2325
putpkt: invalid argument
Closed GDB connection from 127.0.0.1 on port 2325
This always occurs either choosing 'run' (the code) or 'connect to target' on GBD. After a while I get a Windows alert message with:
GDB
Couldn't establish connection to remote target
Malformed response to offset query, timeout
GDB cannot connect to the target board using localhost:1234.
Verify that the board is securely connected and, if necessary,
modify the port setting with the debugger preferences.
I am connected to the board with hyperterminal 9600 bauds with a serial cable, the JTAG parallel cable is powered and so is the board. The board lights seem to be all ok. No malfunction.
I really don't know why I can't start downloading the .elf file to the board. For some reason the debug core isn't accepting requests from the software debugger. Could the baudrate be the problem? The board serial port works on 9600 bauds, I even tried choosing other baudrates concluding the same. Am I missing something?
Thanks a lot. Adrian.