Mailing List Archive

msp4300 toolchain
G'day,

I'd like to do some development with TI's msp430 processors. As a
starting point I've got the TI LaunchPad which has an msp430g2231.

As best I can tell, there seem to be 3 paths to a toolchain:
1 - crossdev - with an appropriate tuple, for example
a - "crossdev -t msp430"
b - "crossdev -t msp430-none-none-uclibc"
2 - portage to emerge dev-embedded/msp430*
3 - sourceforge's mspgcc project

I could go into the difficulties I've encountered with each of the
above, but I don't want to overload this message and bore everyone.

So the questions are:

Is anybody on this list doing msp430 development/experimentation? Has
one of the above paths been found to work? If so, which one?

Thank you.

David
Re: msp4300 toolchain [ In reply to ]
David Relson wrote:
> I'd like to do some development with TI's msp430 processors. As a
> starting point I've got the TI LaunchPad which has an msp430g2231.

I'm not sure Linux is relevant for those 16-bit chips, nor uClibc?


//Peter
Re: msp4300 toolchain [ In reply to ]
On Tue, 20 Dec 2011 07:02:53 +0100
Peter Stuge wrote:

> David Relson wrote:
> > I'd like to do some development with TI's msp430 processors. As a
> > starting point I've got the TI LaunchPad which has an msp430g2231.
>
> I'm not sure Linux is relevant for those 16-bit chips, nor uClibc?
>
>
> //Peter

I'm not interested in running Linux on the MSP430. My goal is to use
Linux to cross-compile code that will run on the MSP430.
Re: msp4300 toolchain [ In reply to ]
2011/12/20 David Relson <relson@osagesoftware.com>:
> On Tue, 20 Dec 2011 07:02:53 +0100
> Peter Stuge wrote:
>
>> David Relson wrote:
>> > I'd like to do some development with TI's msp430 processors.  As a
>> > starting point I've got the TI LaunchPad which has an msp430g2231.
>>
>> I'm not sure Linux is relevant for those 16-bit chips, nor uClibc?
>>
>>
>> //Peter
>
> I'm not interested in running Linux on the MSP430.  My goal is to use
> Linux to cross-compile code that will run on the MSP430.
>

There is a msp430-gcc package in portage. Have you tried that ? I've
once upon a time used a toolchain from:

http://cdk4msp.sourceforge.net/

Best regards,
Maciej Grela
Re: msp4300 toolchain [ In reply to ]
On Tue, 20 Dec 2011 13:26:09 +0100
Maciej Grela wrote:

> 2011/12/20 David Relson <relson@osagesoftware.com>:
> > On Tue, 20 Dec 2011 07:02:53 +0100
> > Peter Stuge wrote:
> >
> >> David Relson wrote:
> >> > I'd like to do some development with TI's msp430 processors.  As
> >> > a starting point I've got the TI LaunchPad which has an
> >> > msp430g2231.
> >>
> >> I'm not sure Linux is relevant for those 16-bit chips, nor uClibc?
> >>
> >>
> >> //Peter
> >
> > I'm not interested in running Linux on the MSP430.  My goal is to
> > use Linux to cross-compile code that will run on the MSP430.
> >
>
> There is a msp430-gcc package in portage. Have you tried that ? I've
> once upon a time used a toolchain from:
>
> http://cdk4msp.sourceforge.net/
>
> Best regards,
> Maciej Grela

In the ebuild in dev-embedded/msp430-gcc is the following line:

is_crosscompile || die "Only cross-compile builds are supported"

I'm not sure exactly what it means, but it seems to mean that this
ebuild can only be used when cross-compiling, i.e. when building gcc to
_run_ on the msp430.

I want to build a cross-compiler, i.e. a gcc that will run on my x86_64
and create code to run on the msp430.
Re: msp4300 toolchain [ In reply to ]
someone has sent me a patch to crossdev to add msp4300 support. i'll let you
know when i push a release with it.
-mike
Re: msp4300 toolchain [ In reply to ]
On Tuesday 20 December 2011 14:38:20 Mike Frysinger wrote:
> someone has sent me a patch to crossdev to add msp4300 support. i'll let
> you know when i push a release with it.

crossdev-20111221 should work. if it doesn't, file a bug.
-mike
Re: msp4300 toolchain [ In reply to ]
On Wed, 21 Dec 2011 16:06:57 -0500
Mike Frysinger wrote:

> On Tuesday 20 December 2011 14:38:20 Mike Frysinger wrote:
> > someone has sent me a patch to crossdev to add msp4300 support.
> > i'll let you know when i push a release with it.
>
> crossdev-20111221 should work. if it doesn't, file a bug.
> -mike

Hi Mike,

I'm looking forward to trying the new crossdev. I've sync'd portage
and have the ebuild. Unfortunately the .xz file hasn't made it to the
portage mirrors.

Thank you.

David
Re: msp4300 toolchain [ In reply to ]
On 2011-12-20 Tue 04:51, David Relson wrote:
> > There is a msp430-gcc package in portage. Have you tried that ? I've
> > once upon a time used a toolchain from:
> > http://cdk4msp.sourceforge.net/
> > Best regards,
> > Maciej Grela

> In the ebuild in dev-embedded/msp430-gcc is the following line:

> is_crosscompile || die "Only cross-compile builds are supported"

> I'm not sure exactly what it means, but it seems to mean that this
> ebuild can only be used when cross-compiling, i.e. when building gcc to
> _run_ on the msp430.

