Thanks everyone for the responses. That should get me going along. In answer to a few of Eric's questions:
- The header file I mentioned was in /usr/msp430/include. I am guessing it is a part of the msp430-libc package (perhaps it is in the msp430mcu package). - I am using the gcc-msp430 toolchain. Version 4.6.3 - the git repository I was talking about was git:// hinrg.cs.jhu.edu/git/cire/msp430.git. I hadn't discovered that development had move to tinyprod. Thanks again for the responses! Tim On Tue, Apr 9, 2013 at 6:21 PM, <[email protected] > wrote: > Send Tinyos-help mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tinyos-help digest..." > > > Today's Topics: > > 1. Texas Instruments 900MHz Mote (Tim Godfrey) > 2. Re: Texas Instruments 900MHz Mote (Antonio Linan) > 3. Re: Texas Instruments 900MHz Mote (Erd?lyi ?d?m [Ed?m]) > 4. Re: Texas Instruments 900MHz Mote (Eric Decker) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 9 Apr 2013 17:09:54 +1000 > From: Tim Godfrey <[email protected]> > Subject: [Tinyos-help] Texas Instruments 900MHz Mote > To: [email protected] > Message-ID: > <CAHb6uwf6JdyRW8tj9d= > [email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hello, > > My question is, is the processor MSP430F5438A supported by tinyos? How does > one take compile apps for that target? > > I am attempting to add a new platform to my tinyos installation. The mote I > want to add support for is a Texas Instruments CC1180DK_DB mote. It has an > MSP430F5438A microcontroller and a CC1180 radio controller. > > I have been following the 'Platforms' guide on the wiki ( > http://docs.tinyos.net/tinywiki/index.php/Platforms) to add a new > platform. > At the moment when I compile I get a whole bunch of "'Variable' undeclared > " errors for the variables > > - TACCTL0 > - TACCTL1 > - TACCTL2 > - TACTL > - ME1 > - UTXE0 > - ... > etc. > > As far as I can work out, it is because the header file, msp430f5438a.h, > does not include definitions for those constants (defines?). > > I did read in the devel mailing list, that in 2011 Eric Decker was working > on support for 2nd and 3rd generation msp430 devices, and had created > tinynode instances on a bunch of those devices, including the one I am > trying to work with. However, the git repository that he was developing is > not serving the code (anymore? at least not to me), and the current trunk > version of tinyos from google code doesn't improve my compilation output. > > Thanks ahead of time for your help! > Tim > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130409/af118e75/attachment-0001.htm > > ------------------------------ > > Message: 2 > Date: Tue, 9 Apr 2013 09:32:46 +0200 > From: Antonio Linan <[email protected]> > Subject: Re: [Tinyos-help] Texas Instruments 900MHz Mote > To: Tim Godfrey <[email protected]> > Cc: tinyos forum <[email protected]> > Message-ID: > <CAGVdO7VtU2M5=uezpC9y+= > [email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > You should take a look at the fine work Eric has done: > > https://github.com/tp-freeforall/prod > > /tos/platform/mm5s/ > > Regards, > > --Antonio > > > > On Tue, Apr 9, 2013 at 9:09 AM, Tim Godfrey <[email protected] > >wrote: > > > Hello, > > > > My question is, is the processor MSP430F5438A supported by tinyos? How > > does one take compile apps for that target? > > > > I am attempting to add a new platform to my tinyos installation. The mote > > I want to add support for is a Texas Instruments CC1180DK_DB mote. It has > > an MSP430F5438A microcontroller and a CC1180 radio controller. > > > > I have been following the 'Platforms' guide on the wiki ( > > http://docs.tinyos.net/tinywiki/index.php/Platforms) to add a new > > platform. At the moment when I compile I get a whole bunch of "'Variable' > > undeclared " errors for the variables > > > > - TACCTL0 > > - TACCTL1 > > - TACCTL2 > > - TACTL > > - ME1 > > - UTXE0 > > - ... > > etc. > > > > As far as I can work out, it is because the header file, msp430f5438a.h, > > does not include definitions for those constants (defines?). > > > > I did read in the devel mailing list, that in 2011 Eric Decker was > working > > on support for 2nd and 3rd generation msp430 devices, and had created > > tinynode instances on a bunch of those devices, including the one I am > > trying to work with. However, the git repository that he was developing > is > > not serving the code (anymore? at least not to me), and the current trunk > > version of tinyos from google code doesn't improve my compilation output. > > > > Thanks ahead of time for your help! > > Tim > > > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > -- > -- > Antonio Li?an Colina > R+D+I Engineer > @: [email protected] > @: [email protected] > ------------------------------ > Advancare > T: +34 93 582 02 70 > http://www.advancare.com > http://www.zolertia.com > http://zolertia.sourceforge.net > http://webshop.zolertia.com > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130409/3565a811/attachment-0001.htm > > ------------------------------ > > Message: 3 > Date: Tue, 09 Apr 2013 09:36:51 +0200 > From: "Erd?lyi ?d?m [Ed?m]" <[email protected]> > Subject: Re: [Tinyos-help] Texas Instruments 900MHz Mote > To: Tim Godfrey <[email protected]> > Cc: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi there, > > the processor itself has some working code in the following repository: > https://github.com/tp-freeforall/prod (I'm not sure if it's the same > you've used.) > As for the CC1180 radio I don't know about any implementation. I've > tried to interface MSP430F5438a with CC2520 (CC2520 has an > implementation in both the tp-freeforall/prod and the official TinyOS > repo on google code), but unfortunately there were too many problems and > it still doesn't work. (The uC works though quite alright alone, but I > guess you want a wireless node.) > > What is included in your .platform file? Maybe some files are missing > that contain these constants. > > Wishes, > Adam > > On 09/04/13 09:09, Tim Godfrey wrote: > > Hello, > > > > My question is, is the processor MSP430F5438A supported by tinyos? How > > does one take compile apps for that target? > > > > I am attempting to add a new platform to my tinyos installation. The > > mote I want to add support for is a Texas Instruments CC1180DK_DB > > mote. It has an MSP430F5438A microcontroller and a CC1180 radio > > controller. > > > > I have been following the 'Platforms' guide on the wiki > > (http://docs.tinyos.net/tinywiki/index.php/Platforms) to add a new > > platform. At the moment when I compile I get a whole bunch of > > "'Variable' undeclared " errors for the variables > > > > - TACCTL0 > > - TACCTL1 > > - TACCTL2 > > - TACTL > > - ME1 > > - UTXE0 > > - ... > > etc. > > > > As far as I can work out, it is because the header file, > > msp430f5438a.h, does not include definitions for those constants > > (defines?). > > > > I did read in the devel mailing list, that in 2011 Eric Decker was > > working on support for 2nd and 3rd generation msp430 devices, and had > > created tinynode instances on a bunch of those devices, including the > > one I am trying to work with. However, the git repository that he was > > developing is not serving the code (anymore? at least not to me), and > > the current trunk version of tinyos from google code doesn't improve > > my compilation output. > > > > Thanks ahead of time for your help! > > Tim > > > > > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130409/e9d209ce/attachment-0001.htm > > ------------------------------ > > Message: 4 > Date: Tue, 9 Apr 2013 01:21:18 -0700 > From: Eric Decker <[email protected]> > Subject: Re: [Tinyos-help] Texas Instruments 900MHz Mote > To: Tim Godfrey <[email protected]> > Cc: Tinyos-Help <[email protected]> > Message-ID: > < > camdx_2ak2y-1jpcjgy4qmq+r9pxyglyzms2nejec8jzxpsc...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > On Tue, Apr 9, 2013 at 12:09 AM, Tim Godfrey <[email protected] > >wrote: > > > Hello, > > > > My question is, is the processor MSP430F5438A supported by tinyos? How > > does one take compile apps for that target? > > > > I am attempting to add a new platform to my tinyos installation. The mote > > I want to add support for is a Texas Instruments CC1180DK_DB mote. It has > > an MSP430F5438A microcontroller and a CC1180 radio controller. > > > > I have been following the 'Platforms' guide on the wiki ( > > http://docs.tinyos.net/tinywiki/index.php/Platforms) to add a new > > platform. At the moment when I compile I get a whole bunch of "'Variable' > > undeclared " errors for the variables > > > > - TACCTL0 > > - TACCTL1 > > - TACCTL2 > > - TACTL > > - ME1 > > - UTXE0 > > > > Those are defines for the x1 cpus. you are using an x5 cpu. It aint > going to work. > > You need to use the tinyprod varient of the tinyos code. you can find it > at https://github.com/tp-freeforall/prod. In particular look at the mm5s > platform. It is a simple platform based on the 5438a and the TI > msp-exp430f5438 development board. > > > > > > - ... > > etc. > > > > As far as I can work out, it is because the header file, msp430f5438a.h, > > does not include definitions for those constants (defines?). > > > > What header file for the msp430f5438a.h are you using? > > What toolchain are you using? You should be using 4.6.3 > > > > > > > I did read in the devel mailing list, that in 2011 Eric Decker was > working > > on support for 2nd and 3rd generation msp430 devices, and had created > > tinynode instances on a bunch of those devices, including the one I am > > trying to work with. However, the git repository that he was developing > is > > not serving the code (anymore? at least not to me), > > > > Which repository are you talking about? > > The work moved over to tp-freeforall and has been continueing over there. > See above for the link. > > You should get a github user id and fork the tp-freeforall repository and > follow the instructions in 00d_Contribution_Process. > > > > > > and the current trunk version of tinyos from google code doesn't improve > > my compilation output. > > > > Thanks ahead of time for your help! > > Tim > > > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130409/ee528be3/attachment.htm > > ------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > End of Tinyos-help Digest, Vol 120, Issue 20 > ******************************************** >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
