Remote debugging applications on ODROD-XU4

Post Reply
TakiEddine
Posts: 29
Joined: Mon Apr 22, 2019 1:19 am
languages_spoken: Arabic, English, French
ODROIDs: XU4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Remote debugging applications on ODROD-XU4

Unread post by TakiEddine » Sat Dec 07, 2019 8:05 pm

I am trying to debug a c++ application on my ODROID-XU4 from a host computer using gdbserver. I'm using ARM Development studio on my host pc for developping and building the application. I'm trying to follow this tutorial to test remote debugging on the ODROID device https://developer.arm.com/tools-and-sof ... b9SY9W8E7g. The tutorial explains the steps needed to be followed on the host pc, and I did follow it until the point of setting up the ssh connection. At this point, I'm not sure what to do on the ODROID to establish the connection. I have configured gdbserver to use sftp connection.
how can I establish the connection between the ODROID and the host pc remotely?

User avatar
odroid
Site Admin
Posts: 33316
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 377 times
Been thanked: 450 times
Contact:

Re: Remote debugging applications on ODROD-XU4

Unread post by odroid » Sun Dec 08, 2019 6:41 pm

Are you looking for something like this?
https://wiki.odroid.com/odroid-xu4/appl ... ine_on_xu4

TakiEddine
Posts: 29
Joined: Mon Apr 22, 2019 1:19 am
languages_spoken: Arabic, English, French
ODROIDs: XU4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Remote debugging applications on ODROD-XU4

Unread post by TakiEddine » Sun Dec 08, 2019 7:02 pm

odroid wrote:
Sun Dec 08, 2019 6:41 pm
Are you looking for something like this?
https://wiki.odroid.com/odroid-xu4/appl ... ine_on_xu4
Well actually, I have solved the problem of connecting RSE to the odroid, I can now browse different home folders and add or remove files from my PC. The tutorial you posted, is about how to use streamline, at this stage I don't need this I would like just to start gdbserver on ODROID from my host pc, when I add the necessary files to the debug session and start debugging, I get the error shown in the image attached below. It looks like the odroid is not responding. Are there some guidelines of how I can solve this issue ?
Attachments
debug_failure.png
debug_failure.png (39.88 KiB) Viewed 220 times

User avatar
odroid
Site Admin
Posts: 33316
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 377 times
Been thanked: 450 times
Contact:

Re: Remote debugging applications on ODROD-XU4

Unread post by odroid » Mon Dec 09, 2019 11:21 am

Since we don't use Windows OS, it is very hard to help you.
I hope other people can give you some ideas.

TakiEddine
Posts: 29
Joined: Mon Apr 22, 2019 1:19 am
languages_spoken: Arabic, English, French
ODROIDs: XU4
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Remote debugging applications on ODROD-XU4

Unread post by TakiEddine » Mon Dec 09, 2019 6:59 pm

odroid wrote:
Mon Dec 09, 2019 11:21 am
Since we don't use Windows OS, it is very hard to help you.
I hope other people can give you some ideas.
No worries, I solved the problem.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 0 guests