Hi Gracinda,

Yes, I'm working with tinyos 2.0.

Let's go step by step.

To make msp430F2617 with Tinyos (event boomerang, 1.x, or 2.x). You must:

- upgrade mspgcc (because the version distributed by default does not
support this new msp430). (this includes the upgrade of nesC to use a
different separator than $).
- change files relating to specific msp430 code. The main difference between
msp430F1 and msp430F2 is the new USCI component.
- create a new platform in the tinyos toolchain.

Regarding to step 1, if you use windows just download new mspgcc from
mspgcc.sf.net, if not, you can build from sources or let me know and I will
post to my tinyos contrib folder.

Regarding to step 2, boomerang has related code to msp430 in
moteiv/tos/platform, you must change there all the code related to UART, I2C
and SPI. (and DCO clock calibration).

Regarding to step 3, I have no idea of how to do it in boomerang.

If you decide to change to tinyos 2.x, I've ported most part of the code,
created a new msp430F2617 based platform, and I have a quite tested release
(for my specific platform), maybe I can publish and early release too on my
contrib code directory.

Regards,

Xavi

www.alcim.net
Buscant sempre nous reptes, alguna proposta?

---------- Forwarded message ----------
From: Gracinda García Lago <[EMAIL PROTECTED]>
Date: Tue, Jun 17, 2008 at 2:42 PM
Subject: RE: [Tinyos-help] Migrating to a new microcontroller
To: Xavier Orduña <[EMAIL PROTECTED]>
Cc: [email protected]


 Xavi, thank you for the information.

I am using Boomerang 2.0.2 and it is tinyos v1.1.15. And this version
doesn´t support msp430x2617.
I think you are using TinyOS 2.0, aren´t you?

Do you know how can I upgrade mspgcc (I am using Windows) to make it support
msp430x2617 but using TinyOS v1.1.15? Can I install the latest version for
this TinyOS or I need to install tinyos v2.0 before?

Regards,



 ------------------------------
*De:* Xavier Orduña [mailto:[EMAIL PROTECTED]
*Enviado el:* viernes, 13 de junio de 2008 10:42
*Para:* Gracinda García Lago
*CC:* [email protected]
*Asunto:* Re: [Tinyos-help] Migrating to a new microcontroller

Hi,

I don't know about using boomerang instead of tinyos.

Let me explain my procedure to get msp430x2617 work in tinyos and then maybe
we can find some similarities.

Support for msp430x2617 it has been already included in mspgcc distribution.
Do you need no patch.

If you are using linux you can checkout last cvs and compile. (or ask me and
I can send you an already compiled version). If you are using windows just
download the last installer version.

To make tinyos to use the new mspgcc, I've just changed the folder msp430 in
the tinyos distribution, for a new one including the last mspgcc.

Then, you have to check you have nesc 1.2.8 (or download there:
http://www.isis.vanderbilt.edu/projects/NEST/tinyos-2.x-iris/tools/release/external-tools/).
Add the flag "*-fnesc-separator=__*" in msp.rules (folder
tos/support/make/msp). And change the flag that indicates cpu.

Regading to msp430X specific code, you have to change some things to make it
work, If you are interested I can put the code in the contrib-cvs.

I hope this fast explanation helps you in your problems!

Xavi

www.alcim.net
Buscant sempre nous reptes, alguna proposta?

On Fri, Jun 13, 2008 at 9:31 AM, Gracinda García Lago <
[EMAIL PROTECTED]> wrote:

>  Hi!
>
> I am trying to migrate to new microcontroller msp430F261x.
> I am using Boomerang 2.0.2 (binutils v2.16). I have found a patch (
> http://mspgcc.sourceforge.net/) that includes the msp430x261x, but this
> patch is for binutils v2.17.
> Have you used this patch?
> Do you know if it is possible to upgrade binutilsv2.16 in Boomerang 2.0.2
> to v2.17? how?
> I have also installed Boomerang v2.0.4 (binutils v2.17) and after I have
> installed the patch but I got error messages.
>
> When I have reviewed the patch, I have checked modifications in files that
> I don´t find in my directory tree. In the directory  tree I have found
> another files related to the linker and hardware ( for example ldscripts,
> msp430x1611.xu), but a new file for the new micro is not included in the
> patch, I don´t know if the patch will generate these scripts. So, I am
> confused about binutils package, the patch and the directory tree I have...
>
> I hope you can help me or clarify something!
>
> Best regards
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to