How to develop software for beagle board?

I see you can buy a beagle board for $149, but what additional
software do you need to develop C code for it? Am I correct in
assuming you can use TI CCStudio Platinum V 4.0 for this?

Am I going to have to purchase TI CCStudio Platinum eventually, or is
there a way I can keep using the free evaluation tools indefinitely?

From: beagleboard@googlegroups.com
[mailto:beagleboard@googlegroups.com] On Behalf Of Don Smales
Sent: Friday, October 16, 2009 8:24 AM
To: Beagle Board
Subject: [beagleboard] How to develop software for beagle board?

I see you can buy a beagle board for $149, but what additional
software do you need to develop C code for it? Am I correct in
assuming you can use TI CCStudio Platinum V 4.0 for this?

Am I going to have to purchase TI CCStudio Platinum eventually, or is
there a way I can keep using the free evaluation tools indefinitely?

You can use cross development tools from Angstrom or CodeSourcery. If you
want a GUI, download the Eclipse CDT, but reference the ARM cross
development tools, or build everything with a makefile.
www.angstrom-distribution.org
http://www.codesourcery.com/sgpp/lite/arm/portal/release830
www.eclipse.org (Eclipse IDE for C/C++ Developers (79 MB))

Thanks for the help. I ordered the board a few minutes ago, and will
probably
take a look at Eclipse, because I like the GUI. Mostly, I am a
hardware guy,
but I do write some embedded software from time to time.

The job market has been so bad, I decided to devote some time to
learning
Linux and DSP coding with C. This looks like the cheapest and easiest
way
to accomplish both.

The TI OMAP development kit is like $1500. A little beyond what I
wanted
to spend right now. I think you eventually have to buy their CCStudio
software
when the trial licence runs out. I am not sure, but I think that's
another $2000.
Again, more money than I wanted to invest in this.

From: beagleboard@googlegroups.com
[mailto:beagleboard@googlegroups.com] On Behalf Of Don Smales
Sent: Friday, October 16, 2009 10:06 AM
To: Beagle Board
Subject: [beagleboard] Re: How to develop software for beagle board?

Thanks for the help. I ordered the board a few minutes ago, and will
probably
take a look at Eclipse, because I like the GUI. Mostly, I am a
hardware guy,
but I do write some embedded software from time to time.

The job market has been so bad, I decided to devote some time to
learning
Linux and DSP coding with C. This looks like the cheapest and easiest
way
to accomplish both.

The TI OMAP development kit is like $1500. A little beyond what I
wanted
to spend right now. I think you eventually have to buy their CCStudio
software
when the trial licence runs out. I am not sure, but I think that's
another $2000.
Again, more money than I wanted to invest in this.

I'm not sure I understand why you need CCSV4. The only reason I use CCSV4 is
to do low level debugging with a JTAG debugger. Other than that, I never use
CCSV4. In any case, CCSV4 doesn't run on Linux yet and probably won't for
several months. At the moment, you have to run CCSV4 on Windows and NFS
mount the Linux build environment, or use SAMBA.

I personally use SlickEdit or KScope to write, build and navigate code as
they both have great code indexers. KScope needs on Ubuntu 9.04, but with
some hacking, it still works great. For example, SlickEdit and KScope will
index the complete Linux Kernel in about 2 to 3 minutes. Eclipse will take
more than 1/2 hour to do the same and then it still misses some indexing
unless you manually specify all the folders in detail. Once this is done,
Eclipse seems to work fine.

> > From: beagleboard@googlegroups.com
> > [mailto:beagleboard@googlegroups.com] On Behalf Of Don Smales
> > Sent: Friday, October 16, 2009 8:24 AM
> > To: Beagle Board
> > Subject: [beagleboard] How to develop software for beagle board?
>
> > I see you can buy a beagle board for $149, but what additional
> > software do you need to develop C code for it? Am I correct in
> > assuming you can use TI CCStudio Platinum V 4.0 for this?
>
> > Am I going to have to purchase TI CCStudio Platinum eventually, or is
> > there a way I can keep using the free evaluation tools indefinitely?
>
> You can use cross development tools from Angstrom or CodeSourcery. If

