This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi friends,
I am using CCSv5.3 and SDKv7. I am trying to debug "DHRYSTONE" project given in SDK only
using Remote_System_Explorer and gdbserve.Host is able to connect with target for 30 to 40 seconds
but after that I am getting Failure message i.e "Fail to execute MI command " .
I am attaching Screen shot of CCS, Please check it and suggest me how to resolve this issue.
Regards
Vishal.
Hi Vishal,
The error in the screenshot occurs when the gdb client on the host cannot connect to the gdbserver running on the target. It could be that gdbserver was not started correctly or there is a port mismatch, etc. Those are some thing to check.
ki
I re-read your post and realized that you are using RSE and that you were able to initially connect before losing connection.
Vishal 118 said:but after that I am getting Failure message i.e "Fail to execute MI command " .
See this url for more details:
http://stackoverflow.com/questions/13678923/eclipse-failed-to-execute-mi-command
Thanks
ki
Hi Ki-So,
Thanks for your valuable reply. I checked above link, From link I find out that user was not able to
set up connection between host and target even for while But I am able to connect and able to debug 5 to
10 lines of code after that I am getting this message.
HE may got this error due selecting wrong option while setting "Debug Configuration". He may be
using " GDB (DSF) Automatic Remote debugging Launcher" , In place of Manual Remote debugging
Launcher . Previously I am also facing same problem.
If anyone knows solution for above problem please help me.
Regards,
Vishal.
Vishal 118 said:If anyone knows solution for above problem please help me.
As mentioned in the url, can you confirm that you are using the correct versions of gdb client and gdb server (matching versions and same arch)?
hi ki,
In CCS where we are setting GDB Client?? How and where to check for GDB client version and arch.
on CCS. I am not aware of it. Please suggest me.
I am using SDKv7 and AM335x starter kit.
Regards
Vishal.
Vishal 118 said:In CCS where we are setting GDB Client??
You would specify the GDB client when creating a debug configuration. In is shown in these steps:
In this dialog:
http://processors.wiki.ti.com/index.php/File:Auto-debug-config-debugger-tab.png
Hi Ki,
Thanks brother for replying, I checked the path which were set.
$ /home/vishal/ti-sdk-am335x-evm-07.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/
arm-linux- gnueabihf-gdb.
If you know anything else which may create problem in debugging then please share.
Regards,
Vishal
Vishal 118 said:If you know anything else which may create problem in debugging then please share.
What you need to check is if the gdbserver that is being used on the target is the correct one for the gdb you are using. It's been awhile since I used the am335x SDK so I can't remember how that is all setup but that is what you need to check on your own.
Hi Ki,
I am using GDB and GDBServer which is given with SDKv7. So hope both are compatible.
Regards,
Vishal.