[beagleboard] Eclipse C and Remote Debugging

2014-05-27 Thread Simon Platten
I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and remote 
debug Java applications on the Beaglebone Black, but for some reason I 
cannot remote debug C applications.

I can compile a C application and I can see that it is transferred to the 
Beaglebone Black, I can even run it from an SSH terminal on the Beaglebone 
Black.  But trying to remote debug always fails with a GDB error.

The console reports that GDB will reconnect, however it never does.

I've tried following numerous videos on YouTube, however none of them have 
resolved this issue.

In the end I decided to build and compile on the Beaglebone Black directly, 
however now I get an error saying GLIBC_2.17 libc.so.6 not found...sorry if 
my post isn't very detailed, I'm at work now without access to all the 
information.

Can anyone point me in the right location to resolve either the remote 
debugging or the GLIBC_2.17 error?  I have already spent a very long time 
trying to find answers myself.

Thank you,

Kind Regards,
Simon

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread John Syn

From:  Simon Platten 
Reply-To:  
Date:  Tuesday, May 27, 2014 at 11:53 PM
To:  
Subject:  [beagleboard] Eclipse C and Remote Debugging

> I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and remote
> debug Java applications on the Beaglebone Black, but for some reason I cannot
> remote debug C applications.
> 
> I can compile a C application and I can see that it is transferred to the
> Beaglebone Black, I can even run it from an SSH terminal on the Beaglebone
> Black.  But trying to remote debug always fails with a GDB error.
> 
> The console reports that GDB will reconnect, however it never does.
> 
> I've tried following numerous videos on YouTube, however none of them have
> resolved this issue.
> 
> In the end I decided to build and compile on the Beaglebone Black directly,
> however now I get an error saying GLIBC_2.17 libc.so.6 not found...sorry if my
> post isn't very detailed, I'm at work now without access to all the
> information.
> 
> Can anyone point me in the right location to resolve either the remote
> debugging or the GLIBC_2.17 error?  I have already spent a very long time
> trying to find answers myself.
You need GDBServer installed on your BBB. You launch GDBServer on your BBB
with IP of host and specify the port number for the host to connect to. In
Eclipse, I don¹t recall the exact command, but it is something like gdb
remote  . There are plenty of example on Google.

https://www.google.com/search?q=eclipse+gdbserver+remote+debug&oq=eclipse+gd
bserver&aqs=chrome.1.69i57j0l5.16411j0j7&sourceid=chrome&es_sm=119&ie=UTF-8

Regards
John
> 
> 
> Thank you,
> 
> Kind Regards,
> Simon
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Simon Platten
Hi John, Thank you for the reply, perhaps I wasn't very clear.  GDB Server 
is installed on the Beaglebone Black and I see the process running, it just 
fails to connect. 

I will post more detail when I get home tonight.  I've tried using the 
default port 2345 and also found a post suggesting , neither worked.



On Wednesday, 28 May 2014 08:45:53 UTC+1, john3909 wrote:
>
>
> From: Simon Platten >
> Reply-To: >
> Date: Tuesday, May 27, 2014 at 11:53 PM
> To: >
> Subject: [beagleboard] Eclipse C and Remote Debugging
>
> I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and remote 
> debug Java applications on the Beaglebone Black, but for some reason I 
> cannot remote debug C applications.
>
> I can compile a C application and I can see that it is transferred to the 
> Beaglebone Black, I can even run it from an SSH terminal on the Beaglebone 
> Black.  But trying to remote debug always fails with a GDB error.
>
> The console reports that GDB will reconnect, however it never does.
>
> I've tried following numerous videos on YouTube, however none of them have 
> resolved this issue.
>
> In the end I decided to build and compile on the Beaglebone Black 
> directly, however now I get an error saying GLIBC_2.17 libc.so.6 not 
> found...sorry if my post isn't very detailed, I'm at work now without 
> access to all the information.
>
> Can anyone point me in the right location to resolve either the remote 
> debugging or the GLIBC_2.17 error?  I have already spent a very long time 
> trying to find answers myself.
>
> You need GDBServer installed on your BBB. You launch GDBServer on your BBB 
> with IP of host and specify the port number for the host to connect to. In 
> Eclipse, I don’t recall the exact command, but it is something like gdb 
> remote  . There are plenty of example on Google. 
>
>
> https://www.google.com/search?q=eclipse+gdbserver+remote+debug&oq=eclipse+gdbserver&aqs=chrome.1.69i57j0l5.16411j0j7&sourceid=chrome&es_sm=119&ie=UTF-8
>
> Regards
> John
>
>
>
> Thank you,
>
> Kind Regards,
> Simon
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Simon Platten
I'm still looking for a solution and getting more and more frustrated by 
what seems to be a very steep up hill battle.

There are quite a few sites linking to 
http://www.angstrom-distribution.org/toolchains/

This link is invalid and results in a 404.  The toolchains that I did 
manage to track down are not all complete, some have a gdb in the archive, 
others don't.

Can someone point me in the direction of a complete toolchain with 
instructions on how to install it correctly?

Thank you,
Simon 

On Wednesday, 28 May 2014 08:52:36 UTC+1, Simon Platten wrote:
>
> Hi John, Thank you for the reply, perhaps I wasn't very clear.  GDB Server 
> is installed on the Beaglebone Black and I see the process running, it just 
> fails to connect. 
>
> I will post more detail when I get home tonight.  I've tried using the 
> default port 2345 and also found a post suggesting , neither worked.
>
>
>
> On Wednesday, 28 May 2014 08:45:53 UTC+1, john3909 wrote:
>>
>>
>> From: Simon Platten 
>> Reply-To: 
>> Date: Tuesday, May 27, 2014 at 11:53 PM
>> To: 
>> Subject: [beagleboard] Eclipse C and Remote Debugging
>>
>> I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and remote 
>> debug Java applications on the Beaglebone Black, but for some reason I 
>> cannot remote debug C applications.
>>
>> I can compile a C application and I can see that it is transferred to the 
>> Beaglebone Black, I can even run it from an SSH terminal on the Beaglebone 
>> Black.  But trying to remote debug always fails with a GDB error.
>>
>> The console reports that GDB will reconnect, however it never does.
>>
>> I've tried following numerous videos on YouTube, however none of them 
>> have resolved this issue.
>>
>> In the end I decided to build and compile on the Beaglebone Black 
>> directly, however now I get an error saying GLIBC_2.17 libc.so.6 not 
>> found...sorry if my post isn't very detailed, I'm at work now without 
>> access to all the information.
>>
>> Can anyone point me in the right location to resolve either the remote 
>> debugging or the GLIBC_2.17 error?  I have already spent a very long time 
>> trying to find answers myself.
>>
>> You need GDBServer installed on your BBB. You launch GDBServer on your 
>> BBB with IP of host and specify the port number for the host to connect to. 
>> In Eclipse, I don’t recall the exact command, but it is something like gdb 
>> remote  . There are plenty of example on Google. 
>>
>>
>> https://www.google.com/search?q=eclipse+gdbserver+remote+debug&oq=eclipse+gdbserver&aqs=chrome.1.69i57j0l5.16411j0j7&sourceid=chrome&es_sm=119&ie=UTF-8
>>
>> Regards
>> John
>>
>>
>>
>> Thank you,
>>
>> Kind Regards,
>> Simon
>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread John Syn

From:  Simon Platten 
Reply-To:  
Date:  Wednesday, May 28, 2014 at 12:09 PM
To:  
Subject:  Re: [beagleboard] Eclipse C and Remote Debugging

> I'm still looking for a solution and getting more and more frustrated by what
> seems to be a very steep up hill battle.
> 
> There are quite a few sites linking to
> http://www.angstrom-distribution.org/toolchains/
I think you are going to find it harder and harder to get support for
Angstrom. It has been over a year since I¹ve used Angstrom so I don¹t every
remember how to get some things working. I would recommend that you make the
move to Debian as we are much more able to help with the OS we currently
use. 

Regards,
John
> 
> This link is invalid and results in a 404.  The toolchains that I did manage
> to track down are not all complete, some have a gdb in the archive, others
> don't.
> 
> Can someone point me in the direction of a complete toolchain with
> instructions on how to install it correctly?
> 
> Thank you,
> Simon 
> 
> On Wednesday, 28 May 2014 08:52:36 UTC+1, Simon Platten  wrote:
>> Hi John, Thank you for the reply, perhaps I wasn't very clear.  GDB Server is
>> installed on the Beaglebone Black and I see the process running, it just
>> fails to connect.
>> 
>> I will post more detail when I get home tonight.  I've tried using the
>> default port 2345 and also found a post suggesting , neither worked.
>> 
>> 
>> 
>> On Wednesday, 28 May 2014 08:45:53 UTC+1, john3909  wrote:
>>> 
>>> From:  Simon Platten 
>>> Reply-To:  
>>> Date:  Tuesday, May 27, 2014 at 11:53 PM
>>> To:  
>>> Subject:  [beagleboard] Eclipse C and Remote Debugging
>>> 
>>>> I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and remote
>>>> debug Java applications on the Beaglebone Black, but for some reason I
>>>> cannot remote debug C applications.
>>>> 
>>>> I can compile a C application and I can see that it is transferred to the
>>>> Beaglebone Black, I can even run it from an SSH terminal on the Beaglebone
>>>> Black.  But trying to remote debug always fails with a GDB error.
>>>> 
>>>> The console reports that GDB will reconnect, however it never does.
>>>> 
>>>> I've tried following numerous videos on YouTube, however none of them have
>>>> resolved this issue.
>>>> 
>>>> In the end I decided to build and compile on the Beaglebone Black directly,
>>>> however now I get an error saying GLIBC_2.17 libc.so.6 not found...sorry if
>>>> my post isn't very detailed, I'm at work now without access to all the
>>>> information.
>>>> 
>>>> Can anyone point me in the right location to resolve either the remote
>>>> debugging or the GLIBC_2.17 error?  I have already spent a very long time
>>>> trying to find answers myself.
>>> You need GDBServer installed on your BBB. You launch GDBServer on your BBB
>>> with IP of host and specify the port number for the host to connect to. In
>>> Eclipse, I don¹t recall the exact command, but it is something like gdb
>>> remote  . There are plenty of example on Google.
>>> 
>>> https://www.google.com/search?q=eclipse+gdbserver+remote+debug&oq=eclipse+gd
>>> bserver&aqs=chrome.1.69i57j0l5.16411j0j7&sourceid=chrome&es_sm=119&ie=UTF-8
>>> 
>>> Regards
>>> John
>>>> 
>>>> 
>>>> Thank you,
>>>> 
>>>> Kind Regards,
>>>> Simon
>>>> 
>>>> -- 
>>>> For more options, visit http://beagleboard.org/discuss
>>>> --- 
>>>> You received this message because you are subscribed to the Google Groups
>>>> "BeagleBoard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>> email to beagleboard...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Simon Platten
What happened to Angstrom?  What do new Beaglebone Blacks ship with?

I've already invested a bunch of time into the Angstrom set-up getting 
mySQL server configured in MMM mode replicating between two beaglebone 
blacks with my own floating IP address manager.