you

> want a GUI, download the Eclipse CDT, but reference the ARM cross
> development tools, or build everything with a makefile.www.angstrom-

distribution.orghttp://www.codesourcery.com/sgpp/lite/arm/portal/release830w
ww.e

I've been using Netbeans for remote development - compiling C / C++ on
the Beagleboard but editing and debugging on Mac and Windows. Here's
some details: http://mechomaniac.com/BeagleboardDevelopmentWithNetbeans
I found it much easier to setup for this purpose than Eclipse.

Replying to both Tim and John --

I will investigate all the other software packages you both mentioned.

I did get the Code Sourcery stuff installed and working correctly.

After experimenting with Eclipse for several hours, I have not gotten
the toolchain part working correctly to point to the Code Sourcery
stuff. Being mostly a hardware guy, I don't have a lot of expertise
in configuring development tools. Most of the packages I work with
you
install them, and they just work.

As far as CCSV4 goes -- Yes, I wanted to use it for the JTAG debugger.
I do some TMS320 development in my professional work, and have
found the JTAG debugger to be very useful. From what you guys are
saying, it sounds like there is no shareware solution for the JTAG
debugger.

So if I want to do JTAG debugging, it sounds like I will have to get
CCSV4
from work. I did order the free evaluation CCSV3.3 CD from TI. I
don't know
how many days it will work for, though.

From: beagleboard@googlegroups.com
[mailto:beagleboard@googlegroups.com] On Behalf Of Don Smales
Sent: Sunday, October 18, 2009 8:06 AM
To: Beagle Board
Subject: [beagleboard] Re: How to develop software for beagle board?

Replying to both Tim and John --

I will investigate all the other software packages you both mentioned.

I did get the Code Sourcery stuff installed and working correctly.

After experimenting with Eclipse for several hours, I have not gotten
the toolchain part working correctly to point to the Code Sourcery
stuff. Being mostly a hardware guy, I don't have a lot of expertise
in configuring development tools. Most of the packages I work with
you
install them, and they just work.

As far as CCSV4 goes -- Yes, I wanted to use it for the JTAG debugger.
I do some TMS320 development in my professional work, and have
found the JTAG debugger to be very useful. From what you guys are
saying, it sounds like there is no shareware solution for the JTAG
debugger.

I haven't used this, but have a look at OpenOCD
http://elinux.org/BeagleBoardJTAG
GDB Insight 6.8 is a good GUI debugger that works with most JTAG emulators,
but I have no idea if it will work with OpenOCD. Look at the sections on
CCSV4 and PEEDI as this may be helpful.

BTW, I just downloaded NetBeans and it looks impressive. Thanks Tim.

Regards
John

So if I want to do JTAG debugging, it sounds like I will have to get
CCSV4
from work. I did order the free evaluation CCSV3.3 CD from TI. I
don't know
how many days it will work for, though.

> I've been using Netbeans for remote development - compiling C / C++ on
> the Beagleboard but editing and debugging on Mac and Windows. Here's
> some details: http://mechomaniac.com/BeagleboardDevelopmentWithNetbeans
> I found it much easier to setup for this purpose than Eclipse.
>
>
>
>
> > I see you can buy a beagle board for $149, but what additional
> > software do you need to develop C code for it? Am I correct in
> > assuming you can use TI CCStudio Platinum V 4.0 for this?
>
> > Am I going to have to purchase TI CCStudio Platinum eventually, or is
> > there a way I can keep using the free evaluation tools indefinitely?-

Hide

I use codelite, it seems very responsive and easy to get started with.

http://progfolio.net/blog/dev/linux-dev-blog/578

Paul.