# Has anyone got remote debugging working on CC6 adapter board?

**URL:** <https://forums.digi.com/t/has-anyone-got-remote-debugging-working-on-cc6-adapter-board/13612>\
**Category:** Linux\
**Tags:** linux, eclipse, cc6\
**Created:** [September 19, 2014, 7:37am UTC](https://forums.digi.com/t/has-anyone-got-remote-debugging-working-on-cc6-adapter-board/13612 "2014-09-19T07:37:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.lockyer](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@david.lockyer](https://forums.digi.com/u/david.lockyer)\
**Post date:** [September 19, 2014, 7:37am UTC](https://forums.digi.com/t/has-anyone-got-remote-debugging-working-on-cc6-adapter-board/13612/1 "2014-09-19T07:37:44Z")

</div>

Hi,

I have a Connect Core 6 Early access kit, but am struggling to get remote debugging working in eclipse, has anyone managed to get this working, if so do you have any info that could help me get going?

I am using Ubuntu and attempting to use the Yocto toolchain as oppose to the stand alone toolchain.

I get as far as being prompted for login details (root, no password), but it then just times out.

I am however able to browse the file system in the ‘Remote Systems’ panel after logging in, in the Remote Systems Explorer perspective in Eclipse.

Thanks in advance,

David

---

<div class="post-metadata">

**Author:** ![david.lockyer](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@david.lockyer](https://forums.digi.com/u/david.lockyer)\
**Post date:** [September 19, 2014, 8:25am UTC](https://forums.digi.com/t/has-anyone-got-remote-debugging-working-on-cc6-adapter-board/13612/2 "2014-09-19T08:25:11Z")

</div>

The error message I get:

Step finished with this error: Failed to launch remote process.

Context: New configuration  
New configuration(debug) - Remote Application  
Step: Launch Process

Process Path: usr/bin/hello\_world  
Process Arguments:

Possible Cause:  
TCF error report:  
Command: ProcessesV1 start “usr/bin”, “usr/bin/hello\_world”, [“usr/bin/hello\_world”], [“TERM=ansi”,“SHELL=/bin/bash”,“LANGUAGE=en\_GB:en”,“SUDO\_GID=1000”,"PATH=/usr/local/sbin:/usr/local/…, {“StopAtEntry”:false,“StopAtMain”:true,“UseTerminal”:true,“Attach”:true,“AttachChildren”:true}  
Time: 2014-09-19 14:20:19.753  
Error text: No such file or directory  
Error code: 1  
Alt code: 2  
Alt org: Linux  
TCF error report:  
Command: ProcessesV1 start “usr/bin”, “usr/bin/hello\_world”, [“usr/bin/hello\_world”], [“TERM=ansi”,“SHELL=/bin/bash”,“LANGUAGE=en\_GB:en”,“SUDO\_GID=1000”,"PATH=/usr/local/sbin:/usr/local/…, {“StopAtEntry”:false,“StopAtMain”:true,“UseTerminal”:true,“Attach”:true,“AttachChildren”:true}  
Time: 2014-09-19 14:20:19.753  
Error text: No such file or directory  
Error code: 1  
Alt code: 2  
Alt org: Linux

---

<div class="post-metadata">

**Author:** ![tuxembb](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@tuxembb](https://forums.digi.com/u/tuxembb)\
**Post date:** [September 24, 2014, 11:48pm UTC](https://forums.digi.com/t/has-anyone-got-remote-debugging-working-on-cc6-adapter-board/13612/3 "2014-09-24T23:48:21Z")

</div>

Did you check in yocto communities?

I just got these links from internet

[http://www.yoctoproject.org/docs/1.6.1/adt-manual/adt-manual.html](http://www.yoctoproject.org/docs/1.6.1/adt-manual/adt-manual.html)  
[https://www.yoctoproject.org/sites/default/files/elc2013-eclipse-lab.pdf](https://www.yoctoproject.org/sites/default/files/elc2013-eclipse-lab.pdf)  
[https://www.yoctoproject.org/tools-resources/projects/eclipse-ide-plug](https://www.yoctoproject.org/tools-resources/projects/eclipse-ide-plug)

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [September 25, 2014, 1:15pm UTC](https://forums.digi.com/t/has-anyone-got-remote-debugging-working-on-cc6-adapter-board/13612/4 "2014-09-25T13:15:51Z")

</div>

looks like debugger is looking for the hello\_world executable in the wrong place: /usr/bin  
Command: ProcessesV1 start “usr/bin”, “usr/bin/hello\_world”, [“usr/bin/hello\_world”],  
this hsould point to the location you actually deploying it - usually /tmp

---

<div class="post-metadata">

**Author:** ![david.lockyer](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@david.lockyer](https://forums.digi.com/u/david.lockyer)\
**Post date:** [September 26, 2014, 6:05am UTC](https://forums.digi.com/t/has-anyone-got-remote-debugging-working-on-cc6-adapter-board/13612/5 "2014-09-26T06:05:14Z")

</div>

It appears there is a script you have to run after doing a “bitbake dey-image-minimal -c poulate\_sdk” that is not in the documentation, however I did do it on a training coarse yesterday - but can’t remember where or what. I guess I will have to be patient and wait for the presentation with the details to become available…

---

<div class="post-metadata">

**Author:** ![david.lockyer](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@david.lockyer](https://forums.digi.com/u/david.lockyer)\
**Post date:** [October 3, 2014, 9:22am UTC](https://forums.digi.com/t/has-anyone-got-remote-debugging-working-on-cc6-adapter-board/13612/6 "2014-10-03T09:22:30Z")

</div>

For others who might want to know how this was resolved:

# cd ~/workspace/ccimx6sbc-training/tmp/deploy/sdk

# ./dey-eglibc-i686-dey-image-graphical-cortexa9hf-vfp-neon-toolchain-1.6.sh

Then when prompted:  
Enter target directory for SDK (default: /opt/poky/1.6): /opt/dey-1.6/graphical/ccimx6sbc

You are about to install the SDK to “/opt/dey-1.6/graphical/ccimx6sbc”. Proceed[Y/n]? Y

[sudo] password for digi: digi

Extracting SDK…done  
Setting it up…done  
SDK has been successfully set up and is ready to be used.