On Wednesday, 28 May 2014 20:44:45 UTC+1, john3909 wrote:
>
>
> From: Simon Platten >
> Reply-To: >
> Date: Wednesday, May 28, 2014 at 12:09 PM
> To: >
> Subject: Re: [beagleboard] Eclipse C and Remote Debugging
>
> I'm still looking for a solution and getting more and more frustrated by 
> what seems to be a very steep up hill battle.
>
> There are quite a few sites linking to 
> http://www.angstrom-distribution.org/toolchains/
>
> I think you are going to find it harder and harder to get support for 
> Angstrom. It has been over a year since I’ve used Angstrom so I don’t every 
> remember how to get some things working. I would recommend that you make 
> the move to Debian as we are much more able to help with the OS we 
> currently use. 
>
> Regards,
> John
>
>
> This link is invalid and results in a 404.  The toolchains that I did 
> manage to track down are not all complete, some have a gdb in the archive, 
> others don't.
>
> Can someone point me in the direction of a complete toolchain with 
> instructions on how to install it correctly?
>
> Thank you,
> Simon 
>
> On Wednesday, 28 May 2014 08:52:36 UTC+1, Simon Platten wrote:
>>
>> Hi John, Thank you for the reply, perhaps I wasn't very clear.  GDB 
>> Server is installed on the Beaglebone Black and I see the process running, 
>> it just fails to connect. 
>>
>> I will post more detail when I get home tonight.  I've tried using the 
>> default port 2345 and also found a post suggesting , neither worked.
>>
>>
>>
>> On Wednesday, 28 May 2014 08:45:53 UTC+1, john3909 wrote:
>>>
>>>
>>> From: Simon Platten 
>>> Reply-To: 
>>> Date: Tuesday, May 27, 2014 at 11:53 PM
>>> To: 
>>> Subject: [beagleboard] Eclipse C and Remote Debugging
>>>
>>> I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and 
>>> remote debug Java applications on the Beaglebone Black, but for some reason 
>>> I cannot remote debug C applications.
>>>
>>> I can compile a C application and I can see that it is transferred to 
>>> the Beaglebone Black, I can even run it from an SSH terminal on the 
>>> Beaglebone Black.  But trying to remote debug always fails with a GDB error.
>>>
>>> The console reports that GDB will reconnect, however it never does.
>>>
>>> I've tried following numerous videos on YouTube, however none of them 
>>> have resolved this issue.
>>>
>>> In the end I decided to build and compile on the Beaglebone Black 
>>> directly, however now I get an error saying GLIBC_2.17 libc.so.6 not 
>>> found...sorry if my post isn't very detailed, I'm at work now without 
>>> access to all the information.
>>>
>>> Can anyone point me in the right location to resolve either the remote 
>>> debugging or the GLIBC_2.17 error?  I have already spent a very long time 
>>> trying to find answers myself.
>>>
>>> You need GDBServer installed on your BBB. You launch GDBServer on your 
>>> BBB with IP of host and specify the port number for the host to connect to. 
>>> In Eclipse, I don’t recall the exact command, but it is something like gdb 
>>> remote  . There are plenty of example on Google. 
>>>
>>>
>>> https://www.google.com/search?q=eclipse+gdbserver+remote+debug&oq=eclipse+gdbserver&aqs=chrome.1.69i57j0l5.16411j0j7&sourceid=chrome&es_sm=119&ie=UTF-8
>>>
>>> Regards
>>> John
>>>
>>>
>>>
>>> Thank you,
>>>
>>> Kind Regards,
>>> Simon
>>>
>>> -- 
>>> For more options, visit http://beagleboard.org/discuss
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to beagleboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread William Hermans
I remember someone saying that GDB for the BBB ( perhaps the whole ARCH )
Does not work properly. This was last year though.

Which port are you using for the C GDBServer ? From what little you
describe it almost sounds like a connection issue, because of too low a
port, and a possible myriad of  other things.

Giving us the EXACT error message as given to you on the command line would
certainly help *some* But as John said, you may want to consider moving to
Debian just because most people are using it now, or will be.


On Wed, May 28, 2014 at 12:44 PM, John Syn  wrote:

>
> From: Simon Platten 
> Reply-To: 
> Date: Wednesday, May 28, 2014 at 12:09 PM
> To: 
> Subject: Re: [beagleboard] Eclipse C and Remote Debugging
>
> I'm still looking for a solution and getting more and more frustrated by
> what seems to be a very steep up hill battle.
>
> There are quite a few sites linking to
> http://www.angstrom-distribution.org/toolchains/
>
> I think you are going to find it harder and harder to get support for
> Angstrom. It has been over a year since I’ve used Angstrom so I don’t every
> remember how to get some things working. I would recommend that you make
> the move to Debian as we are much more able to help with the OS we
> currently use.
>
> Regards,
> John
>
>
> This link is invalid and results in a 404.  The toolchains that I did
> manage to track down are not all complete, some have a gdb in the archive,
> others don't.
>
> Can someone point me in the direction of a complete toolchain with
> instructions on how to install it correctly?
>
> Thank you,
> Simon
>
> On Wednesday, 28 May 2014 08:52:36 UTC+1, Simon Platten wrote:
>>
>> Hi John, Thank you for the reply, perhaps I wasn't very clear.  GDB
>> Server is installed on the Beaglebone Black and I see the process running,
>> it just fails to connect.
>>
>> I will post more detail when I get home tonight.  I've tried using the
>> default port 2345 and also found a post suggesting , neither worked.
>>
>>
>>
>> On Wednesday, 28 May 2014 08:45:53 UTC+1, john3909 wrote:
>>>
>>>
>>> From: Simon Platten 
>>> Reply-To: 
>>> Date: Tuesday, May 27, 2014 at 11:53 PM
>>> To: 
>>> Subject: [beagleboard] Eclipse C and Remote Debugging
>>>
>>> I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and
>>> remote debug Java applications on the Beaglebone Black, but for some reason
>>> I cannot remote debug C applications.
>>>
>>> I can compile a C application and I can see that it is transferred to
>>> the Beaglebone Black, I can even run it from an SSH terminal on the
>>> Beaglebone Black.  But trying to remote debug always fails with a GDB error.
>>>
>>> The console reports that GDB will reconnect, however it never does.
>>>
>>> I've tried following numerous videos on YouTube, however none of them
>>> have resolved this issue.
>>>
>>> In the end I decided to build and compile on the Beaglebone Black
>>> directly, however now I get an error saying GLIBC_2.17 libc.so.6 not
>>> found...sorry if my post isn't very detailed, I'm at work now without
>>> access to all the information.
>>>
>>> Can anyone point me in the right location to resolve either the remote
>>> debugging or the GLIBC_2.17 error?  I have already spent a very long time
>>> trying to find answers myself.
>>>
>>> You need GDBServer installed on your BBB. You launch GDBServer on your
>>> BBB with IP of host and specify the port number for the host to connect to.
>>> In Eclipse, I don’t recall the exact command, but it is something like gdb
>>> remote  . There are plenty of example on Google.
>>>
>>> https://www.google.com/search?q=eclipse+gdbserver+remote+
>>> debug&oq=eclipse+gdbserver&aqs=chrome.1.69i57j0l5.
>>> 16411j0j7&sourceid=chrome&es_sm=119&ie=UTF-8
>>>
>>> Regards
>>> John
>>>
>>>
>>>
>>> Thank you,
>>>
>>> Kind Regards,
>>> Simon
>>>
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to beagleboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
> For more option

Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread William Hermans
New Bealgebone Black ship with Debian starting with REV C. Also Debian
users seem to be more active in this group.


On Wed, May 28, 2014 at 12:53 PM, Simon Platten wrote:

> What happened to Angstrom?  What do new Beaglebone Blacks ship with?
>
> I've already invested a bunch of time into the Angstrom set-up getting
> mySQL server configured in MMM mode replicating between two beaglebone
> blacks with my own floating IP address manager.
>
>
>
> On Wednesday, 28 May 2014 20:44:45 UTC+1, john3909 wrote:
>
>>
>> From: Simon Platten 
>> Reply-To: 
>> Date: Wednesday, May 28, 2014 at 12:09 PM
>> To: 
>>
>> Subject: Re: [beagleboard] Eclipse C and Remote Debugging
>>
>> I'm still looking for a solution and getting more and more frustrated by
>> what seems to be a very steep up hill battle.
>>
>> There are quite a few sites linking to http://www.angstrom-
>> distribution.org/toolchains/
>>
>> I think you are going to find it harder and harder to get support for
>> Angstrom. It has been over a year since I’ve used Angstrom so I don’t every
>> remember how to get some things working. I would recommend that you make
>> the move to Debian as we are much more able to help with the OS we
>> currently use.
>>
>> Regards,
>> John
>>
>>
>> This link is invalid and results in a 404.  The toolchains that I did
>> manage to track down are not all complete, some have a gdb in the archive,
>> others don't.
>>
>> Can someone point me in the direction of a complete toolchain with
>> instructions on how to install it correctly?
>>
>> Thank you,
>> Simon
>>
>> On Wednesday, 28 May 2014 08:52:36 UTC+1, Simon Platten wrote:
>>>
>>> Hi John, Thank you for the reply, perhaps I wasn't very clear.  GDB
>>> Server is installed on the Beaglebone Black and I see the process running,
>>> it just fails to connect.
>>>
>>> I will post more detail when I get home tonight.  I've tried using the
>>> default port 2345 and also found a post suggesting , neither worked.
>>>
>>>
>>>
>>> On Wednesday, 28 May 2014 08:45:53 UTC+1, john3909 wrote:
>>>>
>>>>
>>>> From: Simon Platten 
>>>> Reply-To: 
>>>> Date: Tuesday, May 27, 2014 at 11:53 PM
>>>> To: 
>>>> Subject: [beagleboard] Eclipse C and Remote Debugging
>>>>
>>>> I have Eclipse Kepler running on Ubuntu 14.04 x64, I can build and
>>>> remote debug Java applications on the Beaglebone Black, but for some reason
>>>> I cannot remote debug C applications.
>>>>
>>>> I can compile a C application and I can see that it is transferred to
>>>> the Beaglebone Black, I can even run it from an SSH terminal on the
>>>> Beaglebone Black.  But trying to remote debug always fails with a GDB 
>>>> error.
>>>>
>>>> The console reports that GDB will reconnect, however it never does.
>>>>
>>>> I've tried following numerous videos on YouTube, however none of them
>>>> have resolved this issue.
>>>>
>>>> In the end I decided to build and compile on the Beaglebone Black
>>>> directly, however now I get an error saying GLIBC_2.17 libc.so.6 not
>>>> found...sorry if my post isn't very detailed, I'm at work now without
>>>> access to all the information.
>>>>
>>>> Can anyone point me in the right location to resolve either the remote
>>>> debugging or the GLIBC_2.17 error?  I have already spent a very long time
>>>> trying to find answers myself.
>>>>
>>>> You need GDBServer installed on your BBB. You launch GDBServer on your
>>>> BBB with IP of host and specify the port number for the host to connect to.
>>>> In Eclipse, I don’t recall the exact command, but it is something like gdb
>>>> remote  . There are plenty of example on Google.
>>>>
>>>> https://www.google.com/search?q=eclipse+gdbserver+remote+
>>>> debug&oq=eclipse+gdbserver&aqs=chrome.1.69i57j0l5.
>>>> 16411j0j7&sourceid=chrome&es_sm=119&ie=UTF-8
>>>>
>>>> Regards
>>>> John
>>>>
>>>>
>>>>
>>>> Thank you,
>>>>
>>>> Kind Regards,
>>>> Simon
>>>>
>>>> --
>>>> For more options, visit http://beagleboard.org/discuss
>>>> ---
>>>> Y

Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Robert Nelson
On Wed, May 28, 2014 at 2:53 PM, Simon Platten  wrote:
> What happened to Angstrom?  What do new Beaglebone Blacks ship with?

http://beagleboard.org/blog/2014-01-04-happy-new-year/

http://beagleboard.org/latest-images


> I've already invested a bunch of time into the Angstrom set-up getting mySQL
> server configured in MMM mode replicating between two beaglebone blacks with
> my own floating IP address manager.

