Hi Xavier,
Yes I have been able to load and run most of the TinyOS 2.x examples and
test apps without any problems.  I am still working out some details and I
will post some detailed documentation in the next few days.

Currently the main step is to replace the tos-bsl and libtoscomm from TinyOS
with the tmote-bsl and libtoscomm from the Sentilla SDK.  Sentilla's
libtoscomm uses the FTDI D2XX  libs instead of the VCP drivers so you also
have to install the d2xx drivers from here:
http://www.ftdichip.com/Drivers/D2XX.htm .  I had to uninstall VCP drivers
on my Mac, otherwise the VCP drivers would lock the port when you insert the
programmer or base mote USB devices.  I'm not sure if this will be necessary
on other platforms but it makes it painful when you need the VCP drivers
installed for all of the other mote types that use it.  Hopefully there is a
way around this that I am not aware of and if anyone has any ideas that
would be great.

I am working through some issues with running the Java code from tinyos.jar
but I have that working as well.  I will clean up the steps and document
that soon.  I am creating a new platform definition for the JCreate that
exposes all the LEDs and hopefully I will be able to get the accelerometer
working as well as the other sensors.  Any help with that effort would be
welcome.

Thanks,
Chris
--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Thu, Apr 16, 2009 at 7:52 AM, Xavier Orduña <[email protected]>wrote:

> Hi Chris,
>
> Did you got them working with Tinyos 2.1?
>
> Reading your mail seems that you had success!!!!
>
> Xavi
>
> On Sun, Apr 12, 2009 at 11:23 AM, Chris Custine <[email protected]>wrote:
>
>> Just to follow up, the issue was having the FTDI VCP driver installed
>> which interferes with the D2XX library which is used by the Sentilla
>> bootloader.
>> --
>> Chris Custine
>> FUSESource :: http://fusesource.com
>> My Blog :: http://blog.organicelement.com
>> Apache ServiceMix :: http://servicemix.apache.org
>> Apache Directory Server :: http://directory.apache.org
>>
>>
>> On Thu, Apr 9, 2009 at 12:52 AM, Chris Custine <[email protected]>wrote:
>>
>>> Hi All,
>>> Has anyone had any luck loading TinyOS 2.1 apps onto the Sentilla JCreate
>>> motes?  I have been working at it for a few days with no luck.  Using the
>>> included tos-bsl I get:
>>> $ make telosb install bsl,/dev/tty.usbserial-M4ASU2X7
>>> mkdir -p build/telosb
>>>     compiling BlinkAppC to a telosb binary
>>> ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow
>>> -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
>>> -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
>>> -DIDENT_USERNAME=\"ccustine\" -DIDENT_HOSTNAME=\"cgcmac1.home.cu\"
>>> -DIDENT_USERHASH=0xd159fcfdL -DIDENT_TIMESTAMP=0x49dd9a6cL
>>> -DIDENT_UIDHASH=0x709a81c4L  BlinkAppC.nc -lm
>>>     compiled BlinkAppC to build/telosb/main.exe
>>>             2650 bytes in ROM
>>>               55 bytes in RAM
>>> msp430-objcopy --output-target=ihex build/telosb/main.exe
>>> build/telosb/main.ihex
>>>     writing TOS image
>>> cp build/telosb/main.ihex build/telosb/main.ihex.out
>>>     installing telosb binary using bsl
>>> tos-bsl --telosb -c /dev/tty.usbserial-M4ASU2X7 -r -e -I -p
>>> build/telosb/main.ihex.out
>>> MSP430 Bootstrap Loader Version: 1.39-telos-8
>>> Mass Erase...
>>>
>>> An error occoured:
>>> Timeout
>>> make: *** [program] Error 1
>>>
>>> With the tmote-bsl from the Sentilla distro I get the following result:
>>>
>>> $ make telosb install bsl,M4ASU2X7
>>> mkdir -p build/telosb
>>>     compiling BlinkAppC to a telosb binary
>>> ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall -Wshadow
>>> -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
>>> -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
>>> -DIDENT_USERNAME=\"ccustine\" -DIDENT_HOSTNAME=\"cgcmac1.home.cu\"
>>> -DIDENT_USERHASH=0xd159fcfdL -DIDENT_TIMESTAMP=0x49dd9ac8L
>>> -DIDENT_UIDHASH=0x7637a681L  BlinkAppC.nc -lm
>>>     compiled BlinkAppC to build/telosb/main.exe
>>>             2650 bytes in ROM
>>>               55 bytes in RAM
>>> msp430-objcopy --output-target=ihex build/telosb/main.exe
>>> build/telosb/main.ihex
>>>     writing TOS image
>>> cp build/telosb/main.ihex build/telosb/main.ihex.out
>>>     installing telosb binary using bsl
>>> /opt/SentillaWork-1.1.01//SentillaWork/plugins/com.sentilla.work_1.1.1/tmote-bsl
>>> -bsl=mini -c M4ASU2X7 -r -e -I -p build/telosb/main.ihex.out
>>> devlist: 1
>>> Error, FT_OpenEx, device not opened
>>> make: *** [program] Error 1
>>>
>>> Anyone have any experience or suggestions on this?
>>>
>>> Thanks,
>>> Chris
>>>
>>> --
>>> Chris Custine
>>> FUSESource :: http://fusesource.com
>>> My Blog :: http://blog.organicelement.com
>>> Apache ServiceMix :: http://servicemix.apache.org
>>> Apache Directory Server :: http://directory.apache.org
>>>
>>
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Xavier Orduña
> CTO
>
> m: [+34] 615 475 065
> @: [email protected]
>
> Dexma
>
> Parc Tecnològic la Salle
> Sant Joan de la Salle, 42
> ES-08022 Barcelona
> t/f: [+34] 93 280 19 18
> w: www.dexmatech.com
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to