> I want to build a cross-compiler, i.e. a gcc that will run on my x86_64
> and create code to run on the msp430.

That line means exactly what you want, i.e. you can only build
msp430-gcc for cross-compiling from your amd64/x86/etc host to an msp430
target.

If you have any troubles building the msp430 toolchain in the tree with
crossdev please file a bug and I'll look into it since I'm the primary
maintainer for the msp430 toolchain on Gentoo.

Thanks,
Tim
Re: msp4300 toolchain [ In reply to ]
On Wed, 21 Dec 2011 17:00:24 -0800
Tim Harder wrote:

> On 2011-12-20 Tue 04:51, David Relson wrote:
> > > There is a msp430-gcc package in portage. Have you tried that ?
> > > I've once upon a time used a toolchain from:
> > > http://cdk4msp.sourceforge.net/
> > > Best regards,
> > > Maciej Grela
>
> > In the ebuild in dev-embedded/msp430-gcc is the following line:
>
> > is_crosscompile || die "Only cross-compile builds are supported"
>
> > I'm not sure exactly what it means, but it seems to mean that this
> > ebuild can only be used when cross-compiling, i.e. when building
> > gcc to _run_ on the msp430.
>
> > I want to build a cross-compiler, i.e. a gcc that will run on my
> > x86_64 and create code to run on the msp430.
>
> That line means exactly what you want, i.e. you can only build
> msp430-gcc for cross-compiling from your amd64/x86/etc host to an
> msp430 target.
>
> If you have any troubles building the msp430 toolchain in the tree
> with crossdev please file a bug and I'll look into it since I'm the
> primary maintainer for the msp430 toolchain on Gentoo.
>
> Thanks,
> Tim

Hi Tim,

Glad to make your acquaintance !

With crossdev-20111212, binutil built fine, but gcc stage 1's build
encountered an error in configure. A bug has been filed.

Regards,

Davvid
Re: msp4300 toolchain [ In reply to ]
On Wed, 21 Dec 2011 16:06:57 -0500
Mike Frysinger wrote:

> On Tuesday 20 December 2011 14:38:20 Mike Frysinger wrote:
> > someone has sent me a patch to crossdev to add msp4300 support.
> > i'll let you know when i push a release with it.
>
> crossdev-20111221 should work. if it doesn't, file a bug.
> -mike

Hi Mike,

The msp430 toolchain generated is working very nicely for me and has
been building msp430 executables for several days.

With kernel config updates (to include CONFIG_USB_SERIAL,
CONFIG_USB_SERIAL_TI, and CONFIG_USB_ACM), demo programs are running
nicely on my TI Launchpad.

Thank you for the crossdev update.

Regards,

David
Re: msp4300 toolchain [ In reply to ]
On Sun, Dec 25, 2011 at 16:06, David Relson <relson@osagesoftware.com> wrote:
> The msp430 toolchain generated is working very nicely for me and has
> been building msp430 executables for several days.
>
> With kernel config updates (to include CONFIG_USB_SERIAL,
> CONFIG_USB_SERIAL_TI, and CONFIG_USB_ACM), demo programs are running
> nicely on my TI Launchpad.
>
> Thank you for the crossdev update.

don't thank me. Tim did all the actual work.
-mike
Re: msp4300 toolchain [ In reply to ]
You are receiving this automated reply because you have sent mail to
an invalid email address. If you are trying to contact YouTube,
please visit the YouTube Help Center at:
http://www.google.com/support/youtube

If you're unable to find the answer to your question in the Help
Center, you may use the contact forms located there to send us your
question.



Original Message Follows:
------------------------
From: Mike Frysinger <vapier@gentoo.org>
Subject: [gentoo-embedded] msp4300 toolchain
Date: Fri, 30 Dec 2011 22:05:49 -0500

On Sun, Dec 25, 2011 at 16:06, David Relson <relson@osagesoftware.com>
wrote:
> The msp430 toolchain generated is working very nicely for me and has
> been building msp430 executables for several days.
>
> With kernel config updates (to include CONFIG_USB_SERIAL,
> CONFIG_USB_SERIAL_TI, and CONFIG_USB_ACM), demo programs are running
> nicely on my TI Launchpad.
>
> Thank you for the crossdev update.

don't thank me. Tim did all the actual work.
-mike
Re: msp4300 toolchain [ In reply to ]
You are receiving this automated reply because you have sent mail to
an invalid email address. If you are trying to contact YouTube,
please visit the YouTube Help Center at:
http://www.google.com/support/youtube

If you're unable to find the answer to your question in the Help
Center, you may use the contact forms located there to send us your
question.



Original Message Follows:
------------------------
From: Mike Frysinger <vapier@gentoo.org>
Subject: [gentoo-embedded] msp4300 toolchain
Date: Fri, 30 Dec 2011 22:05:49 -0500

On Sun, Dec 25, 2011 at 16:06, David Relson <relson@osagesoftware.com>
wrote:
> The msp430 toolchain generated is working very nicely for me and has
> been building msp430 executables for several days.
>
> With kernel config updates (to include CONFIG_USB_SERIAL,
> CONFIG_USB_SERIAL_TI, and CONFIG_USB_ACM), demo programs are running
> nicely on my TI Launchpad.
>
> Thank you for the crossdev update.

don't thank me. Tim did all the actual work.
-mike