Linux is linux, shouldn't be that hard to port that to debian. But no
one is forcing you to switch either.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread William Hermans
Robert, I agree, but default it seemed the tools used in Angstrom are
different and create more headache for people like me who have been using
Debian for years. Many things like dropbear, instead of openssh-server for
instance can be a PitA to get used to. Especially when you already have
experience with other tools. Not to mention the fact that the whole
Angstrom experience for me personally felt very shoddy.

Needless to say Angstrom lasted about a week on my own BBB until i found
your instructions last year. Been running debian ever since.


On Wed, May 28, 2014 at 12:56 PM, Robert Nelson wrote:

> On Wed, May 28, 2014 at 2:53 PM, Simon Platten 
> wrote:
> > What happened to Angstrom?  What do new Beaglebone Blacks ship with?
>
> http://beagleboard.org/blog/2014-01-04-happy-new-year/
>
> http://beagleboard.org/latest-images
>
>
> > I've already invested a bunch of time into the Angstrom set-up getting
> mySQL
> > server configured in MMM mode replicating between two beaglebone blacks
> with
> > my own floating IP address manager.
>
> Linux is linux, shouldn't be that hard to port that to debian. But no
> one is forcing you to switch either.
>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Simon Platten
I'll give Debian a go.  Just find it hard to start over again, feels 
like so many steps backward in order to do what should have been 
possible from the start.



On 28/05/2014 21:00, William Hermans wrote:
Robert, I agree, but default it seemed the tools used in Angstrom are 
different and create more headache for people like me who have been 
using Debian for years. Many things like dropbear, instead of 
openssh-server for instance can be a PitA to get used to. Especially 
when you already have experience with other tools. Not to mention the 
fact that the whole Angstrom experience for me personally felt very 
shoddy.


Needless to say Angstrom lasted about a week on my own BBB until i 
found your instructions last year. Been running debian ever since.



On Wed, May 28, 2014 at 12:56 PM, Robert Nelson 
mailto:robertcnel...@gmail.com>> wrote:


On Wed, May 28, 2014 at 2:53 PM, Simon Platten
mailto:simonaplat...@gmail.com>> wrote:
> What happened to Angstrom?  What do new Beaglebone Blacks ship with?

http://beagleboard.org/blog/2014-01-04-happy-new-year/

http://beagleboard.org/latest-images


> I've already invested a bunch of time into the Angstrom set-up
getting mySQL
> server configured in MMM mode replicating between two beaglebone
blacks with
> my own floating IP address manager.

Linux is linux, shouldn't be that hard to port that to debian. But no
one is forcing you to switch either.

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google
Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to beagleboard+unsubscr...@googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the 
Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/beagleboard/USEklgWaQkg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
beagleboard+unsubscr...@googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.




---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Robert Nelson
On Wed, May 28, 2014 at 3:00 PM, William Hermans  wrote:
> Robert, I agree, but default it seemed the tools used in Angstrom are
> different and create more headache for people like me who have been using
> Debian for years. Many things like dropbear, instead of openssh-server for
> instance can be a PitA to get used to. Especially when you already have
> experience with other tools. Not to mention the fact that the whole Angstrom
> experience for me personally felt very shoddy.

Laughs, i forgot about all the "dropbear" problems.  It seemed like it
was everyday with messages, just delete this file on the microSD and
boot.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Robert Nelson
On Wed, May 28, 2014 at 3:02 PM, Simon Platten wrote:

>  I'll give Debian a go.  Just find it hard to start over again, feels like
> so many steps backward in order to do what should have been possible from
> the start.
>

Well, one of the goals of the debian images, was to make things as
back-ward compatiable with Angstrom as possible.

So although some "tools" have different names, the experience should mirror
Angstrom's default install.

I've tried to post the main differences in experience here:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#FAQ

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Simon Platten

Thank you, I'll look into it and give it a go.

Are they're any shortfalls to be aware of, anything that isn't supported?

On 28/05/2014 21:05, Robert Nelson wrote:




On Wed, May 28, 2014 at 3:02 PM, Simon Platten 
mailto:simonaplat...@gmail.com>> wrote:


I'll give Debian a go.  Just find it hard to start over again,
feels like so many steps backward in order to do what should have
been possible from the start.


Well, one of the goals of the debian images, was to make things as 
back-ward compatiable with Angstrom as possible.


So although some "tools" have different names, the experience should 
mirror Angstrom's default install.


I've tried to post the main differences in experience here:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#FAQ

Regards,

--
Robert Nelson
http://www.rcn-ee.com/
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the 
Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/beagleboard/USEklgWaQkg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
beagleboard+unsubscr...@googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.




---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread William Hermans
Simon, one benefit is that Debian is very well documented. But also you
have different versions so you need to pay attention to that.

 Something like google search "Debian wheezy how to x.y.z" works very well
for 99% of the questions you'll have.


On Wed, May 28, 2014 at 1:02 PM, Robert Nelson wrote:

> On Wed, May 28, 2014 at 3:00 PM, William Hermans 
> wrote:
> > Robert, I agree, but default it seemed the tools used in Angstrom are
> > different and create more headache for people like me who have been using
> > Debian for years. Many things like dropbear, instead of openssh-server
> for
> > instance can be a PitA to get used to. Especially when you already have
> > experience with other tools. Not to mention the fact that the whole
> Angstrom
> > experience for me personally felt very shoddy.
>
> Laughs, i forgot about all the "dropbear" problems.  It seemed like it
> was everyday with messages, just delete this file on the microSD and
> boot.
>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Robert Nelson
On Wed, May 28, 2014 at 3:06 PM, Simon Platten wrote:

>  Thank you, I'll look into it and give it a go.
>
> Are they're any shortfalls to be aware of, anything that isn't supported?
>

Well, right now we support more devices and capes out of the box then the
last official Angstrom release, but if you notice something we broke kernel
wise just ping us. We tried to test everything, but everyone has unique
hardware.

Otherwise the biggest change, it's a "armhf" ("gnueabihf") based system, so
your "gnueabi" compiler won't work. (Well i did had the 'armel' library) so
"hello world" "gnueabi" applications will run, but nothing more complex
then that.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-28 Thread Simon Platten

Thank you, will do.

On 28/05/2014 21:07, William Hermans wrote:

Debian wheezy how to x.y.z



---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-29 Thread Simon Platten
Thank you Robert,  I've now reflashed both my Beaglebone Blacks with Debian 
and have downloaded the linaro toolchain, so far everything has gone really 
well...about to set-up eclipse on my ubuntu virtualbox and then try remote 
debugging.

On Wednesday, 28 May 2014 21:12:37 UTC+1, RobertCNelson wrote:
>
>
>
>
> On Wed, May 28, 2014 at 3:06 PM, Simon Platten 
> 
> > wrote:
>
>>  Thank you, I'll look into it and give it a go.
>>
>> Are they're any shortfalls to be aware of, anything that isn't supported?
>>
>
> Well, right now we support more devices and capes out of the box then the 
> last official Angstrom release, but if you notice something we broke kernel 
> wise just ping us. We tried to test everything, but everyone has unique 
> hardware.
>
> Otherwise the biggest change, it's a "armhf" ("gnueabihf") based system, 
> so your "gnueabi" compiler won't work. (Well i did had the 'armel' library) 
> so "hello world" "gnueabi" applications will run, but nothing more complex 
> then that.
>
> Regards,
>
> -- 
> Robert Nelson
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-29 Thread Simon Platten
Can you suggest a good site for setting up eclipse with the Linaro 
toolchain, I've got the toolchain installed on ubuntu 14.04 in:

/home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux

In eclipse, I have created a C Project and in the Properties under C/C++ 
Build, Settings, I have the Cross Settings, Prefix set to:

arm-linux-gnueabihf-

Path set to:

/home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin

Cross GCC Compiler, Command set to gcc
Cross GCC Linker, Command set to gcc
Cross GCC Assemlber, Command set to as

When I build the project I get:
/bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
 C/C++ Problem





On Thursday, 29 May 2014 20:33:52 UTC+1, Simon Platten wrote:
>
> Thank you Robert,  I've now reflashed both my Beaglebone Blacks with 
> Debian and have downloaded the linaro toolchain, so far everything has gone 
> really well...about to set-up eclipse on my ubuntu virtualbox and then try 
> remote debugging.
>
> On Wednesday, 28 May 2014 21:12:37 UTC+1, RobertCNelson wrote:
>>
>>
>>
>>
>> On Wed, May 28, 2014 at 3:06 PM, Simon Platten  
>> wrote:
>>
>>>  Thank you, I'll look into it and give it a go.
>>>
>>> Are they're any shortfalls to be aware of, anything that isn't supported?
>>>
>>
>> Well, right now we support more devices and capes out of the box then the 
>> last official Angstrom release, but if you notice something we broke kernel 
>> wise just ping us. We tried to test everything, but everyone has unique 
>> hardware.
>>
>> Otherwise the biggest change, it's a "armhf" ("gnueabihf") based system, 
>> so your "gnueabi" compiler won't work. (Well i did had the 'armel' library) 
>> so "hello world" "gnueabi" applications will run, but nothing more complex 
>> then that.
>>
>> Regards,
>>
>> -- 
>> Robert Nelson
>> http://www.rcn-ee.com/ 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread Simon Platten
Anyone? Please?

On Thursday, 29 May 2014 21:00:56 UTC+1, Simon Platten wrote:
>
> Can you suggest a good site for setting up eclipse with the Linaro 
> toolchain, I've got the toolchain installed on ubuntu 14.04 in:
>
> /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux
>
> In eclipse, I have created a C Project and in the Properties under C/C++ 
> Build, Settings, I have the Cross Settings, Prefix set to:
>
> arm-linux-gnueabihf-
>
> Path set to:
>
> /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin
>
> Cross GCC Compiler, Command set to gcc
> Cross GCC Linker, Command set to gcc
> Cross GCC Assemlber, Command set to as
>
> When I build the project I get:
> /bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
>  C/C++ Problem
>
>
>
>
>
> On Thursday, 29 May 2014 20:33:52 UTC+1, Simon Platten wrote:
>>
>> Thank you Robert,  I've now reflashed both my Beaglebone Blacks with 
>> Debian and have downloaded the linaro toolchain, so far everything has gone 
>> really well...about to set-up eclipse on my ubuntu virtualbox and then try 
>> remote debugging.
>>
>> On Wednesday, 28 May 2014 21:12:37 UTC+1, RobertCNelson wrote:
>>>
>>>
>>>
>>>
>>> On Wed, May 28, 2014 at 3:06 PM, Simon Platten  
>>> wrote:
>>>
  Thank you, I'll look into it and give it a go.

 Are they're any shortfalls to be aware of, anything that isn't 
 supported?

>>>
>>> Well, right now we support more devices and capes out of the box then 
>>> the last official Angstrom release, but if you notice something we broke 
>>> kernel wise just ping us. We tried to test everything, but everyone has 
>>> unique hardware.
>>>
>>> Otherwise the biggest change, it's a "armhf" ("gnueabihf") based system, 
>>> so your "gnueabi" compiler won't work. (Well i did had the 'armel' library) 
>>> so "hello world" "gnueabi" applications will run, but nothing more complex 
>>> then that.
>>>
>>> Regards,
>>>
>>> -- 
>>> Robert Nelson
>>> http://www.rcn-ee.com/ 
>>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread William Hermans
Simon, you've been at this since last year. SO why don't you get a book on
GCC and start reading ?


On Fri, May 30, 2014 at 10:55 AM, Simon Platten 
wrote:

> Anyone? Please?
>
>
> On Thursday, 29 May 2014 21:00:56 UTC+1, Simon Platten wrote:
>>
>> Can you suggest a good site for setting up eclipse with the Linaro
>> toolchain, I've got the toolchain installed on ubuntu 14.04 in:
>>
>> /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux
>>
>> In eclipse, I have created a C Project and in the Properties under C/C++
>> Build, Settings, I have the Cross Settings, Prefix set to:
>>
>> arm-linux-gnueabihf-
>>
>> Path set to:
>>
>> /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin
>>
>> Cross GCC Compiler, Command set to gcc
>> Cross GCC Linker, Command set to gcc
>> Cross GCC Assemlber, Command set to as
>>
>> When I build the project I get:
>> /bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
>>  C/C++ Problem
>>
>>
>>
>>
>>
>> On Thursday, 29 May 2014 20:33:52 UTC+1, Simon Platten wrote:
>>>
>>> Thank you Robert,  I've now reflashed both my Beaglebone Blacks with
>>> Debian and have downloaded the linaro toolchain, so far everything has gone
>>> really well...about to set-up eclipse on my ubuntu virtualbox and then try
>>> remote debugging.
>>>
>>> On Wednesday, 28 May 2014 21:12:37 UTC+1, RobertCNelson wrote:




 On Wed, May 28, 2014 at 3:06 PM, Simon Platten 
 wrote:

>  Thank you, I'll look into it and give it a go.
>
> Are they're any shortfalls to be aware of, anything that isn't
> supported?
>

 Well, right now we support more devices and capes out of the box then
 the last official Angstrom release, but if you notice something we broke
 kernel wise just ping us. We tried to test everything, but everyone has
 unique hardware.

 Otherwise the biggest change, it's a "armhf" ("gnueabihf") based
 system, so your "gnueabi" compiler won't work. (Well i did had the 'armel'
 library) so "hello world" "gnueabi" applications will run, but nothing more
 complex then that.

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

>>>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread William Hermans
Either that, or ask this question on the eclipse forums. This is a GCC /
Eclipse question more than anything else.


On Fri, May 30, 2014 at 11:14 AM, William Hermans  wrote:

> Simon, you've been at this since last year. SO why don't you get a book on
> GCC and start reading ?
>
>
> On Fri, May 30, 2014 at 10:55 AM, Simon Platten 
> wrote:
>
>> Anyone? Please?
>>
>>
>> On Thursday, 29 May 2014 21:00:56 UTC+1, Simon Platten wrote:
>>>
>>> Can you suggest a good site for setting up eclipse with the Linaro
>>> toolchain, I've got the toolchain installed on ubuntu 14.04 in:
>>>
>>> /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux
>>>
>>> In eclipse, I have created a C Project and in the Properties under C/C++
>>> Build, Settings, I have the Cross Settings, Prefix set to:
>>>
>>> arm-linux-gnueabihf-
>>>
>>> Path set to:
>>>
>>> /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin
>>>
>>> Cross GCC Compiler, Command set to gcc
>>> Cross GCC Linker, Command set to gcc
>>> Cross GCC Assemlber, Command set to as
>>>
>>> When I build the project I get:
>>> /bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
>>>  C/C++ Problem
>>>
>>>
>>>
>>>
>>>
>>> On Thursday, 29 May 2014 20:33:52 UTC+1, Simon Platten wrote:

 Thank you Robert,  I've now reflashed both my Beaglebone Blacks with
 Debian and have downloaded the linaro toolchain, so far everything has gone
 really well...about to set-up eclipse on my ubuntu virtualbox and then try
 remote debugging.

 On Wednesday, 28 May 2014 21:12:37 UTC+1, RobertCNelson wrote:
>
>
>
>
> On Wed, May 28, 2014 at 3:06 PM, Simon Platten 
> wrote:
>
>>  Thank you, I'll look into it and give it a go.
>>
>> Are they're any shortfalls to be aware of, anything that isn't
>> supported?
>>
>
> Well, right now we support more devices and capes out of the box then
> the last official Angstrom release, but if you notice something we broke
> kernel wise just ping us. We tried to test everything, but everyone has
> unique hardware.
>
> Otherwise the biggest change, it's a "armhf" ("gnueabihf") based
> system, so your "gnueabi" compiler won't work. (Well i did had the 'armel'
> library) so "hello world" "gnueabi" applications will run, but nothing 
> more
> complex then that.
>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread Simon Platten
I know C and C++ very well...I've been developing in it since the 80's.

What I find difficult is the lack of complete information, is it to much to 
expect that having bought the hardware for the software and documentation 
to be complete?

Sorry, I'm so fed up with dead ends...and pissy people with atitudes, that 
instead of offering help, make wise cracks.  

Eclipse isn't the problem, the set-up of the toolchain is.

Sorry, I guess you can tell, I'm a bit tired and just want to make some 
progress on the project, instead of battling with the set-up.


On Friday, 30 May 2014 19:15:46 UTC+1, William Hermans wrote:
>
> Either that, or ask this question on the eclipse forums. This is a GCC / 
> Eclipse question more than anything else. 
>
>
> On Fri, May 30, 2014 at 11:14 AM, William Hermans  > wrote:
>
>> Simon, you've been at this since last year. SO why don't you get a book 
>> on GCC and start reading ?
>>
>>
>> On Fri, May 30, 2014 at 10:55 AM, Simon Platten > > wrote:
>>
>>> Anyone? Please?
>>>
>>>
>>> On Thursday, 29 May 2014 21:00:56 UTC+1, Simon Platten wrote:

 Can you suggest a good site for setting up eclipse with the Linaro 
 toolchain, I've got the toolchain installed on ubuntu 14.04 in:

 /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux

 In eclipse, I have created a C Project and in the Properties under 
 C/C++ Build, Settings, I have the Cross Settings, Prefix set to:

 arm-linux-gnueabihf-

 Path set to:

 /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin

 Cross GCC Compiler, Command set to gcc
 Cross GCC Linker, Command set to gcc
 Cross GCC Assemlber, Command set to as

 When I build the project I get:
 /bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
  C/C++ Problem





 On Thursday, 29 May 2014 20:33:52 UTC+1, Simon Platten wrote:
>
> Thank you Robert,  I've now reflashed both my Beaglebone Blacks with 
> Debian and have downloaded the linaro toolchain, so far everything has 
> gone 
> really well...about to set-up eclipse on my ubuntu virtualbox and then 
> try 
> remote debugging.
>
> On Wednesday, 28 May 2014 21:12:37 UTC+1, RobertCNelson wrote:
>>
>>
>>
>>
>> On Wed, May 28, 2014 at 3:06 PM, Simon Platten  
>> wrote:
>>
>>>  Thank you, I'll look into it and give it a go.
>>>
>>> Are they're any shortfalls to be aware of, anything that isn't 
>>> supported?
>>>
>>
>> Well, right now we support more devices and capes out of the box then 
>> the last official Angstrom release, but if you notice something we broke 
>> kernel wise just ping us. We tried to test everything, but everyone has 
>> unique hardware.
>>
>> Otherwise the biggest change, it's a "armhf" ("gnueabihf") based 
>> system, so your "gnueabi" compiler won't work. (Well i did had the 
>> 'armel' 
>> library) so "hello world" "gnueabi" applications will run, but nothing 
>> more 
>> complex then that.
>>
>> Regards,
>>
>> -- 
>> Robert Nelson
>> http://www.rcn-ee.com/ 
>>
>  -- 
>>> For more options, visit http://beagleboard.org/discuss
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to beagleboard...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread Robert Nelson
On Fri, May 30, 2014 at 1:33 PM, Simon Platten  wrote:
> I know C and C++ very well...I've been developing in it since the 80's.
>
> What I find difficult is the lack of complete information, is it to much to
> expect that having bought the hardware for the software and documentation to
> be complete?
>
> Sorry, I'm so fed up with dead ends...and pissy people with atitudes, that
> instead of offering help, make wise cracks.
>
> Eclipse isn't the problem, the set-up of the toolchain is.
>
> Sorry, I guess you can tell, I'm a bit tired and just want to make some
> progress on the project, instead of battling with the set-up.

You can always ssh in and build on the target.  That's just the way
i've always done it.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread Simon Platten
true, is it to much to ask to use an IDE?

I have it all working for Java, would just like to do the same for C.


On Friday, 30 May 2014 19:37:58 UTC+1, RobertCNelson wrote:
>
> On Fri, May 30, 2014 at 1:33 PM, Simon Platten  > wrote: 
> > I know C and C++ very well...I've been developing in it since the 80's. 
> > 
> > What I find difficult is the lack of complete information, is it to much 
> to 
> > expect that having bought the hardware for the software and 
> documentation to 
> > be complete? 
> > 
> > Sorry, I'm so fed up with dead ends...and pissy people with atitudes, 
> that 
> > instead of offering help, make wise cracks. 
> > 
> > Eclipse isn't the problem, the set-up of the toolchain is. 
> > 
> > Sorry, I guess you can tell, I'm a bit tired and just want to make some 
> > progress on the project, instead of battling with the set-up. 
>
> You can always ssh in and build on the target.  That's just the way 
> i've always done it. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread lee
Frankly, when developing for embedded platforms, yes, IDEs are too much to 
ask for. 90% of embedded programming today is done with command-line tools 
as it has been for decades. Once in a while someone builds an IDE, but they 
are invariably so limited in application as to be more or a straightjacket 
than a real tool.  The amount of work it takes to produce a truly useful 
IDE makes sense only if you're developing on a commercial platform with 
millions of credit-card holding users. So if you want to develop for 
Windows, Android, and such, good IDEs are available. If you're programming 
a custom board, well, better get used to building your own tools.


On Friday, May 30, 2014 11:52:53 AM UTC-7, Simon Platten wrote:
>
> true, is it to much to ask to use an IDE?
>
> I have it all working for Java, would just like to do the same for C.
>
>
> On Friday, 30 May 2014 19:37:58 UTC+1, RobertCNelson wrote:
>>
>> On Fri, May 30, 2014 at 1:33 PM, Simon Platten  
>> wrote: 
>> > I know C and C++ very well...I've been developing in it since the 80's. 
>> > 
>> > What I find difficult is the lack of complete information, is it to 
>> much to 
>> > expect that having bought the hardware for the software and 
>> documentation to 
>> > be complete? 
>> > 
>> > Sorry, I'm so fed up with dead ends...and pissy people with atitudes, 
>> that 
>> > instead of offering help, make wise cracks. 
>> > 
>> > Eclipse isn't the problem, the set-up of the toolchain is. 
>> > 
>> > Sorry, I guess you can tell, I'm a bit tired and just want to make some 
>> > progress on the project, instead of battling with the set-up. 
>>
>> You can always ssh in and build on the target.  That's just the way 
>> i've always done it. 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> http://www.rcn-ee.com/ 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread Simon Platten
I've been writing software for various embedded platforms for a long time, 
MSP430, Echelon, PIC's.  In the case of MSP430, the development suite was 
based on Eclipse.  When writing software for PC104 platforms using QNX, the 
IDE was Momentics, which is eclipse.

The assumption always seems to be that you are talking to someone who 
hasn't coded much before, I'm 44.  I've been coding professionally since 
1985.

I can follow instructions as well as the next person, unfortunatley a lot 
of the information online is incomplete or the guides are lacking.



On Friday, 30 May 2014 20:21:41 UTC+1, l...@ansync.com wrote:
>
> Frankly, when developing for embedded platforms, yes, IDEs are too much to 
> ask for. 90% of embedded programming today is done with command-line tools 
> as it has been for decades. Once in a while someone builds an IDE, but they 
> are invariably so limited in application as to be more or a straightjacket 
> than a real tool.  The amount of work it takes to produce a truly useful 
> IDE makes sense only if you're developing on a commercial platform with 
> millions of credit-card holding users. So if you want to develop for 
> Windows, Android, and such, good IDEs are available. If you're programming 
> a custom board, well, better get used to building your own tools.
>
>
> On Friday, May 30, 2014 11:52:53 AM UTC-7, Simon Platten wrote:
>>
>> true, is it to much to ask to use an IDE?
>>
>> I have it all working for Java, would just like to do the same for C.
>>
>>
>> On Friday, 30 May 2014 19:37:58 UTC+1, RobertCNelson wrote:
>>>
>>> On Fri, May 30, 2014 at 1:33 PM, Simon Platten  
>>> wrote: 
>>> > I know C and C++ very well...I've been developing in it since the 
>>> 80's. 
>>> > 
>>> > What I find difficult is the lack of complete information, is it to 
>>> much to 
>>> > expect that having bought the hardware for the software and 
>>> documentation to 
>>> > be complete? 
>>> > 
>>> > Sorry, I'm so fed up with dead ends...and pissy people with atitudes, 
>>> that 
>>> > instead of offering help, make wise cracks. 
>>> > 
>>> > Eclipse isn't the problem, the set-up of the toolchain is. 
>>> > 
>>> > Sorry, I guess you can tell, I'm a bit tired and just want to make 
>>> some 
>>> > progress on the project, instead of battling with the set-up. 
>>>
>>> You can always ssh in and build on the target.  That's just the way 
>>> i've always done it. 
>>>
>>> Regards, 
>>>
>>> -- 
>>> Robert Nelson 
>>> http://www.rcn-ee.com/ 
>>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread lee
I have no doubt you are correct, much documentation is atrocious. I'm even 
more experienced than you (I'm 50, been programming since 1979), but I 
spend a lot of time on Google hunting down undocumented software features. 
Like everything else, documentation requires resources to create, and often 
those resources just aren't there, especially in the free/open source world.


On Friday, May 30, 2014 12:28:29 PM UTC-7, Simon Platten wrote:
>
> I've been writing software for various embedded platforms for a long time, 
> MSP430, Echelon, PIC's.  In the case of MSP430, the development suite was 
> based on Eclipse.  When writing software for PC104 platforms using QNX, the 
> IDE was Momentics, which is eclipse.
>
> The assumption always seems to be that you are talking to someone who 
> hasn't coded much before, I'm 44.  I've been coding professionally since 
> 1985.
>
> I can follow instructions as well as the next person, unfortunatley a lot 
> of the information online is incomplete or the guides are lacking.
>
>
>
> On Friday, 30 May 2014 20:21:41 UTC+1, l...@ansync.com wrote:
>>
>> Frankly, when developing for embedded platforms, yes, IDEs are too much 
>> to ask for. 90% of embedded programming today is done with command-line 
>> tools as it has been for decades. Once in a while someone builds an IDE, 
>> but they are invariably so limited in application as to be more or a 
>> straightjacket than a real tool.  The amount of work it takes to produce a 
>> truly useful IDE makes sense only if you're developing on a commercial 
>> platform with millions of credit-card holding users. So if you want to 
>> develop for Windows, Android, and such, good IDEs are available. If you're 
>> programming a custom board, well, better get used to building your own 
>> tools.
>>
>>
>> On Friday, May 30, 2014 11:52:53 AM UTC-7, Simon Platten wrote:
>>>
>>> true, is it to much to ask to use an IDE?
>>>
>>> I have it all working for Java, would just like to do the same for C.
>>>
>>>
>>> On Friday, 30 May 2014 19:37:58 UTC+1, RobertCNelson wrote:

 On Fri, May 30, 2014 at 1:33 PM, Simon Platten  
 wrote: 
 > I know C and C++ very well...I've been developing in it since the 
 80's. 
 > 
 > What I find difficult is the lack of complete information, is it to 
 much to 
 > expect that having bought the hardware for the software and 
 documentation to 
 > be complete? 
 > 
 > Sorry, I'm so fed up with dead ends...and pissy people with atitudes, 
 that 
 > instead of offering help, make wise cracks. 
 > 
 > Eclipse isn't the problem, the set-up of the toolchain is. 
 > 
 > Sorry, I guess you can tell, I'm a bit tired and just want to make 
 some 
 > progress on the project, instead of battling with the set-up. 

 You can always ssh in and build on the target.  That's just the way 
 i've always done it. 

 Regards, 

 -- 
 Robert Nelson 
 http://www.rcn-ee.com/ 

>>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread John Syn

From:  Simon Platten 
Reply-To:  
Date:  Friday, May 30, 2014 at 12:28 PM
To:  
Subject:  Re: [beagleboard] Eclipse C and Remote Debugging

> I've been writing software for various embedded platforms for a long time,
> MSP430, Echelon, PIC's.  In the case of MSP430, the development suite was
> based on Eclipse.  When writing software for PC104 platforms using QNX, the
> IDE was Momentics, which is eclipse.
> 
> The assumption always seems to be that you are talking to someone who hasn't
> coded much before, I'm 44.  I've been coding professionally since 1985.
> 
> I can follow instructions as well as the next person, unfortunatley a lot of
> the information online is incomplete or the guides are lacking.
I use Eclipse and Code Composer Studio all the time and they work just fine.
I haven¹t used GDBServer for a long time so it is difficult to advise you
how to get this working. Currently I use Lauterbach JTAG tools for kernel
code debugging and these tools are amazing because of their Linux Kernel
Awareness. However, previously I used Ronetix PEEDI JTAG tools which make
JTAG look like GDBServer. So my suggestion is to look at the support docs on
the Ronetix website as they explain how to setup Eclipse to work with
GDBServer. If this doesn¹t work, then there is possibly some incompatibility
between the version of Eclipse and GDBServer.

Regards,
John
> 
> 
> 
> 
> On Friday, 30 May 2014 20:21:41 UTC+1, l...@ansync.com  wrote:
>> Frankly, when developing for embedded platforms, yes, IDEs are too much to
>> ask for. 90% of embedded programming today is done with command-line tools as
>> it has been for decades. Once in a while someone builds an IDE, but they are
>> invariably so limited in application as to be more or a straightjacket than a
>> real tool.  The amount of work it takes to produce a truly useful IDE makes
>> sense only if you're developing on a commercial platform with millions of
>> credit-card holding users. So if you want to develop for Windows, Android,
>> and such, good IDEs are available. If you're programming a custom board,
>> well, better get used to building your own tools.
>> 
>> 
>> On Friday, May 30, 2014 11:52:53 AM UTC-7, Simon Platten wrote:
>>> true, is it to much to ask to use an IDE?
>>> 
>>> I have it all working for Java, would just like to do the same for C.
>>> 
>>> 
>>> On Friday, 30 May 2014 19:37:58 UTC+1, RobertCNelson  wrote:
>>>> On Fri, May 30, 2014 at 1:33 PM, Simon Platten  wrote:
>>>>> > I know C and C++ very well...I've been developing in it since the 80's.
>>>>> > 
>>>>> > What I find difficult is the lack of complete information, is it to much
>>>>> to 
>>>>> > expect that having bought the hardware for the software and
>>>>> documentation to
>>>>> > be complete?
>>>>> > 
>>>>> > Sorry, I'm so fed up with dead ends...and pissy people with atitudes,
>>>>> that 
>>>>> > instead of offering help, make wise cracks.
>>>>> > 
>>>>> > Eclipse isn't the problem, the set-up of the toolchain is.
>>>>> > 
>>>>> > Sorry, I guess you can tell, I'm a bit tired and just want to make some
>>>>> > progress on the project, instead of battling with the set-up.
>>>> 
>>>> You can always ssh in and build on the target.  That's just the way
>>>> i've always done it.
>>>> 
>>>> Regards, 
>>>> 
>>>> -- 
>>>> Robert Nelson 
>>>> http://www.rcn-ee.com/
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread William Hermans
Simon, you may think I'm trying to be a smart ass but I'm not. Using Code
Composer studio, and various other IDE's for various platforms does not
mean you understand how to setup / use a GCC toolchain from the command
line. Which is really what you need to know to understand to use these
properly.

All I have seen you say so far is that you have java GDB ( not even
remotely the same thing ) working, and that you've been programming in C /
C++ since the 80's. Personally, I have been programming C / C++ since the
early 90's, and never really truely used a GCC toolchain until I cut my
teeth on it with the MSP430 launchpad.

My point ? Just because you *may* know gcc, and g++ does not mean you
understand the whole GCC toolchain. Again, there are books on the subject .
. .

*In eclipse, I have created a C Project and in the Properties under C/C++
> Build, Settings, I have the Cross Settings, Prefix set to:*
>
>
>>
>>
>>
>> *arm-linux-gnueabihf-Path set to:/home/simon/gcc-linaro-arm-lin*
>> *ux-gnueabihf-4.8-2014.03_linux*
>>
>>
>>
>>
>>
>>
>> */bin Cross GCC Compiler, Command set to gccCross GCC Linker, Command set
>> to gccCross GCC Assemlber, Command set to asWhen I build the project I
>> get:/bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
>>  C/C++ Problem*
>>
>
This is a pathing issue, eclipse does not know where to find the toolchain
binaries. I dont use Eclipse personally but perhaps for each binary you
need a proper fully qualified path to each binary? More information
required.


On Fri, May 30, 2014 at 2:02 PM, John Syn  wrote:

>
> From: Simon Platten 
> Reply-To: 
> Date: Friday, May 30, 2014 at 12:28 PM
> To: 
> Subject: Re: [beagleboard] Eclipse C and Remote Debugging
>
> I've been writing software for various embedded platforms for a long time,
> MSP430, Echelon, PIC's.  In the case of MSP430, the development suite was
> based on Eclipse.  When writing software for PC104 platforms using QNX, the
> IDE was Momentics, which is eclipse.
>
> The assumption always seems to be that you are talking to someone who
> hasn't coded much before, I'm 44.  I've been coding professionally since
> 1985.
>
> I can follow instructions as well as the next person, unfortunatley a lot
> of the information online is incomplete or the guides are lacking.
>
> I use Eclipse and Code Composer Studio all the time and they work just
> fine. I haven’t used GDBServer for a long time so it is difficult to advise
> you how to get this working. Currently I use Lauterbach JTAG tools for
> kernel code debugging and these tools are amazing because of their Linux
> Kernel Awareness. However, previously I used Ronetix PEEDI JTAG tools which
> make JTAG look like GDBServer. So my suggestion is to look at the support
> docs on the Ronetix website as they explain how to setup Eclipse to work
> with GDBServer. If this doesn’t work, then there is possibly some
> incompatibility between the version of Eclipse and GDBServer.
>
> Regards,
> John
>
>
>
>
>
> On Friday, 30 May 2014 20:21:41 UTC+1, l...@ansync.com wrote:
>>
>> Frankly, when developing for embedded platforms, yes, IDEs are too much
>> to ask for. 90% of embedded programming today is done with command-line
>> tools as it has been for decades. Once in a while someone builds an IDE,
>> but they are invariably so limited in application as to be more or a
>> straightjacket than a real tool.  The amount of work it takes to produce a
>> truly useful IDE makes sense only if you're developing on a commercial
>> platform with millions of credit-card holding users. So if you want to
>> develop for Windows, Android, and such, good IDEs are available. If you're
>> programming a custom board, well, better get used to building your own
>> tools.
>>
>>
>> On Friday, May 30, 2014 11:52:53 AM UTC-7, Simon Platten wrote:
>>>
>>> true, is it to much to ask to use an IDE?
>>>
>>> I have it all working for Java, would just like to do the same for C.
>>>
>>>
>>> On Friday, 30 May 2014 19:37:58 UTC+1, RobertCNelson wrote:
>>>>
>>>> On Fri, May 30, 2014 at 1:33 PM, Simon Platten 
>>>> wrote:
>>>> > I know C and C++ very well...I've been developing in it since the
>>>> 80's.
>>>> >
>>>> > What I find difficult is the lack of complete information, is it to
>>>> much to
>>>> > expect that having bought the hardware for the software and
>>>> documentation to
>>>> > be complete?
>>>>

Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-30 Thread William Hermans
http://www.amazon.com/The-Art-Debugging-GDB-Eclipse/dp/1593271743

??



On Fri, May 30, 2014 at 2:38 PM, William Hermans  wrote:

> Simon, you may think I'm trying to be a smart ass but I'm not. Using Code
> Composer studio, and various other IDE's for various platforms does not
> mean you understand how to setup / use a GCC toolchain from the command
> line. Which is really what you need to know to understand to use these
> properly.
>
> All I have seen you say so far is that you have java GDB ( not even
> remotely the same thing ) working, and that you've been programming in C /
> C++ since the 80's. Personally, I have been programming C / C++ since the
> early 90's, and never really truely used a GCC toolchain until I cut my
> teeth on it with the MSP430 launchpad.
>
> My point ? Just because you *may* know gcc, and g++ does not mean you
> understand the whole GCC toolchain. Again, there are books on the subject .
> . .
>
> *In eclipse, I have created a C Project and in the Properties under C/C++
>> Build, Settings, I have the Cross Settings, Prefix set to:*
>>
>>
>>>
>>>
>>>
>>> *arm-linux-gnueabihf- Path set to:/home/simon/gcc-linaro-arm-lin*
>>> *ux-gnueabihf-4.8-2014.03_linux*
>>>
>>>
>>>
>>>
>>>
>>>
>>> */bin Cross GCC Compiler, Command set to gccCross GCC Linker, Command
>>> set to gccCross GCC Assemlber, Command set to asWhen I build the project I
>>> get:/bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
>>>  C/C++ Problem*
>>>
>>
> This is a pathing issue, eclipse does not know where to find the toolchain
> binaries. I dont use Eclipse personally but perhaps for each binary you
> need a proper fully qualified path to each binary? More information
> required.
>
>
> On Fri, May 30, 2014 at 2:02 PM, John Syn  wrote:
>
>>
>>  From: Simon Platten 
>> Reply-To: 
>> Date: Friday, May 30, 2014 at 12:28 PM
>> To: 
>> Subject: Re: [beagleboard] Eclipse C and Remote Debugging
>>
>> I've been writing software for various embedded platforms for a long
>> time, MSP430, Echelon, PIC's.  In the case of MSP430, the development suite
>> was based on Eclipse.  When writing software for PC104 platforms using QNX,
>> the IDE was Momentics, which is eclipse.
>>
>> The assumption always seems to be that you are talking to someone who
>> hasn't coded much before, I'm 44.  I've been coding professionally since
>> 1985.
>>
>> I can follow instructions as well as the next person, unfortunatley a lot
>> of the information online is incomplete or the guides are lacking.
>>
>> I use Eclipse and Code Composer Studio all the time and they work just
>> fine. I haven’t used GDBServer for a long time so it is difficult to advise
>> you how to get this working. Currently I use Lauterbach JTAG tools for
>> kernel code debugging and these tools are amazing because of their Linux
>> Kernel Awareness. However, previously I used Ronetix PEEDI JTAG tools which
>> make JTAG look like GDBServer. So my suggestion is to look at the support
>> docs on the Ronetix website as they explain how to setup Eclipse to work
>> with GDBServer. If this doesn’t work, then there is possibly some
>> incompatibility between the version of Eclipse and GDBServer.
>>
>> Regards,
>> John
>>
>>
>>
>>
>>
>> On Friday, 30 May 2014 20:21:41 UTC+1, l...@ansync.com wrote:
>>>
>>> Frankly, when developing for embedded platforms, yes, IDEs are too much
>>> to ask for. 90% of embedded programming today is done with command-line
>>> tools as it has been for decades. Once in a while someone builds an IDE,
>>> but they are invariably so limited in application as to be more or a
>>> straightjacket than a real tool.  The amount of work it takes to produce a
>>> truly useful IDE makes sense only if you're developing on a commercial
>>> platform with millions of credit-card holding users. So if you want to
>>> develop for Windows, Android, and such, good IDEs are available. If you're
>>> programming a custom board, well, better get used to building your own
>>> tools.
>>>
>>>
>>> On Friday, May 30, 2014 11:52:53 AM UTC-7, Simon Platten wrote:
>>>>
>>>> true, is it to much to ask to use an IDE?
>>>>
>>>> I have it all working for Java, would just like to do the same for C.
>>>>
>>>>
>>>> On Friday, 30 May 2014 19:37:5

Re: [beagleboard] Eclipse C and Remote Debugging

2014-05-31 Thread Simon Platten
Have orderred this one:

http://www.amazon.co.uk/GDB-Pocket-Reference-OReilly/dp/0596100272/ref=sr_1_1?ie=UTF8&qid=1401554600&sr=8-1&keywords=gdb


On Friday, 30 May 2014 22:47:27 UTC+1, William Hermans wrote:
>
> http://www.amazon.com/The-Art-Debugging-GDB-Eclipse/dp/1593271743
>
> ??
>
>
>
> On Fri, May 30, 2014 at 2:38 PM, William Hermans  > wrote:
>
>> Simon, you may think I'm trying to be a smart ass but I'm not. Using Code 
>> Composer studio, and various other IDE's for various platforms does not 
>> mean you understand how to setup / use a GCC toolchain from the command 
>> line. Which is really what you need to know to understand to use these 
>> properly.
>>
>> All I have seen you say so far is that you have java GDB ( not even 
>> remotely the same thing ) working, and that you've been programming in C / 
>> C++ since the 80's. Personally, I have been programming C / C++ since the 
>> early 90's, and never really truely used a GCC toolchain until I cut my 
>> teeth on it with the MSP430 launchpad.
>>
>> My point ? Just because you *may* know gcc, and g++ does not mean you 
>> understand the whole GCC toolchain. Again, there are books on the subject . 
>> . .
>>
>> *In eclipse, I have created a C Project and in the Properties under C/C++ 
>>> Build, Settings, I have the Cross Settings, Prefix set to:*
>>>
>>>
>>>>
>>>>
>>>>
>>>> *arm-linux-gnueabihf- Path set to:/home/simon/gcc-linaro-arm-lin*
>>>> *ux-gnueabihf-4.8-2014.03_linux*
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> */bin Cross GCC Compiler, Command set to gccCross GCC Linker, Command 
>>>> set to gccCross GCC Assemlber, Command set to asWhen I build the project I 
>>>> get:/bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB   
>>>>  
>>>>  C/C++ Problem*
>>>>
>>>
>> This is a pathing issue, eclipse does not know where to find the 
>> toolchain binaries. I dont use Eclipse personally but perhaps for each 
>> binary you need a proper fully qualified path to each binary? More 
>> information required.
>>
>>
>> On Fri, May 30, 2014 at 2:02 PM, John Syn > > wrote:
>>
>>>
>>>  From: Simon Platten >
>>> Reply-To: >
>>> Date: Friday, May 30, 2014 at 12:28 PM
>>> To: >
>>> Subject: Re: [beagleboard] Eclipse C and Remote Debugging
>>>
>>> I've been writing software for various embedded platforms for a long 
>>> time, MSP430, Echelon, PIC's.  In the case of MSP430, the development suite 
>>> was based on Eclipse.  When writing software for PC104 platforms using QNX, 
>>> the IDE was Momentics, which is eclipse.
>>>
>>> The assumption always seems to be that you are talking to someone who 
>>> hasn't coded much before, I'm 44.  I've been coding professionally since 
>>> 1985.
>>>
>>> I can follow instructions as well as the next person, unfortunatley a 
>>> lot of the information online is incomplete or the guides are lacking.
>>>
>>> I use Eclipse and Code Composer Studio all the time and they work just 
>>> fine. I haven’t used GDBServer for a long time so it is difficult to advise 
>>> you how to get this working. Currently I use Lauterbach JTAG tools for 
>>> kernel code debugging and these tools are amazing because of their Linux 
>>> Kernel Awareness. However, previously I used Ronetix PEEDI JTAG tools which 
>>> make JTAG look like GDBServer. So my suggestion is to look at the support 
>>> docs on the Ronetix website as they explain how to setup Eclipse to work 
>>> with GDBServer. If this doesn’t work, then there is possibly some 
>>> incompatibility between the version of Eclipse and GDBServer. 
>>>
>>> Regards,
>>> John
>>>
>>>
>>>
>>>
>>>
>>> On Friday, 30 May 2014 20:21:41 UTC+1, l...@ansync.com wrote:
>>>>
>>>> Frankly, when developing for embedded platforms, yes, IDEs are too much 
>>>> to ask for. 90% of embedded programming today is done with command-line 
>>>> tools as it has been for decades. Once in a while someone builds an IDE, 
>>>> but they are invariably so limited in application as to be more or a 
>>>> straightjacket than a real tool.  The amount of work it takes to produce a 
>>>> truly useful IDE mak

Re: [beagleboard] Eclipse C and Remote Debugging

2014-06-02 Thread Aaron Clarke
I set up a similar development environment for someone a few months ago.  I 
just posted a pdf document with the steps on my blog

http://blog.embeddedcoding.com/2014/06/beaglebone-black-remote-debug-with.html

I used a Debian Wheezy host instead of Ubuntu but it might still be helpful 
to look through the eclipse setup.  I did use Robert Nelson's BBB 
debian/linaro setup.

Aaron

On Thursday, May 29, 2014 4:00:56 PM UTC-4, Simon Platten wrote:
>
> Can you suggest a good site for setting up eclipse with the Linaro 
> toolchain, I've got the toolchain installed on ubuntu 14.04 in:
>
> /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux
>
> In eclipse, I have created a C Project and in the Properties under C/C++ 
> Build, Settings, I have the Cross Settings, Prefix set to:
>
> arm-linux-gnueabihf-
>
> Path set to:
>
> /home/simon/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin
>
> Cross GCC Compiler, Command set to gcc
> Cross GCC Linker, Command set to gcc
> Cross GCC Assemlber, Command set to as
>
> When I build the project I get:
> /bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
>  C/C++ Problem
>
>
>
>
>
> On Thursday, 29 May 2014 20:33:52 UTC+1, Simon Platten wrote:
>>
>> Thank you Robert,  I've now reflashed both my Beaglebone Blacks with 
>> Debian and have downloaded the linaro toolchain, so far everything has gone 
>> really well...about to set-up eclipse on my ubuntu virtualbox and then try 
>> remote debugging.
>>
>> On Wednesday, 28 May 2014 21:12:37 UTC+1, RobertCNelson wrote:
>>>
>>>
>>>
>>>
>>> On Wed, May 28, 2014 at 3:06 PM, Simon Platten  
>>> wrote:
>>>
  Thank you, I'll look into it and give it a go.

 Are they're any shortfalls to be aware of, anything that isn't 
 supported?

>>>
>>> Well, right now we support more devices and capes out of the box then 
>>> the last official Angstrom release, but if you notice something we broke 
>>> kernel wise just ping us. We tried to test everything, but everyone has 
>>> unique hardware.
>>>
>>> Otherwise the biggest change, it's a "armhf" ("gnueabihf") based system, 
>>> so your "gnueabi" compiler won't work. (Well i did had the 'armel' library) 
>>> so "hello world" "gnueabi" applications will run, but nothing more complex 
>>> then that.
>>>
>>> Regards,
>>>
>>> -- 
>>> Robert Nelson
>>> http://www.rcn-ee.com/ 
>>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [beagleboard] Eclipse C and Remote Debugging

2014-06-02 Thread Robert Dugas

Can this be of any help?
http://www.youtube.com/watch?v=wpg61xG9Egc
It’s an interesting video by Derek Mollow titled
Beaglebone: Java Setup (JRE), Eclipse and Remote System Explorer (RSE)




Have orderred this one:

http://www.amazon.co.uk/GDB-Pocket-Reference-OReilly/dp/0596100272/ref=sr_1_1?ie=UTF8&qid=1401554600&sr=8-1&keywords=gdb


On Friday, 30 May 2014 22:47:27 UTC+1, William Hermans wrote:
http://www.amazon.com/The-Art-Debugging-GDB-Eclipse/dp/1593271743

??

On Fri, May 30, 2014 at 2:38 PM, William Hermans 
> wrote:
Simon, you may think I'm trying to be a smart ass but I'm not. Using Code 
Composer studio, and various other IDE's for various platforms does not mean 
you understand how to setup / use a GCC toolchain from the command line. Which 
is really what you need to know to understand to use these properly.
All I have seen you say so far is that you have java GDB ( not even remotely 
the same thing ) working, and that you've been programming in C / C++ since the 
80's. Personally, I have been programming C / C++ since the early 90's, and 
never really truely used a GCC toolchain until I cut my teeth on it with the 
MSP430 launchpad.
My point ? Just because you *may* know gcc, and g++ does not mean you 
understand the whole GCC toolchain. Again, there are books on the subject . . .

In eclipse, I have created a C Project and in the Properties under C/C++ Build, 
Settings, I have the Cross Settings, Prefix set to:
arm-linux-gnueabihf-

Path set to:

/home/simon/gcc-linaro-arm-lin
ux-gnueabihf-4.8-2014.03_linux/bin

Cross GCC Compiler, Command set to gcc
Cross GCC Linker, Command set to gcc
Cross GCC Assemlber, Command set to as

When I build the project I get:
/bin/sh: arm-linux-gnueabihf-gcc: command not foundHelloWorldBBB
 C/C++ Problem

This is a pathing issue, eclipse does not know where to find the toolchain 
binaries. I dont use Eclipse personally but perhaps for each binary you need a 
proper fully qualified path to each binary? More information required.

On Fri, May 30, 2014 at 2:02 PM, John Syn > 
wrote:

From: Simon Platten >
Reply-To: >
Date: Friday, May 30, 2014 at 12:28 PM
To: >
Subject: Re: [beagleboard] Eclipse C and Remote Debugging

I've been writing software for various embedded platforms for a long time, 
MSP430, Echelon, PIC's.  In the case of MSP430, the development suite was based 
on Eclipse.  When writing software for PC104 platforms using QNX, the IDE was 
Momentics, which is eclipse.

The assumption always seems to be that you are talking to someone who hasn't 
coded much before, I'm 44.  I've been coding professionally since 1985.

I can follow instructions as well as the next person, unfortunatley a lot of 
the information online is incomplete or the guides are lacking.
I use Eclipse and Code Composer Studio all the time and they work just fine. I 
haven’t used GDBServer for a long time so it is difficult to advise you how to 
get this working. Currently I use Lauterbach JTAG tools for kernel code 
debugging and these tools are amazing because of their Linux Kernel Awareness. 
However, previously I used Ronetix PEEDI JTAG tools which make JTAG look like 
GDBServer. So my suggestion is to look at the support docs on the Ronetix 
website as they explain how to setup Eclipse to work with GDBServer. If this 
doesn’t work, then there is possibly some incompatibility between the version 
of Eclipse and GDBServer.

Regards,
John




On Friday, 30 May 2014 20:21:41 UTC+1, l...@ansync.com<mailto:l...@ansync.com> 
wrote:
Frankly, when developing for embedded platforms, yes, IDEs are too much to ask 
for. 90% of embedded programming today is done with command-line tools as it 
has been for decades. Once in a while someone builds an IDE, but they are 
invariably so limited in application as to be more or a straightjacket than a 
real tool.  The amount of work it takes to produce a truly useful IDE makes 
sense only if you're developing on a commercial platform with millions of 
credit-card holding users. So if you want to develop for Windows, Android, and 
such, good IDEs are available. If you're programming a custom board, well, 
better get used to building your own tools.


On Friday, May 30, 2014 11:52:53 AM UTC-7, Simon Platten wrote:
true, is it to much to ask to use an IDE?

I have it all working for Java, would just like to do the same for C.


On Friday, 30 May 2014 19:37:58 UTC+1, RobertCNelson wrote:
On Fri, May 30, 2014 at 1:33 PM, Simon Platten 
mailto:simona...@gmail.com>> wrote:
> I know C and C++ very well...I've been developing in it since the 80's.
>
> What I find difficult is the lack of complete information, is it to much to
> expect that having bought the hardware for the software and documentation to
> be complete?
>
> Sorry, I'm so fed up with dead ends...and pissy people with atitudes, that
> in

Re: [beagleboard] Eclipse C and Remote Debugging

2014-06-04 Thread Simon Platten
I've back tracked quite a bit, uninstalled eclipse and toolchain and 
started over.  I have the Java remote debugging working, the C remote 
debugging is still a problem...I'm confused by what is being reported:

Last login: Wed Jun  4 18:32:57 2014 from big-mumma.local
echo $PWD'>'
chmod +x /home/debian/helloWorldC;gdbserver :2345 
/home/debian/helloWorldC;exit
root@beaglebone:~# echo $PWD'>'
/root>
root@beaglebone:~# chmod +x /home/debian/helloWorldC;gdbserver :2345 
/home/debia n/helloWorldC;exit
Process /home/debian/helloWorldC created; pid = 2678
Listening on port 2345
Remote debugging from host 192.168.1.100
readchar: Got EOF
Remote side has terminated connection.  GDBserver will reopen the 
connection.
Listening on port 2345

I've no idea where the address 192.168.1.100 is coming from, the remote 
connection to the beaglebone is configured and working on 192.168.1.161.



On Monday, 2 June 2014 13:19:32 UTC+1, Robert Dugas wrote:
>
>   
>
> Can this be of any help?
>
> http://www.youtube.com/watch?v=wpg61xG9Egc
>
> It’s an interesting video by Derek Mollow titled 
>
> Beaglebone: Java Setup (JRE), Eclipse and Remote System Explorer (RSE)
>
>  
>
>  
>
>  
>
>  
>  
> Have orderred this one:
>
>
> http://www.amazon.co.uk/GDB-Pocket-Reference-OReilly/dp/0596100272/ref=sr_1_1?ie=UTF8&qid=1401554600&sr=8-1&keywords=gdb
>
>
> On Friday, 30 May 2014 22:47:27 UTC+1, William Hermans wrote:
>  
> http://www.amazon.com/The-Art-Debugging-GDB-Eclipse/dp/1593271743
>
> ??
>  
>  
>  
> On Fri, May 30, 2014 at 2:38 PM, William Hermans  wrote:
>   
> Simon, you may think I'm trying to be a smart ass but I'm not. Using Code 
> Composer studio, and various other IDE's for various platforms does not 
> mean you understand how to setup / use a GCC toolchain from the command 
> line. Which is really what you need to know to understand to use these 
> properly.
>  
> All I have seen you say so far is that you have java GDB ( not even 
> remotely the same thing ) working, and that you've been programming in C / 
> C++ since the 80's. Personally, I have been programming C / C++ since the 
> early 90's, and never really truely used a GCC toolchain until I cut my 
> teeth on it with the MSP430 launchpad.
>  
> My point ? Just because you *may* know gcc, and g++ does not mean you 
> understand the whole GCC toolchain. Again, there are books on the subject . 
> . .
>   
>  
>
> *In eclipse, I have created a C Project and in the Properties under C/C++ 
> Build, Settings, I have the Cross Settings, Prefix set to:*
>
>
>
>
>
> *arm-linux-gnueabihf- Path set to: /home/simon/gcc-linaro-arm-lin*
>  
>
>
>
>
>
>
>
> *ux-gnueabihf-4.8-2014.03_linux/bin Cross GCC Compiler, Command set to gcc 
> Cross GCC Linker, Command set to gcc Cross GCC Assemlber, Command set to as 
> When I build the project I get: /bin/sh: arm-linux-gnueabihf-gcc: command 
> not foundHelloWorldBBB C/C++ Problem*
>  
>  
>   
> This is a pathing issue, eclipse does not know where to find the toolchain 
> binaries. I dont use Eclipse personally but perhaps for each binary you 
> need a proper fully qualified path to each binary? More information 
> required.
>
>  
>  
> On Fri, May 30, 2014 at 2:02 PM, John Syn  wrote:
>   
>  
>   
> *From: *Simon Platten 
> *Reply-To: *
> *Date: *Friday, May 30, 2014 at 12:28 PM
> *To: *
> *Subject: *Re: [beagleboard] Eclipse C and Remote Debugging
>   
>  
>  
>  I've been writing software for various embedded platforms for a long 
> time, MSP430, Echelon, PIC's.  In the case of MSP430, the development suite 
> was based on Eclipse.  When writing software for PC104 platforms using QNX, 
> the IDE was Momentics, which is eclipse.
>
> The assumption always seems to be that you are talking to someone who 
> hasn't coded much before, I'm 44.  I've been coding professionally since 
> 1985.
>
> I can follow instructions as well as the next person, unfortunatley a lot 
> of the information online is incomplete or the guides are lacking.
>  
>  I use Eclipse and Code Composer Studio all the time and they work just 
> fine. I haven’t used GDBServer for a long time so it is difficult to advise 
> you how to get this working. Currently I use Lauterbach JTAG tools for 
> kernel code debugging and these tools are amazing because of their Linux 
> Kernel Awareness. However, previously I used Ronetix PEEDI JTAG tools which 
> make JTAG look like GDBServer. So my suggestion is to look at the support 
> docs on the Ronetix website as they explain how to setup Eclipse to work 

Re: [beagleboard] Eclipse C and Remote Debugging

2014-06-04 Thread Simon Platten
Also, on a SSH console on the Beaglebone Black, I can see that both 
gdbserver and my test application are running, if I then kill the 
gdbserver, up pops:

Killed
logout
!!!Hello World!!! 

In the eclipse console on ubuntu.


On Wednesday, 4 June 2014 19:37:08 UTC+1, Simon Platten wrote:
>
> I've back tracked quite a bit, uninstalled eclipse and toolchain and 
> started over.  I have the Java remote debugging working, the C remote 
> debugging is still a problem...I'm confused by what is being reported:
>
> Last login: Wed Jun  4 18:32:57 2014 from big-mumma.local
> echo $PWD'>'
> chmod +x /home/debian/helloWorldC;gdbserver :2345 
> /home/debian/helloWorldC;exit
> root@beaglebone:~# echo $PWD'>'
> /root>
> root@beaglebone:~# chmod +x /home/debian/helloWorldC;gdbserver :2345 
> /home/debia n/helloWorldC;exit
> Process /home/debian/helloWorldC created; pid = 2678
> Listening on port 2345
> Remote debugging from host 192.168.1.100
> readchar: Got EOF
> Remote side has terminated connection.  GDBserver will reopen the 
> connection.
> Listening on port 2345
>
> I've no idea where the address 192.168.1.100 is coming from, the remote 
> connection to the beaglebone is configured and working on 192.168.1.161.
>
>
>
> On Monday, 2 June 2014 13:19:32 UTC+1, Robert Dugas wrote:
>>
>>   
>>
>> Can this be of any help?
>>
>> http://www.youtube.com/watch?v=wpg61xG9Egc
>>
>> It’s an interesting video by Derek Mollow titled 
>>
>> Beaglebone: Java Setup (JRE), Eclipse and Remote System Explorer (RSE)
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>  
>> Have orderred this one:
>>
>>
>> http://www.amazon.co.uk/GDB-Pocket-Reference-OReilly/dp/0596100272/ref=sr_1_1?ie=UTF8&qid=1401554600&sr=8-1&keywords=gdb
>>
>>
>> On Friday, 30 May 2014 22:47:27 UTC+1, William Hermans wrote:
>>  
>> http://www.amazon.com/The-Art-Debugging-GDB-Eclipse/dp/1593271743
>>
>> ??
>>  
>>  
>>  
>> On Fri, May 30, 2014 at 2:38 PM, William Hermans  
>> wrote:
>>   
>> Simon, you may think I'm trying to be a smart ass but I'm not. Using Code 
>> Composer studio, and various other IDE's for various platforms does not 
>> mean you understand how to setup / use a GCC toolchain from the command 
>> line. Which is really what you need to know to understand to use these 
>> properly.
>>  
>> All I have seen you say so far is that you have java GDB ( not even 
>> remotely the same thing ) working, and that you've been programming in C / 
>> C++ since the 80's. Personally, I have been programming C / C++ since the 
>> early 90's, and never really truely used a GCC toolchain until I cut my 
>> teeth on it with the MSP430 launchpad.
>>  
>> My point ? Just because you *may* know gcc, and g++ does not mean you 
>> understand the whole GCC toolchain. Again, there are books on the subject . 
>> . .
>>   
>>  
>>
>> *In eclipse, I have created a C Project and in the Properties under C/C++ 
>> Build, Settings, I have the Cross Settings, Prefix set to:*
>>
>>
>>
>>
>>
>> *arm-linux-gnueabihf- Path set to: /home/simon/gcc-linaro-arm-lin*
>>  
>>
>>
>>
>>
>>
>>
>>
>> *ux-gnueabihf-4.8-2014.03_linux/bin Cross GCC Compiler, Command set to 
>> gcc Cross GCC Linker, Command set to gcc Cross GCC Assemlber, Command set 
>> to as When I build the project I get: /bin/sh: arm-linux-gnueabihf-gcc: 
>> command not foundHelloWorldBBB C/C++ Problem*
>>  
>>  
>>   
>> This is a pathing issue, eclipse does not know where to find the 
>> toolchain binaries. I dont use Eclipse personally but perhaps for each 
>> binary you need a proper fully qualified path to each binary? More 
>> information required.
>>
>>  
>>  
>> On Fri, May 30, 2014 at 2:02 PM, John Syn  wrote:
>>   
>>  
>>   
>> *From: *Simon Platten 
>> *Reply-To: *
>> *Date: *Friday, May 30, 2014 at 12:28 PM
>> *To: *
>> *Subject: *Re: [beagleboard] Eclipse C and Remote Debugging
>>   
>>  
>>  
>>  I've been writing software for various embedded platforms for a long 
>> time, MSP430, Echelon, PIC's.  In the case of MSP430, the development suite 
>> was based on Eclipse.  When writing software for PC104 platforms using QNX, 
>> the IDE was Momentics, which is eclipse.
>>
>> The assumption always seems to be that you are talking to someone

Re: [beagleboard] Eclipse C and Remote Debugging

2014-06-04 Thread Simon Platten
Having thought about what is happening over night...I still don't 
understand why Remote debugging from host is 192.168.1.100 ???

I run Ubuntu 14.04 in Virtualbox on my Windows 7 x64 development system.  
The I/P addresses for the various components are as follows:

Ubuntu,  10.1.174.100
Windows 7,192.168.1.100
Beaglebone Black,  192.168.1.161

Eclipse is running in Ubuntu and I use the Remote tools to connect to the 
Beaglebone Black from eclipse.  I have succesfully configured eclipse to 
allow remote debugging of Java applications on the Beaglebone Black and 
this works very nicely.

C/C++ is the problem, why is it reporting the Windows 7 I/P?

Does this help shed any light on what the problem is?

Thank you,

On Wednesday, 4 June 2014 19:39:35 UTC+1, Simon Platten wrote:
>
> Also, on a SSH console on the Beaglebone Black, I can see that both 
> gdbserver and my test application are running, if I then kill the 
> gdbserver, up pops:
>
> Killed
> logout
> !!!Hello World!!! 
>
> In the eclipse console on ubuntu.
>
>
> On Wednesday, 4 June 2014 19:37:08 UTC+1, Simon Platten wrote:
>>
>> I've back tracked quite a bit, uninstalled eclipse and toolchain and 
>> started over.  I have the Java remote debugging working, the C remote 
>> debugging is still a problem...I'm confused by what is being reported:
>>
>> Last login: Wed Jun  4 18:32:57 2014 from big-mumma.local
>> echo $PWD'>'
>> chmod +x /home/debian/helloWorldC;gdbserver :2345 
>> /home/debian/helloWorldC;exit
>> root@beaglebone:~# echo $PWD'>'
>> /root>
>> root@beaglebone:~# chmod +x /home/debian/helloWorldC;gdbserver :2345 
>> /home/debia n/helloWorldC;exit
>> Process /home/debian/helloWorldC created; pid = 2678
>> Listening on port 2345
>> Remote debugging from host 192.168.1.100
>> readchar: Got EOF
>> Remote side has terminated connection.  GDBserver will reopen the 
>> connection.
>> Listening on port 2345
>>
>> I've no idea where the address 192.168.1.100 is coming from, the remote 
>> connection to the beaglebone is configured and working on 192.168.1.161.
>>
>>
>>
>> On Monday, 2 June 2014 13:19:32 UTC+1, Robert Dugas wrote:
>>>
>>>   
>>>
>>> Can this be of any help?
>>>
>>> http://www.youtube.com/watch?v=wpg61xG9Egc
>>>
>>> It’s an interesting video by Derek Mollow titled 
>>>
>>> Beaglebone: Java Setup (JRE), Eclipse and Remote System Explorer (RSE)
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>  
>>> Have orderred this one:
>>>
>>>
>>> http://www.amazon.co.uk/GDB-Pocket-Reference-OReilly/dp/0596100272/ref=sr_1_1?ie=UTF8&qid=1401554600&sr=8-1&keywords=gdb
>>>
>>>
>>> On Friday, 30 May 2014 22:47:27 UTC+1, William Hermans wrote:
>>>  
>>> http://www.amazon.com/The-Art-Debugging-GDB-Eclipse/dp/1593271743
>>>
>>> ??
>>>  
>>>  
>>>  
>>> On Fri, May 30, 2014 at 2:38 PM, William Hermans  
>>> wrote:
>>>   
>>> Simon, you may think I'm trying to be a smart ass but I'm not. Using 
>>> Code Composer studio, and various other IDE's for various platforms does 
>>> not mean you understand how to setup / use a GCC toolchain from the command 
>>> line. Which is really what you need to know to understand to use these 
>>> properly.
>>>  
>>> All I have seen you say so far is that you have java GDB ( not even 
>>> remotely the same thing ) working, and that you've been programming in C / 
>>> C++ since the 80's. Personally, I have been programming C / C++ since the 
>>> early 90's, and never really truely used a GCC toolchain until I cut my 
>>> teeth on it with the MSP430 launchpad.
>>>  
>>> My point ? Just because you *may* know gcc, and g++ does not mean you 
>>> understand the whole GCC toolchain. Again, there are books on the subject . 
>>> . .
>>>   
>>>  
>>>
>>> *In eclipse, I have created a C Project and in the Properties under 
>>> C/C++ Build, Settings, I have the Cross Settings, Prefix set to:*
>>>
>>>
>>>
>>>
>>>
>>> *arm-linux-gnueabihf- Path set to: /home/simon/gcc-linaro-arm-lin*
>>>  
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *ux-gnueabihf-4.8-2014.03_linux/bin Cross GCC Compiler, Command set to 
>

Re: [beagleboard] Eclipse C and Remote Debugging

2014-06-05 Thread robert.berger
Hi

On Thursday, June 5, 2014 9:35:03 AM UTC+3, Simon Platten wrote:
>
> Having thought about what is happening over night...I still don't 
> understand why Remote debugging from host is 192.168.1.100 ???
>

> I run Ubuntu 14.04 in Virtualbox on my Windows 7 x64 development system.  
> The I/P addresses for the various components are as follows:
>
> Ubuntu,  10.1.174.100  <--- how about a 192.168.1.x 
> subnet?
> Windows 7,192.168.1.100
> Beaglebone Black,  192.168.1.161
>
>
Did you ever try remote debugging without Eclipse as I already suggested?

Regards,

Robert
 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-06-05 Thread Simon Platten
I must admit I haven't but I will try tonight.

Sent from my iPhone

> On 5 Jun 2014, at 08:09, "robert.berger"  wrote:
> 
> Hi
> 
>> On Thursday, June 5, 2014 9:35:03 AM UTC+3, Simon Platten wrote:
>> Having thought about what is happening over night...I still don't understand 
>> why Remote debugging from host is 192.168.1.100 ???
>> 
>> I run Ubuntu 14.04 in Virtualbox on my Windows 7 x64 development system.  
>> The I/P addresses for the various components are as follows:
>> 
>> Ubuntu,  10.1.174.100  <--- how about a 192.168.1.x 
>> subnet?
>> Windows 7,192.168.1.100
>> Beaglebone Black,  192.168.1.161
> 
> Did you ever try remote debugging without Eclipse as I already suggested?
> 
> Regards,
> 
> Robert
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/beagleboard/USEklgWaQkg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-06-05 Thread Jon

Your virtualbox network is likely just using NAT, so to the BBB it will 
appear that the traffic is coming from the host computer.

Agreeing with what Robert already said, I would start from the command line 
tools (gdb & gdbserver) and work up.

Regards,
Jon


On Thursday, 5 June 2014 07:35:03 UTC+1, Simon Platten wrote:
>
> Having thought about what is happening over night...I still don't 
> understand why Remote debugging from host is 192.168.1.100 ???
>
> I run Ubuntu 14.04 in Virtualbox on my Windows 7 x64 development system.  
> The I/P addresses for the various components are as follows:
>
> Ubuntu,  10.1.174.100
> Windows 7,192.168.1.100
> Beaglebone Black,  192.168.1.161
>
>>
   

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eclipse C and Remote Debugging

2014-06-05 Thread Simon Platten
Yay, resolved, C/C++ remote debugging in eclipse now working!

Thank you for all the help, in the end I changed the set-up of the 
virtualbox configuration, setting the network settings to:

"Bridged Adapter".

I also installed:

sudo apt-get install lib32ncurses5

Now it works perfrectly.

Happy chappy!

On Thursday, 5 June 2014 10:26:53 UTC+1, Jon wrote:
>
>
> Your virtualbox network is likely just using NAT, so to the BBB it will 
> appear that the traffic is coming from the host computer.
>
> Agreeing with what Robert already said, I would start from the command 
> line tools (gdb & gdbserver) and work up.
>
> Regards,
> Jon
>
>
> On Thursday, 5 June 2014 07:35:03 UTC+1, Simon Platten wrote:
>>
>> Having thought about what is happening over night...I still don't 
>> understand why Remote debugging from host is 192.168.1.100 ???
>>
>> I run Ubuntu 14.04 in Virtualbox on my Windows 7 x64 development system.  
>> The I/P addresses for the various components are as follows:
>>
>> Ubuntu,  10.1.174.100
>> Windows 7,192.168.1.100
>> Beaglebone Black,  192.168.1.161
>>
>>>
>   

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.